You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DirectoryService::Types::CreateSnapshotRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb

Overview

Note:

When making an API call, you may pass CreateSnapshotRequest data as a hash:

{
  directory_id: "DirectoryId", # required
  name: "SnapshotName",
}

Contains the inputs for the CreateSnapshot operation.

Instance Attribute Summary collapse

Instance Attribute Details

#directory_idString

The identifier of the directory of which to take a snapshot.

Returns:

  • (String)


643
644
645
646
647
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 643

class CreateSnapshotRequest < Struct.new(
  :directory_id,
  :name)
  include Aws::Structure
end

#nameString

The descriptive name to apply to the snapshot.

Returns:

  • (String)


643
644
645
646
647
# File 'gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb', line 643

class CreateSnapshotRequest < Struct.new(
  :directory_id,
  :name)
  include Aws::Structure
end