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 |
Creates one or more tags for configuration items. Tags are metadata that help you categorize IT assets. This API accepts a list of multiple configuration items.
Synopsis
Creating a Request
createTags :: CreateTags Source #
Creates a value of CreateTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctConfigurationIds
- A list of configuration items that you want to tag.ctTags
- Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key -value format. For example:{"key": "serverType", "value": "webServer"}
data CreateTags Source #
See: createTags
smart constructor.
Instances
Request Lenses
ctConfigurationIds :: Lens' CreateTags [Text] Source #
A list of configuration items that you want to tag.
ctTags :: Lens' CreateTags [Tag] Source #
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key -value format. For example: {"key": "serverType", "value": "webServer"}
Destructuring the Response
Creates a value of CreateTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctrsResponseStatus
- -- | The response status code.
data CreateTagsResponse Source #
See: createTagsResponse
smart constructor.
Instances
Response Lenses
ctrsResponseStatus :: Lens' CreateTagsResponse Int Source #
- - | The response status code.