Skip to content

Unsubscribe

sns_unsubscribe R Documentation

Deletes a subscription

Description

Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic's owner can unsubscribe, and an Amazon Web Services signature is required. If the unsubscribe call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the unsubscribe request was unintended.

Amazon SQS queue subscriptions require authentication for deletion. Only the owner of the subscription, or the owner of the topic can unsubscribe using the required Amazon Web Services signature.

This action is throttled at 100 transactions per second (TPS).

Usage

sns_unsubscribe(SubscriptionArn)

Arguments

SubscriptionArn

[required] The ARN of the subscription to be deleted.

Value

An empty list.

Request syntax

svc$unsubscribe(
  SubscriptionArn = "string"
)