put_chunk
(**kwargs)¶Upload chunk.
See also: AWS API Documentation
Request Syntax
response = client.put_chunk(
BackupJobId='string',
UploadId='string',
ChunkIndex=123,
Data=b'bytes'|file,
Length=123,
Checksum='string',
ChecksumAlgorithm='SHA256'
)
dict
Response Syntax
{
'ChunkChecksum': 'string',
'ChunkChecksumAlgorithm': 'SHA256'
}
Response Structure
Exceptions
BackupStorage.Client.exceptions.ServiceUnavailableException
BackupStorage.Client.exceptions.ServiceInternalException
BackupStorage.Client.exceptions.NotReadableInputStreamException
BackupStorage.Client.exceptions.RetryableException
BackupStorage.Client.exceptions.IllegalArgumentException
BackupStorage.Client.exceptions.ThrottlingException
BackupStorage.Client.exceptions.KMSInvalidKeyUsageException
BackupStorage.Client.exceptions.AccessDeniedException