Create S3 config with the required files common across all requets
Add a prefix to the file being uploaded. This is helpful to specify a sub directory to upload the file to.
config |> withPrefix "my/sub/dir/"Add a cusotm success HTTP status. This defaults to 201.
config |> withSuccessActionStatus 200Add a custom S3 host. This defaults to s3.amazonaws.com.
config |> withAwsS3Host "customhost.aws.com"Add a custom acl (Access Control List) for the uploaded document.
This defaults to public-read
config |> withAcl "private"All the information needed for a specific file upload.
The response from the upload request.
Upload a file
Upload a file but as a task. This is helpful if you need to upload a file, then
get it's location from the Response and set that on your server.
Opaque configuration type for S3 requests