v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1428150188.6 KB

Adds one or more tags to an object, up to a limit of 10. Each tag consists of a key and an optional value. If you add a tag using a key that is already associated with the ML object, <code>AddTags</code> updates the tag's value.

post/#X-Amz-Target=AmazonML_20141212.AddTags

Headers

X-Amz-Target'AmazonML_20141212.AddTags' required

Request body

ResourceIdstring required

The ID of the ML object to tag. For example, <code>exampleModelId</code>.

ResourceType'BatchPrediction' | 'DataSource' | 'Evaluation' | 'MLModel' required

The type of the ML object to tag.

Response

Success

ResourceIdstring

The ID of the ML object that was tagged.

ResourceType'BatchPrediction' | 'DataSource' | 'Evaluation' | 'MLModel'

The type of the ML object that was tagged.

All 28 operations