detach_traffic_sources
(**kwargs)¶Reserved for use with Amazon VPC Lattice, which is in preview and subject to change. Do not use this API for production workloads. This API is also subject to change.
Detaches one or more traffic sources from the specified Auto Scaling group.
See also: AWS API Documentation
Request Syntax
response = client.detach_traffic_sources(
AutoScalingGroupName='string',
TrafficSources=[
{
'Identifier': 'string'
},
]
)
[REQUIRED]
The name of the Auto Scaling group.
[REQUIRED]
The unique identifiers of one or more traffic sources you are detaching. You can specify up to 10 traffic sources.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group. When you detach a target group, it enters the Removing
state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the target group using the DescribeTrafficSources API call. The instances continue to run.
Describes the identifier of a traffic source.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group.
The unique identifier of the traffic source.
dict
Response Syntax
{}
Response Structure
Exceptions
AutoScaling.Client.exceptions.ResourceContentionFault