TestResult
import type { TestResult } from "https://aws-api.deno.dev/v0.3/services/cloudfront.ts?docs=full";
Contains the result of testing a CloudFront function with TestFunction
.
interface TestResult {
ComputeUtilization?: string | null;
FunctionErrorMessage?: string | null;
FunctionExecutionLogs: string[];
FunctionOutput?: string | null;
FunctionSummary?: FunctionSummary | null;
}§Properties
§
ComputeUtilization?: string | null
[src]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.
§
FunctionErrorMessage?: string | null
[src]If the result of testing the function was an error, this field contains the error message.
§
FunctionExecutionLogs: string[]
[src]Contains the log lines that the function wrote (if any) when running the test.
§
FunctionOutput?: string | null
[src]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.
§
FunctionSummary?: FunctionSummary | null
[src]Contains configuration information and metadata about the CloudFront function that was tested.