Class: Aws::SNS::Types::SetTopicAttributesInput

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

{
  topic_arn: "topicARN", # required
  attribute_name: "attributeName", # required
  attribute_value: "attributeValue",
}

Input for SetTopicAttributes action.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

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

Valid values: ‘Policy` | `DisplayName` | `DeliveryPolicy`

Returns:

  • (String)


1459
1460
1461
1462
1463
1464
# File 'lib/aws-sdk-sns/types.rb', line 1459

class SetTopicAttributesInput < Struct.new(
  :topic_arn,
  :attribute_name,
  :attribute_value)
  include Aws::Structure
end

#attribute_valueString

The new value for the attribute.

Returns:

  • (String)


1459
1460
1461
1462
1463
1464
# File 'lib/aws-sdk-sns/types.rb', line 1459

class SetTopicAttributesInput < Struct.new(
  :topic_arn,
  :attribute_name,
  :attribute_value)
  include Aws::Structure
end

#topic_arnString

The ARN of the topic to modify.

Returns:

  • (String)


1459
1460
1461
1462
1463
1464
# File 'lib/aws-sdk-sns/types.rb', line 1459

class SetTopicAttributesInput < Struct.new(
  :topic_arn,
  :attribute_name,
  :attribute_value)
  include Aws::Structure
end