amazonka-ds-1.6.1: Amazon Directory Service 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 or overwrites one or more tags for the specified directory. Each directory can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique to each resource.

Synopsis

# Creating a Request

Arguments

 :: Text attrResourceId -> AddTagsToResource

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

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

• attrResourceId - Identifier (ID) for the directory to which to add the tag.
• attrTags - The tags to be assigned to the directory.

See: addTagsToResource smart constructor.

Instances

# Request Lenses

Identifier (ID) for the directory to which to add the tag.

The tags to be assigned to the directory.

# Destructuring the Response

Arguments

 :: Int attrrsResponseStatus -> AddTagsToResourceResponse

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

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

• attrrsResponseStatus - -- | The response status code.

See: addTagsToResourceResponse smart constructor.

Instances