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

GatewayResponse

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

TODO: Failed to render documentation: unhandled paragraph inner tag div

interface GatewayResponse {
defaultResponse?: boolean | null;
responseParameters?: {
[key: string]: string | null | undefined;
}
| null;
responseTemplates?: {
[key: string]: string | null | undefined;
}
| null;
responseType?: GatewayResponseType | null;
statusCode?: string | null;
}

§Properties

§
defaultResponse?: boolean | null
[src]

A Boolean flag to indicate whether this "GatewayResponse" is the default gateway response (true) or not (false). A default gateway response is one generated by API Gateway without any customization by an API developer.

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

Response parameters (paths, query strings and headers) of the "GatewayResponse" as a string-to-string map of key-value pairs.

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

Response templates of the "GatewayResponse" as a string-to-string map of key-value pairs.

§
responseType?: GatewayResponseType | null
[src]

The response type of the associated "GatewayResponse".

§
statusCode?: string | null
[src]

The HTTP status code for this "GatewayResponse".