Values_2.StopContactRequestSourceEnds 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 t = {contactId : Values_0.ContactId.t;The ID of the contact.
*)instanceId : Values_0.InstanceId.t;The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
*)disconnectReason : Values_1.DisconnectReason.t option;The reason a contact can be disconnected. Only Amazon Connect outbound campaigns can provide this field. For a list and description of all the possible disconnect reasons by channel (including outbound campaign voice contacts) see DisconnectReason under ContactTraceRecord in the Amazon Connect Administrator Guide.
*)}val make :
?disconnectReason:??? ->
contactId:Values_0.ContactId.t ->
instanceId:Values_0.InstanceId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of Values_0.ContactId.t
| `Structure of (string * [> `String of string ]) list ])
list ]