Class: Aws::SNS::Types::ConfirmSubscriptionInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sns/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#authenticate_on_unsubscribeString

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.

Returns:

  • (String)


210
211
212
213
214
215
216
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 210

class ConfirmSubscriptionInput < Struct.new(
  :topic_arn,
  :token,
  :authenticate_on_unsubscribe)
  SENSITIVE = []
  include Aws::Structure
end

#tokenString

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

Returns:

  • (String)


210
211
212
213
214
215
216
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 210

class ConfirmSubscriptionInput < Struct.new(
  :topic_arn,
  :token,
  :authenticate_on_unsubscribe)
  SENSITIVE = []
  include Aws::Structure
end

#topic_arnString

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

Returns:

  • (String)


210
211
212
213
214
215
216
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 210

class ConfirmSubscriptionInput < Struct.new(
  :topic_arn,
  :token,
  :authenticate_on_unsubscribe)
  SENSITIVE = []
  include Aws::Structure
end