Module Smaws_Client_DirectoryService.RestoreFromSnapshot

val request : Smaws_Lib.Context.t -> restore_from_snapshot_request -> (restore_from_snapshot_result, [> Smaws_Lib.Protocols.AwsJson.error | `ClientException of client_exception | `EntityDoesNotExistException of entity_does_not_exist_exception | `InvalidParameterException of invalid_parameter_exception | `ServiceException of service_exception ]) Stdlib.result

Restores a directory using an existing directory snapshot.

When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.

This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active, the restore operation is complete.