amazonka-apigateway-1.4.5: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.GetAuthorizers

Contents

Description

Describe an existing Authorizers resource.

AWS CLI

Synopsis

Creating a Request

getAuthorizers Source #

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

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

  • gaLimit - Limit the number of Authorizer resources in the response.
  • gaPosition - If not all Authorizer resources in the response were present, the position will specify where to start the next page of results.
  • gaRestAPIId - The RestApi identifier for the Authorizers resource.

data GetAuthorizers Source #

Request to describe an existing Authorizers resource.

See: getAuthorizers smart constructor.

Instances

Eq GetAuthorizers Source # 
Data GetAuthorizers Source # 

Methods

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

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

toConstr :: GetAuthorizers -> Constr #

dataTypeOf :: GetAuthorizers -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAuthorizers Source # 
Show GetAuthorizers Source # 
Generic GetAuthorizers Source # 

Associated Types

type Rep GetAuthorizers :: * -> * #

Hashable GetAuthorizers Source # 
NFData GetAuthorizers Source # 

Methods

rnf :: GetAuthorizers -> () #

AWSRequest GetAuthorizers Source # 
ToPath GetAuthorizers Source # 
ToHeaders GetAuthorizers Source # 
ToQuery GetAuthorizers Source # 
type Rep GetAuthorizers Source # 
type Rep GetAuthorizers = D1 (MetaData "GetAuthorizers" "Network.AWS.APIGateway.GetAuthorizers" "amazonka-apigateway-1.4.5-BIK2fycuXdJFBbWQ9Hqf16" False) (C1 (MetaCons "GetAuthorizers'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gaLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_gaPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gaRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs GetAuthorizers Source # 

Request Lenses

gaLimit :: Lens' GetAuthorizers (Maybe Int) Source #

Limit the number of Authorizer resources in the response.

gaPosition :: Lens' GetAuthorizers (Maybe Text) Source #

If not all Authorizer resources in the response were present, the position will specify where to start the next page of results.

gaRestAPIId :: Lens' GetAuthorizers Text Source #

The RestApi identifier for the Authorizers resource.

Destructuring the Response

getAuthorizersResponse Source #

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

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

data GetAuthorizersResponse Source #

Represents a collection of Authorizer resources.

Enable custom authorization

See: getAuthorizersResponse smart constructor.

Instances

Eq GetAuthorizersResponse Source # 
Data GetAuthorizersResponse Source # 

Methods

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

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

toConstr :: GetAuthorizersResponse -> Constr #

dataTypeOf :: GetAuthorizersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAuthorizersResponse Source # 
Show GetAuthorizersResponse Source # 
Generic GetAuthorizersResponse Source # 
NFData GetAuthorizersResponse Source # 

Methods

rnf :: GetAuthorizersResponse -> () #

type Rep GetAuthorizersResponse Source # 
type Rep GetAuthorizersResponse = D1 (MetaData "GetAuthorizersResponse" "Network.AWS.APIGateway.GetAuthorizers" "amazonka-apigateway-1.4.5-BIK2fycuXdJFBbWQ9Hqf16" False) (C1 (MetaCons "GetAuthorizersResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_garsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Authorizer]))) ((:*:) (S1 (MetaSel (Just Symbol "_garsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_garsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

garsItems :: Lens' GetAuthorizersResponse [Authorizer] Source #

Gets the current list of Authorizer resources in the collection.

garsResponseStatus :: Lens' GetAuthorizersResponse Int Source #

  • - | The response status code.