pause_contact
async
¶
pause_contact(
contact_id: ContactId,
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 | |