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

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

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 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)


1432
1433
1434
1435
1436
1437
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1432

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

#attribute_valueString

The new value for the attribute.

Returns:

  • (String)


1432
1433
1434
1435
1436
1437
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1432

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)


1432
1433
1434
1435
1436
1437
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1432

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