Current section
11 Versions
Jump to
Current section
11 Versions
Compare versions
5
files changed
+29
additions
-29
deletions
| @@ -1,5 +1,5 @@ | |
| 1 1 | name = "aws_gleam_s3" |
| 2 | - version = "1.5.0" |
| 2 | + version = "1.5.1" |
| 3 3 | target = "erlang" |
| 4 4 | |
| 5 5 | description = "Typed Gleam client for Amazon S3. Generated from the upstream Smithy model with S3 helpers under aws/s3/. Depends on aws_gleam_runtime." |
| @@ -11,7 +11,7 @@ links = [ | |
| 11 11 | ] |
| 12 12 | |
| 13 13 | [dependencies] |
| 14 | - aws_gleam_runtime = ">= 1.5.0" |
| 14 | + aws_gleam_runtime = ">= 1.5.1" |
| 15 15 | gleam_stdlib = ">= 0.40.0 and < 2.0.0" |
| 16 16 | gleam_otp = ">= 1.0.0 and < 2.0.0" |
| 17 17 | gleam_erlang = ">= 1.0.0 and < 2.0.0" |
| @@ -1,6 +1,6 @@ | |
| 1 1 | {<<"name">>, <<"aws_gleam_s3"/utf8>>}. |
| 2 2 | {<<"app">>, <<"aws_gleam_s3"/utf8>>}. |
| 3 | - {<<"version">>, <<"1.5.0"/utf8>>}. |
| 3 | + {<<"version">>, <<"1.5.1"/utf8>>}. |
| 4 4 | {<<"description">>, <<"Typed Gleam client for Amazon S3. Generated from the upstream Smithy model with S3 helpers under aws/s3/. Depends on aws_gleam_runtime."/utf8>>}. |
| 5 5 | {<<"licenses">>, [<<"Apache-2.0"/utf8>>]}. |
| 6 6 | {<<"build_tools">>, [<<"gleam"/utf8>>]}. |
| @@ -9,40 +9,40 @@ | |
| 9 9 | {<<"Repository"/utf8>>, <<"https://github.com/Ulberg/aws-gleam"/utf8>>} |
| 10 10 | ]}. |
| 11 11 | {<<"requirements">>, [ |
| 12 | - {<<"gleam_stdlib"/utf8>>, [ |
| 13 | - {<<"app">>, <<"gleam_stdlib"/utf8>>}, |
| 12 | + {<<"gleam_erlang"/utf8>>, [ |
| 13 | + {<<"app">>, <<"gleam_erlang"/utf8>>}, |
| 14 14 | {<<"optional">>, false}, |
| 15 | - {<<"requirement">>, <<">= 0.40.0 and < 2.0.0"/utf8>>} |
| 16 | - ]}, |
| 17 | - {<<"gleam_http"/utf8>>, [ |
| 18 | - {<<"app">>, <<"gleam_http"/utf8>>}, |
| 19 | - {<<"optional">>, false}, |
| 20 | - {<<"requirement">>, <<">= 4.0.0 and < 5.0.0"/utf8>>} |
| 21 | - ]}, |
| 22 | - {<<"aws_gleam_runtime"/utf8>>, [ |
| 23 | - {<<"app">>, <<"aws_gleam_runtime"/utf8>>}, |
| 24 | - {<<"optional">>, false}, |
| 25 | - {<<"requirement">>, <<">= 1.5.0"/utf8>>} |
| 15 | + {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>} |
| 26 16 | ]}, |
| 27 17 | {<<"gleam_httpc"/utf8>>, [ |
| 28 18 | {<<"app">>, <<"gleam_httpc"/utf8>>}, |
| 29 19 | {<<"optional">>, false}, |
| 30 20 | {<<"requirement">>, <<">= 5.0.0 and < 6.0.0"/utf8>>} |
| 31 21 | ]}, |
| 32 | - {<<"gleam_otp"/utf8>>, [ |
| 33 | - {<<"app">>, <<"gleam_otp"/utf8>>}, |
| 34 | - {<<"optional">>, false}, |
| 35 | - {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>} |
| 36 | - ]}, |
| 37 22 | {<<"gleam_json"/utf8>>, [ |
| 38 23 | {<<"app">>, <<"gleam_json"/utf8>>}, |
| 39 24 | {<<"optional">>, false}, |
| 40 25 | {<<"requirement">>, <<">= 2.0.0 and < 4.0.0"/utf8>>} |
| 41 26 | ]}, |
| 42 | - {<<"gleam_erlang"/utf8>>, [ |
| 43 | - {<<"app">>, <<"gleam_erlang"/utf8>>}, |
| 27 | + {<<"aws_gleam_runtime"/utf8>>, [ |
| 28 | + {<<"app">>, <<"aws_gleam_runtime"/utf8>>}, |
| 29 | + {<<"optional">>, false}, |
| 30 | + {<<"requirement">>, <<">= 1.5.1"/utf8>>} |
| 31 | + ]}, |
| 32 | + {<<"gleam_http"/utf8>>, [ |
| 33 | + {<<"app">>, <<"gleam_http"/utf8>>}, |
| 34 | + {<<"optional">>, false}, |
| 35 | + {<<"requirement">>, <<">= 4.0.0 and < 5.0.0"/utf8>>} |
| 36 | + ]}, |
| 37 | + {<<"gleam_otp"/utf8>>, [ |
| 38 | + {<<"app">>, <<"gleam_otp"/utf8>>}, |
| 44 39 | {<<"optional">>, false}, |
| 45 40 | {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>} |
| 41 | + ]}, |
| 42 | + {<<"gleam_stdlib"/utf8>>, [ |
| 43 | + {<<"app">>, <<"gleam_stdlib"/utf8>>}, |
| 44 | + {<<"optional">>, false}, |
| 45 | + {<<"requirement">>, <<">= 0.40.0 and < 2.0.0"/utf8>>} |
| 46 46 | ]} |
| 47 47 | ]}. |
| 48 48 | {<<"files">>, [ |
| @@ -237,8 +237,8 @@ abort_quietly(Client, Bucket, Key, Upload_id) -> | |
| 237 237 | binary(), |
| 238 238 | binary(), |
| 239 239 | binary(), |
| 240 | - {ok, AWRB} | {error, error()} |
| 241 | - ) -> {ok, AWRB} | {error, error()}. |
| 240 | + {ok, AWUL} | {error, error()} |
| 241 | + ) -> {ok, AWUL} | {error, error()}. |
| 242 242 | abort_on_error(Client, Bucket, Key, Upload_id, Result) -> |
| 243 243 | case Result of |
| 244 244 | {ok, Value} -> |
| @@ -384,8 +384,8 @@ upload_one_batch(Client, Bucket, Key, Upload_id, Batch) -> | |
| 384 384 | collect_batch_results(Inbox, erlang:length(Batch), []). |
| 385 385 | |
| 386 386 | -file("src/aws/s3/transfer.gleam", 598). |
| 387 | - -spec do_take_split(list(AWSQ), integer(), list(AWSQ)) -> {list(AWSQ), |
| 388 | - list(AWSQ)}. |
| 387 | + -spec do_take_split(list(AWWA), integer(), list(AWWA)) -> {list(AWWA), |
| 388 | + list(AWWA)}. |
| 389 389 | do_take_split(Xs, N, Acc) -> |
| 390 390 | case {Xs, N} of |
| 391 391 | {[], _} -> |
| @@ -403,7 +403,7 @@ do_take_split(Xs, N, Acc) -> | |
| 403 403 | " Take the first `n` elements; return `(taken, rest)`. Used to\n" |
| 404 404 | " chunk the work-list into bounded-concurrency batches.\n" |
| 405 405 | ). |
| 406 | - -spec take_split(list(AWSM), integer()) -> {list(AWSM), list(AWSM)}. |
| 406 | + -spec take_split(list(AWVW), integer()) -> {list(AWVW), list(AWVW)}. |
| 407 407 | take_split(Xs, N) -> |
| 408 408 | do_take_split(Xs, N, []). |
unknownsrc/aws@services@s3.erl
File is too large to be displayed (100 KB limit).
| @@ -1,5 +1,5 @@ | |
| 1 1 | {application, aws_gleam_s3, [ |
| 2 | - {vsn, "1.5.0"}, |
| 2 | + {vsn, "1.5.1"}, |
| 3 3 | {applications, [aws_gleam_runtime, |
| 4 4 | gleam_erlang, |
| 5 5 | gleam_http, |