apigatewayv2_create_model: Creates a Model for an API

View source: R/apigatewayv2_operations.R

apigatewayv2_create_modelR Documentation

Creates a Model for an API

Description

Creates a Model for an API.

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

Usage

apigatewayv2_create_model(
  ApiId,
  ContentType = NULL,
  Description = NULL,
  Name,
  Schema
)

Arguments

ApiId

[required] The API identifier.

ContentType

The content-type for the model, for example, "application/json".

Description

The description of the model.

Name

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

Schema

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


paws.networking documentation built on Sept. 12, 2024, 7:32 a.m.