amazonka-appsync-1.6.0: Amazon AppSync 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.AppSync.ListAPIKeys

Contents

Description

Lists the API keys for a given API.

Synopsis

Creating a Request

listAPIKeys Source #

Arguments

:: Text

lakApiId

-> ListAPIKeys 

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

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

  • lakNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • lakMaxResults - The maximum number of results you want the request to return.
  • lakApiId - The API ID.

data ListAPIKeys Source #

See: listAPIKeys smart constructor.

Instances

Eq ListAPIKeys Source # 
Data ListAPIKeys Source # 

Methods

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

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

toConstr :: ListAPIKeys -> Constr #

dataTypeOf :: ListAPIKeys -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAPIKeys Source # 
Show ListAPIKeys Source # 
Generic ListAPIKeys Source # 

Associated Types

type Rep ListAPIKeys :: * -> * #

Hashable ListAPIKeys Source # 
NFData ListAPIKeys Source # 

Methods

rnf :: ListAPIKeys -> () #

AWSRequest ListAPIKeys Source # 
ToHeaders ListAPIKeys Source # 

Methods

toHeaders :: ListAPIKeys -> [Header] #

ToPath ListAPIKeys Source # 
ToQuery ListAPIKeys Source # 
type Rep ListAPIKeys Source # 
type Rep ListAPIKeys = D1 * (MetaData "ListAPIKeys" "Network.AWS.AppSync.ListAPIKeys" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "ListAPIKeys'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lakNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lakMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_lakApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ListAPIKeys Source # 

Request Lenses

lakNextToken :: Lens' ListAPIKeys (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

lakMaxResults :: Lens' ListAPIKeys (Maybe Natural) Source #

The maximum number of results you want the request to return.

Destructuring the Response

listAPIKeysResponse Source #

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

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

data ListAPIKeysResponse Source #

See: listAPIKeysResponse smart constructor.

Instances

Eq ListAPIKeysResponse Source # 
Data ListAPIKeysResponse Source # 

Methods

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

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

toConstr :: ListAPIKeysResponse -> Constr #

dataTypeOf :: ListAPIKeysResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListAPIKeysResponse Source # 
Show ListAPIKeysResponse Source # 
Generic ListAPIKeysResponse Source # 
NFData ListAPIKeysResponse Source # 

Methods

rnf :: ListAPIKeysResponse -> () #

type Rep ListAPIKeysResponse Source # 
type Rep ListAPIKeysResponse = D1 * (MetaData "ListAPIKeysResponse" "Network.AWS.AppSync.ListAPIKeys" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "ListAPIKeysResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lakrsApiKeys") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [APIKey]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lakrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lakrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lakrsNextToken :: Lens' ListAPIKeysResponse (Maybe Text) Source #

An identifier to be passed in the next request to this operation to return the next set of items in the list.

lakrsResponseStatus :: Lens' ListAPIKeysResponse Int Source #

  • - | The response status code.