pi_portal.modules.integrations.s3.client

S3BucketClient class.

class pi_portal.modules.integrations.s3.client.S3BucketClient[source]

S3BucketClient class.

upload(file_name)[source]

Upload the specified file to the S3 bucket.

Parameters:

file_name (str) – The path of the file to upload.

Raises:

S3BucketException

Return type:

None

exception pi_portal.modules.integrations.s3.client.S3BucketException[source]

Exception for S3 Bucket errors.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.