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.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 operation works for access keys under the AWS account, you can use this operation to manage AWS account root user credentials even if the AWS account has no associated IAM users.

Synopsis

Creating a Request

deleteSigningCertificate #

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 #

See: deleteSigningCertificate smart constructor.

Instances

Eq DeleteSigningCertificate # 
Data DeleteSigningCertificate # 

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

Request Lenses

dscUserName :: Lens' DeleteSigningCertificate (Maybe Text) #

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 #

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 #

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

data DeleteSigningCertificateResponse #

See: deleteSigningCertificateResponse smart constructor.

Instances

Eq DeleteSigningCertificateResponse # 
Data DeleteSigningCertificateResponse # 

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