Table of Contents

Class ConfirmSubscriptionRequest

Namespace
Amazon.SimpleNotificationService.Model
Assembly
AWSSDK.SimpleNotificationService.dll

Container for the parameters to the ConfirmSubscription operation. 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".
public class ConfirmSubscriptionRequest : AmazonSimpleNotificationServiceRequest
Inheritance
ConfirmSubscriptionRequest

Constructors

ConfirmSubscriptionRequest()

Empty constructor used to set properties independently even when a simple constructor is available

public ConfirmSubscriptionRequest()

ConfirmSubscriptionRequest(string, string)

Instantiates ConfirmSubscriptionRequest with the parameterized properties

public ConfirmSubscriptionRequest(string topicArn, string token)

Parameters

topicArn string

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

token string

Short-lived token sent to an endpoint during the

Subscribe
action.

ConfirmSubscriptionRequest(string, string, string)

Instantiates ConfirmSubscriptionRequest with the parameterized properties

public ConfirmSubscriptionRequest(string topicArn, string token, string authenticateOnUnsubscribe)

Parameters

topicArn string

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

token string

Short-lived token sent to an endpoint during the

Subscribe
action.
authenticateOnUnsubscribe string

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.

Properties

AuthenticateOnUnsubscribe

Gets and sets the property AuthenticateOnUnsubscribe.

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.
public string AuthenticateOnUnsubscribe { get; set; }

Property Value

string

Token

Gets and sets the property Token.

Short-lived token sent to an endpoint during the

Subscribe
action.
public string Token { get; set; }

Property Value

string

TopicArn

Gets and sets the property TopicArn.

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

public string TopicArn { get; set; }

Property Value

string