aws-sns-0.1: Bindings for AWS SNS Version 2013-03-31

Stabilityexperimental
MaintainerLars Kuhtz <lars@alephcloud.com>
Safe HaskellNone

Aws.Sns.Commands.ConfirmSubscription

Description

API Version: 2013-03-31

Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the AuthenticateOnUnsubscribe flag is set to true.

http://docs.aws.amazon.com/sns/2010-03-31/APIReference/API_ConfirmSubscription.html

Documentation

data ConfirmSubscription Source

Constructors

ConfirmSubscription 

Fields

confirmSubscriptionAuthenticateOnUnsubscribe :: !Bool

Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication.

confirmSubscriptionToken :: !SubscriptionConfirmationToken

Short-lived token sent to an endpoint during the Subscribe action.

confirmSubscriptionTopicArn :: Arn

The ARN of the topic for which you wish to confirm a subscription.

data ConfirmSubscriptionErrors Source

Constructors

ConfirmSubscriptionAuthorizationError

Indicates that the user has been denied access to the requested resource.

Code 403

ConfirmSubscriptionInternalError

Indicates an internal service error.

Code 500

ConfirmSubscriptionInvalidParameter

Indicates that a request parameter does not comply with the associated constraints.

Code 400

ConfirmSubscriptionNotFound

Indicates that the requested resource does not exist.

Code 404

ConfirmSubscriptionSubscriptionLimitExceeded

Indicates that the customer already owns the maximum allowed number of subscriptions.

Code 403