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.
-
nameThe name of the to-be-created RequestValidator.
-
validateRequestBodyA Boolean flag to indicate whether to validate request body according to the configured model schema for the method (
true) or not (false). -
validateRequestParametersA Boolean flag to indicate whether to validate request parameters,
true, or notfalse.
Value¶
A list with the following syntax:
list(
id = "string",
name = "string",
validateRequestBody = TRUE|FALSE,
validateRequestParameters = TRUE|FALSE
)