apigateway_create_request_validator: Creates a ReqeustValidator of a given RestApi

Description Usage Arguments Value Request syntax

View source: R/apigateway_operations.R

Description

Creates a ReqeustValidator of a given RestApi.

Usage

1
2
apigateway_create_request_validator(restApiId, name,
  validateRequestBody, validateRequestParameters)

Arguments

restApiId

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

name

The name of the to-be-created RequestValidator.

validateRequestBody

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

validateRequestParameters

A Boolean flag to indicate whether to validate request parameters, true, or not false.

Value

A list with the following syntax:

1
2
3
4
5
6
list(
  id = "string",
  name = "string",
  validateRequestBody = TRUE|FALSE,
  validateRequestParameters = TRUE|FALSE
)

Request syntax

1
2
3
4
5
6
svc$create_request_validator(
  restApiId = "string",
  name = "string",
  validateRequestBody = TRUE|FALSE,
  validateRequestParameters = TRUE|FALSE
)

paws.networking documentation built on March 7, 2021, 5:08 p.m.