| 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.CloudHSM.AddTagsToResource
Description
This is documentation for AWS CloudHSM Classic . For more information, see AWS CloudHSM Classic FAQs , the AWS CloudHSM Classic User Guide , and the AWS CloudHSM Classic API Reference .
For information about the current version of AWS CloudHSM , see AWS CloudHSM , the AWS CloudHSM User Guide , and the AWS CloudHSM API Reference .
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
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:
attrResourceARN- The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.attrTagList- One or more tags.
data AddTagsToResource Source #
See: addTagsToResource smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> Text | |
| -> 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.attrrsStatus- The status of the operation.
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.