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

6 files changed
+24 additions
-24 deletions
  @@ -1,5 +1,5 @@
1 1 name = "aws_gleam_s3"
2 - version = "1.0.0"
2 + version = "1.1.0"
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.0.0"
14 + aws_gleam_runtime = ">= 1.1.0"
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.0.0"/utf8>>}.
3 + {<<"version">>, <<"1.1.0"/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,23 +9,33 @@
9 9 {<<"Repository"/utf8>>, <<"https://github.com/Ulberg/aws-gleam"/utf8>>}
10 10 ]}.
11 11 {<<"requirements">>, [
12 - {<<"aws_gleam_runtime"/utf8>>, [
13 - {<<"app">>, <<"aws_gleam_runtime"/utf8>>},
12 + {<<"gleam_erlang"/utf8>>, [
13 + {<<"app">>, <<"gleam_erlang"/utf8>>},
14 14 {<<"optional">>, false},
15 - {<<"requirement">>, <<">= 1.0.0"/utf8>>}
15 + {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
16 16 ]},
17 17 {<<"gleam_http"/utf8>>, [
18 18 {<<"app">>, <<"gleam_http"/utf8>>},
19 19 {<<"optional">>, false},
20 20 {<<"requirement">>, <<">= 4.0.0 and < 5.0.0"/utf8>>}
21 21 ]},
22 + {<<"aws_gleam_runtime"/utf8>>, [
23 + {<<"app">>, <<"aws_gleam_runtime"/utf8>>},
24 + {<<"optional">>, false},
25 + {<<"requirement">>, <<">= 1.1.0"/utf8>>}
26 + ]},
22 27 {<<"gleam_httpc"/utf8>>, [
23 28 {<<"app">>, <<"gleam_httpc"/utf8>>},
24 29 {<<"optional">>, false},
25 30 {<<"requirement">>, <<">= 5.0.0 and < 6.0.0"/utf8>>}
26 31 ]},
27 - {<<"gleam_erlang"/utf8>>, [
28 - {<<"app">>, <<"gleam_erlang"/utf8>>},
32 + {<<"gleam_json"/utf8>>, [
33 + {<<"app">>, <<"gleam_json"/utf8>>},
34 + {<<"optional">>, false},
35 + {<<"requirement">>, <<">= 2.0.0 and < 4.0.0"/utf8>>}
36 + ]},
37 + {<<"gleam_otp"/utf8>>, [
38 + {<<"app">>, <<"gleam_otp"/utf8>>},
29 39 {<<"optional">>, false},
30 40 {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
31 41 ]},
  @@ -33,16 +43,6 @@
33 43 {<<"app">>, <<"gleam_stdlib"/utf8>>},
34 44 {<<"optional">>, false},
35 45 {<<"requirement">>, <<">= 0.40.0 and < 2.0.0"/utf8>>}
36 - ]},
37 - {<<"gleam_otp"/utf8>>, [
38 - {<<"app">>, <<"gleam_otp"/utf8>>},
39 - {<<"optional">>, false},
40 - {<<"requirement">>, <<">= 1.0.0 and < 2.0.0"/utf8>>}
41 - ]},
42 - {<<"gleam_json"/utf8>>, [
43 - {<<"app">>, <<"gleam_json"/utf8>>},
44 - {<<"optional">>, false},
45 - {<<"requirement">>, <<">= 2.0.0 and < 4.0.0"/utf8>>}
46 46 ]}
47 47 ]}.
48 48 {<<"files">>, [
unknownsrc/aws/services/s3.gleam
File is too large to be displayed (100 KB limit).
  @@ -242,8 +242,8 @@ abort_quietly(Client, Bucket, Key, Upload_id) ->
242 242 binary(),
243 243 binary(),
244 244 binary(),
245 - {ok, ATWR} | {error, error()}
246 - ) -> {ok, ATWR} | {error, error()}.
245 + {ok, AWDP} | {error, error()}
246 + ) -> {ok, AWDP} | {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(ATYG), integer(), list(ATYG)) -> {list(ATYG),
393 - list(ATYG)}.
392 + -spec do_take_split(list(AWFE), integer(), list(AWFE)) -> {list(AWFE),
393 + list(AWFE)}.
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(ATYC), integer()) -> {list(ATYC), list(ATYC)}.
411 + -spec take_split(list(AWFA), integer()) -> {list(AWFA), list(AWFA)}.
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).
Loading more files…