amazonka-certificatemanager-pca-1.6.1: 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 # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Data DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

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

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Show DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Generic DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Associated Types

type Rep DeleteCertificateAuthority :: Type -> Type #

Hashable DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

ToJSON DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

AWSRequest DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Associated Types

type Rs DeleteCertificateAuthority :: Type #

ToHeaders DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

ToPath DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

ToQuery DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

NFData DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

type Rep DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

type Rep DeleteCertificateAuthority = D1 (MetaData "DeleteCertificateAuthority" "Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority" "amazonka-certificatemanager-pca-1.6.1-HitWzcqvY41EzhTFciBw3m" True) (C1 (MetaCons "DeleteCertificateAuthority'" PrefixI True) (S1 (MetaSel (Just "_dcaCertificateAuthorityARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteCertificateAuthority Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

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

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Data DeleteCertificateAuthorityResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

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

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Show DeleteCertificateAuthorityResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Generic DeleteCertificateAuthorityResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

Associated Types

type Rep DeleteCertificateAuthorityResponse :: Type -> Type #

NFData DeleteCertificateAuthorityResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

type Rep DeleteCertificateAuthorityResponse Source # 
Instance details

Defined in Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority

type Rep DeleteCertificateAuthorityResponse = D1 (MetaData "DeleteCertificateAuthorityResponse" "Network.AWS.CertificateManagerPCA.DeleteCertificateAuthority" "amazonka-certificatemanager-pca-1.6.1-HitWzcqvY41EzhTFciBw3m" False) (C1 (MetaCons "DeleteCertificateAuthorityResponse'" PrefixI False) (U1 :: Type -> Type))