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
stringThe ARN of the topic for which you wish to confirm a subscription.
token
stringShort-lived token sent to an endpoint during the
action.Subscribe
ConfirmSubscriptionRequest(string, string, string)
Instantiates ConfirmSubscriptionRequest with the parameterized properties
public ConfirmSubscriptionRequest(string topicArn, string token, string authenticateOnUnsubscribe)
Parameters
topicArn
stringThe ARN of the topic for which you wish to confirm a subscription.
token
stringShort-lived token sent to an endpoint during the
action.Subscribe
authenticateOnUnsubscribe
stringDisallows unauthenticated unsubscribes of the subscription. If the value of this parameter is
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.true
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
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
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; }