pause_contact
¶
pause_contact(
contact_id: ContactId,
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
contact_flow_id: Optional[ContactFlowId] = None,
) -> PauseContactResponse
Allows pausing an ongoing task contact.
Parameters:
-
contact_id(ContactId) –The identifier of the contact.
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the
instanceIdin the ARN of the instance. -
contact_flow_id(Optional[ContactFlowId], default:None) –The identifier of the flow.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–Operation cannot be performed at this time as there is a conflict with another operation or contact state.
-
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
19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 | |