List Changed Blocks
| ebs_list_changed_blocks | R Documentation |
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage¶
Description¶
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.
Usage¶
ebs_list_changed_blocks(FirstSnapshotId, SecondSnapshotId, NextToken,
MaxResults, StartingBlockIndex)
Arguments¶
FirstSnapshotIdThe ID of the first snapshot to use for the comparison.
The
FirstSnapshotIDparameter must be specified with aSecondSnapshotIdparameter; otherwise, an error occurs.SecondSnapshotId[required] The ID of the second snapshot to use for the comparison.
The
SecondSnapshotIdparameter must be specified with aFirstSnapshotIDparameter; otherwise, an error occurs.NextTokenThe token to request the next page of results.
If you specify NextToken, then StartingBlockIndex is ignored.
MaxResultsThe 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
nullwhen there are no more blocks to return.StartingBlockIndexThe 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.
Value¶
A list with the following syntax:
list(
ChangedBlocks = list(
list(
BlockIndex = 123,
FirstBlockToken = "string",
SecondBlockToken = "string"
)
),
ExpiryTime = as.POSIXct(
"2015-01-01"
),
VolumeSize = 123,
BlockSize = 123,
NextToken = "string"
)