Class: Aws::VoiceID::Types::Tag

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/types.rb

Overview

Note:

When making an API call, you may pass Tag data as a hash:

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

The tags used to organize, track, or control access for this resource. For example, \{ "tags": {"key1":"value1", "key2":"value2"\} \}.

Constant Summary collapse

SENSITIVE =
[:key, :value]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The first part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the key is 'Department'.

Returns:

  • (String)


2002
2003
2004
2005
2006
2007
# File 'gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/types.rb', line 2002

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

#valueString

The second part of a key:value pair that forms a tag associated with a given resource. For example, in the tag 'Department':'Sales', the value is 'Sales'.

Returns:

  • (String)


2002
2003
2004
2005
2006
2007
# File 'gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/types.rb', line 2002

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