Skip to content

Create Routing Profile

connect_create_routing_profile R Documentation

Creates a new routing profile

Description

Creates a new routing profile.

Usage

connect_create_routing_profile(InstanceId, Name, Description,
  DefaultOutboundQueueId, QueueConfigs, MediaConcurrencies, Tags,
  AgentAvailabilityTimer)

Arguments

InstanceId

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

Name

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

Description

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

DefaultOutboundQueueId

[required] The default outbound queue for the routing profile.

QueueConfigs

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.

MediaConcurrencies

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

Tags

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

AgentAvailabilityTimer

Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.

Value

A list with the following syntax:

list(
  RoutingProfileArn = "string",
  RoutingProfileId = "string"
)

Request syntax

svc$create_routing_profile(
  InstanceId = "string",
  Name = "string",
  Description = "string",
  DefaultOutboundQueueId = "string",
  QueueConfigs = list(
    list(
      QueueReference = list(
        QueueId = "string",
        Channel = "VOICE"|"CHAT"|"TASK"
      ),
      Priority = 123,
      Delay = 123
    )
  ),
  MediaConcurrencies = list(
    list(
      Channel = "VOICE"|"CHAT"|"TASK",
      Concurrency = 123,
      CrossChannelBehavior = list(
        BehaviorType = "ROUTE_CURRENT_CHANNEL_ONLY"|"ROUTE_ANY_CHANNEL"
      )
    )
  ),
  Tags = list(
    "string"
  ),
  AgentAvailabilityTimer = "TIME_SINCE_LAST_ACTIVITY"|"TIME_SINCE_LAST_INBOUND"
)