aws.ebs.get_snapshot_block
Example SQL Queries
SELECT * FROMaws.ebs.get_snapshot_blockWHERE"snapshot_id" = 'VALUE'AND "block_index" = 'VALUE'AND "block_token" = 'VALUE';Description
Returns the data in a block in an Amazon Elastic Block Store snapshot.
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 |
|---|---|
| block_index Required Input Column The block index of the block in which to read the data. A block index is a logical index in units of 512 KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/524288). The logical offset of the data must be 512 KiB aligned. | BIGINT |
| block_token Required Input Column The block token of the block from which to get data. You can obtain the BlockToken by running the ListChangedBlocks or ListSnapshotBlocks operations. | VARCHAR |
| snapshot_id Required Input Column The ID of the snapshot containing the block from which to get data. If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the snapshot. For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide. | VARCHAR |
| _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_data The data content of the block. | BLOB |
| checksum The checksum generated for the block, which is Base64 encoded. | VARCHAR |
| checksum_algorithm The algorithm used to generate the checksum for the block, such as SHA256. | VARCHAR |
| data_length The size of the data in the block. | BIGINT |