| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Discovery.CreateTags
Description
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.
Do not store sensitive information (like personal data) in tags.
Synopsis
- data CreateTags = CreateTags' {
- configurationIds :: [Text]
- tags :: [Tag]
- newCreateTags :: CreateTags
- createTags_configurationIds :: Lens' CreateTags [Text]
- createTags_tags :: Lens' CreateTags [Tag]
- data CreateTagsResponse = CreateTagsResponse' {
- httpStatus :: Int
- newCreateTagsResponse :: Int -> CreateTagsResponse
- createTagsResponse_httpStatus :: Lens' CreateTagsResponse Int
Creating a Request
data CreateTags Source #
See: newCreateTags smart constructor.
Constructors
| CreateTags' | |
Fields
| |
Instances
newCreateTags :: CreateTags Source #
Create a value of CreateTags with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configurationIds:CreateTags', createTags_configurationIds - A list of configuration items that you want to tag.
$sel:tags:CreateTags', createTags_tags - 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"}Request Lenses
createTags_configurationIds :: Lens' CreateTags [Text] Source #
A list of configuration items that you want to tag.
createTags_tags :: 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
data CreateTagsResponse Source #
See: newCreateTagsResponse smart constructor.
Constructors
| CreateTagsResponse' | |
Fields
| |
Instances
newCreateTagsResponse Source #
Arguments
| :: Int | |
| -> CreateTagsResponse |
Create a value of CreateTagsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:CreateTagsResponse', createTagsResponse_httpStatus - The response's http status code.
Response Lenses
createTagsResponse_httpStatus :: Lens' CreateTagsResponse Int Source #
The response's http status code.