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
- Struct
- Aws::MachineLearning::Types::AddTagsInput
- 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
-
#resource_id ⇒ String
The ID of the ML object to tag.
-
#resource_type ⇒ String
The type of the ML object to tag.
-
#tags ⇒ Array<Types::Tag>
The key-value pairs to use to create tags.
Instance Attribute Details
#resource_id ⇒ String
The ID of the ML object to tag. For example, exampleModelId
.
#resource_type ⇒ String
The type of the ML object to tag.
Possible values:
- BatchPrediction
- DataSource
- Evaluation
- MLModel
#tags ⇒ Array<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.