Learn R Programming

paws.security.identity (version 0.1.0)

directoryservice_restore_from_snapshot: Restores a directory using an existing directory snapshot

Description

Restores a directory using an existing directory snapshot.

Usage

directoryservice_restore_from_snapshot(SnapshotId)

Arguments

SnapshotId

[required] The identifier of the snapshot to restore from.

Request syntax

svc$restore_from_snapshot(
  SnapshotId = "string"
)

Details

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.