Paws::SNS::ConfirmSubscription - Arguments for method ConfirmSubscription on Paws::SNS


This class represents the parameters used for calling the method ConfirmSubscription on the Amazon Simple Notification Service service. Use the attributes of this class as arguments to method ConfirmSubscription.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ConfirmSubscription.


    my $sns = Paws->service('SNS');
    my $ConfirmSubscriptionResponse = $sns->ConfirmSubscription(
      Token                     => 'Mytoken',
      TopicArn                  => 'MytopicARN',
      AuthenticateOnUnsubscribe => 'MyauthenticateOnUnsubscribe',    # OPTIONAL

    # Results:
    my $SubscriptionArn = $ConfirmSubscriptionResponse->SubscriptionArn;

    # Returns a L<Paws::SNS::ConfirmSubscriptionResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


AuthenticateOnUnsubscribe => Str

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.

REQUIRED Token => Str

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

REQUIRED TopicArn => Str

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


This class forms part of Paws, documenting arguments for method ConfirmSubscription in Paws::SNS


The source code is located here:

Please report bugs to: