Values.TestResultSourceContains the result of testing a CloudFront function with TestFunction.
type nonrec t = {functionSummary : FunctionSummary.t option;Contains configuration information and metadata about the CloudFront function that was tested.
*)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.
*)functionExecutionLogs : FunctionExecutionLogList.t option;Contains the log lines that the function wrote (if any) when running the test.
*)functionErrorMessage : SensitiveStringType.t option;If the result of testing the function was an error, this field contains the error message.
*)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.
*)}val 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 ]