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 |
Sets tags (key and value pairs) to the assessment specified by the assessment ARN.
- setTagsForResource :: Text -> SetTagsForResource
- data SetTagsForResource
- stfrTags :: Lens' SetTagsForResource [Tag]
- stfrResourceARN :: Lens' SetTagsForResource Text
- setTagsForResourceResponse :: Int -> SetTagsForResourceResponse
- data SetTagsForResourceResponse
- stfrrsMessage :: Lens' SetTagsForResourceResponse (Maybe Text)
- stfrrsResponseStatus :: Lens' SetTagsForResourceResponse Int
Creating a Request
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
stfrTags :: Lens' SetTagsForResource [Tag] Source
A collection of key and value pairs that you want to set to an assessment.
stfrResourceARN :: Lens' SetTagsForResource Text Source
The ARN of the assessment that you want to set tags to.
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.