Smaws_Client_DirectoryService.ResetUserPassword
Resets the password for any user in your Managed Microsoft AD or Simple AD directory. Disabled users will become enabled and can be authenticated following the API call.
You can reset the password for any user in your directory with the following exceptions:
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryUnavailableException of Types.directory_unavailable_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidPasswordException of Types.invalid_password_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception
| `UserDoesNotExistException of Types.user_does_not_exist_exception ] ->
string
val request :
'http_type Smaws_Lib.Context.t ->
Types.reset_user_password_request ->
(Types.reset_user_password_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `ClientException of Types.client_exception
| `DirectoryUnavailableException of Types.directory_unavailable_exception
| `EntityDoesNotExistException of Types.entity_does_not_exist_exception
| `InvalidPasswordException of Types.invalid_password_exception
| `ServiceException of Types.service_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception
| `UserDoesNotExistException of Types.user_does_not_exist_exception ])
Stdlib.result