amazonka-iam-1.4.1: Amazon Identity and Access Management 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.IAM.DeleteSSHPublicKey

Contents

Description

Deletes the specified SSH public key.

The SSH public key deleted by this action is used only for authenticating the associated IAM user to an AWS CodeCommit repository. For more information about using SSH keys to authenticate to an AWS CodeCommit repository, see Set up AWS CodeCommit for SSH Connections in the AWS CodeCommit User Guide.

Synopsis

Creating a Request

deleteSSHPublicKey Source #

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

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

data DeleteSSHPublicKey Source #

See: deleteSSHPublicKey smart constructor.

Instances

Eq DeleteSSHPublicKey Source # 
Data DeleteSSHPublicKey Source # 

Methods

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

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

toConstr :: DeleteSSHPublicKey -> Constr #

dataTypeOf :: DeleteSSHPublicKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSSHPublicKey Source # 
Show DeleteSSHPublicKey Source # 
Generic DeleteSSHPublicKey Source # 
Hashable DeleteSSHPublicKey Source # 
NFData DeleteSSHPublicKey Source # 

Methods

rnf :: DeleteSSHPublicKey -> () #

AWSRequest DeleteSSHPublicKey Source # 
ToQuery DeleteSSHPublicKey Source # 
ToPath DeleteSSHPublicKey Source # 
ToHeaders DeleteSSHPublicKey Source # 
type Rep DeleteSSHPublicKey Source # 
type Rep DeleteSSHPublicKey = D1 (MetaData "DeleteSSHPublicKey" "Network.AWS.IAM.DeleteSSHPublicKey" "amazonka-iam-1.4.1-7UxTCVdPNcf8CA4oHmoXZ6" False) (C1 (MetaCons "DeleteSSHPublicKey'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dspkUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dspkSSHPublicKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteSSHPublicKey Source # 

Request Lenses

dspkUserName :: Lens' DeleteSSHPublicKey Text Source #

The name of the IAM user associated with the SSH public key.

dspkSSHPublicKeyId :: Lens' DeleteSSHPublicKey Text Source #

The unique identifier for the SSH public key.

Destructuring the Response

deleteSSHPublicKeyResponse :: DeleteSSHPublicKeyResponse Source #

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

data DeleteSSHPublicKeyResponse Source #

See: deleteSSHPublicKeyResponse smart constructor.

Instances

Eq DeleteSSHPublicKeyResponse Source # 
Data DeleteSSHPublicKeyResponse Source # 

Methods

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

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

toConstr :: DeleteSSHPublicKeyResponse -> Constr #

dataTypeOf :: DeleteSSHPublicKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSSHPublicKeyResponse Source # 
Show DeleteSSHPublicKeyResponse Source # 
Generic DeleteSSHPublicKeyResponse Source # 
NFData DeleteSSHPublicKeyResponse Source # 
type Rep DeleteSSHPublicKeyResponse Source # 
type Rep DeleteSSHPublicKeyResponse = D1 (MetaData "DeleteSSHPublicKeyResponse" "Network.AWS.IAM.DeleteSSHPublicKey" "amazonka-iam-1.4.1-7UxTCVdPNcf8CA4oHmoXZ6" False) (C1 (MetaCons "DeleteSSHPublicKeyResponse'" PrefixI False) U1)