In this article
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 begins to receive messages published to the associated topic.
Valid AWS Account and SNS access.
Authentication such as IAM Role access, Access key, and Security Access key.
Works in Ultra Pipelines.
None.
None.
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document |
|
| Region and ARN of the topic and subscription that you want to delete. |
Output | Document |
|
| Unsubscribed topic |
Error | Error handling is to have a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that might arise while running the Pipeline by choosing one of the options from the When errors occur section under the Views tab. The options available are:
See Error View in Pipeline in examples to understand the Snap error view settings and error output. For more information on the error view and handling error output in a Pipeline, see Error handling in Pipelines. |
|
Field Name | Field Type | Field Dependency | Description |
---|---|---|---|
Label* | String | N/A | The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. Default Value: N/A |
Region | String | N/A | Specify the AWS region where the application is implemented. Alternatively, click the Suggestion icon to fetch a list of Region. If the region field is empty, then the Snap evaluates the region in the following sequence: It is a best practice to provide the value for the Region field. It is a best practice to provide the value for the Region field. Default value: None |
Topic Arn | String | N/A | Specify the Amazon Resource Name (ARN) of the topic. This is a suggestible field and suggestions will be populated based on the Account settings. Default Value: N/A |
Subscribe Arn* | String | N/A | Specify the ARN of the subscription you want to delete. Default Value: N/A |
Snap Execution |
| Dropdown list | Select one of the three modes in which the Snap executes. Available options are:
|
Error | Reason | 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. |
See https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/2361098961/Confirm+Subscription#Examples to understand the Delete Subscription functionality.
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439233/Glossary
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438341/Getting+Started
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439233/Glossary