Copyright | (c) 2013-2015 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 |
Sets tags (key and value pairs) to the assessment specified by the assessment ARN.
See: AWS API Reference for SetTagsForResource.
- setTagsForResource :: SetTagsForResource
- data SetTagsForResource
- stfrResourceARN :: Lens' SetTagsForResource (Maybe Text)
- stfrTags :: Lens' SetTagsForResource [Tag]
- setTagsForResourceResponse :: Int -> SetTagsForResourceResponse
- data SetTagsForResourceResponse
- stfrrsMessage :: Lens' SetTagsForResourceResponse (Maybe Text)
- stfrrsResponseStatus :: Lens' SetTagsForResourceResponse Int
Creating a Request
setTagsForResource :: SetTagsForResource Source
Creates a value of SetTagsForResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetTagsForResource Source
See: setTagsForResource
smart constructor.
Request Lenses
stfrResourceARN :: Lens' SetTagsForResource (Maybe Text) Source
The ARN of the assessment that you want to set tags to.
stfrTags :: Lens' SetTagsForResource [Tag] Source
A collection of key and value pairs that you want to set to an assessment.
Destructuring the Response
setTagsForResourceResponse Source
Creates a value of SetTagsForResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetTagsForResourceResponse Source
See: setTagsForResourceResponse
smart constructor.
Response Lenses
stfrrsMessage :: Lens' SetTagsForResourceResponse (Maybe Text) Source
Confirmation details of the action performed.
stfrrsResponseStatus :: Lens' SetTagsForResourceResponse Int Source
The response status code.