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¶
ebs_get_snapshot_block(SnapshotId, BlockIndex, BlockToken)
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 |
BlockToken |
[required] The block token of the block from which to get data.
You can obtain the |
Value¶
A list with the following syntax:
list(
DataLength = 123,
BlockData = raw,
Checksum = "string",
ChecksumAlgorithm = "SHA256"
)
Request syntax¶
svc$get_snapshot_block(
SnapshotId = "string",
BlockIndex = 123,
BlockToken = "string"
)