Module Values_2.UpdateContactRoutingDataRequestSource

Updates routing priority and age on the contact (QueuePriority and QueueTimeAdjustmentInSeconds). These properties can be used to change a customer's position in the queue. For example, you can move a contact to the back of the queue by setting a lower routing priority relative to other contacts in queue; or you can move a contact to the front of the queue by increasing the routing age which will make the contact look artificially older and therefore higher up in the first-in-first-out routing order. Note that adjusting the routing age of a contact affects only its position in queue, and not its actual queue wait time as reported through metrics. These properties can also be updated by using the Set routing priority / age flow block. Either QueuePriority or QueueTimeAdjustmentInSeconds should be provided within the request body, but not both.

Sourcetype nonrec t = {
  1. 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.

    *)
  2. contactId : Values_0.ContactId.t;
    (*

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

    *)
  3. queueTimeAdjustmentSeconds : Values_0.QueueTimeAdjustmentSeconds.t option;
    (*

    The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.

    *)
  4. queuePriority : Values_0.QueuePriority.t option;
    (*

    Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.

    *)
  5. routingCriteria : RoutingCriteriaInput.t option;
    (*

    Updates the routing criteria on the contact. These properties can be used to change how a contact is routed within the queue.

    *)
}
Sourceval context_ : string
Sourceval make : ?queueTimeAdjustmentSeconds:??? -> ?queuePriority:??? -> ?routingCriteria:??? -> instanceId:Values_0.InstanceId.t -> contactId:Values_0.ContactId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of Values_0.QueueTimeAdjustmentSeconds.t | `Long of Values_0.QueuePriority.t | `String of Values_0.InstanceId.t | `Structure of (string * [> `List of [> `Structure of (string * Awso.Botodata.value) list ] list ]) 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