Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Adds or overwrites one or more tags for the specified Amazon Directory Services 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.
- addTagsToResource :: Text -> AddTagsToResource
- data AddTagsToResource
- attrResourceId :: Lens' AddTagsToResource Text
- attrTags :: Lens' AddTagsToResource [Tag]
- addTagsToResourceResponse :: Int -> AddTagsToResourceResponse
- data AddTagsToResourceResponse
- attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int
Creating a Request
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 Amazon Directory Services directory.
data AddTagsToResource Source #
See: addTagsToResource
smart constructor.
Request Lenses
attrResourceId :: Lens' AddTagsToResource Text Source #
Identifier (ID) for the directory to which to add the tag.
attrTags :: Lens' AddTagsToResource [Tag] Source #
The tags to be assigned to the Amazon Directory Services directory.
Destructuring the Response
addTagsToResourceResponse Source #
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.
data AddTagsToResourceResponse Source #
See: addTagsToResourceResponse
smart constructor.
Response Lenses
attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int Source #
- - | The response status code.