update_agent_status
async
¶
update_agent_status(
instance_id: InstanceId,
agent_status_id: AgentStatusId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
name: Optional[AgentStatusName] = None,
description: Optional[UpdateAgentStatusDescription] = None,
state: Optional[AgentStatusState] = None,
display_order: Optional[AgentStatusOrderNumber] = None,
reset_order_number: Optional[Boolean] = None,
) -> None
Updates agent status.
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.
-
agent_status_id(AgentStatusId) –The identifier of the agent status.
-
name(Optional[AgentStatusName], default:None) –The name of the agent status.
-
description(Optional[UpdateAgentStatusDescription], default:None) –The description of the agent status.
-
state(Optional[AgentStatusState], default:None) –The state of the agent status.
-
display_order(Optional[AgentStatusOrderNumber], default:None) –The display order of the agent status.
-
reset_order_number(Optional[Boolean], default:None) –A number indicating the reset order of the agent status.
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
25544 25545 25546 25547 25548 25549 25550 25551 25552 25553 25554 25555 25556 25557 25558 25559 25560 25561 25562 25563 25564 25565 25566 25567 25568 25569 25570 25571 25572 25573 25574 25575 25576 25577 25578 25579 25580 25581 25582 25583 25584 25585 25586 25587 25588 25589 25590 25591 25592 25593 25594 25595 25596 25597 25598 25599 25600 25601 25602 25603 25604 25605 25606 25607 25608 25609 25610 25611 25612 25613 25614 25615 25616 25617 25618 25619 25620 25621 | |