Skip to content

Updates a RequestValidator of a given RestApi

Description

Updates a RequestValidator of a given RestApi.

Usage

apigateway_update_request_validator(restApiId, requestValidatorId,
  patchOperations)

Arguments

  • restApiId

    [required] The string identifier of the associated RestApi.

  • requestValidatorId

    [required] The identifier of RequestValidator to be updated.

  • patchOperations

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

Value

A list with the following syntax:

list(
  id = "string",
  name = "string",
  validateRequestBody = TRUE|FALSE,
  validateRequestParameters = TRUE|FALSE
)

Request syntax

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