Module Values_2.StopContactRequestSource

Ends 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.

Sourcetype nonrec t = {
  1. contactId : Values_0.ContactId.t;
    (*

    The ID of the contact.

    *)
  2. 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.

    *)
  3. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?disconnectReason:??? -> contactId:Values_0.ContactId.t -> instanceId:Values_0.InstanceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.ContactId.t | `Structure of (string * [> `String of string ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t