You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SNS::Types::SetSubscriptionAttributesInput

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 SetSubscriptionAttributesInput data as a hash:

{
  subscription_arn: "subscriptionARN", # required
  attribute_name: "attributeName", # required
  attribute_value: "attributeValue",
}

Input for SetSubscriptionAttributes action.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable.

Valid values: DeliveryPolicy | RawMessageDelivery

Returns:

  • (String)


1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1397

class SetSubscriptionAttributesInput < Struct.new(
  :subscription_arn,
  :attribute_name,
  :attribute_value)
  include Aws::Structure
end

#attribute_valueString

The new value for the attribute in JSON format.

Returns:

  • (String)


1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1397

class SetSubscriptionAttributesInput < Struct.new(
  :subscription_arn,
  :attribute_name,
  :attribute_value)
  include Aws::Structure
end

#subscription_arnString

The ARN of the subscription to modify.

Returns:

  • (String)


1397
1398
1399
1400
1401
1402
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1397

class SetSubscriptionAttributesInput < Struct.new(
  :subscription_arn,
  :attribute_name,
  :attribute_value)
  include Aws::Structure
end