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

View source: R/apigateway_operations.R

apigateway_create_modelR Documentation

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.


paws.networking documentation built on Sept. 12, 2023, 1:24 a.m.