Skip to content

Commit

Permalink
Bump aws-smithy-runtime from 1.4.0 to 1.5.0 in /quickwit (#4954)
Browse files Browse the repository at this point in the history
* Bump aws-smithy-runtime from 1.4.0 to 1.5.0 in /quickwit

Bumps [aws-smithy-runtime](https://github.com/smithy-lang/smithy-rs) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/smithy-lang/smithy-rs/releases)
- [Changelog](https://github.com/smithy-lang/smithy-rs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/smithy-lang/smithy-rs/commits)

---
updated-dependencies:
- dependency-name: aws-smithy-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* upgade aws BehaviorVersion

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: trinity-1686a <[email protected]>
  • Loading branch information
dependabot[bot] and trinity-1686a authored May 13, 2024
1 parent ab81a51 commit 7fb3aa5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions quickwit/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion quickwit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ aws-credential-types = { version = "1.2", features = ["hardcoded-credentials"] }
aws-sdk-kinesis = "1.21"
aws-sdk-s3 = "1.24"
aws-smithy-async = "1.2"
aws-smithy-runtime = "1.3"
aws-smithy-runtime = "1.5"
aws-smithy-types = { version = "1.1", features = ["byte-stream-poll-next"] }
aws-types = "1.2"

Expand Down
2 changes: 1 addition & 1 deletion quickwit/quickwit-aws/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub async fn get_aws_config() -> &'static aws_config::SdkConfig {
.hyper_builder(hyper_client_builder)
.build(https_connector);

aws_config::defaults(BehaviorVersion::v2023_11_09())
aws_config::defaults(BehaviorVersion::v2024_03_28())
.http_client(hyper_client)
// Currently handle this ourselves so probably best for now to leave it as is.
.retry_config(RetryConfig::disabled())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async fn create_s3_client(s3_storage_config: &S3StorageConfig) -> S3Client {
get_credentials_provider(s3_storage_config).or(aws_config.credentials_provider());
let region = get_region(s3_storage_config).or(aws_config.region().cloned());
let mut s3_config = aws_sdk_s3::Config::builder()
.behavior_version(BehaviorVersion::v2023_11_09())
.behavior_version(BehaviorVersion::v2024_03_28())
.region(region);

if let Some(identity_cache) = aws_config.identity_cache() {
Expand Down Expand Up @@ -943,7 +943,7 @@ mod tests {

#[tokio::test]
async fn test_s3_compatible_storage_relative_path() {
let sdk_config = aws_config::defaults(aws_config::BehaviorVersion::v2023_11_09())
let sdk_config = aws_config::defaults(aws_config::BehaviorVersion::v2024_03_28())
.load()
.await;
let s3_client = S3Client::new(&sdk_config);
Expand Down Expand Up @@ -996,7 +996,7 @@ mod tests {
]);
let credentials = Credentials::new("mock_key", "mock_secret", None, None, "mock_provider");
let config = aws_sdk_s3::Config::builder()
.behavior_version(BehaviorVersion::v2023_11_09())
.behavior_version(BehaviorVersion::v2024_03_28())
.region(Some(Region::new("Foo")))
.http_client(client.clone())
.credentials_provider(credentials)
Expand Down Expand Up @@ -1037,7 +1037,7 @@ mod tests {
)]);
let credentials = Credentials::new("mock_key", "mock_secret", None, None, "mock_provider");
let config = aws_sdk_s3::Config::builder()
.behavior_version(BehaviorVersion::v2023_11_09())
.behavior_version(BehaviorVersion::v2024_03_28())
.region(Some(Region::new("Foo")))
.http_client(client.clone())
.credentials_provider(credentials)
Expand Down Expand Up @@ -1119,7 +1119,7 @@ mod tests {
]);
let credentials = Credentials::new("mock_key", "mock_secret", None, None, "mock_provider");
let config = aws_sdk_s3::Config::builder()
.behavior_version(BehaviorVersion::v2023_11_09())
.behavior_version(BehaviorVersion::v2024_03_28())
.region(Some(Region::new("Foo")))
.http_client(client)
.credentials_provider(credentials)
Expand Down

0 comments on commit 7fb3aa5

Please sign in to comment.