| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.SNS.Unsubscribe
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
- data Unsubscribe
- unsubscribe :: Text -> Unsubscribe
- uSubscriptionArn :: Lens' Unsubscribe Text
- data UnsubscribeResponse
- unsubscribeResponse :: UnsubscribeResponse
Request
data Unsubscribe Source
Instances
| Eq Unsubscribe | |
| Ord Unsubscribe | |
| Read Unsubscribe | |
| Show Unsubscribe | |
| IsString Unsubscribe | |
| Monoid Unsubscribe | |
| AWSRequest Unsubscribe | |
| ToQuery Unsubscribe | |
| ToPath Unsubscribe | |
| ToHeaders Unsubscribe | |
| type Sv Unsubscribe = SNS | |
| type Rs Unsubscribe = UnsubscribeResponse |
Request constructor
Arguments
| :: Text | |
| -> Unsubscribe |
Unsubscribe constructor.
The fields accessible through corresponding lenses are:
uSubscriptionArn::Text
Request lenses
uSubscriptionArn :: Lens' Unsubscribe Text Source
The ARN of the subscription to be deleted.
Response
Response constructor
unsubscribeResponse :: UnsubscribeResponse Source
UnsubscribeResponse constructor.