Skip to content

Update Deployment

apigateway_update_deployment R Documentation

Changes information about a Deployment resource

Description

Changes information about a Deployment resource.

Usage

apigateway_update_deployment(restApiId, deploymentId, patchOperations)

Arguments

restApiId

[required] The string identifier of the associated RestApi.

deploymentId

[required] The replacement identifier for the Deployment resource to change information about.

patchOperations

For more information about supported patch operations, see Patch Operations.

Value

A list with the following syntax:

list(
  id = "string",
  description = "string",
  createdDate = as.POSIXct(
    "2015-01-01"
  ),
  apiSummary = list(
    list(
      list(
        authorizationType = "string",
        apiKeyRequired = TRUE|FALSE
      )
    )
  )
)

Request syntax

svc$update_deployment(
  restApiId = "string",
  deploymentId = "string",
  patchOperations = list(
    list(
      op = "add"|"remove"|"replace"|"move"|"copy"|"test",
      path = "string",
      value = "string",
      from = "string"
    )
  )
)