create_routing_profile
async
¶
create_routing_profile(
instance_id: InstanceId,
name: RoutingProfileName,
description: RoutingProfileDescription,
default_outbound_queue_id: QueueId,
media_concurrencies: MediaConcurrencies,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
queue_configs: Optional[RoutingProfileQueueConfigList] = None,
manual_assignment_queue_configs: Optional[
RoutingProfileManualAssignmentQueueConfigList
] = None,
tags: Optional[TagMap] = None,
agent_availability_timer: Optional[AgentAvailabilityTimer] = None,
) -> CreateRoutingProfileResponse
Creates a new routing profile.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
name(RoutingProfileName) –The name of the routing profile. Must not be more than 127 characters.
-
description(RoutingProfileDescription) –Description of the routing profile. Must not be more than 250 characters.
-
default_outbound_queue_id(QueueId) –The default outbound queue for the routing profile.
-
queue_configs(Optional[RoutingProfileQueueConfigList], default:None) –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
RoutingProfileQueueConfigobjects 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 Connect Customer service quotas. -
manual_assignment_queue_configs(Optional[RoutingProfileManualAssignmentQueueConfigList], default:None) –The manual assignment queues associated with the routing profile. If no queue is added, agents and supervisors can't pick or assign any contacts from this routing profile. The limit of 10 array members applies to the maximum number of RoutingProfileManualAssignmentQueueConfig 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 Connect Customer service quotas.
For voice contacts, manual assignment supports only agent-first callback contacts. Chat, email, and task contacts are fully supported.
-
media_concurrencies(MediaConcurrencies) –The channels that agents can handle in the Contact Control Panel (CCP) for this routing profile.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
-
agent_availability_timer(Optional[AgentAvailabilityTimer], default:None) –Whether agents with this routing profile will have their routing order calculated based on longest idle time or time since their last inbound contact.
Raises:
-
DuplicateResourceException–A resource with the specified name already exists.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
LimitExceededException–The allowed limit for the resource has been exceeded.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/async_connect.py
5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 | |