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

Class: Aws::StorageGateway::Types::CreateSnapshotInput

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

Overview

Note:

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

{
  volume_arn: "VolumeARN", # required
  snapshot_description: "SnapshotDescription", # required
}

A JSON object containing one or more of the following fields:

  • CreateSnapshotInput$SnapshotDescription

  • CreateSnapshotInput$VolumeARN

Instance Attribute Summary collapse

Instance Attribute Details

#snapshot_descriptionString

Textual description of the snapshot that appears in the Amazon EC2 console, Elastic Block Store snapshots panel in the Description field, and in the AWS Storage Gateway snapshot Details pane, Description field

Returns:

  • (String)


745
746
747
748
749
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 745

class CreateSnapshotInput < Struct.new(
  :volume_arn,
  :snapshot_description)
  include Aws::Structure
end

#volume_arnString

The Amazon Resource Name (ARN) of the volume. Use the ListVolumes operation to return a list of gateway volumes.

Returns:

  • (String)


745
746
747
748
749
# File 'gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb', line 745

class CreateSnapshotInput < Struct.new(
  :volume_arn,
  :snapshot_description)
  include Aws::Structure
end