AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Inheritance Hierarchy

System.Object
  Amazon.APIGateway.Model.RequestValidator

Namespace: Amazon.APIGateway.Model
Assembly: AWSSDK.APIGateway.dll
Version: 3.x.y.z

Syntax

C#
public class RequestValidator

The RequestValidator type exposes the following members

Constructors

NameDescription
Public Method RequestValidator()

Properties

NameTypeDescription
Public Property Id System.String

Gets and sets the property Id.

The identifier of this RequestValidator.

Public Property Name System.String

Gets and sets the property Name.

The name of this RequestValidator

Public Property ValidateRequestBody System.Boolean

Gets and sets the property ValidateRequestBody.

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

Public Property ValidateRequestParameters System.Boolean

Gets and sets the property ValidateRequestParameters.

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

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms