GatewayResponse
import type { GatewayResponse } from "https://aws-api.deno.dev/v0.4/services/apigateway.ts?docs=full";
A gateway response of a given response type and status code, with optional response parameters and mapping templates.
interface GatewayResponse {
defaultResponse?: boolean | null;
responseParameters?: {} | null;
[key: string]: string | null | undefined;
responseTemplates?: {} | null;
[key: string]: string | null | undefined;
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?: {} | null
[src][key: string]: string | null | undefined;
Response parameters (paths, query strings and headers) of the GatewayResponse as a string-to-string map of key-value pairs.
§
responseTemplates?: {} | null
[src][key: string]: string | null | undefined;
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.