Skip to content

Put User Status

connect_put_user_status R Documentation

Changes the current status of a user or agent in Amazon Connect

Description

Changes the current status of a user or agent in Amazon Connect. 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 Amazon Connect Administrator Guide.

Usage

connect_put_user_status(UserId, InstanceId, AgentStatusId)

Arguments

UserId

[required] The identifier of the user.

InstanceId

[required] The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

AgentStatusId

[required] The identifier of the agent status.

Value

An empty list.

Request syntax

svc$put_user_status(
  UserId = "string",
  InstanceId = "string",
  AgentStatusId = "string"
)