ExAws.S3.presigned_url
You're seeing just the function
presigned_url
, go back to ExAws.S3 module for more information.
Specs
presigned_url( config :: map(), http_method :: atom(), bucket :: binary(), object :: binary(), opts :: presigned_url_opts() ) :: {:ok, binary()} | {:error, binary()}
Generate a pre-signed URL for an object.
When option param :virtual_host
is true
, the bucket name will be used as
the hostname. This will cause the returned URL to be 'http' and not 'https'.
When option param :s3_accelerate
is true
, the bucket name will be used as
the hostname, along with the s3-accelerate.amazonaws.com
host.
Additional (signed) query parameters can be added to the url by setting option param
:query_params
to a list of {"key", "value"}
pairs. Useful if you are uploading parts of
a multipart upload directly from the browser.
Signed headers can be added to the url by setting option param :headers
to
a list of {"key", "value"}
pairs.