Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
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 calledCreateCertificateAuthority
. 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
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.