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

PutGatewayResponseRequest

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

Creates a customization of a GatewayResponse of a specified response type and status code on the given RestApi.

interface PutGatewayResponseRequest {
responseParameters?: {
[key: string]: string | null | undefined;
}
| null;
responseTemplates?: {
[key: string]: string | null | undefined;
}
| null;
responseType: GatewayResponseType;
restApiId: string;
statusCode?: string | null;
}

§Properties

§
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.

§

The response type of the associated GatewayResponse

§
restApiId: string
[src]

The string identifier of the associated RestApi.

§
statusCode?: string | null
[src]

The HTTP status code of the GatewayResponse.