Connect / Client / disassociate_traffic_distribution_group_user

disassociate_traffic_distribution_group_user#

Connect.Client.disassociate_traffic_distribution_group_user(**kwargs)#

Disassociates an agent from a traffic distribution group.

See also: AWS API Documentation

Request Syntax

response = client.disassociate_traffic_distribution_group_user(
    TrafficDistributionGroupId='string',
    UserId='string',
    InstanceId='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.

  • UserId (string) –

    [REQUIRED]

    The identifier for the user. This can be the ID or the ARN of the user.

  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ResourceConflictException

  • Connect.Client.exceptions.InternalServiceException