Skip to content

Update Model

apigatewayv2_update_model R Documentation

Updates a Model

Description

Updates a Model.

Usage

apigatewayv2_update_model(ApiId, ContentType, Description, ModelId,
  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.

ModelId

[required] The model ID.

Name

The name of the model.

Schema

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

Value

A list with the following syntax:

list(
  ContentType = "string",
  Description = "string",
  ModelId = "string",
  Name = "string",
  Schema = "string"
)

Request syntax

svc$update_model(
  ApiId = "string",
  ContentType = "string",
  Description = "string",
  ModelId = "string",
  Name = "string",
  Schema = "string"
)