update_agent_status
¶
update_agent_status(
instance_id: InstanceId,
agent_status_id: AgentStatusId,
*,
config_overrides: Optional[ConnectClientConfig] = 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/connect.py
25206 25207 25208 25209 25210 25211 25212 25213 25214 25215 25216 25217 25218 25219 25220 25221 25222 25223 25224 25225 25226 25227 25228 25229 25230 25231 25232 25233 25234 25235 25236 25237 25238 25239 25240 25241 25242 25243 25244 25245 25246 25247 25248 25249 25250 25251 25252 25253 25254 25255 25256 25257 25258 25259 25260 25261 25262 25263 25264 25265 25266 25267 25268 25269 25270 25271 25272 25273 25274 25275 25276 25277 25278 25279 25280 25281 25282 | |