@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonEBS
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonEBS instead.
You can use the Amazon Elastic Block Store (EBS) direct APIs to directly read the data on your EBS snapshots, and identify the difference between two snapshots. You can view the details of blocks in an EBS snapshot, compare the block difference between two snapshots, and directly access the data in a snapshot. If you're an independent software vendor (ISV) who offers backup services for EBS, the EBS direct APIs make it easier and more cost-effective to track incremental changes on your EBS volumes via EBS snapshots. This can be done without having to create new volumes from EBS snapshots.
This API reference provides detailed information about the actions, data types, parameters, and errors of the EBS direct APIs. For more information about the elements that make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an EBS Snapshot in the Amazon Elastic Compute Cloud User Guide. For more information about the supported AWS Regions, endpoints, and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in the AWS General Reference.
| Modifier and Type | Field and Description |
|---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
| Modifier and Type | Method and Description |
|---|---|
CompleteSnapshotResult |
completeSnapshot(CompleteSnapshotRequest completeSnapshotRequest)
Seals and completes the snapshot after all of the required blocks of data have been written to it.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetSnapshotBlockResult |
getSnapshotBlock(GetSnapshotBlockRequest getSnapshotBlockRequest)
Returns the data in a block in an Amazon Elastic Block Store snapshot.
|
ListChangedBlocksResult |
listChangedBlocks(ListChangedBlocksRequest listChangedBlocksRequest)
Returns the block indexes and block tokens for blocks that are different between two Amazon Elastic Block Store
snapshots of the same volume/snapshot lineage.
|
ListSnapshotBlocksResult |
listSnapshotBlocks(ListSnapshotBlocksRequest listSnapshotBlocksRequest)
Returns the block indexes and block tokens for blocks in an Amazon Elastic Block Store snapshot.
|
PutSnapshotBlockResult |
putSnapshotBlock(PutSnapshotBlockRequest putSnapshotBlockRequest)
Writes a block of data to a block in the snapshot.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartSnapshotResult |
startSnapshot(StartSnapshotRequest startSnapshotRequest)
Creates a new Amazon EBS snapshot.
|
static final String ENDPOINT_PREFIX
CompleteSnapshotResult completeSnapshot(CompleteSnapshotRequest completeSnapshotRequest)
Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing the
snapshot changes the status to completed. You cannot write new blocks to a snapshot after it has
been completed.
completeSnapshotRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints of the EBS direct APIs.ResourceNotFoundException - The specified resource does not exist.RequestThrottledException - The number of API requests has exceed the maximum allowed API request throttling limit.ServiceQuotaExceededException - Your current service quotas do not allow you to perform this action.InternalServerException - An internal error has occurred.GetSnapshotBlockResult getSnapshotBlock(GetSnapshotBlockRequest getSnapshotBlockRequest)
Returns the data in a block in an Amazon Elastic Block Store snapshot.
getSnapshotBlockRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints of the EBS direct APIs.ResourceNotFoundException - The specified resource does not exist.RequestThrottledException - The number of API requests has exceed the maximum allowed API request throttling limit.ServiceQuotaExceededException - Your current service quotas do not allow you to perform this action.InternalServerException - An internal error has occurred.ListChangedBlocksResult listChangedBlocks(ListChangedBlocksRequest listChangedBlocksRequest)
Returns the block indexes and block tokens for blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
listChangedBlocksRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints of the EBS direct APIs.ResourceNotFoundException - The specified resource does not exist.RequestThrottledException - The number of API requests has exceed the maximum allowed API request throttling limit.ServiceQuotaExceededException - Your current service quotas do not allow you to perform this action.InternalServerException - An internal error has occurred.ListSnapshotBlocksResult listSnapshotBlocks(ListSnapshotBlocksRequest listSnapshotBlocksRequest)
Returns the block indexes and block tokens for blocks in an Amazon Elastic Block Store snapshot.
listSnapshotBlocksRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints of the EBS direct APIs.ResourceNotFoundException - The specified resource does not exist.RequestThrottledException - The number of API requests has exceed the maximum allowed API request throttling limit.ServiceQuotaExceededException - Your current service quotas do not allow you to perform this action.InternalServerException - An internal error has occurred.PutSnapshotBlockResult putSnapshotBlock(PutSnapshotBlockRequest putSnapshotBlockRequest)
Writes a block of data to a block in the snapshot. If the specified block contains data, the existing data is
overwritten. The target snapshot must be in the pending state.
Data written to a snapshot must be aligned with 512-byte sectors.
putSnapshotBlockRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints of the EBS direct APIs.ResourceNotFoundException - The specified resource does not exist.RequestThrottledException - The number of API requests has exceed the maximum allowed API request throttling limit.ServiceQuotaExceededException - Your current service quotas do not allow you to perform this action.InternalServerException - An internal error has occurred.StartSnapshotResult startSnapshot(StartSnapshotRequest startSnapshotRequest)
Creates a new Amazon EBS snapshot. The new snapshot enters the pending state after the request
completes.
After creating the snapshot, use PutSnapshotBlock to write blocks of data to the snapshot.
startSnapshotRequest - AccessDeniedException - You do not have sufficient access to perform this action.ValidationException - The input fails to satisfy the constraints of the EBS direct APIs.RequestThrottledException - The number of API requests has exceed the maximum allowed API request throttling limit.ResourceNotFoundException - The specified resource does not exist.ServiceQuotaExceededException - Your current service quotas do not allow you to perform this action.InternalServerException - An internal error has occurred.ConcurrentLimitExceededException - You have reached the limit for concurrent API requests. For more information, see Optimizing performance of the EBS direct APIs in the Amazon Elastic Compute Cloud User Guide.ConflictException - The request uses the same client token as a previous, but non-identical request.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request - The originally executed request.Copyright © 2020. All rights reserved.