code: @Override
      public CreateSnapshotResult createSnapshot(CreateSnapshotRequest request) {
          request = beforeClientExecution(request);
          return executeCreateSnapshot(request);
      }
docs: <p>
  Creates a snapshot of a Simple AD or Microsoft AD directory in the AWS cloud.
  </p>
  <note>
  <p>
  You cannot take snapshots of AD Connector directories.
  </p>
  </note>
  
  @param createSnapshotRequest
  Contains the inputs for the <a>CreateSnapshot</a> operation.
  @return Result of the CreateSnapshot operation returned by the service.
  @throws EntityDoesNotExistException
  The specified entity could not be found.
  @throws InvalidParameterException
  One or more parameters are not valid.
  @throws SnapshotLimitExceededException
  The maximum number of manual snapshots for the directory has been reached. You can use the
  <a>GetSnapshotLimits</a> operation to determine the snapshot limits for a directory.
  @throws ClientException
  A client exception has occurred.
  @throws ServiceException
  An exception has occurred in AWS Directory Service.
  @sample AWSDirectoryService.CreateSnapshot
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/CreateSnapshot" target="_top">AWS API
  Documentation</a>