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/apigateway.ts?docs=full";

Request to add a new "Model" to an existing "RestApi" resource.

interface CreateModelRequest {
contentType: string;
description?: string | null;
name: string;
restApiId: string;
schema?: string | null;
}

§Properties

§
contentType: string
[src]

[Required] The content-type for the model.

§
description?: string | null
[src]

The description of the model.

§
name: string
[src]

[Required] The name of the model. Must be alphanumeric.

§
restApiId: string
[src]

[Required] The "RestApi" identifier under which the "Model" will be created.

§
schema?: string | null
[src]

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