amazonka-lightsail-1.6.1: Amazon Lightsail 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.Lightsail.GetKeyPairs

Contents

Description

Returns information about all key pairs in the user's account.

This operation returns paginated results.

Synopsis

Creating a Request

getKeyPairs :: GetKeyPairs Source #

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

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

  • gkpPageToken - A token used for advancing to the next page of results from your get key pairs request.

data GetKeyPairs Source #

See: getKeyPairs smart constructor.

Instances
Eq GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Data GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Methods

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

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

toConstr :: GetKeyPairs -> Constr #

dataTypeOf :: GetKeyPairs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Show GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Generic GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Associated Types

type Rep GetKeyPairs :: Type -> Type #

Hashable GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

ToJSON GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

AWSPager GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

AWSRequest GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Associated Types

type Rs GetKeyPairs :: Type #

ToHeaders GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Methods

toHeaders :: GetKeyPairs -> [Header] #

ToPath GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

ToQuery GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

NFData GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Methods

rnf :: GetKeyPairs -> () #

type Rep GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

type Rep GetKeyPairs = D1 (MetaData "GetKeyPairs" "Network.AWS.Lightsail.GetKeyPairs" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" True) (C1 (MetaCons "GetKeyPairs'" PrefixI True) (S1 (MetaSel (Just "_gkpPageToken") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs GetKeyPairs Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Request Lenses

gkpPageToken :: Lens' GetKeyPairs (Maybe Text) Source #

A token used for advancing to the next page of results from your get key pairs request.

Destructuring the Response

getKeyPairsResponse Source #

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

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

data GetKeyPairsResponse Source #

See: getKeyPairsResponse smart constructor.

Instances
Eq GetKeyPairsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Data GetKeyPairsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Methods

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

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

toConstr :: GetKeyPairsResponse -> Constr #

dataTypeOf :: GetKeyPairsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetKeyPairsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Show GetKeyPairsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Generic GetKeyPairsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Associated Types

type Rep GetKeyPairsResponse :: Type -> Type #

NFData GetKeyPairsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

Methods

rnf :: GetKeyPairsResponse -> () #

type Rep GetKeyPairsResponse Source # 
Instance details

Defined in Network.AWS.Lightsail.GetKeyPairs

type Rep GetKeyPairsResponse = D1 (MetaData "GetKeyPairsResponse" "Network.AWS.Lightsail.GetKeyPairs" "amazonka-lightsail-1.6.1-1vuZhtZgkqE3h8gtLuAIA9" False) (C1 (MetaCons "GetKeyPairsResponse'" PrefixI True) (S1 (MetaSel (Just "_gkpsrsNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gkpsrsKeyPairs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [KeyPair])) :*: S1 (MetaSel (Just "_gkpsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gkpsrsNextPageToken :: Lens' GetKeyPairsResponse (Maybe Text) Source #

A token used for advancing to the next page of results from your get key pairs request.

gkpsrsKeyPairs :: Lens' GetKeyPairsResponse [KeyPair] Source #

An array of key-value pairs containing information about the key pairs.

gkpsrsResponseStatus :: Lens' GetKeyPairsResponse Int Source #

  • - | The response status code.