Smaws_Client_ACMPCA.GetCertificateAuthorityCsrRetrieves 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidArnException of Types.invalid_arn_exception
| `InvalidStateException of Types.invalid_state_exception
| `RequestFailedException of Types.request_failed_exception
| `RequestInProgressException of Types.request_in_progress_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_certificate_authority_csr_request ->
(Types.get_certificate_authority_csr_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidArnException of Types.invalid_arn_exception
| `InvalidStateException of Types.invalid_state_exception
| `RequestFailedException of Types.request_failed_exception
| `RequestInProgressException of Types.request_in_progress_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_certificate_authority_csr_request ->
(Types.get_certificate_authority_csr_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidArnException of Types.invalid_arn_exception
| `InvalidStateException of Types.invalid_state_exception
| `RequestFailedException of Types.request_failed_exception
| `RequestInProgressException of Types.request_in_progress_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result