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 signing request (CSR) for your private certificate authority (CA). The CSR is created when you call the CreateCertificateAuthority action. Sign the CSR with your Amazon Web Services Private CA-hosted or on-premises root or subordinate CA. Then import the signed certificate back into Amazon Web Services Private CA by calling the ImportCertificateAuthorityCertificate action. The CSR is returned as a base64 PEM-encoded string.
Synopsis
- data GetCertificateAuthorityCsr = GetCertificateAuthorityCsr' {}
- newGetCertificateAuthorityCsr :: Text -> GetCertificateAuthorityCsr
- getCertificateAuthorityCsr_certificateAuthorityArn :: Lens' GetCertificateAuthorityCsr Text
- data GetCertificateAuthorityCsrResponse = GetCertificateAuthorityCsrResponse' {
- csr :: Maybe Text
- httpStatus :: Int
- newGetCertificateAuthorityCsrResponse :: Int -> GetCertificateAuthorityCsrResponse
- getCertificateAuthorityCsrResponse_csr :: Lens' GetCertificateAuthorityCsrResponse (Maybe Text)
- getCertificateAuthorityCsrResponse_httpStatus :: Lens' GetCertificateAuthorityCsrResponse Int
Creating a Request
data GetCertificateAuthorityCsr Source #
See: newGetCertificateAuthorityCsr
smart constructor.
GetCertificateAuthorityCsr' | |
|
Instances
newGetCertificateAuthorityCsr Source #
Create a value of GetCertificateAuthorityCsr
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:
GetCertificateAuthorityCsr
, getCertificateAuthorityCsr_certificateAuthorityArn
- The Amazon Resource Name (ARN) that was returned when you called the
CreateCertificateAuthority
action. This must be of the form:
arn:aws:acm-pca:
region
:
account
:certificate-authority/
12345678-1234-1234-1234-123456789012
Request Lenses
getCertificateAuthorityCsr_certificateAuthorityArn :: Lens' GetCertificateAuthorityCsr Text Source #
The Amazon Resource Name (ARN) that was returned when you called the CreateCertificateAuthority action. This must be of the form:
arn:aws:acm-pca:
region
:
account
:certificate-authority/
12345678-1234-1234-1234-123456789012
Destructuring the Response
data GetCertificateAuthorityCsrResponse Source #
See: newGetCertificateAuthorityCsrResponse
smart constructor.
GetCertificateAuthorityCsrResponse' | |
|
Instances
newGetCertificateAuthorityCsrResponse Source #
Create a value of GetCertificateAuthorityCsrResponse
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:csr:GetCertificateAuthorityCsrResponse'
, getCertificateAuthorityCsrResponse_csr
- The base64 PEM-encoded certificate signing request (CSR) for your
private CA certificate.
$sel:httpStatus:GetCertificateAuthorityCsrResponse'
, getCertificateAuthorityCsrResponse_httpStatus
- The response's http status code.
Response Lenses
getCertificateAuthorityCsrResponse_csr :: Lens' GetCertificateAuthorityCsrResponse (Maybe Text) Source #
The base64 PEM-encoded certificate signing request (CSR) for your private CA certificate.
getCertificateAuthorityCsrResponse_httpStatus :: Lens' GetCertificateAuthorityCsrResponse Int Source #
The response's http status code.