amazonka-certificatemanager-1.4.0: 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:

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.