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

ImportRestApiRequest

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

A POST request to import an API to API Gateway using an input of an API definition file.

interface ImportRestApiRequest {
body: Uint8Array | string;
failOnWarnings?: boolean | null;
parameters?: {
[key: string]: string | null | undefined;
}
| null;
}

§Properties

§
body: Uint8Array | string
[src]

[Required] The POST request body containing external API definitions. Currently, only OpenAPI definition JSON/YAML files are supported. The maximum size of the API definition file is 6MB.

§
failOnWarnings?: boolean | null
[src]

A query parameter to indicate whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.

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

TODO: Failed to render documentation: unhandled top level doc tag pre