amazonka-lightsail-1.4.5: Amazon Lightsail SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Lightsail.DeleteKeyPair

Contents

Description

Deletes a specific SSH key pair.

Synopsis

Creating a Request

deleteKeyPair Source #

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

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

data DeleteKeyPair Source #

See: deleteKeyPair smart constructor.

Instances

Eq DeleteKeyPair Source # 
Data DeleteKeyPair Source # 

Methods

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

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

toConstr :: DeleteKeyPair -> Constr #

dataTypeOf :: DeleteKeyPair -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteKeyPair Source # 
Show DeleteKeyPair Source # 
Generic DeleteKeyPair Source # 

Associated Types

type Rep DeleteKeyPair :: * -> * #

Hashable DeleteKeyPair Source # 
ToJSON DeleteKeyPair Source # 
NFData DeleteKeyPair Source # 

Methods

rnf :: DeleteKeyPair -> () #

AWSRequest DeleteKeyPair Source # 
ToPath DeleteKeyPair Source # 
ToHeaders DeleteKeyPair Source # 
ToQuery DeleteKeyPair Source # 
type Rep DeleteKeyPair Source # 
type Rep DeleteKeyPair = D1 (MetaData "DeleteKeyPair" "Network.AWS.Lightsail.DeleteKeyPair" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" True) (C1 (MetaCons "DeleteKeyPair'" PrefixI True) (S1 (MetaSel (Just Symbol "_dkpKeyPairName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteKeyPair Source # 

Request Lenses

dkpKeyPairName :: Lens' DeleteKeyPair Text Source #

The name of the key pair to delete.

Destructuring the Response

deleteKeyPairResponse Source #

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

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

  • dkprsOperation - An array of key-value pairs containing information about the results of your delete key pair request.
  • dkprsResponseStatus - -- | The response status code.

data DeleteKeyPairResponse Source #

See: deleteKeyPairResponse smart constructor.

Instances

Eq DeleteKeyPairResponse Source # 
Data DeleteKeyPairResponse Source # 

Methods

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

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

toConstr :: DeleteKeyPairResponse -> Constr #

dataTypeOf :: DeleteKeyPairResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteKeyPairResponse Source # 
Show DeleteKeyPairResponse Source # 
Generic DeleteKeyPairResponse Source # 
NFData DeleteKeyPairResponse Source # 

Methods

rnf :: DeleteKeyPairResponse -> () #

type Rep DeleteKeyPairResponse Source # 
type Rep DeleteKeyPairResponse = D1 (MetaData "DeleteKeyPairResponse" "Network.AWS.Lightsail.DeleteKeyPair" "amazonka-lightsail-1.4.5-5jz0XqtfwkUBGV0E8NKblJ" False) (C1 (MetaCons "DeleteKeyPairResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dkprsOperation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Operation))) (S1 (MetaSel (Just Symbol "_dkprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dkprsOperation :: Lens' DeleteKeyPairResponse (Maybe Operation) Source #

An array of key-value pairs containing information about the results of your delete key pair request.

dkprsResponseStatus :: Lens' DeleteKeyPairResponse Int Source #

  • - | The response status code.