amazonka-apigateway-1.5.0: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.GetRequestValidators

Contents

Description

Gets the RequestValidators collection of a given RestApi .

Synopsis

Creating a Request

getRequestValidators Source #

Creates a value of GetRequestValidators with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • grvLimit - The maximum number of returned results per page.
  • grvPosition - The current pagination position in the paged result set.
  • grvRestAPIId - The string identifier of the associated RestApi .

data GetRequestValidators Source #

Gets the RequestValidators collection of a given RestApi .

See: getRequestValidators smart constructor.

Instances

Eq GetRequestValidators Source # 
Data GetRequestValidators Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetRequestValidators -> c GetRequestValidators #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetRequestValidators #

toConstr :: GetRequestValidators -> Constr #

dataTypeOf :: GetRequestValidators -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetRequestValidators) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetRequestValidators) #

gmapT :: (forall b. Data b => b -> b) -> GetRequestValidators -> GetRequestValidators #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetRequestValidators -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetRequestValidators -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetRequestValidators -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetRequestValidators -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetRequestValidators -> m GetRequestValidators #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRequestValidators -> m GetRequestValidators #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRequestValidators -> m GetRequestValidators #

Read GetRequestValidators Source # 
Show GetRequestValidators Source # 
Generic GetRequestValidators Source # 
Hashable GetRequestValidators Source # 
NFData GetRequestValidators Source # 

Methods

rnf :: GetRequestValidators -> () #

AWSRequest GetRequestValidators Source # 
ToQuery GetRequestValidators Source # 
ToPath GetRequestValidators Source # 
ToHeaders GetRequestValidators Source # 
type Rep GetRequestValidators Source # 
type Rep GetRequestValidators = D1 (MetaData "GetRequestValidators" "Network.AWS.APIGateway.GetRequestValidators" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "GetRequestValidators'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grvLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_grvPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_grvRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetRequestValidators Source # 

Request Lenses

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

The maximum number of returned results per page.

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

The current pagination position in the paged result set.

grvRestAPIId :: Lens' GetRequestValidators Text Source #

The string identifier of the associated RestApi .

Destructuring the Response

getRequestValidatorsResponse Source #

Creates a value of GetRequestValidatorsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetRequestValidatorsResponse Source #

A collection of RequestValidator resources of a given RestApi .

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

Enable Basic Request Validation in API Gateway

See: getRequestValidatorsResponse smart constructor.

Instances

Eq GetRequestValidatorsResponse Source # 
Data GetRequestValidatorsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetRequestValidatorsResponse -> c GetRequestValidatorsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetRequestValidatorsResponse #

toConstr :: GetRequestValidatorsResponse -> Constr #

dataTypeOf :: GetRequestValidatorsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetRequestValidatorsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetRequestValidatorsResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetRequestValidatorsResponse -> GetRequestValidatorsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetRequestValidatorsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetRequestValidatorsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetRequestValidatorsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetRequestValidatorsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetRequestValidatorsResponse -> m GetRequestValidatorsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRequestValidatorsResponse -> m GetRequestValidatorsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRequestValidatorsResponse -> m GetRequestValidatorsResponse #

Read GetRequestValidatorsResponse Source # 
Show GetRequestValidatorsResponse Source # 
Generic GetRequestValidatorsResponse Source # 
NFData GetRequestValidatorsResponse Source # 
type Rep GetRequestValidatorsResponse Source # 
type Rep GetRequestValidatorsResponse = D1 (MetaData "GetRequestValidatorsResponse" "Network.AWS.APIGateway.GetRequestValidators" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "GetRequestValidatorsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_grvrsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RequestValidator]))) ((:*:) (S1 (MetaSel (Just Symbol "_grvrsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_grvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

grvrsItems :: Lens' GetRequestValidatorsResponse [RequestValidator] Source #

The current page of elements from this collection.