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

Class: Aws::MachineLearning::Types::Tag

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

Overview

Note:

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

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

A custom key-value pair associated with an ML object, such as an ML model.

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

A unique identifier for the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.

Returns:

  • (String)


3691
3692
3693
3694
3695
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3691

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

#valueString

An optional string, typically used to describe or define the tag. Valid characters include Unicode letters, digits, white space, _, ., /, =, +, -, %, and @.

Returns:

  • (String)


3691
3692
3693
3694
3695
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 3691

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