Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Request
data Unsubscribe Source
Request constructor
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
unsubscribeResponse :: UnsubscribeResponse Source
UnsubscribeResponse
constructor.