paws.networking (version 0.1.6)

apigateway_create_model: Adds a new Model resource to an existing RestApi resource

Description

Adds a new Model resource to an existing RestApi resource.

Usage

apigateway_create_model(restApiId, name, description, schema,
  contentType)

Arguments

restApiId

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

name

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

description

The description of the model.

schema

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

contentType

[required] [Required] The content-type for the model.

Request syntax

svc$create_model(
  restApiId = "string",
  name = "string",
  description = "string",
  schema = "string",
  contentType = "string"
)