Values_2.StopContactResponseSourceEnds the specified contact. Use this API to stop queued callbacks. It does not work for voice contacts that use the following initiation methods: DISCONNECT TRANSFER QUEUE_TRANSFER EXTERNAL_OUTBOUND MONITOR Chat and task contacts can be terminated in any state, regardless of initiation method.
type nonrec error = [ | `ContactNotFoundException of Values_0.ContactNotFoundException.t| `InternalServiceException of Values_0.InternalServiceException.t| `InvalidActiveRegionException of Values_1.InvalidActiveRegionException.t| `InvalidParameterException of Values_0.InvalidParameterException.t| `InvalidRequestException of Values_0.InvalidRequestException.t| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ContactNotFoundException of Values_0.ContactNotFoundException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidActiveRegionException of Values_1.InvalidActiveRegionException.t
| `InvalidParameterException of Values_0.InvalidParameterException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ContactNotFoundException of Values_0.ContactNotFoundException.t
| `InternalServiceException of Values_0.InternalServiceException.t
| `InvalidActiveRegionException of Values_1.InvalidActiveRegionException.t
| `InvalidParameterException of Values_0.InvalidParameterException.t
| `InvalidRequestException of Values_0.InvalidRequestException.t
| `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]