Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Retrieves the certificate and certificate chain for your private certificate authority (CA) or one that has been shared with you. 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.
Synopsis
- data GetCertificateAuthorityCertificate = GetCertificateAuthorityCertificate' {}
- newGetCertificateAuthorityCertificate :: Text -> GetCertificateAuthorityCertificate
- getCertificateAuthorityCertificate_certificateAuthorityArn :: Lens' GetCertificateAuthorityCertificate Text
- data GetCertificateAuthorityCertificateResponse = GetCertificateAuthorityCertificateResponse' {}
- newGetCertificateAuthorityCertificateResponse :: Int -> GetCertificateAuthorityCertificateResponse
- getCertificateAuthorityCertificateResponse_certificate :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text)
- getCertificateAuthorityCertificateResponse_certificateChain :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text)
- getCertificateAuthorityCertificateResponse_httpStatus :: Lens' GetCertificateAuthorityCertificateResponse Int
Creating a Request
data GetCertificateAuthorityCertificate Source #
See: newGetCertificateAuthorityCertificate
smart constructor.
GetCertificateAuthorityCertificate' | |
|
Instances
newGetCertificateAuthorityCertificate Source #
Create a value of GetCertificateAuthorityCertificate
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:
GetCertificateAuthorityCertificate
, getCertificateAuthorityCertificate_certificateAuthorityArn
- The Amazon Resource Name (ARN) of your private CA. This is of the form:
arn:aws:acm-pca:
region
:
account
:certificate-authority/
12345678-1234-1234-1234-123456789012
.
Request Lenses
getCertificateAuthorityCertificate_certificateAuthorityArn :: Lens' GetCertificateAuthorityCertificate Text Source #
The Amazon Resource Name (ARN) of your private CA. This is of the form:
arn:aws:acm-pca:
region
:
account
:certificate-authority/
12345678-1234-1234-1234-123456789012
.
Destructuring the Response
data GetCertificateAuthorityCertificateResponse Source #
See: newGetCertificateAuthorityCertificateResponse
smart constructor.
GetCertificateAuthorityCertificateResponse' | |
|
Instances
newGetCertificateAuthorityCertificateResponse Source #
Create a value of GetCertificateAuthorityCertificateResponse
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:certificate:GetCertificateAuthorityCertificateResponse'
, getCertificateAuthorityCertificateResponse_certificate
- Base64-encoded certificate authority (CA) certificate.
$sel:certificateChain:GetCertificateAuthorityCertificateResponse'
, getCertificateAuthorityCertificateResponse_certificateChain
- Base64-encoded certificate chain that includes any intermediate
certificates and chains up to root certificate that you used to sign
your private CA certificate. The chain does not include your private CA
certificate. If this is a root CA, the value will be null.
$sel:httpStatus:GetCertificateAuthorityCertificateResponse'
, getCertificateAuthorityCertificateResponse_httpStatus
- The response's http status code.
Response Lenses
getCertificateAuthorityCertificateResponse_certificate :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text) Source #
Base64-encoded certificate authority (CA) certificate.
getCertificateAuthorityCertificateResponse_certificateChain :: Lens' GetCertificateAuthorityCertificateResponse (Maybe Text) Source #
Base64-encoded certificate chain that includes any intermediate certificates and chains up to root certificate that you used to sign your private CA certificate. The chain does not include your private CA certificate. If this is a root CA, the value will be null.
getCertificateAuthorityCertificateResponse_httpStatus :: Lens' GetCertificateAuthorityCertificateResponse Int Source #
The response's http status code.