Module Values.TestResultSource

Contains the result of testing a CloudFront function with TestFunction.

Sourcetype nonrec t = {
  1. functionSummary : FunctionSummary.t option;
    (*

    Contains configuration information and metadata about the CloudFront function that was tested.

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

    The amount of time that the function took to run as a percentage of the maximum allowed time. For example, a compute utilization of 35 means that the function completed in 35% of the maximum allowed time.

    *)
  3. functionExecutionLogs : FunctionExecutionLogList.t option;
    (*

    Contains the log lines that the function wrote (if any) when running the test.

    *)
  4. functionErrorMessage : SensitiveStringType.t option;
    (*

    If the result of testing the function was an error, this field contains the error message.

    *)
  5. functionOutput : SensitiveStringType.t option;
    (*

    The event object returned by the function. For more information about the structure of the event object, see Event object structure in the Amazon CloudFront Developer Guide.

    *)
}
Sourceval make : ?functionSummary:??? -> ?computeUtilization:??? -> ?functionExecutionLogs:??? -> ?functionErrorMessage:??? -> ?functionOutput:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of String_.t ] list | `String of String_.t | `Structure of (string * [> `String of FunctionName.t | `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `String of KeyValueStoreARN.t ]) list ] list ]) list | `Timestamp of Timestamp.t ]) 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