Copyright | (c) 2013-2021 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 |
Creates or updates tags for the specified Auto Scaling group.
When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.
For more information, see Tagging Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
Creating a Request
data CreateOrUpdateTags Source #
See: newCreateOrUpdateTags
smart constructor.
Instances
newCreateOrUpdateTags :: CreateOrUpdateTags Source #
Create a value of CreateOrUpdateTags
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:tags:CreateOrUpdateTags'
, createOrUpdateTags_tags
- One or more tags.
Request Lenses
createOrUpdateTags_tags :: Lens' CreateOrUpdateTags [Tag] Source #
One or more tags.
Destructuring the Response
data CreateOrUpdateTagsResponse Source #
See: newCreateOrUpdateTagsResponse
smart constructor.
Instances
newCreateOrUpdateTagsResponse :: CreateOrUpdateTagsResponse Source #
Create a value of CreateOrUpdateTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.