Create Request Validator
apigateway_create_request_validator | R Documentation |
Creates a RequestValidator of a given RestApi¶
Description¶
Creates a RequestValidator of a given RestApi.
Usage¶
apigateway_create_request_validator(restApiId, name,
validateRequestBody, validateRequestParameters)
Arguments¶
restApiId |
[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
( |
validateRequestParameters |
A Boolean flag to indicate whether to validate request
parameters, |
Value¶
A list with the following syntax:
list(
id = "string",
name = "string",
validateRequestBody = TRUE|FALSE,
validateRequestParameters = TRUE|FALSE
)
Request syntax¶
svc$create_request_validator(
restApiId = "string",
name = "string",
validateRequestBody = TRUE|FALSE,
validateRequestParameters = TRUE|FALSE
)