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

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


2149
2150
2151
2152
2153
2154
# File 'lib/aws-sdk-sns/types.rb', line 2149

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

#valueString

The optional value portion of the tag.

Returns:

  • (String)


2149
2150
2151
2152
2153
2154
# File 'lib/aws-sdk-sns/types.rb', line 2149

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