Deletes the specified tags.
See also: AWS API Documentation
Request Syntax
response = client.delete_tags(
Tags=[
{
'ResourceId': 'string',
'ResourceType': 'string',
'Key': 'string',
'Value': 'string',
'PropagateAtLaunch': True|False
},
]
)
[REQUIRED]
One or more tags.
Describes a tag for an Auto Scaling group.
The name of the Auto Scaling group.
The type of resource. The only supported value is auto-scaling-group
.
The tag key.
The tag value.
Determines whether the tag is added to new instances as they are launched in the group.
Exceptions
AutoScaling.Client.exceptions.ResourceContentionFault
AutoScaling.Client.exceptions.ResourceInUseFault
Examples
This example deletes the specified tag from the specified Auto Scaling group.
response = client.delete_tags(
Tags=[
{
'Key': 'Dept',
'ResourceId': 'my-auto-scaling-group',
'ResourceType': 'auto-scaling-group',
'Value': 'Research',
},
],
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}