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

TestInvokeMethodResponse

import type { TestInvokeMethodResponse } from "https://aws-api.deno.dev/v0.3/services/apigateway.ts?docs=full";

Represents the response of the test invoke request in the HTTP method.

See also: Test API using the API Gateway console

interface TestInvokeMethodResponse {
body?: string | null;
headers?: {
[key: string]: string | null | undefined;
}
| null;
latency?: number | null;
log?: string | null;
multiValueHeaders?: {
[key: string]: string[] | null | undefined;
}
| null;
status?: number | null;
}

§Properties

§
body?: string | null
[src]

The body of the HTTP response.

§
headers?: {
[key: string]: string | null | undefined;
}
| null
[src]

The headers of the HTTP response.

§
latency?: number | null
[src]

The execution latency of the test invoke request.

§
log?: string | null
[src]

The API Gateway execution log for the test invoke request.

§
multiValueHeaders?: {
[key: string]: string[] | null | undefined;
}
| null
[src]

The headers of the HTTP response as a map from string to list of values.

§
status?: number | null
[src]

The HTTP status code.