aws.ebs.list_changed_blocks
Example SQL Queries
SELECT * FROMaws.ebs.list_changed_blocksWHERE"second_snapshot_id" = 'VALUE';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.
Table Definition
| Column Name | Column Data Type |
|---|---|
| second_snapshot_id Required Input Column 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. | VARCHAR |
| first_snapshot_id Input Column 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. | VARCHAR |
| max_results Input Column 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. | BIGINT |
| next_token Input Column The token to use to retrieve the next page of results. This value is null when there are no more results to return. | VARCHAR |
| starting_block_index Input Column 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. | BIGINT |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| block_size The size of the blocks in the snapshot, in bytes. | BIGINT |
| changed_blocks An array of objects containing information about the changed blocks. | STRUCT( |
Show child fields
| |
| expiry_time The time when the BlockToken expires. | TIMESTAMP_S |
| volume_size The size of the volume in GB. | BIGINT |