Skip to content

Commit

Permalink
Introduce aws-sdk-rust as rusoto S3 replacement (#2802)
Browse files Browse the repository at this point in the history
- `aws-smithy-http`: Needed because of `SdkBody` see
smithy-lang/smithy-rs#1759
- `aws-types`: Needed because of `SharedCredentialsProvider`, the
recommended way from aws is something like
`aws_config::from_env().region("us-east-1").load().await` but that is
problematic because of:

- `sync -> async ` in the creation of S3Client and i don't want to
change the signature of any method in this class.
- We do not need the four default steps in
https://github.com/awslabs/aws-sdk-rust/blob/main/sdk/aws-config/src/default_provider/credentials.rs#L235

- `Hyper`: Similar to what's currently doing Rusoto in
https://github.com/rusoto/rusoto/blob/master/rusoto/signature/src/signature.rs#L59
to stream the body, see also
awslabs/aws-sdk-rust#361

Co-authored-by: andres <[email protected]>
  • Loading branch information
andresrsanchez and andres authored Nov 16, 2022
1 parent 1d10572 commit c4b417e
Show file tree
Hide file tree
Showing 4 changed files with 480 additions and 391 deletions.
Loading

0 comments on commit c4b417e

Please sign in to comment.