ebs_complete_snapshot: Seals and completes the snapshot after all of the required...

View source: R/ebs_operations.R

ebs_complete_snapshotR Documentation

Seals and completes the snapshot after all of the required blocks of data have been written to it

Description

Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing the snapshot changes the status to completed. You cannot write new blocks to a snapshot after it has been completed.

See https://www.paws-r-sdk.com/docs/ebs_complete_snapshot/ for full documentation.

Usage

ebs_complete_snapshot(
  SnapshotId,
  ChangedBlocksCount,
  Checksum = NULL,
  ChecksumAlgorithm = NULL,
  ChecksumAggregationMethod = NULL
)

Arguments

SnapshotId

[required] The ID of the snapshot.

ChangedBlocksCount

[required] The number of blocks that were written to the snapshot.

Checksum

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.

ChecksumAlgorithm

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

ChecksumAggregationMethod

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


paws.storage documentation built on Sept. 12, 2023, 1:23 a.m.