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.GetAPIKeys

Contents

Description

Gets information about the current ApiKeys resource.

This operation returns paginated results.

Synopsis

Creating a Request

getAPIKeys :: GetAPIKeys Source #

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

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

  • gakIncludeValues - A boolean flag to specify whether (true ) or not (false ) the result contains key values.
  • gakCustomerId - The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.
  • gakNameQuery - The name of queried API keys.
  • gakLimit - The maximum number of returned results per page.
  • gakPosition - The current pagination position in the paged result set.

data GetAPIKeys Source #

A request to get information about the current ApiKeys resource.

See: getAPIKeys smart constructor.

Instances

Eq GetAPIKeys Source # 
Data GetAPIKeys Source # 

Methods

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

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

toConstr :: GetAPIKeys -> Constr #

dataTypeOf :: GetAPIKeys -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAPIKeys Source # 
Show GetAPIKeys Source # 
Generic GetAPIKeys Source # 

Associated Types

type Rep GetAPIKeys :: * -> * #

Hashable GetAPIKeys Source # 
NFData GetAPIKeys Source # 

Methods

rnf :: GetAPIKeys -> () #

AWSPager GetAPIKeys Source # 
AWSRequest GetAPIKeys Source # 
ToQuery GetAPIKeys Source # 
ToPath GetAPIKeys Source # 
ToHeaders GetAPIKeys Source # 

Methods

toHeaders :: GetAPIKeys -> [Header] #

type Rep GetAPIKeys Source # 
type Rep GetAPIKeys = D1 (MetaData "GetAPIKeys" "Network.AWS.APIGateway.GetAPIKeys" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "GetAPIKeys'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gakIncludeValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_gakCustomerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gakNameQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_gakLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_gakPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Rs GetAPIKeys Source # 

Request Lenses

gakIncludeValues :: Lens' GetAPIKeys (Maybe Bool) Source #

A boolean flag to specify whether (true ) or not (false ) the result contains key values.

gakCustomerId :: Lens' GetAPIKeys (Maybe Text) Source #

The identifier of a customer in AWS Marketplace or an external system, such as a developer portal.

gakNameQuery :: Lens' GetAPIKeys (Maybe Text) Source #

The name of queried API keys.

gakLimit :: Lens' GetAPIKeys (Maybe Int) Source #

The maximum number of returned results per page.

gakPosition :: Lens' GetAPIKeys (Maybe Text) Source #

The current pagination position in the paged result set.

Destructuring the Response

getAPIKeysResponse Source #

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

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

  • gakrsItems - The current page of elements from this collection.
  • gakrsWarnings - A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.
  • gakrsPosition - Undocumented member.
  • gakrsResponseStatus - -- | The response status code.

data GetAPIKeysResponse Source #

Represents a collection of API keys as represented by an ApiKeys resource.

Use API Keys

See: getAPIKeysResponse smart constructor.

Instances

Eq GetAPIKeysResponse Source # 
Data GetAPIKeysResponse Source # 

Methods

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

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

toConstr :: GetAPIKeysResponse -> Constr #

dataTypeOf :: GetAPIKeysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetAPIKeysResponse Source # 
Show GetAPIKeysResponse Source # 
Generic GetAPIKeysResponse Source # 
NFData GetAPIKeysResponse Source # 

Methods

rnf :: GetAPIKeysResponse -> () #

type Rep GetAPIKeysResponse Source # 
type Rep GetAPIKeysResponse = D1 (MetaData "GetAPIKeysResponse" "Network.AWS.APIGateway.GetAPIKeys" "amazonka-apigateway-1.5.0-3jDq4KKltGt78uikPpOCEJ" False) (C1 (MetaCons "GetAPIKeysResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gakrsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [APIKey]))) (S1 (MetaSel (Just Symbol "_gakrsWarnings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_gakrsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gakrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gakrsItems :: Lens' GetAPIKeysResponse [APIKey] Source #

The current page of elements from this collection.

gakrsWarnings :: Lens' GetAPIKeysResponse [Text] Source #

A list of warning messages logged during the import of API keys when the failOnWarnings option is set to true.

gakrsResponseStatus :: Lens' GetAPIKeysResponse Int Source #

  • - | The response status code.