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 custom 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"Add a timeout to the network request. From the elm-http docs: "The timeout is the number of milliseconds you are willing to wait before giving up."
config |> withTimeout 5000All 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 send that on your server.
Upload file via Http.request. Useful if you want to get the tracker but you must provide your own Time.now due to limitations with Http + Task.
Deprecated. Use uploadFileCmd instead
Opaque configuration type for S3 requests