Current section
11 Versions
Jump to
Current section
11 Versions
Compare versions
8
files changed
+35
additions
-25
deletions
| @@ -7,7 +7,7 @@ upstream Smithy model in [aws-gleam](https://github.com/Ulberg/aws-gleam). | |
| 7 7 | import aws/services/s3 |
| 8 8 | |
| 9 9 | pub fn main() { |
| 10 | - let assert Ok(client) = s3.new_with_auto_region() |
| 10 | + let assert Ok(client) = s3.new() |
| 11 11 | // ... typed ops, e.g. s3.<op>(client, input) |
| 12 12 | } |
| 13 13 | ``` |
| @@ -1,5 +1,5 @@ | |
| 1 1 | name = "aws_gleam_s3" |
| 2 | - version = "1.3.2" |
| 2 | + version = "1.4.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.3.2" |
| 14 | + aws_gleam_runtime = ">= 1.4.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.3.2"/utf8>>}. |
| 3 | + {<<"version">>, <<"1.4.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,11 +9,26 @@ | |
| 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>>}, |
| 14 | + {<<"optional">>, false}, |
| 15 | + {<<"requirement">>, <<">= 1.4.0"/utf8>>} |
| 16 | + ]}, |
| 12 17 | {<<"gleam_httpc"/utf8>>, [ |
| 13 18 | {<<"app">>, <<"gleam_httpc"/utf8>>}, |
| 14 19 | {<<"optional">>, false}, |
| 15 20 | {<<"requirement">>, <<">= 5.0.0 and < 6.0.0"/utf8>>} |
| 16 21 | ]}, |
| 22 | + {<<"gleam_stdlib"/utf8>>, [ |
| 23 | + {<<"app">>, <<"gleam_stdlib"/utf8>>}, |
| 24 | + {<<"optional">>, false}, |
| 25 | + {<<"requirement">>, <<">= 0.40.0 and < 2.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 | + ]}, |
| 17 32 | {<<"gleam_http"/utf8>>, [ |
| 18 33 | {<<"app">>, <<"gleam_http"/utf8>>}, |
| 19 34 | {<<"optional">>, false}, |
| @@ -24,21 +39,6 @@ | |
| 24 39 | {<<"optional">>, false}, |
| 25 40 | {<<"requirement">>, <<">= 2.0.0 and < 4.0.0"/utf8>>} |
| 26 41 | ]}, |
| 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 42 | {<<"gleam_erlang"/utf8>>, [ |
| 43 43 | {<<"app">>, <<"gleam_erlang"/utf8>>}, |
| 44 44 | {<<"optional">>, false}, |
| @@ -185,6 +185,7 @@ | |
| 185 185 | <<"include/aws@services@s3_DestinationResult.hrl"/utf8>>, |
| 186 186 | <<"include/aws@services@s3_Encryption.hrl"/utf8>>, |
| 187 187 | <<"include/aws@services@s3_EncryptionConfiguration.hrl"/utf8>>, |
| 188 | + <<"include/aws@services@s3_EndpointParams.hrl"/utf8>>, |
| 188 189 | <<"include/aws@services@s3_ErrorDetails.hrl"/utf8>>, |
| 189 190 | <<"include/aws@services@s3_ErrorDocument.hrl"/utf8>>, |
| 190 191 | <<"include/aws@services@s3_ErrorShape.hrl"/utf8>>, |
| @@ -0,0 +1,9 @@ | |
| 1 | + -record(endpoint_params, { |
| 2 | + accelerate :: gleam@option:option(boolean()), |
| 3 | + disable_multi_region_access_points :: gleam@option:option(boolean()), |
| 4 | + force_path_style :: gleam@option:option(boolean()), |
| 5 | + use_arn_region :: gleam@option:option(boolean()), |
| 6 | + use_dual_stack :: gleam@option:option(boolean()), |
| 7 | + use_fips :: gleam@option:option(boolean()), |
| 8 | + use_global_endpoint :: gleam@option:option(boolean()) |
| 9 | + }). |
unknownsrc/aws/services/s3.gleam
File is too large to be displayed (100 KB limit).
Loading more files…