amazonka-certificatemanager-1.4.2: Amazon Certificate Manager 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.CertificateManager.DeleteCertificate

Contents

Description

Deletes an ACM Certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list of ACM Certificates that can be displayed by calling the ListCertificates action or be retrieved by calling the GetCertificate action. The certificate will not be available for use by other AWS services.

You cannot delete an ACM Certificate that is being used by another AWS service. To delete a certificate that is in use, the certificate association must first be removed.

Synopsis

Creating a Request

deleteCertificate Source #

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

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

data DeleteCertificate Source #

See: deleteCertificate smart constructor.

Instances

Eq DeleteCertificate Source # 
Data DeleteCertificate Source # 

Methods

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

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

toConstr :: DeleteCertificate -> Constr #

dataTypeOf :: DeleteCertificate -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCertificate Source # 
Show DeleteCertificate Source # 
Generic DeleteCertificate Source # 
ToJSON DeleteCertificate Source # 
Hashable DeleteCertificate Source # 
NFData DeleteCertificate Source # 

Methods

rnf :: DeleteCertificate -> () #

AWSRequest DeleteCertificate Source # 
ToPath DeleteCertificate Source # 
ToHeaders DeleteCertificate Source # 
ToQuery DeleteCertificate Source # 
type Rep DeleteCertificate Source # 
type Rep DeleteCertificate = D1 (MetaData "DeleteCertificate" "Network.AWS.CertificateManager.DeleteCertificate" "amazonka-certificatemanager-1.4.2-6MBpEGpqoNwAnY7LGxPhTL" True) (C1 (MetaCons "DeleteCertificate'" PrefixI True) (S1 (MetaSel (Just Symbol "_dcCertificateARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteCertificate Source # 

Request Lenses

dcCertificateARN :: Lens' DeleteCertificate Text Source #

String that contains the ARN of the ACM Certificate to be deleted. This must be of the form:

'arn:aws:acm:region:123456789012:certificate\/12345678-1234-1234-1234-123456789012'

For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.

Destructuring the Response

deleteCertificateResponse :: DeleteCertificateResponse Source #

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

data DeleteCertificateResponse Source #

See: deleteCertificateResponse smart constructor.

Instances

Eq DeleteCertificateResponse Source # 
Data DeleteCertificateResponse Source # 

Methods

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

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

toConstr :: DeleteCertificateResponse -> Constr #

dataTypeOf :: DeleteCertificateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCertificateResponse Source # 
Show DeleteCertificateResponse Source # 
Generic DeleteCertificateResponse Source # 
NFData DeleteCertificateResponse Source # 
type Rep DeleteCertificateResponse Source # 
type Rep DeleteCertificateResponse = D1 (MetaData "DeleteCertificateResponse" "Network.AWS.CertificateManager.DeleteCertificate" "amazonka-certificatemanager-1.4.2-6MBpEGpqoNwAnY7LGxPhTL" False) (C1 (MetaCons "DeleteCertificateResponse'" PrefixI False) U1)