confirm_subscription
(**kwargs)¶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".
See also: AWS API Documentation
Request Syntax
subscription = topic.confirm_subscription(
Token='string',
AuthenticateOnUnsubscribe='string'
)
[REQUIRED]
Short-lived token sent to an endpoint during the Subscribe
action.
true
and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.sns.Subscription
Subscription resource