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://paws-r.github.io/docs/apigateway/create_model.html 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 Feb. 16, 2023, 6:40 p.m.