@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonEBS extends Object implements AmazonEBS
AmazonEBS
. Convenient method forms pass through to the corresponding overload that
takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CompleteSnapshotResult |
completeSnapshot(CompleteSnapshotRequest request)
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 request)
Returns the data in a block in an Amazon Elastic Block Store snapshot.
|
ListChangedBlocksResult |
listChangedBlocks(ListChangedBlocksRequest request)
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the
same volume/snapshot lineage.
|
ListSnapshotBlocksResult |
listSnapshotBlocks(ListSnapshotBlocksRequest request)
Returns information about the blocks in an Amazon Elastic Block Store snapshot.
|
PutSnapshotBlockResult |
putSnapshotBlock(PutSnapshotBlockRequest request)
Writes a block of data to a snapshot.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartSnapshotResult |
startSnapshot(StartSnapshotRequest request)
Creates a new Amazon EBS snapshot.
|
public CompleteSnapshotResult completeSnapshot(CompleteSnapshotRequest request)
AmazonEBS
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.
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.
completeSnapshot
in interface AmazonEBS
public GetSnapshotBlockResult getSnapshotBlock(GetSnapshotBlockRequest request)
AmazonEBS
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.
getSnapshotBlock
in interface AmazonEBS
public ListChangedBlocksResult listChangedBlocks(ListChangedBlocksRequest request)
AmazonEBS
Returns information about the blocks that are different between two Amazon Elastic Block Store snapshots of the same volume/snapshot lineage.
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.
listChangedBlocks
in interface AmazonEBS
public ListSnapshotBlocksResult listSnapshotBlocks(ListSnapshotBlocksRequest request)
AmazonEBS
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.
listSnapshotBlocks
in interface AmazonEBS
public PutSnapshotBlockResult putSnapshotBlock(PutSnapshotBlockRequest request)
AmazonEBS
Writes a block of data to a 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-KiB sectors.
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.
putSnapshotBlock
in interface AmazonEBS
public StartSnapshotResult startSnapshot(StartSnapshotRequest request)
AmazonEBS
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.
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.
startSnapshot
in interface AmazonEBS
public void shutdown()
AmazonEBS
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonEBS
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.
getCachedResponseMetadata
in interface AmazonEBS
request
- The originally executed request.