create_routing_profile

Connect.Client.create_routing_profile(**kwargs)

Creates a new routing profile.

See also: AWS API Documentation

Request Syntax

response = client.create_routing_profile(
    InstanceId='string',
    Name='string',
    Description='string',
    DefaultOutboundQueueId='string',
    QueueConfigs=[
        {
            'QueueReference': {
                'QueueId': 'string',
                'Channel': 'VOICE'|'CHAT'|'TASK'
            },
            'Priority': 123,
            'Delay': 123
        },
    ],
    MediaConcurrencies=[
        {
            'Channel': 'VOICE'|'CHAT'|'TASK',
            'Concurrency': 123
        },
    ],
    Tags={
        'string': 'string'
    }
)
Parameters
  • 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.

  • Name (string) --

    [REQUIRED]

    The name of the routing profile. Must not be more than 127 characters.

  • Description (string) --

    [REQUIRED]

    Description of the routing profile. Must not be more than 250 characters.

  • DefaultOutboundQueueId (string) --

    [REQUIRED]

    The default outbound queue for the routing profile.

  • QueueConfigs (list) --

    The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.

    The limit of 10 array members applies to the maximum number of RoutingProfileQueueConfig objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per routing profile per instance that is listed in Amazon Connect service quotas.

    • (dict) --

      Contains information about the queue and channel for which priority and delay can be set.

      • QueueReference (dict) -- [REQUIRED]

        Contains information about a queue resource.

        • QueueId (string) -- [REQUIRED]

          The identifier for the queue.

        • Channel (string) -- [REQUIRED]

          The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.

      • Priority (integer) -- [REQUIRED]

        The order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay.

      • Delay (integer) -- [REQUIRED]

        The delay, in seconds, a contact should be in the queue before they are routed to an available agent. For more information, see Queues: priority and delay in the Amazon Connect Administrator Guide .

  • MediaConcurrencies (list) --

    [REQUIRED]

    The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.

    • (dict) --

      Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.

      • Channel (string) -- [REQUIRED]

        The channels that agents can handle in the Contact Control Panel (CCP).

      • Concurrency (integer) -- [REQUIRED]

        The number of contacts an agent can have on a channel simultaneously.

        Valid Range for VOICE : Minimum value of 1. Maximum value of 1.

        Valid Range for CHAT : Minimum value of 1. Maximum value of 10.

        Valid Range for TASK : Minimum value of 1. Maximum value of 10.

  • Tags (dict) --

    The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'RoutingProfileArn': 'string',
    'RoutingProfileId': 'string'
}

Response Structure

  • (dict) --

    • RoutingProfileArn (string) --

      The Amazon Resource Name (ARN) of the routing profile.

    • RoutingProfileId (string) --

      The identifier of the routing profile.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException
  • Connect.Client.exceptions.InvalidParameterException
  • Connect.Client.exceptions.DuplicateResourceException
  • Connect.Client.exceptions.ResourceNotFoundException
  • Connect.Client.exceptions.LimitExceededException
  • Connect.Client.exceptions.ThrottlingException
  • Connect.Client.exceptions.InternalServiceException