Skip to content

Gets a RequestValidator of a given RestApi

Description

Gets a RequestValidator of a given RestApi.

Usage

apigateway_get_request_validator(restApiId, requestValidatorId)

Arguments

  • restApiId

    [required] The string identifier of the associated RestApi.

  • requestValidatorId

    [required] The identifier of the RequestValidator to be retrieved.

Value

A list with the following syntax:

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

Request syntax

svc$get_request_validator(
  restApiId = "string",
  requestValidatorId = "string"
)