BackupStorage / Client / notify_object_complete

notify_object_complete#

BackupStorage.Client.notify_object_complete(**kwargs)#

Complete upload

See also: AWS API Documentation

Request Syntax

response = client.notify_object_complete(
    BackupJobId='string',
    UploadId='string',
    ObjectChecksum='string',
    ObjectChecksumAlgorithm='SUMMARY',
    MetadataString='string',
    MetadataBlob=b'bytes'|file,
    MetadataBlobLength=123,
    MetadataBlobChecksum='string',
    MetadataBlobChecksumAlgorithm='SHA256'
)
Parameters:
  • BackupJobId (string) – [REQUIRED] Backup job Id for the in-progress backup

  • UploadId (string) – [REQUIRED] Upload Id for the in-progress upload

  • ObjectChecksum (string) – [REQUIRED] Object checksum

  • ObjectChecksumAlgorithm (string) – [REQUIRED] Checksum algorithm

  • MetadataString (string) – Optional metadata associated with an Object. Maximum string length is 256 bytes.

  • MetadataBlob (bytes or seekable file-like object) – Optional metadata associated with an Object. Maximum length is 4MB.

  • MetadataBlobLength (integer) – The size of MetadataBlob.

  • MetadataBlobChecksum (string) – Checksum of MetadataBlob.

  • MetadataBlobChecksumAlgorithm (string) – Checksum algorithm.

Return type:

dict

Returns:

Response Syntax

{
    'ObjectChecksum': 'string',
    'ObjectChecksumAlgorithm': 'SUMMARY'
}

Response Structure

  • (dict) –

    • ObjectChecksum (string) – Object checksum

    • ObjectChecksumAlgorithm (string) – Checksum algorithm

Exceptions