put_user_status
¶
put_user_status(
user_id: UserId,
instance_id: InstanceId,
agent_status_id: AgentStatusId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
) -> PutUserStatusResponse
Changes the current status of a user or agent in Connect Customer. If the agent is currently handling a contact, this sets the agent's next status.
For more information, see Agent status and Set your next status in the Connect Customer Administrator Guide.
Parameters:
-
user_id(UserId) –The identifier of the user.
-
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.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
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.
-
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
19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 | |