Smaws_Client_DirectoryService.DisableCAEnrollmentPolicyDisables the certificate authority (CA) enrollment policy for the specified directory. This stops automatic certificate enrollment and management for domain-joined clients, but does not affect existing certificates.
Disabling the CA enrollment policy prevents new certificates from being automatically enrolled, but existing certificates remain valid and functional until they expire.
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
| `DisableAlreadyInProgressException of
Types.disable_already_in_progress_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.disable_ca_enrollment_policy_request ->
(Types.disable_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
| `DisableAlreadyInProgressException of
Types.disable_already_in_progress_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ServiceException of Types.service_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.disable_ca_enrollment_policy_request ->
(Types.disable_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
| `DisableAlreadyInProgressException of
Types.disable_already_in_progress_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