Get Snapshot Block
ebs_get_snapshot_block | R Documentation |
Returns the data in a block in an Amazon Elastic Block Store snapshot¶
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.
Usage¶
Arguments¶
SnapshotId
[required] 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.
BlockIndex
[required] 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 be512
KiB aligned.BlockToken
[required] The block token of the block from which to get data. You can obtain the
BlockToken
by running thelist_changed_blocks
orlist_snapshot_blocks
operations.
Value¶
A list with the following syntax: