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
- Struct
- Aws::EBS::Types::CompleteSnapshotRequest
- Defined in:
- (unknown)
Overview
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
-
#changed_blocks_count ⇒ Integer
The number of blocks that were written to the snapshot.
-
#checksum ⇒ String
An aggregated Base-64 SHA256 checksum based on the checksums of each written block.
-
#checksum_aggregation_method ⇒ String
The aggregation method used to generate the checksum.
-
#checksum_algorithm ⇒ String
The algorithm used to generate the checksum.
-
#snapshot_id ⇒ String
The ID of the snapshot.
Instance Attribute Details
#changed_blocks_count ⇒ Integer
The number of blocks that were written to the snapshot.
#checksum ⇒ String
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.
#checksum_aggregation_method ⇒ String
The aggregation method used to generate the checksum. Currently, the
only supported aggregation method is LINEAR
.
Possible values:
- LINEAR
#checksum_algorithm ⇒ String
The algorithm used to generate the checksum. Currently, the only
supported algorithm is SHA256
.
Possible values:
- SHA256
#snapshot_id ⇒ String
The ID of the snapshot.