Connect.Client.
get_traffic_distribution
(**kwargs)¶Retrieves the current traffic distribution for a given traffic distribution group.
See also: AWS API Documentation
Request Syntax
response = client.get_traffic_distribution(
Id='string'
)
[REQUIRED]
The identifier of the traffic distribution group.
{
'TelephonyConfig': {
'Distributions': [
{
'Region': 'string',
'Percentage': 123
},
]
},
'Id': 'string',
'Arn': 'string'
}
Response Structure
The distribution of traffic between the instance and its replicas.
Information about traffic distributions.
Information about a traffic distribution.
The Amazon Web Services Region where the traffic is distributed.
The percentage of the traffic that is distributed, in increments of 10.
The identifier of the traffic distribution group. This can be the ID or the ARN if the API is being called in the Region where the traffic distribution group was created. The ARN must be provided if the call is from the replicated Region.
The Amazon Resource Name (ARN) of the traffic distribution group.
Exceptions
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.AccessDeniedException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.InternalServiceException
Connect.Client.exceptions.ThrottlingException