apigateway_update_model: Changes information about a model

Description Usage Arguments Value Request syntax

View source: R/apigateway_operations.R

Description

Changes information about a model.

Usage

1
apigateway_update_model(restApiId, modelName, patchOperations)

Arguments

restApiId

[required] [Required] The string identifier of the associated RestApi.

modelName

[required] [Required] The name of the model to update.

patchOperations

A list of update operations to be applied to the specified resource and in the order specified in this list.

Value

A list with the following syntax:

1
2
3
4
5
6
7
list(
  id = "string",
  name = "string",
  description = "string",
  schema = "string",
  contentType = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
svc$update_model(
  restApiId = "string",
  modelName = "string",
  patchOperations = list(
    list(
      op = "add"|"remove"|"replace"|"move"|"copy"|"test",
      path = "string",
      value = "string",
      from = "string"
    )
  )
)

paws.networking documentation built on Aug. 23, 2021, 9:07 a.m.