Removes one or more tags from the specified load balancer.
See also: AWS API Documentation
Request Syntax
response = client.remove_tags(
LoadBalancerNames=[
'string',
],
Tags=[
{
'Key': 'string'
},
]
)
[REQUIRED]
The name of the load balancer. You can specify a maximum of one load balancer name.
[REQUIRED]
The list of tag keys to remove.
The key of a tag.
The name of the key.
dict
Response Syntax
{}
Response Structure
(dict) --
Contains the output of RemoveTags.
Exceptions
ElasticLoadBalancing.Client.exceptions.AccessPointNotFoundException
Examples
This example removes the specified tag from the specified load balancer.
response = client.remove_tags(
LoadBalancerNames=[
'my-load-balancer',
],
Tags=[
{
'Key': 'project',
},
],
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}