Adds a new Model resource to an existing RestApi resource
Source:R/apigateway_operations.R
apigateway_create_model.RdAdds a new Model resource to an existing RestApi resource.
See https://www.paws-r-sdk.com/docs/apigateway_create_model/ for full documentation.
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/jsonmodels, this should be JSON schema draft 4 model. The maximum size of the model is 400 KB.- contentType
[required] The content-type for the model.