libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Read DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Show DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Generic DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Associated Types

type Rep DeleteCertificate :: Type -> Type #

NFData DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Methods

rnf :: DeleteCertificate -> () #

Hashable DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

ToJSON DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

AWSRequest DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Associated Types

type AWSResponse 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

type Rep DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

type Rep DeleteCertificate = D1 ('MetaData "DeleteCertificate" "Amazonka.CertificateManager.DeleteCertificate" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" 'False) (C1 ('MetaCons "DeleteCertificate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "certificateArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteCertificate Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

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:

$sel:certificateArn: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
Eq DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Read DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Show DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Generic DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.CertificateManager.DeleteCertificate

Associated Types

type Rep DeleteCertificateResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-certificatemanagerZSamazonka-certificatemanager" '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.