Copyright | (c) 2013-2018 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 |
Adds specified tags to a resource with the specified ARN. Existing tags on a resource are not changed if they are not specified in the request parameters.
- tag :: Text -> Tag
- data Tag
- tagARN :: Lens' Tag Text
- tagTags :: Lens' Tag (HashMap Text Text)
- tagResponse :: Int -> TagResponse
- data TagResponse
- tagrsARN :: Lens' TagResponse (Maybe Text)
- tagrsTags :: Lens' TagResponse (HashMap Text Text)
- tagrsResponseStatus :: Lens' TagResponse Int
Creating a Request
Creates a value of Tag
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
See: tag
smart constructor.
Request Lenses
tagTags :: Lens' Tag (HashMap Text Text) Source #
The tags to add to the specified resource. A tag is a string-to-string map of key-value pairs. Tag keys can have a maximum character length of 127 characters, and tag values can have a maximum length of 255 characters.
Destructuring the Response
Creates a value of TagResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tagrsARN
- The ARN of the tagged resource.tagrsTags
- The tags that have been added to the specified resource.tagrsResponseStatus
- -- | The response status code.
data TagResponse Source #
See: tagResponse
smart constructor.
Response Lenses
tagrsTags :: Lens' TagResponse (HashMap Text Text) Source #
The tags that have been added to the specified resource.
tagrsResponseStatus :: Lens' TagResponse Int Source #
- - | The response status code.