class documentation
class _Aioboto3StorageDriverClient(S3StorageDriverClient): (source)
Constructor: _Aioboto3StorageDriverClient(client)
Adapter that wraps an aioboto3 S3 client as an S3StorageDriverClient.
Internally delegates to upload_fileobj for uploads (which handles multipart automatically for objects above the multipart threshold) and get_object for downloads.
Warning
This API is experimental.
| Method | __init__ |
Wrap an aioboto3 S3 client. |
| Method | describe |
Region of the wrapped aioboto3 client, surfaced in driver error messages to short-circuit the most common silent 403 misconfiguration. |
| Async Method | get |
Download bytes via aioboto3's get_object. |
| Async Method | object |
Check existence via aioboto3's head_object. |
| Async Method | put |
Upload data via aioboto3's upload_fileobj. |
| Instance Variable | _client |
Undocumented |
Wrap an aioboto3 S3 client.
| Parameters | |
client:S3Client | An aioboto3 S3 client, typically obtained from aioboto3.Session().client("s3"). |
Region of the wrapped aioboto3 client, surfaced in driver error messages to short-circuit the most common silent 403 misconfiguration.