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

CreateRouteResponseRequest

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

Creates a new RouteResponse resource to represent a route response.

interface CreateRouteResponseRequest {
ApiId: string;
ModelSelectionExpression?: string | null;
ResponseModels?: {
[key: string]: string | null | undefined;
}
| null;
ResponseParameters?: {
[key: string]: ParameterConstraints | null | undefined;
}
| null;
RouteId: string;
RouteResponseKey: string;
}

§Properties

§
ApiId: string
[src]

The API identifier.

§
ModelSelectionExpression?: string | null
[src]

The model selection expression for the route response. Supported only for WebSocket APIs.

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

The response models for the route response.

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

The route response parameters.

§
RouteId: string
[src]

The route ID.

§
RouteResponseKey: string
[src]

The route response key.