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
25305 25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 25317 25318 25319 25320 25321 25322 25323 25324 25325 25326 25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 25347 25348 25349 25350 25351 25352 25353 25354 25355 25356 25357 25358 25359 25360 25361 25362 25363 25364 25365 25366 25367 25368 25369 25370 25371 25372 25373 25374 25375 25376 25377 25378 25379 25380 25381 25382 | |