diff --git a/AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift b/AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift index 6f7b708b0f..ae89c9359e 100644 --- a/AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift +++ b/AmplifyPlugins/Storage/Sources/AWSS3StoragePlugin/Dependency/UploadPartInput+presignURL.swift @@ -49,9 +49,8 @@ extension UploadPartInput { config.interceptorProviders.forEach { provider in builder.interceptors.add(provider.create()) } - config.httpInterceptorProviders.forEach { (provider: any ClientRuntime.HttpInterceptorProvider) -> Void in - let i: any ClientRuntime.HttpInterceptor = provider.create() - builder.interceptors.add(i) + config.httpInterceptorProviders.forEach { provider in + builder.interceptors.add(provider.create()) } builder.interceptors.add(ClientRuntime.URLPathMiddleware(UploadPartInput.urlPathProvider(_:))) builder.interceptors.add(ClientRuntime.URLHostMiddleware()) diff --git a/Package.resolved b/Package.resolved index 5abb508b28..df39ba1fc8 100644 --- a/Package.resolved +++ b/Package.resolved @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/awslabs/aws-sdk-swift.git", "state" : { - "revision" : "9658373d352717a7c06fab528a4a9d84747143a7", - "version" : "0.76.0" + "revision" : "8dc5c2b0bace8851efe1fd42d449d8eefafc0db0", + "version" : "0.76.2" } }, { @@ -50,8 +50,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/smithy-lang/smithy-swift", "state" : { - "revision" : "146b5b7ed87140d1ae86eccc070aa24ef8f23276", - "version" : "0.66.0" + "revision" : "e32c3fbbd865ac3c256a864b0563b2b759a45420", + "version" : "0.68.0" } }, { diff --git a/Package.swift b/Package.swift index 898db2e500..66827a9c26 100644 --- a/Package.swift +++ b/Package.swift @@ -9,7 +9,7 @@ let platforms: [SupportedPlatform] = [ .watchOS(.v9) ] let dependencies: [Package.Dependency] = [ - .package(url: "https://github.com/awslabs/aws-sdk-swift.git", exact: "0.76.0"), + .package(url: "https://github.com/awslabs/aws-sdk-swift.git", exact: "0.76.2"), .package(url: "https://github.com/stephencelis/SQLite.swift.git", exact: "0.15.3"), .package(url: "https://github.com/mattgallagher/CwlPreconditionTesting.git", from: "2.1.0"), .package(url: "https://github.com/aws-amplify/amplify-swift-utils-notifications.git", from: "1.1.0")