AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ListSnapshotBlocks operation. Returns information about the blocks 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EBS.AmazonEBSRequest
      Amazon.EBS.Model.ListSnapshotBlocksRequest

Namespace: Amazon.EBS.Model
Assembly: AWSSDK.EBS.dll
Version: 3.x.y.z

Syntax

C#
public class ListSnapshotBlocksRequest : AmazonEBSRequest
         IAmazonWebServiceRequest

The ListSnapshotBlocksRequest type exposes the following members

Constructors

NameDescription
Public Method ListSnapshotBlocksRequest()

Properties

NameTypeDescription
Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

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.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token to request the next page of results.

If you specify NextToken, then StartingBlockIndex is ignored.

Public Property SnapshotId System.String

Gets and sets the property SnapshotId.

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

Public Property StartingBlockIndex System.Int32

Gets and sets the property StartingBlockIndex.

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.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5