paws.networking (version 0.5.0)

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

Description

Adds a new Model resource to an existing RestApi resource.

See https://www.paws-r-sdk.com/docs/apigateway_create_model/ for full documentation.

Usage

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

Arguments

restApiId

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

name

[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] The content-type for the model.