@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBackupStorageClient extends AmazonWebServiceClient implements AWSBackupStorage
The frontend service for Cryo Storage.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSBackupStorageClientBuilder |
builder() |
DeleteObjectResult |
deleteObject(DeleteObjectRequest request)
Delete Object from the incremental base Backup.
|
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.
|
GetChunkResult |
getChunk(GetChunkRequest request)
Gets the specified object's chunk.
|
GetObjectMetadataResult |
getObjectMetadata(GetObjectMetadataRequest request)
Get metadata associated with an Object.
|
ListChunksResult |
listChunks(ListChunksRequest request)
List chunks in a given Object
|
ListObjectsResult |
listObjects(ListObjectsRequest request)
List all Objects in a given Backup.
|
NotifyObjectCompleteResult |
notifyObjectComplete(NotifyObjectCompleteRequest request)
Complete upload
|
PutChunkResult |
putChunk(PutChunkRequest request)
Upload chunk.
|
PutObjectResult |
putObject(PutObjectRequest request)
Upload object that can store object metadata String and data blob in single API call using inline chunk field.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
StartObjectResult |
startObject(StartObjectRequest request)
Start upload containing one or many chunks.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AWSBackupStorageClientBuilder builder()
public DeleteObjectResult deleteObject(DeleteObjectRequest request)
deleteObject
in interface AWSBackupStorage
deleteObjectRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ServiceInternalException
- Deprecated. To be removed from the model.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.ResourceNotFoundException
- Non-retryable exception. Attempted to make an operation on non-existing or expired resource.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.AccessDeniedException
public GetChunkResult getChunk(GetChunkRequest request)
getChunk
in interface AWSBackupStorage
getChunkRequest
- IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.ResourceNotFoundException
- Non-retryable exception. Attempted to make an operation on non-existing or expired resource.ServiceInternalException
- Deprecated. To be removed from the model.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.KMSInvalidKeyUsageException
- Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.AccessDeniedException
public GetObjectMetadataResult getObjectMetadata(GetObjectMetadataRequest request)
getObjectMetadata
in interface AWSBackupStorage
getObjectMetadataRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ServiceInternalException
- Deprecated. To be removed from the model.ResourceNotFoundException
- Non-retryable exception. Attempted to make an operation on non-existing or expired resource.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.KMSInvalidKeyUsageException
- Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.AccessDeniedException
public ListChunksResult listChunks(ListChunksRequest request)
listChunks
in interface AWSBackupStorage
listChunksRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ResourceNotFoundException
- Non-retryable exception. Attempted to make an operation on non-existing or expired resource.ServiceInternalException
- Deprecated. To be removed from the model.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.AccessDeniedException
public ListObjectsResult listObjects(ListObjectsRequest request)
listObjects
in interface AWSBackupStorage
listObjectsRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ServiceInternalException
- Deprecated. To be removed from the model.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.ResourceNotFoundException
- Non-retryable exception. Attempted to make an operation on non-existing or expired resource.KMSInvalidKeyUsageException
- Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.AccessDeniedException
public NotifyObjectCompleteResult notifyObjectComplete(NotifyObjectCompleteRequest request)
notifyObjectComplete
in interface AWSBackupStorage
notifyObjectCompleteRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ServiceInternalException
- Deprecated. To be removed from the model.NotReadableInputStreamException
- Retryalble exception. Indicated issues while reading an input stream due to the networking issues or
connection drop on the client side.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.KMSInvalidKeyUsageException
- Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.AccessDeniedException
public PutChunkResult putChunk(PutChunkRequest request)
putChunk
in interface AWSBackupStorage
putChunkRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ServiceInternalException
- Deprecated. To be removed from the model.NotReadableInputStreamException
- Retryalble exception. Indicated issues while reading an input stream due to the networking issues or
connection drop on the client side.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.KMSInvalidKeyUsageException
- Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.AccessDeniedException
public PutObjectResult putObject(PutObjectRequest request)
putObject
in interface AWSBackupStorage
putObjectRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ServiceInternalException
- Deprecated. To be removed from the model.NotReadableInputStreamException
- Retryalble exception. Indicated issues while reading an input stream due to the networking issues or
connection drop on the client side.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.KMSInvalidKeyUsageException
- Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.AccessDeniedException
public StartObjectResult startObject(StartObjectRequest request)
startObject
in interface AWSBackupStorage
startObjectRequest
- ServiceUnavailableException
- Retryable exception, indicates internal server error.ServiceInternalException
- Deprecated. To be removed from the model.RetryableException
- Retryable exception. In general indicates internal failure that can be fixed by retry.IllegalArgumentException
- Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for
details.ResourceNotFoundException
- Non-retryable exception. Attempted to make an operation on non-existing or expired resource.DataAlreadyExistsException
- Non-retryable exception. Attempted to create already existing object or chunk. This message contains a
checksum of already presented data.ThrottlingException
- Increased rate over throttling limits. Can be retried with exponential backoff.AccessDeniedException
public 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 the request.
getCachedResponseMetadata
in interface AWSBackupStorage
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AWSBackupStorage
shutdown
in class AmazonWebServiceClient