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 |
Retrieves the certificate and certificate chain for your private certificate authority (CA). Both the certificate and the chain are base64 PEM-encoded. The chain does not include the CA certificate. Each certificate in the chain signs the one before it.
- getCertificateAuthorityCertificate :: Text -> GetCertificateAuthorityCertificate
- data GetCertificateAuthorityCertificate
- gcacCertificateAuthorityARN :: Lens' GetCertificateAuthorityCertificate Text
- getCertificateAuthorityCertificateResponse :: Int -> GetCertificateAuthorityCertificateResponse
- data GetCertificateAuthorityCertificateResponse
- gcacrsCertificate :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text)
- gcacrsCertificateChain :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text)
- gcacrsResponseStatus :: Lens' GetCertificateAuthorityCertificateResponse Int
Creating a Request
getCertificateAuthorityCertificate Source #
Creates a value of GetCertificateAuthorityCertificate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcacCertificateAuthorityARN
- The Amazon Resource Name (ARN) of your private CA. This is of the form:arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
.
data GetCertificateAuthorityCertificate Source #
See: getCertificateAuthorityCertificate
smart constructor.
Request Lenses
gcacCertificateAuthorityARN :: Lens' GetCertificateAuthorityCertificate Text Source #
The Amazon Resource Name (ARN) of your private CA. This is of the form: arn:aws:acm:region :account :certificate-authority/12345678-1234-1234-1234-123456789012
.
Destructuring the Response
getCertificateAuthorityCertificateResponse Source #
Creates a value of GetCertificateAuthorityCertificateResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gcacrsCertificate
- Base64-encoded certificate authority (CA) certificate.gcacrsCertificateChain
- Base64-encoded certificate chain that includes any intermediate certificates and chains up to root on-premises certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate.gcacrsResponseStatus
- -- | The response status code.
data GetCertificateAuthorityCertificateResponse Source #
See: getCertificateAuthorityCertificateResponse
smart constructor.
Response Lenses
gcacrsCertificate :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text) Source #
Base64-encoded certificate authority (CA) certificate.
gcacrsCertificateChain :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text) Source #
Base64-encoded certificate chain that includes any intermediate certificates and chains up to root on-premises certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate.
gcacrsResponseStatus :: Lens' GetCertificateAuthorityCertificateResponse Int Source #
- - | The response status code.