Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RequestValidator

import type { RequestValidator } from "https://aws-api.deno.dev/v0.4/services/apigateway.ts?docs=full";

A set of validation rules for incoming Method requests.

interface RequestValidator {
id?: string | null;
name?: string | null;
validateRequestBody?: boolean | null;
validateRequestParameters?: boolean | null;
}

§Properties

§
id?: string | null
[src]

The identifier of this RequestValidator.

§
name?: string | null
[src]

The name of this RequestValidator

§
validateRequestBody?: boolean | null
[src]

A Boolean flag to indicate whether to validate a request body according to the configured Model schema.

§
validateRequestParameters?: boolean | null
[src]

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