Skip to main content

routing_profile_queues

Creates, updates, deletes, gets or lists a routing_profile_queues resource.

Overview

Namerouting_profile_queues
TypeResource
Idaws.connect.routing_profile_queues

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
channelstringThe channels this queue supports. (VOICE, CHAT, TASK, EMAIL)
delayintegerThe delay, in seconds, that 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 Connect Customer Administrator Guide.
priorityintegerThe order in which contacts are to be handled for the queue. For more information, see Queues: priority and delay.
queue_arnstringThe Amazon Resource Name (ARN) of the queue.
queue_idstringThe identifier for the queue.
queue_namestringThe name of the queue.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_routing_profile_queuesselectinstance_id, routing_profile_id, regionnextToken, maxResultsLists the queues associated with a routing profile.
update_routing_profile_queuesupdateinstance_id, routing_profile_id, region, QueueConfigsUpdates the properties associated with a set of queues for a routing profile.
associate_routing_profile_queuesupdateinstance_id, routing_profile_id, regionAssociates a set of queues with a routing profile.
disassociate_routing_profile_queuesexecinstance_id, routing_profile_id, regionDisassociates a set of queues from a routing profile. Up to 10 queue references can be disassociated in a single API call. More than 10 queue references results in a single call results in an InvalidParameterException.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
instance_idstringThe identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
regionstringAWS region (default: us-east-1)
routing_profile_idstringThe identifier of the routing profile.
maxResultsintegerThe maximum number of results to return per page. The default MaxResult size is 100.
nextTokenstringThe token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

SELECT examples

Lists the queues associated with a routing profile.

SELECT
channel,
delay,
priority,
queue_arn,
queue_id,
queue_name
FROM aws.connect.routing_profile_queues
WHERE instance_id = '{{ instance_id }}' -- required
AND routing_profile_id = '{{ routing_profile_id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;

UPDATE examples

Updates the properties associated with a set of queues for a routing profile.

UPDATE aws.connect.routing_profile_queues
SET
QueueConfigs = '{{ QueueConfigs }}'
WHERE
instance_id = '{{ instance_id }}' --required
AND routing_profile_id = '{{ routing_profile_id }}' --required
AND region = '{{ region }}' --required
AND QueueConfigs = '{{ QueueConfigs }}' --required;

Lifecycle Methods

Disassociates a set of queues from a routing profile. Up to 10 queue references can be disassociated in a single API call. More than 10 queue references results in a single call results in an InvalidParameterException.

EXEC aws.connect.routing_profile_queues.disassociate_routing_profile_queues
@instance_id='{{ instance_id }}' --required,
@routing_profile_id='{{ routing_profile_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"QueueReferences": "{{ QueueReferences }}",
"ManualAssignmentQueueReferences": "{{ ManualAssignmentQueueReferences }}"
}'
;