-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DO NOT MERGE: Flex Checksums #3924
base: main
Are you sure you want to change the base?
Conversation
It sets default values for the ChecksumAlgorithm field (although that doesn't actually seem to be reflected in the code at the moment)
Value is not yet added to ConfigBag
Still need to implement tests from SEP
Note: it doesn't actually work because sigv4 is benig added as a dev dep but is required by one of the inlineable interceptors as a runtime dep so that still needs to be fixed.
Update codegen to point to new checksum config
To traverse the model via a knowledge index
Update PutBucketLifecycleConfiguration test it now checks the Crc32 checksum header instead of Md5
Specifically use the x-amz-checksum- prefix for filtering the checksum headers instead of a fixed list
Update checksum tests to add user-provided checksum tests from SEP
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
…tion` methods. (#3918) This PR lays the groundwork for defining operation-specific `CustomizableOperation` methods. ## Codegen Example If we were to define pre-signable ops this way, code like the following would be emitted for each op that supported presigning. ```rust impl<E, B> CustomizableOperation<crate::operation::put_object::PutObject, E, B> { /// Sends the request and returns the response. #[allow(unused_mut)] pub async fn presigned( mut self, presigning_config: crate::presigning::PresigningConfig, ) -> ::std::result::Result<crate::presigning::PresignedRequest, crate::error::SdkError<E>> where E: std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static, B: crate::client::customize::internal::CustomizablePresigned<E>, { self.execute(move |sender, conf| sender.presign(conf, presigning_config)).await } } ``` _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
The crc64fast-nvme crate uses some 64 bit intrinsics that do not exist on 32 bit x86 Exclude another test from x86
09aeece
to
9ebc992
Compare
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
A new generated diff is ready to view.
A new doc preview is ready to view. |
3d61e10
to
7fdf1e3
Compare
A new generated diff is ready to view.
A new doc preview is ready to view. |
Update HttpChecksumTest to have presigning types
7fdf1e3
to
9d4d89c
Compare
A new generated diff is ready to view.
A new doc preview is ready to view. |
Motivation and Context
Currently just making this PR so I can test the canary against the feature branch
Description
Testing
Checklist
.changelog
directory, specifying "client," "server," or both in theapplies_to
key..changelog
directory, specifying "aws-sdk-rust" in theapplies_to
key.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.