pause_contact
¶
pause_contact(
contact_id: ContactId,
instance_id: InstanceId,
*,
config_overrides: Optional[ConnectClientConfig] = None,
contact_flow_id: Optional[ContactFlowId] = None,
) -> PauseContactResponse
Pauses an ongoing task or email 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
19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 | |