Class: Aws::Personalize::Types::Tag

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

Overview

Note:

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

{
  tag_key: "TagKey", # required
  tag_value: "TagValue", # required
}

The optional metadata that you apply to resources to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. For more information see Tagging Personalize resources.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tag_keyString

One part of a key-value pair that makes up a tag. A key is a general label that acts like a category for more specific tag values.

Returns:

  • (String)


5638
5639
5640
5641
5642
5643
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 5638

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

#tag_valueString

The optional part of a key-value pair that makes up a tag. A value acts as a descriptor within a tag category (key).

Returns:

  • (String)


5638
5639
5640
5641
5642
5643
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 5638

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