BackupStorage / Client / get_chunk
get_chunk#
- BackupStorage.Client.get_chunk(**kwargs)#
Gets the specified object’s chunk.
See also: AWS API Documentation
Request Syntax
response = client.get_chunk( StorageJobId='string', ChunkToken='string' )
- Parameters:
StorageJobId (string) – [REQUIRED] Storage job id
ChunkToken (string) – [REQUIRED] Chunk token
- Return type:
dict
- Returns:
Response Syntax
{ 'Data': StreamingBody(), 'Length': 123, 'Checksum': 'string', 'ChecksumAlgorithm': 'SHA256' }
Response Structure
(dict) –
Data (
StreamingBody
) – Chunk dataLength (integer) – Data length
Checksum (string) – Data checksum
ChecksumAlgorithm (string) – Checksum algorithm
Exceptions
BackupStorage.Client.exceptions.IllegalArgumentException
BackupStorage.Client.exceptions.RetryableException
BackupStorage.Client.exceptions.ResourceNotFoundException
BackupStorage.Client.exceptions.ServiceInternalException
BackupStorage.Client.exceptions.ThrottlingException
BackupStorage.Client.exceptions.KMSInvalidKeyUsageException
BackupStorage.Client.exceptions.AccessDeniedException