ObjectStorage
class ObjectStorage()ObjectStorage class for interacting with object storage services.
Attributes:
endpoint_urlstr - The endpoint URL for the object storage service.aws_access_key_idstr - The access key ID for the object storage service.aws_secret_access_keystr - The secret access key for the object storage service.aws_session_tokenstr - The session token for the object storage service. Used for temporary credentials.bucket_namestr - The name of the bucket to use.
ObjectStorage.upload
def upload(path, organization_id, archive_base_path=None) -> strUploads a file to the object storage service.
Arguments:
pathstr - The path to the file to upload.organization_idstr - The organization ID to use.archive_base_pathstr - The base path to use for the archive.