Smaws_Client_DirectoryService.DescribeCAEnrollmentPolicyRetrieves detailed information about the certificate authority (CA) enrollment policy for the specified directory. This policy determines how client certificates are automatically enrolled and managed through Amazon Web Services Private Certificate Authority.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryDoesNotExistException of Types.directory_does_not_exist_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_ca_enrollment_policy_request ->
(Types.describe_ca_enrollment_policy_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryDoesNotExistException of
Types.directory_does_not_exist_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_ca_enrollment_policy_request ->
(Types.describe_ca_enrollment_policy_result Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryDoesNotExistException of
Types.directory_does_not_exist_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result