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.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to GetSnapshotBlockAsync.
Namespace: Amazon.EBS
Assembly: AWSSDK.EBS.dll
Version: 3.x.y.z
public abstract GetSnapshotBlockResponse GetSnapshotBlock( GetSnapshotBlockRequest request )
Container for the necessary parameters to execute the GetSnapshotBlock service method.
Exception | Condition |
---|---|
AccessDeniedException | You do not have sufficient access to perform this action. |
InternalServerException | An internal error has occurred. For more information see Error retries. |
RequestThrottledException | The number of API requests has exceeded the maximum allowed API request throttling limit for the snapshot. For more information see Error retries. |
ResourceNotFoundException | The specified resource does not exist. |
ServiceQuotaExceededException | Your current service quotas do not allow you to perform this action. |
ValidationException | The input fails to satisfy the constraints of the EBS direct APIs. |
.NET Framework:
Supported in: 4.5 and newer, 3.5