createSnapshot

Creates a snapshot of a Simple AD or Microsoft AD directory in the Amazon Web Services cloud.

You cannot take snapshots of AD Connector directories.

Samples


fun main() { 
   //sampleStart 
   // The following example creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
val resp = directoryClient.createSnapshot {
    directoryId = "d-92654abfed"
    name = "ad.example.com"
} 
   //sampleEnd
}