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

Contents

Description

Deletes the specified SSH public key.

The SSH public key deleted by this operation 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 #

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:

  • dspkUserName - The name of the IAM user associated with the SSH public key. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
  • dspkSSHPublicKeyId - The unique identifier for the SSH public key. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.

data DeleteSSHPublicKey #

See: deleteSSHPublicKey smart constructor.

Instances

Eq DeleteSSHPublicKey # 
Data DeleteSSHPublicKey # 

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 # 
Show DeleteSSHPublicKey # 
Generic DeleteSSHPublicKey # 
Hashable DeleteSSHPublicKey # 
NFData DeleteSSHPublicKey # 

Methods

rnf :: DeleteSSHPublicKey -> () #

AWSRequest DeleteSSHPublicKey # 
ToHeaders DeleteSSHPublicKey # 
ToPath DeleteSSHPublicKey # 
ToQuery DeleteSSHPublicKey # 
type Rep DeleteSSHPublicKey # 
type Rep DeleteSSHPublicKey = D1 * (MetaData "DeleteSSHPublicKey" "Network.AWS.IAM.DeleteSSHPublicKey" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" 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 # 

Request Lenses

dspkUserName :: Lens' DeleteSSHPublicKey Text #

The name of the IAM user associated with the SSH public key. This parameter allows (per its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-

dspkSSHPublicKeyId :: Lens' DeleteSSHPublicKey Text #

The unique identifier for the SSH public key. This parameter allows (per its regex pattern ) a string of characters that can consist of any upper or lowercased letter or digit.

Destructuring the Response

deleteSSHPublicKeyResponse :: DeleteSSHPublicKeyResponse #

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

data DeleteSSHPublicKeyResponse #

See: deleteSSHPublicKeyResponse smart constructor.

Instances

Eq DeleteSSHPublicKeyResponse # 
Data DeleteSSHPublicKeyResponse # 

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 # 
Show DeleteSSHPublicKeyResponse # 
Generic DeleteSSHPublicKeyResponse # 
NFData DeleteSSHPublicKeyResponse # 
type Rep DeleteSSHPublicKeyResponse # 
type Rep DeleteSSHPublicKeyResponse = D1 * (MetaData "DeleteSSHPublicKeyResponse" "Network.AWS.IAM.DeleteSSHPublicKey" "amazonka-iam-1.6.0-1EzdHSXYgBWIEzsCXYmity" False) (C1 * (MetaCons "DeleteSSHPublicKeyResponse'" PrefixI False) (U1 *))