Class: Aws::EBS::Types::ListSnapshotBlocksRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ebs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

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.

Returns:

  • (Integer)


371
372
373
374
375
376
377
378
# File 'lib/aws-sdk-ebs/types.rb', line 371

class ListSnapshotBlocksRequest < Struct.new(
  :snapshot_id,
  :next_token,
  :max_results,
  :starting_block_index)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token to request the next page of results.

If you specify NextToken, then StartingBlockIndex is ignored.

Returns:

  • (String)


371
372
373
374
375
376
377
378
# File 'lib/aws-sdk-ebs/types.rb', line 371

class ListSnapshotBlocksRequest < Struct.new(
  :snapshot_id,
  :next_token,
  :max_results,
  :starting_block_index)
  SENSITIVE = []
  include Aws::Structure
end

#snapshot_idString

The ID of the snapshot from which to get block indexes and block tokens.

Returns:

  • (String)


371
372
373
374
375
376
377
378
# File 'lib/aws-sdk-ebs/types.rb', line 371

class ListSnapshotBlocksRequest < Struct.new(
  :snapshot_id,
  :next_token,
  :max_results,
  :starting_block_index)
  SENSITIVE = []
  include Aws::Structure
end

#starting_block_indexInteger

The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.

If you specify NextToken, then StartingBlockIndex is ignored.

Returns:

  • (Integer)


371
372
373
374
375
376
377
378
# File 'lib/aws-sdk-ebs/types.rb', line 371

class ListSnapshotBlocksRequest < Struct.new(
  :snapshot_id,
  :next_token,
  :max_results,
  :starting_block_index)
  SENSITIVE = []
  include Aws::Structure
end