Amazon SNS - Delete Subscription

Overview

You can use this Snap to delete the subscription of an endpoint to a topic in AWS. You can only delete confirmed subscriptions. When you delete the subscription of an endpoint to a topic, the endpoint stops receiving messages published to the associated topic.

Supported Accounts

Prerequisites

  • Valid AWS Account and SNS access.
  • Authentication such as IAM Role access, Access key, and Security Access key.
  • A confirmed subscription.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

Document. This Snap has at most one document input view.

Region and ARN of the topic and subscription that you want to delete.

Output

Document. This Snap has at most one document output view.

Unsubscribed topic.

Learn more about Error handling.

Snap settings

Note: Learn about the common controls in the Snap settings dialog.
Field/Field set Description

Label

String

Required.Specify a unique name for the Snap. Modify this to be more appropriate, especially if there are more than one of the same Snap in the pipeline.

Default value: Delete Subscription

Example: Delete Orders Subscription

Region

String/Expression/ Suggestion

Specify the AWS region where the application is implemented. Alternatively, click the Suggestion icon to fetch a list of regions. If the region field is empty, then the Snap evaluates the region in the following sequence:

  • The Topic ARN or Subscription ARN
  • The region of the EC2 instance.
Note: It is a best practice to provide value for the Region field.

Default value: None

Example: us-east-1, us-west-1

Topic ARN

String/Expression/ Suggestion

Specify the Amazon Resource Name (ARN) of the topic. This is a suggestible field and suggestions are populated based on the Account settings.

Default value: N/A

Example: Topic 1

Subscribe ARN

String/Expression

Required. Specify the ARN of the subscription you want to delete.

Default value: N/A

Example: Subscription 1

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute: Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only: Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled: Disables the Snap and all Snaps that are downstream from it.

Default value: Execute only

Troubleshooting

Error Cause Resolution
An error occurred while updating a topic with the given topic name in AWS SNS. Valid information is missing. Check the input data, formats and try again.
Missing Topic ARN Topic ARN is mandatory. Provide the Topic ARN.