delete_traffic_distribution_group

Connect.Client.delete_traffic_distribution_group(**kwargs)

Deletes a traffic distribution group. This API can be called only in the Region where the traffic distribution group is created.

For more information about deleting traffic distribution groups, see Delete traffic distribution groups in the Amazon Connect Administrator Guide .

See also: AWS API Documentation

Request Syntax

response = client.delete_traffic_distribution_group(
    TrafficDistributionGroupId='string'
)
Parameters
TrafficDistributionGroupId (string) --

[REQUIRED]

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.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • Connect.Client.exceptions.InvalidRequestException
  • Connect.Client.exceptions.AccessDeniedException
  • Connect.Client.exceptions.ResourceInUseException
  • Connect.Client.exceptions.ThrottlingException
  • Connect.Client.exceptions.InternalServiceException