-
- Downloads
Add support for S3 Express One Zone (#3465)
## Motivation and Context Allows the Rust SDK to use [S3 Express One Zone](https://aws.amazon.com/s3/storage-classes/express-one-zone/) ## Description The PR adds the said S3-specific functionality to the Rust SDK. The code changes have already been reviewed by previous sub PRs, but it's worth going through them again as a whole: - https://github.com/smithy-lang/smithy-rs/pull/3386 - https://github.com/smithy-lang/smithy-rs/pull/3388 - https://github.com/smithy-lang/smithy-rs/pull/3390 - https://github.com/smithy-lang/smithy-rs/pull/3432 - https://github.com/smithy-lang/smithy-rs/pull/3433 - https://github.com/smithy-lang/smithy-rs/pull/3459 - https://github.com/smithy-lang/smithy-rs/pull/3457 - https://github.com/smithy-lang/smithy-rs/pull/3462 In addition to the PRs above, commit eebe8af increases the canary lambda's memory size to 512MB from 128MB (also makes it configurable through a command line arg for `canary-runner`). By default, lambda's allowed memory size is 128MB but with the addition of `canary-wasm` in main, canary lambda's memory usage will be 152MB, causing the lambda to be killed by a signal during runtime. The commit addresses that issue. ## Testing - Unit tests in [aws/rust-runtime/aws-inlineable/src/s3_express.rs](https://github.com/smithy-lang/smithy-rs/blob/7f8c28b7038372927ec6196eff88384452f908dd/aws/rust-runtime/aws-inlineable/src/s3_express.rs) - Integration tests in [aws/sdk/integration-tests/s3/tests/express.rs](https://github.com/smithy-lang/smithy-rs/blob/7f8c28b7038372927ec6196eff88384452f908dd/aws/sdk/integration-tests/s3/tests/express.rs ) - Canary in smithy-rs#3462 ## Checklist <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ --------- Co-authored-by:John DiSanti <jdisanti@amazon.com> Co-authored-by:
AWS SDK Rust Bot <aws-sdk-rust-primary@amazon.com> Co-authored-by:
AWS SDK Rust Bot <97246200+aws-sdk-rust-ci@users.noreply.github.com> Co-authored-by:
Zelda Hessler <zhessler@amazon.com> Co-authored-by:
Russell Cohen <rcoh@amazon.com>
Showing
- CHANGELOG.next.toml 6 additions, 0 deletionsCHANGELOG.next.toml
- aws/rust-runtime/aws-inlineable/Cargo.toml 8 additions, 0 deletionsaws/rust-runtime/aws-inlineable/Cargo.toml
- aws/rust-runtime/aws-inlineable/src/http_request_checksum.rs 52 additions, 2 deletionsaws/rust-runtime/aws-inlineable/src/http_request_checksum.rs
- aws/rust-runtime/aws-inlineable/src/lib.rs 5 additions, 0 deletionsaws/rust-runtime/aws-inlineable/src/lib.rs
- aws/rust-runtime/aws-inlineable/src/s3_express.rs 818 additions, 0 deletionsaws/rust-runtime/aws-inlineable/src/s3_express.rs
- aws/rust-runtime/aws-runtime/src/auth.rs 47 additions, 1 deletionaws/rust-runtime/aws-runtime/src/auth.rs
- aws/rust-runtime/aws-runtime/src/auth/sigv4.rs 14 additions, 4 deletionsaws/rust-runtime/aws-runtime/src/auth/sigv4.rs
- aws/rust-runtime/aws-sigv4/src/http_request/canonical_request.rs 21 additions, 6 deletions...t-runtime/aws-sigv4/src/http_request/canonical_request.rs
- aws/rust-runtime/aws-sigv4/src/http_request/settings.rs 5 additions, 0 deletionsaws/rust-runtime/aws-sigv4/src/http_request/settings.rs
- aws/rust-runtime/aws-sigv4/src/http_request/sign.rs 8 additions, 2 deletionsaws/rust-runtime/aws-sigv4/src/http_request/sign.rs
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsCodegenDecorator.kt 2 additions, 0 deletions...lin/software/amazon/smithy/rustsdk/AwsCodegenDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/AwsFluentClientDecorator.kt 6 additions, 1 deletion...oftware/amazon/smithy/rustsdk/AwsFluentClientDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/EndpointBuiltInsDecorator.kt 0 additions, 1 deletion...ftware/amazon/smithy/rustsdk/EndpointBuiltInsDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/HttpRequestChecksumDecorator.kt 1 addition, 1 deletion...are/amazon/smithy/rustsdk/HttpRequestChecksumDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/RegionDecorator.kt 4 additions, 0 deletions.../kotlin/software/amazon/smithy/rustsdk/RegionDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/UserAgentDecorator.kt 5 additions, 0 deletions...tlin/software/amazon/smithy/rustsdk/UserAgentDecorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/s3/S3Decorator.kt 4 additions, 0 deletions...oftware/amazon/smithy/rustsdk/customize/s3/S3Decorator.kt
- aws/sdk-codegen/src/main/kotlin/software/amazon/smithy/rustsdk/customize/s3/S3ExpressDecorator.kt 303 additions, 0 deletions.../amazon/smithy/rustsdk/customize/s3/S3ExpressDecorator.kt
- aws/sdk/integration-tests/s3/tests/data/express/mixed-auths.json 585 additions, 0 deletions.../integration-tests/s3/tests/data/express/mixed-auths.json
- aws/sdk/integration-tests/s3/tests/express.rs 412 additions, 0 deletionsaws/sdk/integration-tests/s3/tests/express.rs
Loading
Please register or sign in to comment