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
+22 additions
-22 deletions
  @@ -1,5 +1,5 @@
1 1 name = "aws_gleam_s3"
2 - version = "1.3.0"
2 + version = "1.3.1"
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.0"
14 + aws_gleam_runtime = ">= 1.3.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.3.0"/utf8>>}.
3 + {<<"version">>, <<"1.3.1"/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,11 +9,6 @@
9 9 {<<"Repository"/utf8>>, <<"https://github.com/Ulberg/aws-gleam"/utf8>>}
10 10 ]}.
11 11 {<<"requirements">>, [
12 - {<<"gleam_json"/utf8>>, [
13 - {<<"app">>, <<"gleam_json"/utf8>>},
14 - {<<"optional">>, false},
15 - {<<"requirement">>, <<">= 2.0.0 and < 4.0.0"/utf8>>}
16 - ]},
17 12 {<<"gleam_erlang"/utf8>>, [
18 13 {<<"app">>, <<"gleam_erlang"/utf8>>},
19 14 {<<"optional">>, false},
  @@ -24,25 +19,30 @@
24 19 {<<"optional">>, false},
25 20 {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
26 21 ]},
22 + {<<"gleam_httpc"/utf8>>, [
23 + {<<"app">>, <<"gleam_httpc"/utf8>>},
24 + {<<"optional">>, false},
25 + {<<"requirement">>, <<">= 5.0.0 and < 6.0.0"/utf8>>}
26 + ]},
27 27 {<<"gleam_stdlib"/utf8>>, [
28 28 {<<"app">>, <<"gleam_stdlib"/utf8>>},
29 29 {<<"optional">>, false},
30 30 {<<"requirement">>, <<">= 0.40.0 and < 2.0.0"/utf8>>}
31 31 ]},
32 + {<<"aws_gleam_runtime"/utf8>>, [
33 + {<<"app">>, <<"aws_gleam_runtime"/utf8>>},
34 + {<<"optional">>, false},
35 + {<<"requirement">>, <<">= 1.3.1"/utf8>>}
36 + ]},
32 37 {<<"gleam_http"/utf8>>, [
33 38 {<<"app">>, <<"gleam_http"/utf8>>},
34 39 {<<"optional">>, false},
35 40 {<<"requirement">>, <<">= 4.0.0 and < 5.0.0"/utf8>>}
36 41 ]},
37 - {<<"aws_gleam_runtime"/utf8>>, [
38 - {<<"app">>, <<"aws_gleam_runtime"/utf8>>},
42 + {<<"gleam_json"/utf8>>, [
43 + {<<"app">>, <<"gleam_json"/utf8>>},
39 44 {<<"optional">>, false},
40 - {<<"requirement">>, <<">= 1.3.0"/utf8>>}
41 - ]},
42 - {<<"gleam_httpc"/utf8>>, [
43 - {<<"app">>, <<"gleam_httpc"/utf8>>},
44 - {<<"optional">>, false},
45 - {<<"requirement">>, <<">= 5.0.0 and < 6.0.0"/utf8>>}
45 + {<<"requirement">>, <<">= 2.0.0 and < 4.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, AXCN} | {error, error()}
246 - ) -> {ok, AXCN} | {error, error()}.
245 + {ok, AXCM} | {error, error()}
246 + ) -> {ok, AXCM} | {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(AXEC), integer(), list(AXEC)) -> {list(AXEC),
393 - list(AXEC)}.
392 + -spec do_take_split(list(AXEB), integer(), list(AXEB)) -> {list(AXEB),
393 + list(AXEB)}.
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(AXDY), integer()) -> {list(AXDY), list(AXDY)}.
411 + -spec take_split(list(AXDX), integer()) -> {list(AXDX), list(AXDX)}.
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.0"},
2 + {vsn, "1.3.1"},
3 3 {applications, [aws_gleam_runtime,
4 4 gleam_erlang,
5 5 gleam_http,