amazonka-certificatemanager-pca-1.6.0: Amazon Certificate Manager Private Certificate Authority 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.CertificateManagerPCA.DeleteCertificateAuthority

Contents

Description

Deletes the private certificate authority (CA) that you created or started to create by calling the CreateCertificateAuthority function. This action requires that you enter an ARN (Amazon Resource Name) for the private CA that you want to delete. You can find the ARN by calling the ListCertificateAuthorities function. You can delete the CA if you are waiting for it to be created (the Status field of the CertificateAuthority is CREATING ) or if the CA has been created but you haven't yet imported the signed certificate (the Status is PENDING_CERTIFICATE ) into ACM PCA. If you've already imported the certificate, you cannot delete the CA unless it has been disabled for more than 30 days. To disable a CA, call the UpdateCertificateAuthority function and set the CertificateAuthorityStatus argument to DISABLED .

Synopsis

Creating a Request

deleteCertificateAuthority Source #

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

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

  • dcaCertificateAuthorityARN - The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority . This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012 .

data DeleteCertificateAuthority Source #

See: deleteCertificateAuthority smart constructor.

Instances

Eq DeleteCertificateAuthority Source # 
Data DeleteCertificateAuthority Source # 

Methods

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

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

toConstr :: DeleteCertificateAuthority -> Constr #

dataTypeOf :: DeleteCertificateAuthority -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCertificateAuthority Source # 
Show DeleteCertificateAuthority Source # 
Generic DeleteCertificateAuthority Source # 
Hashable DeleteCertificateAuthority Source # 
ToJSON DeleteCertificateAuthority Source # 
NFData DeleteCertificateAuthority Source # 
AWSRequest DeleteCertificateAuthority Source # 
ToHeaders DeleteCertificateAuthority Source # 
ToPath DeleteCertificateAuthority Source # 
ToQuery DeleteCertificateAuthority Source # 
type Rep DeleteCertificateAuthority Source # 
type Rep DeleteCertificateAuthority = D1 * (MetaData "DeleteCertificateAuthority" "Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" True) (C1 * (MetaCons "DeleteCertificateAuthority'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dcaCertificateAuthorityARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DeleteCertificateAuthority Source # 

Request Lenses

dcaCertificateAuthorityARN :: Lens' DeleteCertificateAuthority Text Source #

The Amazon Resource Name (ARN) that was returned when you called CreateCertificateAuthority . This must be of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012 .

Destructuring the Response

deleteCertificateAuthorityResponse :: DeleteCertificateAuthorityResponse Source #

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

data DeleteCertificateAuthorityResponse Source #

See: deleteCertificateAuthorityResponse smart constructor.

Instances

Eq DeleteCertificateAuthorityResponse Source # 
Data DeleteCertificateAuthorityResponse Source # 

Methods

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

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

toConstr :: DeleteCertificateAuthorityResponse -> Constr #

dataTypeOf :: DeleteCertificateAuthorityResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteCertificateAuthorityResponse Source # 
Show DeleteCertificateAuthorityResponse Source # 
Generic DeleteCertificateAuthorityResponse Source # 
NFData DeleteCertificateAuthorityResponse Source # 
type Rep DeleteCertificateAuthorityResponse Source # 
type Rep DeleteCertificateAuthorityResponse = D1 * (MetaData "DeleteCertificateAuthorityResponse" "Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority" "amazonka-certificatemanager-pca-1.6.0-745TdprsK5d4KxFM63j3hX" False) (C1 * (MetaCons "DeleteCertificateAuthorityResponse'" PrefixI False) (U1 *))