BackupStorage / Client / start_object

start_object#

BackupStorage.Client.start_object(**kwargs)#

Start upload containing one or many chunks.

See also: AWS API Documentation

Request Syntax

response = client.start_object(
    BackupJobId='string',
    ObjectName='string',
    ThrowOnDuplicate=True|False
)
Parameters:
  • BackupJobId (string) – [REQUIRED] Backup job Id for the in-progress backup

  • ObjectName (string) – [REQUIRED] Name for the object.

  • ThrowOnDuplicate (boolean) – Throw an exception if Object name is already exist.

Return type:

dict

Returns:

Response Syntax

{
    'UploadId': 'string'
}

Response Structure

  • (dict) –

    • UploadId (string) – Upload Id for a given upload.

Exceptions

  • BackupStorage.Client.exceptions.ServiceUnavailableException

  • BackupStorage.Client.exceptions.ServiceInternalException

  • BackupStorage.Client.exceptions.RetryableException

  • BackupStorage.Client.exceptions.IllegalArgumentException

  • BackupStorage.Client.exceptions.ResourceNotFoundException

  • BackupStorage.Client.exceptions.DataAlreadyExistsException

  • BackupStorage.Client.exceptions.ThrottlingException

  • BackupStorage.Client.exceptions.AccessDeniedException