Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates or updates tags for the specified Auto Scaling group.
A tag is defined by its resource ID, resource type, key, value, and
propagate flag. The value and the propagate flag are optional
parameters. The only supported resource type is 'auto-scaling-group',
and the resource ID must be the name of the group. The
PropagateAtLaunch
flag determines whether the tag is added to
instances launched in the group. Valid values are true
or false
.
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 Auto Scaling Developer Guide.
See: AWS API Reference for CreateOrUpdateTags.
Creating a Request
createOrUpdateTags :: CreateOrUpdateTags Source
Creates a value of CreateOrUpdateTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateOrUpdateTags Source
See: createOrUpdateTags
smart constructor.
Request Lenses
coutTags :: Lens' CreateOrUpdateTags [Tag] Source
One or more tags.
Destructuring the Response
createOrUpdateTagsResponse :: CreateOrUpdateTagsResponse Source
Creates a value of CreateOrUpdateTagsResponse
with the minimum fields required to make a request.
data CreateOrUpdateTagsResponse Source
See: createOrUpdateTagsResponse
smart constructor.