Skip to content

Confirm Subscription

sns_confirm_subscription R Documentation

Verifies an endpoint owner's intent to receive messages by validating the token sent to the endpoint by an earlier Subscribe action

Description

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".

Usage

sns_confirm_subscription(TopicArn, Token, AuthenticateOnUnsubscribe)

Arguments

TopicArn

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

Token

[required] Short-lived token sent to an endpoint during the subscribe action.

AuthenticateOnUnsubscribe

Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is 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.

Value

A list with the following syntax:

list(
  SubscriptionArn = "string"
)

Request syntax

svc$confirm_subscription(
  TopicArn = "string",
  Token = "string",
  AuthenticateOnUnsubscribe = "string"
)