| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.DirectoryService.AddTagsToResource
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.
- 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
Arguments
| :: Text | |
| -> 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.
data AddTagsToResource Source #
See: addTagsToResource smart constructor.
Instances
Request Lenses
attrResourceId :: Lens' AddTagsToResource Text Source #
Identifier (ID) for the directory to which to add the tag.
Destructuring the Response
addTagsToResourceResponse Source #
Arguments
| :: Int | |
| -> 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.
data AddTagsToResourceResponse Source #
See: addTagsToResourceResponse smart constructor.
Response Lenses
attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int Source #
- - | The response status code.