amazonka-lightsail-1.6.0: 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.DownloadDefaultKeyPair

Contents

Description

Downloads the default SSH key pair from the user's account.

Synopsis

Creating a Request

downloadDefaultKeyPair :: DownloadDefaultKeyPair Source #

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

data DownloadDefaultKeyPair Source #

See: downloadDefaultKeyPair smart constructor.

Instances

Eq DownloadDefaultKeyPair Source # 
Data DownloadDefaultKeyPair Source # 

Methods

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

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

toConstr :: DownloadDefaultKeyPair -> Constr #

dataTypeOf :: DownloadDefaultKeyPair -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DownloadDefaultKeyPair Source # 
Show DownloadDefaultKeyPair Source # 
Generic DownloadDefaultKeyPair Source # 
Hashable DownloadDefaultKeyPair Source # 
ToJSON DownloadDefaultKeyPair Source # 
NFData DownloadDefaultKeyPair Source # 

Methods

rnf :: DownloadDefaultKeyPair -> () #

AWSRequest DownloadDefaultKeyPair Source # 
ToHeaders DownloadDefaultKeyPair Source # 
ToPath DownloadDefaultKeyPair Source # 
ToQuery DownloadDefaultKeyPair Source # 
type Rep DownloadDefaultKeyPair Source # 
type Rep DownloadDefaultKeyPair = D1 * (MetaData "DownloadDefaultKeyPair" "Network.AWS.Lightsail.DownloadDefaultKeyPair" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "DownloadDefaultKeyPair'" PrefixI False) (U1 *))
type Rs DownloadDefaultKeyPair Source # 

Destructuring the Response

downloadDefaultKeyPairResponse Source #

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

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

data DownloadDefaultKeyPairResponse Source #

See: downloadDefaultKeyPairResponse smart constructor.

Instances

Eq DownloadDefaultKeyPairResponse Source # 
Data DownloadDefaultKeyPairResponse Source # 

Methods

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

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

toConstr :: DownloadDefaultKeyPairResponse -> Constr #

dataTypeOf :: DownloadDefaultKeyPairResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DownloadDefaultKeyPairResponse Source # 
Show DownloadDefaultKeyPairResponse Source # 
Generic DownloadDefaultKeyPairResponse Source # 
NFData DownloadDefaultKeyPairResponse Source # 
type Rep DownloadDefaultKeyPairResponse Source # 
type Rep DownloadDefaultKeyPairResponse = D1 * (MetaData "DownloadDefaultKeyPairResponse" "Network.AWS.Lightsail.DownloadDefaultKeyPair" "amazonka-lightsail-1.6.0-ARMP2uYvcAnENqDU8iFIes" False) (C1 * (MetaCons "DownloadDefaultKeyPairResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddkprsPublicKeyBase64") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ddkprsPrivateKeyBase64") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ddkprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

ddkprsPublicKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text) Source #

A base64-encoded public key of the ssh-rsa type.