create_routing_profile
¶
create_routing_profile(
instance_id: InstanceId,
name: RoutingProfileName,
description: RoutingProfileDescription,
default_outbound_queue_id: QueueId,
media_concurrencies: MediaConcurrencies,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 | |