libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.APIGateway.GetRequestValidators

Description

Gets the RequestValidators collection of a given RestApi.

This operation returns paginated results.

Synopsis

Creating a Request

data GetRequestValidators Source #

Gets the RequestValidators collection of a given RestApi.

See: newGetRequestValidators smart constructor.

Constructors

GetRequestValidators' 

Fields

  • limit :: Maybe Int

    The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

  • position :: Maybe Text

    The current pagination position in the paged result set.

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.

Instances

Instances details
Eq GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Read GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Show GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Generic GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Associated Types

type Rep GetRequestValidators :: Type -> Type #

NFData GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Methods

rnf :: GetRequestValidators -> () #

Hashable GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

AWSPager GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

AWSRequest GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Associated Types

type AWSResponse GetRequestValidators #

ToHeaders GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

ToPath GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

ToQuery GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidators = D1 ('MetaData "GetRequestValidators" "Amazonka.APIGateway.GetRequestValidators" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRequestValidators'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetRequestValidators Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

newGetRequestValidators Source #

Create a value of GetRequestValidators with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:limit:GetRequestValidators', getRequestValidators_limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

$sel:position:GetRequestValidators', getRequestValidators_position - The current pagination position in the paged result set.

$sel:restApiId:GetRequestValidators', getRequestValidators_restApiId - [Required] The string identifier of the associated RestApi.

Request Lenses

getRequestValidators_limit :: Lens' GetRequestValidators (Maybe Int) Source #

The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

getRequestValidators_position :: Lens' GetRequestValidators (Maybe Text) Source #

The current pagination position in the paged result set.

getRequestValidators_restApiId :: Lens' GetRequestValidators Text Source #

Required
The string identifier of the associated RestApi.

Destructuring the Response

data GetRequestValidatorsResponse Source #

A collection of RequestValidator resources of a given RestApi.

In OpenAPI, the RequestValidators of an API is defined by the x-amazon-apigateway-request-validators extension.

Enable Basic Request Validation in API Gateway

See: newGetRequestValidatorsResponse smart constructor.

Constructors

GetRequestValidatorsResponse' 

Fields

Instances

Instances details
Eq GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Read GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Show GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Generic GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

Associated Types

type Rep GetRequestValidatorsResponse :: Type -> Type #

NFData GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidatorsResponse Source # 
Instance details

Defined in Amazonka.APIGateway.GetRequestValidators

type Rep GetRequestValidatorsResponse = D1 ('MetaData "GetRequestValidatorsResponse" "Amazonka.APIGateway.GetRequestValidators" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "GetRequestValidatorsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "items") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RequestValidator])) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetRequestValidatorsResponse Source #

Create a value of GetRequestValidatorsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:items:GetRequestValidatorsResponse', getRequestValidatorsResponse_items - The current page of elements from this collection.

$sel:position:GetRequestValidators', getRequestValidatorsResponse_position - Undocumented member.

$sel:httpStatus:GetRequestValidatorsResponse', getRequestValidatorsResponse_httpStatus - The response's http status code.

Response Lenses