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 |
Lists information about your private certificate authority (CA). You specify the private CA on input by its ARN (Amazon Resource Name). The output contains the status of your CA. This can be any of the following:
- CREATING: ACM PCA is creating your private certificate authority.
- PENDING_CERTIFICATE: The certificate is pending. You must use your on-premises root or subordinate CA to sign your private CA CSR and then import it into PCA.
- ACTIVE: Your private CA is active.
- DISABLED: Your private CA has been disabled.
- EXPIRED: Your private CA certificate has expired.
- FAILED: Your private CA has failed. Your CA can fail for problems such a network outage or backend AWS failure or other errors. A failed CA can never return to the pending state. You must create a new CA.
- describeCertificateAuthority :: Text -> DescribeCertificateAuthority
- data DescribeCertificateAuthority
- dCertificateAuthorityARN :: Lens' DescribeCertificateAuthority Text
- describeCertificateAuthorityResponse :: Int -> DescribeCertificateAuthorityResponse
- data DescribeCertificateAuthorityResponse
- dcarsCertificateAuthority :: Lens' DescribeCertificateAuthorityResponse (Maybe CertificateAuthority)
- dcarsResponseStatus :: Lens' DescribeCertificateAuthorityResponse Int
Creating a Request
describeCertificateAuthority Source #
Creates a value of DescribeCertificateAuthority
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dCertificateAuthorityARN
- 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 DescribeCertificateAuthority Source #
See: describeCertificateAuthority
smart constructor.
Request Lenses
dCertificateAuthorityARN :: Lens' DescribeCertificateAuthority 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
describeCertificateAuthorityResponse Source #
Creates a value of DescribeCertificateAuthorityResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcarsCertificateAuthority
- ACertificateAuthority
structure that contains information about your private CA.dcarsResponseStatus
- -- | The response status code.
data DescribeCertificateAuthorityResponse Source #
See: describeCertificateAuthorityResponse
smart constructor.
Response Lenses
dcarsCertificateAuthority :: Lens' DescribeCertificateAuthorityResponse (Maybe CertificateAuthority) Source #
A CertificateAuthority
structure that contains information about your private CA.
dcarsResponseStatus :: Lens' DescribeCertificateAuthorityResponse Int Source #
- - | The response status code.