Contents:
delete_object(→ None)
delete_object
Delete S3 object.
get_presigned_url(→ str)
get_presigned_url
Return presigned URL for S3 object.
key (str) – Object key.
bucket (str, optional) – Bucket where object is stored. Defaults to ANALYTICS_DATA_BUCKET.
None
Enables clients without AWS credentials to read S3 objects - URLs should be shared with trusted clients only (e.g., graph DB).
expires_in_seconds (int, optional) – How long the URL is valid for (in seconds). Defaults to 900 (15 minutes).
Object presigned URL.
str