create_snapshot(**kwargs)¶Creates a snapshot of a Simple AD or Microsoft AD directory in the Amazon Web Services cloud.
Note
You cannot take snapshots of AD Connector directories.
See also: AWS API Documentation
Request Syntax
response = client.create_snapshot(
DirectoryId='string',
Name='string'
)
[REQUIRED]
The identifier of the directory of which to take a snapshot.
dict
Response Syntax
{
'SnapshotId': 'string'
}
Response Structure
(dict) --
Contains the results of the CreateSnapshot operation.
SnapshotId (string) --
The identifier of the snapshot that was created.
Exceptions
DirectoryService.Client.exceptions.EntityDoesNotExistExceptionDirectoryService.Client.exceptions.InvalidParameterExceptionDirectoryService.Client.exceptions.SnapshotLimitExceededExceptionDirectoryService.Client.exceptions.ClientExceptionDirectoryService.Client.exceptions.ServiceException