amazonka-iam-1.6.1: 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 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:

  • 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 Source #

See: deleteSSHPublicKey smart constructor.

Instances
Eq DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Data DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.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 Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Show DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Generic DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Associated Types

type Rep DeleteSSHPublicKey :: Type -> Type #

Hashable DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

AWSRequest DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Associated Types

type Rs DeleteSSHPublicKey :: Type #

ToHeaders DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

ToPath DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

ToQuery DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

NFData DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Methods

rnf :: DeleteSSHPublicKey -> () #

type Rep DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKey = D1 (MetaData "DeleteSSHPublicKey" "Network.AWS.IAM.DeleteSSHPublicKey" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "DeleteSSHPublicKey'" PrefixI True) (S1 (MetaSel (Just "_dspkUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dspkSSHPublicKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteSSHPublicKey Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Request Lenses

dspkUserName :: Lens' DeleteSSHPublicKey Text Source #

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 Source #

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 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 # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Data DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

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 # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Show DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Generic DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

Associated Types

type Rep DeleteSSHPublicKeyResponse :: Type -> Type #

NFData DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKeyResponse Source # 
Instance details

Defined in Network.AWS.IAM.DeleteSSHPublicKey

type Rep DeleteSSHPublicKeyResponse = D1 (MetaData "DeleteSSHPublicKeyResponse" "Network.AWS.IAM.DeleteSSHPublicKey" "amazonka-iam-1.6.1-BDjAp2BAcQu3GSS4Bsr6zu" False) (C1 (MetaCons "DeleteSSHPublicKeyResponse'" PrefixI False) (U1 :: Type -> Type))