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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
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` | `FilterPolicy` | `RawMessageDelivery`

Returns:

  • (String)


1424
1425
1426
1427
1428
1429
# File 'lib/aws-sdk-sns/types.rb', line 1424

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)


1424
1425
1426
1427
1428
1429
# File 'lib/aws-sdk-sns/types.rb', line 1424

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)


1424
1425
1426
1427
1428
1429
# File 'lib/aws-sdk-sns/types.rb', line 1424

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