Update Model
| apigateway_update_model | R Documentation | 
Changes information about a model¶
Description¶
Changes information about a model. The maximum size of the model is 400 KB.
Usage¶
apigateway_update_model(restApiId, modelName, patchOperations)
Arguments¶
| restApiId | [required] The string identifier of the associated RestApi. | 
| modelName | [required] The name of the model to update. | 
| patchOperations | For more information about supported patch operations, see Patch Operations. | 
Value¶
A list with the following syntax:
list(
  id = "string",
  name = "string",
  description = "string",
  schema = "string",
  contentType = "string"
)
Request syntax¶
svc$update_model(
  restApiId = "string",
  modelName = "string",
  patchOperations = list(
    list(
      op = "add"|"remove"|"replace"|"move"|"copy"|"test",
      path = "string",
      value = "string",
      from = "string"
    )
  )
)