diff --git a/net/aws/Cargo.toml b/net/aws/Cargo.toml index b21a3594..053bffc8 100644 --- a/net/aws/Cargo.toml +++ b/net/aws/Cargo.toml @@ -16,13 +16,13 @@ futures = "0.3" gst = { package = "gstreamer", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst-base = { package = "gstreamer-base", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" } gst-audio = { package = "gstreamer-audio", git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs", features = ["v1_16"] } -aws-config = "0.51.0" -aws-sdk-s3 = "0.21.0" -aws-sdk-transcribe = "0.21.0" -aws-types = "0.51.0" -aws-sig-auth = "0.51.0" -aws-smithy-http = { version = "0.51.0", features = [ "rt-tokio" ] } -aws-smithy-types = "0.51.0" +aws-config = "0.52.0" +aws-sdk-s3 = "0.22.0" +aws-sdk-transcribe = "0.22.0" +aws-types = "0.52.0" +aws-sig-auth = "0.52.0" +aws-smithy-http = { version = "0.52.0", features = [ "rt-tokio" ] } +aws-smithy-types = "0.52.0" http = "0.2.7" chrono = "0.4" url = "2" diff --git a/net/aws/src/s3hlssink/imp.rs b/net/aws/src/s3hlssink/imp.rs index 74ea7428..0645a103 100644 --- a/net/aws/src/s3hlssink/imp.rs +++ b/net/aws/src/s3hlssink/imp.rs @@ -370,7 +370,7 @@ impl S3HlsSink { let config = if let Some(uri) = endpoint_uri { config_builder - .endpoint_resolver(Endpoint::mutable(uri)) + .endpoint_resolver(Endpoint::mutable_uri(uri).expect("Failed to parse endpoint")) .build() } else { config_builder.build() diff --git a/net/aws/src/s3sink/imp.rs b/net/aws/src/s3sink/imp.rs index 5b4ae85b..064a92e2 100644 --- a/net/aws/src/s3sink/imp.rs +++ b/net/aws/src/s3sink/imp.rs @@ -535,7 +535,7 @@ impl S3Sink { let config = if let Some(uri) = endpoint_uri { config_builder - .endpoint_resolver(Endpoint::mutable(uri)) + .endpoint_resolver(Endpoint::mutable_uri(uri).expect("Failed to parse endpoint")) .build() } else { config_builder.build() diff --git a/net/aws/src/s3src/imp.rs b/net/aws/src/s3src/imp.rs index 24e6341d..68b836dc 100644 --- a/net/aws/src/s3src/imp.rs +++ b/net/aws/src/s3src/imp.rs @@ -148,7 +148,7 @@ impl S3Src { let config = if let Some(uri) = endpoint_uri { config_builder - .endpoint_resolver(Endpoint::mutable(uri)) + .endpoint_resolver(Endpoint::mutable_uri(uri).expect("Failed to parse endpoint")) .build() } else { config_builder.build() diff --git a/net/aws/src/s3utils.rs b/net/aws/src/s3utils.rs index 856f74f7..aa77889d 100644 --- a/net/aws/src/s3utils.rs +++ b/net/aws/src/s3utils.rs @@ -10,7 +10,7 @@ use aws_config::meta::region::RegionProviderChain; use aws_sdk_s3::{config::timeout::TimeoutConfig, Credentials, Region}; use aws_types::sdk_config::SdkConfig; -use aws_smithy_http::byte_stream::{ByteStream, Error}; +use aws_smithy_http::byte_stream::{error::Error, ByteStream}; use bytes::{buf::BufMut, Bytes, BytesMut}; use futures::stream::TryStreamExt;