amazonka-certificatemanager-2.0: Amazon Certificate Manager SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CertificateManager.DeleteCertificate

Description

Deletes a certificate and its associated private key. If this action succeeds, the certificate no longer appears in the list 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 Amazon Web Services services integrated with ACM.

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

Synopsis

Creating a Request

data DeleteCertificate Source #

See: newDeleteCertificate smart constructor.

Constructors

DeleteCertificate' 

Fields

  • certificateArn :: Text

    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).

Instances

Instances details
ToJSON DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

ToHeaders DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

ToPath DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

ToQuery DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

AWSRequest DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Associated Types

type AWSResponse DeleteCertificate #

Generic DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Associated Types

type Rep DeleteCertificate :: Type -> Type #

Read DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Show DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

NFData DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Methods

rnf :: DeleteCertificate -> () #

Eq DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Hashable DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

type AWSResponse DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

type Rep DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

type Rep DeleteCertificate = D1 ('MetaData "DeleteCertificate" "Amazonka.CertificateManager.DeleteCertificate" "amazonka-certificatemanager-2.0-CRaDh4gXGsJGb4mnkgvuBR" 'False) (C1 ('MetaCons "DeleteCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteCertificate Source #

Create a value of DeleteCertificate with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

DeleteCertificate, deleteCertificate_certificateArn - 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).

Request Lenses

deleteCertificate_certificateArn :: 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).

Destructuring the Response

data DeleteCertificateResponse Source #

See: newDeleteCertificateResponse smart constructor.

Instances

Instances details
Generic DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Associated Types

type Rep DeleteCertificateResponse :: Type -> Type #

Read DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Show DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

NFData DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Eq DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

type Rep DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

type Rep DeleteCertificateResponse = D1 ('MetaData "DeleteCertificateResponse" "Amazonka.CertificateManager.DeleteCertificate" "amazonka-certificatemanager-2.0-CRaDh4gXGsJGb4mnkgvuBR" 'False) (C1 ('MetaCons "DeleteCertificateResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteCertificateResponse :: DeleteCertificateResponse Source #

Create a value of DeleteCertificateResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.