Skip to main content

request_validator

Gets an individual request_validator resource

Overview

Namerequest_validator
TypeResource
Descriptionrequest_validator
Idawscc.apigateway.request_validator

Fields

NameDatatypeDescription
request_validator_idstring
namestringThe name of this RequestValidator
rest_api_idstringThe string identifier of the associated RestApi.
validate_request_bodybooleanA Boolean flag to indicate whether to validate a request body according to the configured Model schema.
validate_request_parametersbooleanA Boolean flag to indicate whether to validate request parameters (``true``) or not (``false``).
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
request_validator_id,
name,
rest_api_id,
validate_request_body,
validate_request_parameters
FROM awscc.apigateway.request_validator
WHERE data__Identifier = '<RestApiId>|<RequestValidatorId>';

Permissions

To operate on the request_validator resource, the following permissions are required:

Update

apigateway:PATCH,
apigateway:GET

Delete

apigateway:DELETE

Read

apigateway:GET