Creates a Model for an API
Creates a Model for an API.
apigatewayv2_create_model(ApiId, ContentType, Description, Name, Schema)
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. |
A list with the following syntax:
list( ContentType = "string", Description = "string", ModelId = "string", Name = "string", Schema = "string" )
svc$create_model( ApiId = "string", ContentType = "string", Description = "string", Name = "string", Schema = "string" )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.