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

CreateModelRequest

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

Creates a new Model.

interface CreateModelRequest {
ApiId: string;
ContentType?: string | null;
Description?: string | null;
Name: string;
Schema: string;
}

§Properties

§
ApiId: string
[src]

The API identifier.

§
ContentType?: string | null
[src]

The content-type for the model, for example, "application/json".

§
Description?: string | null
[src]

The description of the model.

§
Name: string
[src]

The name of the model. Must be alphanumeric.

§
Schema: string
[src]

The schema for the model. For application/json models, this should be JSON schema draft 4 model.