Skip to content

/AWS1/CL_EBS=>LISTCHANGEDBLOCKS()

About ListChangedBlocks

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

You should always retry requests that receive server (5xx) error responses, and ThrottlingException and RequestThrottledException client error responses. For more information see Error retries in the Amazon Elastic Compute Cloud User Guide.

Method Signature

IMPORTING

Required arguments:

IV_SECONDSNAPSHOTID TYPE /AWS1/EBSSNAPSHOTID /AWS1/EBSSNAPSHOTID

The ID of the second snapshot to use for the comparison.

The SecondSnapshotId parameter must be specified with a FirstSnapshotID parameter; otherwise, an error occurs.

Optional arguments:

IV_FIRSTSNAPSHOTID TYPE /AWS1/EBSSNAPSHOTID /AWS1/EBSSNAPSHOTID

The ID of the first snapshot to use for the comparison.

The FirstSnapshotID parameter must be specified with a SecondSnapshotId parameter; otherwise, an error occurs.

IV_NEXTTOKEN TYPE /AWS1/EBSPAGETOKEN /AWS1/EBSPAGETOKEN

The token to request the next page of results.

If you specify NextToken, then StartingBlockIndex is ignored.

IV_MAXRESULTS TYPE /AWS1/EBSMAXRESULTS /AWS1/EBSMAXRESULTS

The maximum number of blocks to be returned by the request.

Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than MaxResults or an empty array of blocks.

To retrieve the next set of blocks from the snapshot, make another request with the returned NextToken value. The value of NextToken is null when there are no more blocks to return.

IV_STARTINGBLOCKINDEX TYPE /AWS1/EBSBLOCKINDEX /AWS1/EBSBLOCKINDEX

The block index from which the comparison should start.

The list in the response will start from this block index or the next valid block index in the snapshots.

If you specify NextToken, then StartingBlockIndex is ignored.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EBSLSTCHANGEDBLKSRSP /AWS1/CL_EBSLSTCHANGEDBLKSRSP