Module Values.GetDistributionResultSource

The returned result of the corresponding request.

Sourcetype nonrec t = {
  1. distribution : Distribution.t option;
    (*

    The distribution's information.

    *)
  2. eTag : String_.t option;
    (*

    The current version of the distribution's information. For example: E2QWRUHAPOMQZL.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDenied of AccessDenied.t
  2. | `NoSuchDistribution of NoSuchDistribution.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?distribution:??? -> ?eTag:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDenied of AccessDenied.t | `NoSuchDistribution of NoSuchDistribution.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDenied of AccessDenied.t | `NoSuchDistribution of NoSuchDistribution.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * Distribution.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Structure of (string * [> `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t ] list ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `Long of Long.t | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of String_.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `Integer of Integer.t | `String of String_.t ] list | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t ] list ]) list ]) list ]) list ]) list ] list | `Long of Long.t | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `String of String_.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of LambdaFunctionARN.t ]) list ] list | `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of Integer.t | `List of [> `Enum of string | `String of String_.t ] list | `Structure of (string * [> `Integer of Integer.t | `List of [> `String of String_.t ] list ]) list ]) list ]) list ]) list ]) list | `Timestamp of Timestamp.t ]) 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