Skip to content

Get Request Validator

apigateway_get_request_validator R Documentation

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"
)