Returns information about the blocks in an Amazon Elastic Block Store snapshot.
get/snapshots/{snapshotId}/blocks
Path parameters
snapshotIdstring required
The ID of the snapshot from which to get block indexes and block tokens.
Query parameters
pageTokenstring
<p>The token to request the next page of results.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>
maxResultsinteger
<p>The maximum number of blocks to be returned by the request.</p> <p>Even if additional blocks can be retrieved from the snapshot, the request can return less blocks than <b>MaxResults</b> or an empty array of blocks.</p> <p>To retrieve the next set of blocks from the snapshot, make another request with the returned <b>NextToken</b> value. The value of <b>NextToken</b> is <code>null</code> when there are no more blocks to return.</p>
startingBlockIndexinteger
<p>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.</p> <p>If you specify <b>NextToken</b>, then <b>StartingBlockIndex</b> is ignored.</p>
MaxResultsstring
Pagination limit
NextTokenstring
Pagination token
Response
Success