v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465044.2 KB

Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.

get/snapshots/{secondSnapshotId}/changedblocks

Path parameters

secondSnapshotIdstring required
<p>The ID of the second snapshot to use for the comparison.</p> <important> <p>The <code>SecondSnapshotId</code> parameter must be specified with a <code>FirstSnapshotID</code> parameter; otherwise, an error occurs.</p> </important>

Query parameters

firstSnapshotIdstring
<p>The ID of the first snapshot to use for the comparison.</p> <important> <p>The <code>FirstSnapshotID</code> parameter must be specified with a <code>SecondSnapshotId</code> parameter; otherwise, an error occurs.</p> </important>
pageTokenstring
<p>The token to request the next page of results.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>
maxResultsinteger
<p>The maximum number of blocks to be returned by the request.</p> <p>Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than <b>MaxResults</b> or an empty array of blocks.</p> <p>To retrieve the next set of blocks from the snapshot, make another request with the returned <b>NextToken</b> value. The value of <b>NextToken</b> is <code>null</code> when there are no more blocks to return.</p>
startingBlockIndexinteger
<p>The block index from which the comparison should start.</p> <p>The list in the response will start from this block index or the next valid block index in the snapshots.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>
MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Response

Success

ExpiryTimestring date-time

The time when the <code>BlockToken</code> expires.

VolumeSizeinteger

The size of the volume in GB.

BlockSizeinteger

The size of the blocks in the snapshot, in bytes.

NextTokenstring

The token to use to retrieve the next page of results. This value is null when there are no more results to return.