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
19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 | |