amazonka-ml-1.6.1: Amazon Machine Learning SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

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, AddTags updates the tag's value.

Synopsis

# Creating a Request

Arguments

 :: Text atResourceId -> TaggableResourceType atResourceType -> AddTags

Creates a value of AddTags with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• atTags - 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.
• atResourceId - The ID of the ML object to tag. For example, exampleModelId .
• atResourceType - The type of the ML object to tag.

See: addTags smart constructor.

Instances

# Request Lenses

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.

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

The type of the ML object to tag.

# Destructuring the Response

Arguments

 :: Int atrsResponseStatus -> AddTagsResponse

Creates a value of AddTagsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• atrsResourceId - The ID of the ML object that was tagged.
• atrsResourceType - The type of the ML object that was tagged.
• atrsResponseStatus - -- | The response status code.

Amazon ML returns the following elements.

See: addTagsResponse smart constructor.

Instances