aws_s3_presigned_url (aws_beam_core v1.2.0)

View Source

Allows generating either a get or put presigned s3 url. This can be used by external clients such as cURL to access the object in question.

See: - https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html - https://docs.aws.amazon.com/AmazonS3/latest/userguide/ShareObjectPreSignedURL.html

Summary

Functions

make_presigned_v4_url(Client0, Method, ExpireSeconds, Bucket, Key)

-spec make_presigned_v4_url(map(), get | put, integer(), binary(), binary()) -> {ok, binary()}.

make_presigned_v4_url(Client0, Method, ExpireSeconds, Bucket, Key, Style)

-spec make_presigned_v4_url(map(), get | put, integer(), binary(), binary(), path | virtual_host) ->
                               {ok, binary()}.