Class: Aws::SNS::Types::ConfirmSubscriptionInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::SNS::Types::ConfirmSubscriptionInput
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-sns/types.rb
Overview
Note:
When making an API call, you may pass ConfirmSubscriptionInput data as a hash:
{
topic_arn: "topicARN", # required
token: "token", # required
authenticate_on_unsubscribe: "authenticateOnUnsubscribe",
}
Input for ConfirmSubscription action.
Instance Attribute Summary collapse
-
#authenticate_on_unsubscribe ⇒ String
Disallows unauthenticated unsubscribes of the subscription.
-
#token ⇒ String
Short-lived token sent to an endpoint during the ‘Subscribe` action.
-
#topic_arn ⇒ String
The ARN of the topic for which you wish to confirm a subscription.
Instance Attribute Details
#authenticate_on_unsubscribe ⇒ 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.
119 120 121 122 123 124 |
# File 'lib/aws-sdk-sns/types.rb', line 119 class ConfirmSubscriptionInput < Struct.new( :topic_arn, :token, :authenticate_on_unsubscribe) include Aws::Structure end |
#token ⇒ String
Short-lived token sent to an endpoint during the ‘Subscribe` action.
119 120 121 122 123 124 |
# File 'lib/aws-sdk-sns/types.rb', line 119 class ConfirmSubscriptionInput < Struct.new( :topic_arn, :token, :authenticate_on_unsubscribe) include Aws::Structure end |
#topic_arn ⇒ String
The ARN of the topic for which you wish to confirm a subscription.
119 120 121 122 123 124 |
# File 'lib/aws-sdk-sns/types.rb', line 119 class ConfirmSubscriptionInput < Struct.new( :topic_arn, :token, :authenticate_on_unsubscribe) include Aws::Structure end |