amazonka-sns-0.3.5: Amazon Simple Notification Service SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.SNS.Unsubscribe

Contents

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 AWS 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.

http://docs.aws.amazon.com/sns/latest/api/API_Unsubscribe.html

Synopsis

Request

Request constructor

unsubscribe Source

Unsubscribe constructor.

The fields accessible through corresponding lenses are:

Request lenses

uSubscriptionArn :: Lens' Unsubscribe Text Source

The ARN of the subscription to be deleted.

Response

Response constructor