Module Smaws_Client_DirectoryService.EnableCAEnrollmentPolicy

Enables certificate authority (CA) enrollment policy for the specified directory. This allows domain-joined clients to automatically request and receive certificates from the specified Amazon Web Services Private Certificate Authority.

Before enabling CA enrollment, ensure that the PCA connector is properly configured and accessible from the directory. The connector must be in an active state and have the necessary permissions.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `DirectoryDoesNotExistException of Types.directory_does_not_exist_exception | `DirectoryUnavailableException of Types.directory_unavailable_exception | `EnableAlreadyInProgressException of Types.enable_already_in_progress_exception | `EntityAlreadyExistsException of Types.entity_already_exists_exception | `EntityDoesNotExistException of Types.entity_does_not_exist_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServiceException of Types.service_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.enable_ca_enrollment_policy_request -> (Types.enable_ca_enrollment_policy_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `DirectoryDoesNotExistException of Types.directory_does_not_exist_exception | `DirectoryUnavailableException of Types.directory_unavailable_exception | `EnableAlreadyInProgressException of Types.enable_already_in_progress_exception | `EntityAlreadyExistsException of Types.entity_already_exists_exception | `EntityDoesNotExistException of Types.entity_does_not_exist_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServiceException of Types.service_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.enable_ca_enrollment_policy_request -> (Types.enable_ca_enrollment_policy_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `ClientException of Types.client_exception | `DirectoryDoesNotExistException of Types.directory_does_not_exist_exception | `DirectoryUnavailableException of Types.directory_unavailable_exception | `EnableAlreadyInProgressException of Types.enable_already_in_progress_exception | `EntityAlreadyExistsException of Types.entity_already_exists_exception | `EntityDoesNotExistException of Types.entity_does_not_exist_exception | `InvalidParameterException of Types.invalid_parameter_exception | `ServiceException of Types.service_exception ] * Smaws_Lib.Response.metadata) Stdlib.result