amazonka-iam-1.5.0: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2017 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.DeleteSigningCertificate

Contents

Description

Deletes a signing certificate associated with the specified IAM user.

If you do not specify a user name, IAM determines the user name implicitly based on the AWS access key ID signing the request. Because this action works for access keys under the AWS account, you can use this action to manage root credentials even if the AWS account has no associated IAM users.

Synopsis

Creating a Request

deleteSigningCertificate Source #

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

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

  • dscUserName - The name of the user the signing certificate belongs to. 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: =,.@-
  • dscCertificateId - The ID of the signing certificate to delete. The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits.

data DeleteSigningCertificate Source #

See: deleteSigningCertificate smart constructor.

Instances

Eq DeleteSigningCertificate Source # 
Data DeleteSigningCertificate Source # 

Methods

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

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

toConstr :: DeleteSigningCertificate -> Constr #

dataTypeOf :: DeleteSigningCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSigningCertificate Source # 
Show DeleteSigningCertificate Source # 
Generic DeleteSigningCertificate Source # 
Hashable DeleteSigningCertificate Source # 
NFData DeleteSigningCertificate Source # 
AWSRequest DeleteSigningCertificate Source # 
ToQuery DeleteSigningCertificate Source # 
ToPath DeleteSigningCertificate Source # 
ToHeaders DeleteSigningCertificate Source # 
type Rep DeleteSigningCertificate Source # 
type Rep DeleteSigningCertificate = D1 (MetaData "DeleteSigningCertificate" "Network.AWS.IAM.DeleteSigningCertificate" "amazonka-iam-1.5.0-2w4nVHAOrDgI2P1QVLKd9e" False) (C1 (MetaCons "DeleteSigningCertificate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dscUserName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dscCertificateId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteSigningCertificate Source # 

Request Lenses

dscUserName :: Lens' DeleteSigningCertificate (Maybe Text) Source #

The name of the user the signing certificate belongs to. 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: =,.@-

dscCertificateId :: Lens' DeleteSigningCertificate Text Source #

The ID of the signing certificate to delete. The format of this parameter, as described by its regex pattern, is a string of characters that can be upper- or lower-cased letters or digits.

Destructuring the Response

deleteSigningCertificateResponse :: DeleteSigningCertificateResponse Source #

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

data DeleteSigningCertificateResponse Source #

See: deleteSigningCertificateResponse smart constructor.

Instances

Eq DeleteSigningCertificateResponse Source # 
Data DeleteSigningCertificateResponse Source # 

Methods

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

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

toConstr :: DeleteSigningCertificateResponse -> Constr #

dataTypeOf :: DeleteSigningCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSigningCertificateResponse Source # 
Show DeleteSigningCertificateResponse Source # 
Generic DeleteSigningCertificateResponse Source # 
NFData DeleteSigningCertificateResponse Source # 
type Rep DeleteSigningCertificateResponse Source # 
type Rep DeleteSigningCertificateResponse = D1 (MetaData "DeleteSigningCertificateResponse" "Network.AWS.IAM.DeleteSigningCertificate" "amazonka-iam-1.5.0-2w4nVHAOrDgI2P1QVLKd9e" False) (C1 (MetaCons "DeleteSigningCertificateResponse'" PrefixI False) U1)