Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
See: AWS API Reference for Unsubscribe.
Creating a Request
Creates a value of Unsubscribe
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data Unsubscribe Source
Input for Unsubscribe action.
See: unsubscribe
smart constructor.
Request Lenses
uSubscriptionARN :: Lens' Unsubscribe Text Source
The ARN of the subscription to be deleted.
Destructuring the Response
unsubscribeResponse :: UnsubscribeResponse Source
Creates a value of UnsubscribeResponse
with the minimum fields required to make a request.