Connect / Client / associate_traffic_distribution_group_user

associate_traffic_distribution_group_user#

Connect.Client.associate_traffic_distribution_group_user(**kwargs)#

Associates an agent with a traffic distribution group.

See also: AWS API Documentation

Request Syntax

response = client.associate_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 of the user account. 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