Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TestFunctionRequest

import type { TestFunctionRequest } from "https://aws-api.deno.dev/v0.4/services/cloudfront.ts?docs=full";
interface TestFunctionRequest {
EventObject: Uint8Array | string;
IfMatch: string;
Name: string;
Stage?: FunctionStage | null;
}

§Properties

§
EventObject: Uint8Array | string
[src]

The event object to test the function with. For more information about the structure of the event object, see Testing functions in the Amazon CloudFront Developer Guide.

§
IfMatch: string
[src]

The current version (ETag value) of the function that you are testing, which you can get using DescribeFunction.

§
Name: string
[src]

The name of the function that you are testing.

§
Stage?: FunctionStage | null
[src]

The stage of the function that you are testing, either DEVELOPMENT or LIVE.