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 AWS CloudHSM resource.
Each tag consists of a key and a value. Tag keys must be unique to each resource.
- addTagsToResource :: Text -> AddTagsToResource
- data AddTagsToResource
- attrResourceARN :: Lens' AddTagsToResource Text
- attrTagList :: Lens' AddTagsToResource [Tag]
- addTagsToResourceResponse :: Int -> Text -> AddTagsToResourceResponse
- data AddTagsToResourceResponse
- attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int
- attrrsStatus :: Lens' AddTagsToResourceResponse Text
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:
data AddTagsToResource Source #
See: addTagsToResource
smart constructor.
Request Lenses
attrResourceARN :: Lens' AddTagsToResource Text Source #
The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
attrTagList :: Lens' AddTagsToResource [Tag] Source #
One or more tags.
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:
data AddTagsToResourceResponse Source #
See: addTagsToResourceResponse
smart constructor.
Response Lenses
attrrsResponseStatus :: Lens' AddTagsToResourceResponse Int Source #
The response status code.
attrrsStatus :: Lens' AddTagsToResourceResponse Text Source #
The status of the operation.