Class: Aws::SageMaker::Types::Tag

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

Overview

Note:

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

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

A tag object that consists of a key and an optional value, used to manage metadata for Amazon SageMaker AWS resources.

You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to Amazon SageMaker resources, see AddTags.

For more information on adding metadata to your AWS resources with tagging, see Tagging AWS resources. For advice on best practices for managing AWS resources with tagging, see Tagging Best Practices: Implement an Effective AWS Resource Tagging Strategy.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The tag key. Tag keys must be unique per resource.

Returns:

  • (String)


31739
31740
31741
31742
31743
31744
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31739

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

#valueString

The tag value.

Returns:

  • (String)


31739
31740
31741
31742
31743
31744
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 31739

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