Module Values_0.AgentContactReferenceSource

Information about the contact associated to the user.

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

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

    *)
  2. channel : Channel.t option;
    (*

    The channel of the contact.

    *)
  3. initiationMethod : ContactInitiationMethod.t option;
    (*

    How the contact was initiated.

    *)
  4. agentContactState : ContactState.t option;
    (*

    The state of the contact. When AgentContactState is set to CONNECTED_ONHOLD, StateStartTimestamp is not changed. Instead, StateStartTimestamp reflects the time the contact was CONNECTED to the agent.

    *)
  5. stateStartTimestamp : Timestamp.t option;
    (*

    The epoch timestamp when the contact state started.

    *)
  6. connectedToAgentTimestamp : Timestamp.t option;
    (*

    The time at which the contact was connected to an agent.

    *)
  7. queue : QueueReference.t option;
}
Sourceval make : ?contactId:??? -> ?channel:??? -> ?initiationMethod:??? -> ?agentContactState:??? -> ?stateStartTimestamp:??? -> ?connectedToAgentTimestamp:??? -> ?queue:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ContactId.t | `Structure of (string * [> `String of QueueId.t ]) list | `Timestamp of Timestamp.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