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?: {} | null;
}[key: string]: string | null | undefined;
§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.