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

InvocationResponse

import type { InvocationResponse } from "https://aws-api.deno.dev/v0.4/services/lambda.ts?docs=full";
interface InvocationResponse {
ExecutedVersion?: string | null;
FunctionError?: string | null;
LogResult?: string | null;
Payload?: Uint8Array | null;
StatusCode?: number | null;
}

§Properties

§
ExecutedVersion?: string | null
[src]

The version of the function that executed. When you invoke a function with an alias, this indicates which version the alias resolved to.

§
FunctionError?: string | null
[src]

If present, indicates that an error occurred during function execution. Details about the error are included in the response payload.

§
LogResult?: string | null
[src]

The last 4 KB of the execution log, which is base64-encoded.

§
Payload?: Uint8Array | null
[src]

The response from the function, or an error object.

§
StatusCode?: number | null
[src]

The HTTP status code is in the 200 range for a successful request. For the RequestResponse invocation type, this status code is 200. For the Event invocation type, this status code is 202. For the DryRun invocation type, the status code is 204.