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

Class: Aws::MachineLearning::Types::AddTagsInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AddTagsInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  tags: [ # required
    {
      key: "TagKey",
      value: "TagValue",
    },
  ],
  resource_id: "EntityId", # required
  resource_type: "BatchPrediction", # required, accepts BatchPrediction, DataSource, Evaluation, MLModel
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

The ID of the ML object to tag. For example, exampleModelId.

Returns:

  • (String)

    The ID of the ML object to tag.

#resource_typeString

The type of the ML object to tag.

Possible values:

  • BatchPrediction
  • DataSource
  • Evaluation
  • MLModel

Returns:

  • (String)

    The type of the ML object to tag.

#tagsArray<Types::Tag>

The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.

Returns:

  • (Array<Types::Tag>)

    The key-value pairs to use to create tags.