Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

get_chunk

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 data
    • Length (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