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. This API can be called only in the Region where the traffic distribution group is created.

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 of the traffic distribution group.

  • 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