Module Values_2.TransferContactResponseSource

Transfers TASK or EMAIL contacts from one agent or queue to another agent or queue at any point after a contact is created. You can transfer a contact to another queue by providing the flow which orchestrates the contact to the destination queue. This gives you more control over contact handling and helps you adhere to the service level agreement (SLA) guaranteed to your customers. Note the following requirements: Transfer is only supported for TASK and EMAIL contacts. Do not use both QueueId and UserId in the same call. The following flow types are supported: Inbound flow, Transfer to agent flow, and Transfer to queue flow. The TransferContact API can be called only on active contacts. A contact cannot be transferred more than 11 times.

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

    The identifier of the contact in this instance of Amazon Connect.

    *)
  2. contactArn : Values_0.ARN.t option;
    (*

    The Amazon Resource Name (ARN) of the contact.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of Values_0.AccessDeniedException.t
  2. | `IdempotencyException of Values_0.IdempotencyException.t
  3. | `InternalServiceException of Values_0.InternalServiceException.t
  4. | `InvalidRequestException of Values_0.InvalidRequestException.t
  5. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  6. | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t
  7. | `ThrottlingException of Values_0.ThrottlingException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?contactId:??? -> ?contactArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `IdempotencyException of Values_0.IdempotencyException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of Values_0.AccessDeniedException.t | `IdempotencyException of Values_0.IdempotencyException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ServiceQuotaExceededException of Values_0.ServiceQuotaExceededException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.ContactId.t ]) 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