Skip to content

Commit 3c9f5be

Browse files
committed
upgrade AWS SDKs
1 parent d44791d commit 3c9f5be

File tree

4 files changed

+74
-69
lines changed

4 files changed

+74
-69
lines changed

Cargo.lock

Lines changed: 52 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ itertools = { version = "0.10.5", optional = true}
7373
# Async
7474
tokio = { version = "1.0", features = ["rt-multi-thread", "signal", "macros"] }
7575
futures-util = "0.3.5"
76-
aws-config = "0.54.1"
77-
aws-sdk-s3 = "0.24.0"
78-
aws-sdk-cloudfront = "0.24.0"
79-
aws-smithy-types-convert = { version = "0.54.4", features = ["convert-chrono"] }
76+
aws-config = "0.55.1"
77+
aws-sdk-s3 = "0.26.0"
78+
aws-sdk-cloudfront = "0.26.0"
79+
aws-smithy-types-convert = { version = "0.55.1", features = ["convert-chrono"] }
8080
http = "0.2.6"
8181
uuid = "1.1.2"
8282

@@ -124,8 +124,8 @@ kuchiki = "0.8"
124124
rand = "0.8"
125125
mockito = "0.31.0"
126126
test-case = "3.0.0"
127-
aws-smithy-client = { version = "0.54.4", features = ["test-util"]}
128-
aws-smithy-http = "0.54.4"
127+
aws-smithy-client = { version = "0.55.1", features = ["test-util"]}
128+
aws-smithy-http = "0.55.1"
129129
indoc = "2.0.0"
130130

131131
[build-dependencies]

src/cdn.rs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use crate::{metrics::duration_to_seconds, utils::report_error, Config, Metrics};
22
use anyhow::{anyhow, bail, Context, Error, Result};
33
use aws_sdk_cloudfront::{
4-
config::retry::RetryConfig,
5-
model::{InvalidationBatch, Paths},
6-
types::SdkError,
7-
Client, Region,
4+
config::{retry::RetryConfig, Region},
5+
error::SdkError,
6+
types::{InvalidationBatch, Paths},
7+
Client,
88
};
99
use chrono::{DateTime, Utc};
1010
use serde::Serialize;
@@ -549,7 +549,10 @@ mod tests {
549549
use super::*;
550550
use crate::test::wrapper;
551551

552-
use aws_sdk_cloudfront::{Client, Config, Credentials, Region};
552+
use aws_sdk_cloudfront::{
553+
config::{Credentials, Region},
554+
Client, Config,
555+
};
553556
use aws_smithy_client::{
554557
erase::DynConnector, http_connector::HttpConnector, test_connection::TestConnection,
555558
};

0 commit comments

Comments
 (0)