amazonka-apigateway-1.6.1: Amazon API Gateway SDK.

Copyright(c) 2013-2018 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.GetUsagePlanKeys

Contents

Description

Gets all the usage plan keys representing the API keys added to a specified usage plan.

This operation returns paginated results.

Synopsis

Creating a Request

getUsagePlanKeys Source #

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

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

  • gupkNameQuery - A query parameter specifying the name of the to-be-returned usage plan keys.
  • gupkLimit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
  • gupkPosition - The current pagination position in the paged result set.
  • gupkUsagePlanId - [Required] The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

data GetUsagePlanKeys Source #

The GET request to get all the usage plan keys representing the API keys added to a specified usage plan.

See: getUsagePlanKeys smart constructor.

Instances
Eq GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Data GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Methods

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

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

toConstr :: GetUsagePlanKeys -> Constr #

dataTypeOf :: GetUsagePlanKeys -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Show GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Generic GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Associated Types

type Rep GetUsagePlanKeys :: Type -> Type #

Hashable GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

AWSPager GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

AWSRequest GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Associated Types

type Rs GetUsagePlanKeys :: Type #

ToHeaders GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

ToPath GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

ToQuery GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

NFData GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Methods

rnf :: GetUsagePlanKeys -> () #

type Rep GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

type Rep GetUsagePlanKeys = D1 (MetaData "GetUsagePlanKeys" "Network.AWS.APIGateway.GetUsagePlanKeys" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "GetUsagePlanKeys'" PrefixI True) ((S1 (MetaSel (Just "_gupkNameQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gupkLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "_gupkPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gupkUsagePlanId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs GetUsagePlanKeys Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Request Lenses

gupkNameQuery :: Lens' GetUsagePlanKeys (Maybe Text) Source #

A query parameter specifying the name of the to-be-returned usage plan keys.

gupkLimit :: Lens' GetUsagePlanKeys (Maybe Int) Source #

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

gupkPosition :: Lens' GetUsagePlanKeys (Maybe Text) Source #

The current pagination position in the paged result set.

gupkUsagePlanId :: Lens' GetUsagePlanKeys Text Source #

Required
The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.

Destructuring the Response

getUsagePlanKeysResponse Source #

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

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

data GetUsagePlanKeysResponse Source #

Represents the collection of usage plan keys added to usage plans for the associated API keys and, possibly, other types of keys.

Create and Use Usage Plans

See: getUsagePlanKeysResponse smart constructor.

Instances
Eq GetUsagePlanKeysResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Data GetUsagePlanKeysResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Methods

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

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

toConstr :: GetUsagePlanKeysResponse -> Constr #

dataTypeOf :: GetUsagePlanKeysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetUsagePlanKeysResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Show GetUsagePlanKeysResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Generic GetUsagePlanKeysResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

Associated Types

type Rep GetUsagePlanKeysResponse :: Type -> Type #

NFData GetUsagePlanKeysResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

type Rep GetUsagePlanKeysResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.GetUsagePlanKeys

type Rep GetUsagePlanKeysResponse = D1 (MetaData "GetUsagePlanKeysResponse" "Network.AWS.APIGateway.GetUsagePlanKeys" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "GetUsagePlanKeysResponse'" PrefixI True) (S1 (MetaSel (Just "_gupkrsItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UsagePlanKey])) :*: (S1 (MetaSel (Just "_gupkrsPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gupkrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gupkrsItems :: Lens' GetUsagePlanKeysResponse [UsagePlanKey] Source #

The current page of elements from this collection.