Skip to content

s3client

messageflux.iodevices.objectstorage.s3api.s3client

S3Client

S3Client(
    endpoint,
    access_key,
    secret_key,
    timeout=_S3_DEFAULT_TIMEOUT,
    retries=_S3_DEFAULT_RETRIES,
)

This class exists for compatibility purposes only. normally, it should not be used

represents an s3 client object

Parameters:

Name Type Description Default
endpoint str

the endpoint to s3 (url)

required
access_key str

the access key

required
secret_key str

the secret key

required

s3_resource property

s3_resource

returns the actual s3 client

Returns:

Type Description

the actual s3 client