Class: Aws::SNS::Types::Tag

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

{
  key: "TagKey", # required
  value: "TagValue", # required
}

The list of tags to be added to the specified topic.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The required key portion of the tag.

Returns:

  • (String)


2265
2266
2267
2268
2269
2270
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2265

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The optional value portion of the tag.

Returns:

  • (String)


2265
2266
2267
2268
2269
2270
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2265

class Tag < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end