Amazon.DirectoryService.AmazonDirectoryServiceClient.CreateSnapshot C# (CSharp) Method

CreateSnapshot() public method

Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.

You cannot take snapshots of AD Connector directories.

/// A client exception has occurred. /// /// The specified entity could not be found. /// /// One or more parameters are not valid. /// /// An exception has occurred in AWS Directory Service. /// /// The maximum number of manual snapshots for the directory has been reached. You can /// use the GetSnapshotLimits operation to determine the snapshot limits for a /// directory. ///
public CreateSnapshot ( Amazon.DirectoryService.Model.CreateSnapshotRequest request ) : Amazon.DirectoryService.Model.CreateSnapshotResponse
request Amazon.DirectoryService.Model.CreateSnapshotRequest Container for the necessary parameters to execute the CreateSnapshot service method.
return Amazon.DirectoryService.Model.CreateSnapshotResponse
        public CreateSnapshotResponse CreateSnapshot(CreateSnapshotRequest request)
        {
            var marshaller = new CreateSnapshotRequestMarshaller();
            var unmarshaller = CreateSnapshotResponseUnmarshaller.Instance;

            return Invoke<CreateSnapshotRequest,CreateSnapshotResponse>(request, marshaller, unmarshaller);
        }
AmazonDirectoryServiceClient