Struct rusoto_apigateway::RequestValidator[][src]

pub struct RequestValidator {
    pub id: Option<String>,
    pub name: Option<String>,
    pub validate_request_body: Option<bool>,
    pub validate_request_parameters: Option<bool>,
}

A set of validation rules for incoming Method requests.

In Swagger, a RequestValidator of an API is defined by the x-amazon-apigateway-request-validators.requestValidator object. It the referenced using the x-amazon-apigateway-request-validator property.

Fields

The identifier of this RequestValidator.

The name of this RequestValidator

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

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

Trait Implementations

impl Default for RequestValidator
[src]

Returns the "default value" for a type. Read more

impl Debug for RequestValidator
[src]

Formats the value using the given formatter. Read more

impl Clone for RequestValidator
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for RequestValidator
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations