v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

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.

post/#X-Amz-Target=DirectoryService_20150416.RestoreFromSnapshot

Headers

X-Amz-Target'DirectoryService_20150416.RestoreFromSnapshot' required

Request body

SnapshotIdstring required

The identifier of the snapshot to restore from.

Response

Success

RestoreFromSnapshotResult required

Contains the results of the <a>RestoreFromSnapshot</a> operation.