Packages

Typed Gleam client for Amazon S3. Generated from the upstream Smithy model with S3 helpers under aws/s3/. Depends on aws_gleam_runtime.

Current section

11 Versions

Jump to

Compare versions

5 files changed
+29 additions
-29 deletions
  @@ -1,5 +1,5 @@
1 1 name = "aws_gleam_s3"
2 - version = "1.3.1"
2 + version = "1.3.2"
3 3 target = "erlang"
4 4
5 5 description = "Typed Gleam client for Amazon S3. Generated from the upstream Smithy model + hand-written multipart-upload helpers under aws/s3/. Depends on aws_runtime for SigV4 signing, the credentials chain, endpoint resolution, retry, and the protocol codecs."
  @@ -11,7 +11,7 @@ links = [
11 11 ]
12 12
13 13 [dependencies]
14 - aws_gleam_runtime = ">= 1.3.1"
14 + aws_gleam_runtime = ">= 1.3.2"
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.3.1"/utf8>>}.
3 + {<<"version">>, <<"1.3.2"/utf8>>}.
4 4 {<<"description">>, <<"Typed Gleam client for Amazon S3. Generated from the upstream Smithy model + hand-written multipart-upload helpers under aws/s3/. Depends on aws_runtime for SigV4 signing, the credentials chain, endpoint resolution, retry, and the protocol codecs."/utf8>>}.
5 5 {<<"licenses">>, [<<"Apache-2.0"/utf8>>]}.
6 6 {<<"build_tools">>, [<<"gleam"/utf8>>]}.
  @@ -9,31 +9,11 @@
9 9 {<<"Repository"/utf8>>, <<"https://github.com/Ulberg/aws-gleam"/utf8>>}
10 10 ]}.
11 11 {<<"requirements">>, [
12 - {<<"gleam_erlang"/utf8>>, [
13 - {<<"app">>, <<"gleam_erlang"/utf8>>},
14 - {<<"optional">>, false},
15 - {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
16 - ]},
17 - {<<"gleam_otp"/utf8>>, [
18 - {<<"app">>, <<"gleam_otp"/utf8>>},
19 - {<<"optional">>, false},
20 - {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
21 - ]},
22 12 {<<"gleam_httpc"/utf8>>, [
23 13 {<<"app">>, <<"gleam_httpc"/utf8>>},
24 14 {<<"optional">>, false},
25 15 {<<"requirement">>, <<">= 5.0.0 and < 6.0.0"/utf8>>}
26 16 ]},
27 - {<<"gleam_stdlib"/utf8>>, [
28 - {<<"app">>, <<"gleam_stdlib"/utf8>>},
29 - {<<"optional">>, false},
30 - {<<"requirement">>, <<">= 0.40.0 and < 2.0.0"/utf8>>}
31 - ]},
32 - {<<"aws_gleam_runtime"/utf8>>, [
33 - {<<"app">>, <<"aws_gleam_runtime"/utf8>>},
34 - {<<"optional">>, false},
35 - {<<"requirement">>, <<">= 1.3.1"/utf8>>}
36 - ]},
37 17 {<<"gleam_http"/utf8>>, [
38 18 {<<"app">>, <<"gleam_http"/utf8>>},
39 19 {<<"optional">>, false},
  @@ -43,6 +23,26 @@
43 23 {<<"app">>, <<"gleam_json"/utf8>>},
44 24 {<<"optional">>, false},
45 25 {<<"requirement">>, <<">= 2.0.0 and < 4.0.0"/utf8>>}
26 + ]},
27 + {<<"gleam_otp"/utf8>>, [
28 + {<<"app">>, <<"gleam_otp"/utf8>>},
29 + {<<"optional">>, false},
30 + {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
31 + ]},
32 + {<<"gleam_stdlib"/utf8>>, [
33 + {<<"app">>, <<"gleam_stdlib"/utf8>>},
34 + {<<"optional">>, false},
35 + {<<"requirement">>, <<">= 0.40.0 and < 2.0.0"/utf8>>}
36 + ]},
37 + {<<"aws_gleam_runtime"/utf8>>, [
38 + {<<"app">>, <<"aws_gleam_runtime"/utf8>>},
39 + {<<"optional">>, false},
40 + {<<"requirement">>, <<">= 1.3.2"/utf8>>}
41 + ]},
42 + {<<"gleam_erlang"/utf8>>, [
43 + {<<"app">>, <<"gleam_erlang"/utf8>>},
44 + {<<"optional">>, false},
45 + {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
46 46 ]}
47 47 ]}.
48 48 {<<"files">>, [
  @@ -242,8 +242,8 @@ abort_quietly(Client, Bucket, Key, Upload_id) ->
242 242 binary(),
243 243 binary(),
244 244 binary(),
245 - {ok, AXCM} | {error, error()}
246 - ) -> {ok, AXCM} | {error, error()}.
245 + {ok, AXDZ} | {error, error()}
246 + ) -> {ok, AXDZ} | {error, error()}.
247 247 abort_on_error(Client, Bucket, Key, Upload_id, Result) ->
248 248 case Result of
249 249 {ok, Value} ->
  @@ -389,8 +389,8 @@ upload_one_batch(Client, Bucket, Key, Upload_id, Batch) ->
389 389 collect_batch_results(Inbox, erlang:length(Batch), []).
390 390
391 391 -file("src/aws/s3/transfer.gleam", 569).
392 - -spec do_take_split(list(AXEB), integer(), list(AXEB)) -> {list(AXEB),
393 - list(AXEB)}.
392 + -spec do_take_split(list(AXFO), integer(), list(AXFO)) -> {list(AXFO),
393 + list(AXFO)}.
394 394 do_take_split(Xs, N, Acc) ->
395 395 case {Xs, N} of
396 396 {[], _} ->
  @@ -408,7 +408,7 @@ do_take_split(Xs, N, Acc) ->
408 408 " Take the first `n` elements; return `(taken, rest)`. Used to\n"
409 409 " chunk the work-list into bounded-concurrency batches.\n"
410 410 ).
411 - -spec take_split(list(AXDX), integer()) -> {list(AXDX), list(AXDX)}.
411 + -spec take_split(list(AXFK), integer()) -> {list(AXFK), list(AXFK)}.
412 412 take_split(Xs, N) ->
413 413 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.3.1"},
2 + {vsn, "1.3.2"},
3 3 {applications, [aws_gleam_runtime,
4 4 gleam_erlang,
5 5 gleam_http,