Class: Aws::EBS::Types::GetSnapshotBlockRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EBS::Types::GetSnapshotBlockRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-ebs/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#block_index ⇒ Integer
The block index of the block in which to read the data.
-
#block_token ⇒ String
The block token of the block from which to get data.
-
#snapshot_id ⇒ String
The ID of the snapshot containing the block from which to get data.
Instance Attribute Details
#block_index ⇒ Integer
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.
194 195 196 197 198 199 200 |
# File 'lib/aws-sdk-ebs/types.rb', line 194 class GetSnapshotBlockRequest < Struct.new( :snapshot_id, :block_index, :block_token) SENSITIVE = [] include Aws::Structure end |
#block_token ⇒ String
The block token of the block from which to get data. You can obtain the ‘BlockToken` by running the `ListChangedBlocks` or `ListSnapshotBlocks` operations.
194 195 196 197 198 199 200 |
# File 'lib/aws-sdk-ebs/types.rb', line 194 class GetSnapshotBlockRequest < Struct.new( :snapshot_id, :block_index, :block_token) SENSITIVE = [] include Aws::Structure end |
#snapshot_id ⇒ String
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*.
[1]: docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html
194 195 196 197 198 199 200 |
# File 'lib/aws-sdk-ebs/types.rb', line 194 class GetSnapshotBlockRequest < Struct.new( :snapshot_id, :block_index, :block_token) SENSITIVE = [] include Aws::Structure end |