View Source Franklin.S3Storage (Franklin v0.1.0)
Provides low level functions for working with S3 storage.
Link to this section Summary
Functions
Generates a presigned upload URL to S3 suitable for the given filename.
Link to this section Functions
@spec generate_presigned_url(String.t()) :: {:ok, url :: String.t()} | {:error, reason :: String.t()}
Generates a presigned upload URL to S3 suitable for the given filename.
This URL is short-lived and expects to be used via an HTTP PUT
request. This
URL will point to the bucket defined in the application's configuration.