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 |
An API operation for adding tags to a resource.
Creating a Request
Creates a value of TagResource
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trResourceARN
- The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.trTags
- A list of tag key-value pairs.
data TagResource Source #
See: tagResource
smart constructor.
Request Lenses
trResourceARN :: Lens' TagResource Text Source #
The Amazon Resource Name (ARN) of the resource. Tagging is only supported for directories.
Destructuring the Response
Creates a value of TagResourceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
trrsResponseStatus
- -- | The response status code.
data TagResourceResponse Source #
See: tagResourceResponse
smart constructor.
Response Lenses
trrsResponseStatus :: Lens' TagResourceResponse Int Source #
- - | The response status code.