PutGatewayResponseRequest
import type { PutGatewayResponseRequest } from "https://aws-api.deno.dev/v0.3/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?: {} | null;
[key: string]: string | null | undefined;
responseTemplates?: {} | null;
[key: string]: string | null | undefined;
responseType: GatewayResponseType;
restApiId: string;
statusCode?: string | null;
}§Properties
§
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
[src][Required] The response type of the associated "GatewayResponse".