Smaws_Client_ACMPCA.ImportCertificateAuthorityCertificateImports a signed private CA certificate into Amazon Web Services Private CA. This action is used when you are using a chain of trust whose root is located outside Amazon Web Services Private CA. Before you can call this action, the following preparations must in place:
Amazon Web Services Private CA supports three scenarios for installing a CA certificate:
The following additional requirements apply when you import a CA certificate.
Enforcement of Critical Constraints
Amazon Web Services Private CA allows the following extensions to be marked critical in the imported CA certificate or chain.
Amazon Web Services Private CA rejects the following extensions when they are marked critical in an imported CA certificate or chain.
Amazon Web Services Private Certificate Authority will also reject any other extension marked as critical not contained on the preceding list of allowed extensions.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `CertificateMismatchException of Types.certificate_mismatch_exception
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `InvalidArnException of Types.invalid_arn_exception
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidStateException of Types.invalid_state_exception
| `MalformedCertificateException of Types.malformed_certificate_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.import_certificate_authority_certificate_request ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `CertificateMismatchException of Types.certificate_mismatch_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `InvalidArnException of Types.invalid_arn_exception
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidStateException of Types.invalid_state_exception
| `MalformedCertificateException of Types.malformed_certificate_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.import_certificate_authority_certificate_request ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `CertificateMismatchException of Types.certificate_mismatch_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `InvalidArnException of Types.invalid_arn_exception
| `InvalidRequestException of Types.invalid_request_exception
| `InvalidStateException of Types.invalid_state_exception
| `MalformedCertificateException of Types.malformed_certificate_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