Module Values_0.ReferenceSource

Well-formed data on a contact, used by agents to complete a contact request. You can have up to 4,096 UTF-8 bytes across all references for a contact.

Sourcetype nonrec t = {
  1. value : ReferenceValue.t option;
    (*

    A valid value for the reference. For example, for a URL reference, a formatted URL that is displayed to an agent in the Contact Control Panel (CCP).

    *)
  2. type_ : ReferenceType.t;
    (*

    The type of the reference. DATE must be of type Epoch timestamp.

    *)
  3. status : ReferenceStatus.t option;
    (*

    Status of the attachment reference type.

    *)
  4. arn : ReferenceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the reference

    *)
  5. statusReason : ReferenceStatusReason.t option;
    (*

    Relevant details why the reference was not successfully created.

    *)
}
Sourceval context_ : string
Sourceval make : ?value:??? -> ?status:??? -> ?arn:??? -> ?statusReason:??? -> type_:ReferenceType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ReferenceValue.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