Adds a new Model resource to an existing RestApi resource
Adds a new Model resource to an existing RestApi resource.
apigateway_create_model(restApiId, name, description, schema, contentType)
restApiId |
[required] [Required] The RestApi identifier under which the Model will be created. |
name |
[required] [Required] The name of the model. Must be alphanumeric. |
description |
The description of the model. |
schema |
The schema for the model. For |
contentType |
[required] [Required] The content-type for the model. |
A list with the following syntax:
list( id = "string", name = "string", description = "string", schema = "string", contentType = "string" )
svc$create_model( restApiId = "string", name = "string", description = "string", schema = "string", contentType = "string" )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.