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

Class: Aws::EBS::Types::CompleteSnapshotRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CompleteSnapshotRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  snapshot_id: "SnapshotId", # required
  changed_blocks_count: 1, # required
  checksum: "Checksum",
  checksum_algorithm: "SHA256", # accepts SHA256
  checksum_aggregation_method: "LINEAR", # accepts LINEAR
}

Instance Attribute Summary collapse

Instance Attribute Details

#changed_blocks_countInteger

The number of blocks that were written to the snapshot.

Returns:

  • (Integer)

    The number of blocks that were written to the snapshot.

#checksumString

An aggregated Base-64 SHA256 checksum based on the checksums of each written block.

To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.

Returns:

  • (String)

    An aggregated Base-64 SHA256 checksum based on the checksums of each written block.

#checksum_aggregation_methodString

The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR.

Possible values:

  • LINEAR

Returns:

  • (String)

    The aggregation method used to generate the checksum.

#checksum_algorithmString

The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.

Possible values:

  • SHA256

Returns:

  • (String)

    The algorithm used to generate the checksum.

#snapshot_idString

The ID of the snapshot.

Returns:

  • (String)

    The ID of the snapshot.