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.

Container for the parameters to the CreateRequestValidator operation. Creates a RequestValidator of a given RestApi.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.APIGateway.AmazonAPIGatewayRequest
      Amazon.APIGateway.Model.CreateRequestValidatorRequest

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

Syntax

C#
public class CreateRequestValidatorRequest : AmazonAPIGatewayRequest
         IAmazonWebServiceRequest

The CreateRequestValidatorRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Name System.String

Gets and sets the property Name.

The name of the to-be-created RequestValidator.

Public Property RestApiId System.String

Gets and sets the property RestApiId.

The string identifier of the associated RestApi.

Public Property ValidateRequestBody System.Boolean

Gets and sets the property ValidateRequestBody.

A Boolean flag to indicate whether to validate request body according to the configured model schema for the method (true) or not (false).

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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