put_user_status
async
¶
put_user_status(
user_id: UserId,
instance_id: InstanceId,
agent_status_id: AgentStatusId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 | |