Skip to content

Commit c3a8b3f

Browse files
chore: Updates version to 1.4.0
1 parent 7f14802 commit c3a8b3f

File tree

871 files changed

+11862
-3972
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

871 files changed

+11862
-3972
lines changed

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import PackageDescription
1515

1616
// MARK: - Dynamic Content
1717

18-
let clientRuntimeVersion: Version = "0.145.0"
18+
let clientRuntimeVersion: Version = "0.146.0"
1919
let crtVersion: Version = "0.52.1"
2020

2121
let excludeRuntimeUnitTests = false
@@ -358,6 +358,7 @@ let serviceTargets: [String] = [
358358
"AWSS3Control",
359359
"AWSS3Outposts",
360360
"AWSS3Tables",
361+
"AWSS3Vectors",
361362
"AWSSES",
362363
"AWSSESv2",
363364
"AWSSFN",

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.51
1+
1.4.0

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.4.0
1+
1.4.1

Sources/Core/AWSSDKForSwift/Documentation.docc/AWSSDKForSwift.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ This SDK is open-source. Code is available on Github [here](https://github.com/
747747

748748
[AWSS3Tables](../../../../../swift/api/awss3tables/latest)
749749

750+
[AWSS3Vectors](../../../../../swift/api/awss3vectors/latest)
751+
750752
[AWSSES](../../../../../swift/api/awsses/latest)
751753

752754
[AWSSESv2](../../../../../swift/api/awssesv2/latest)

Sources/Core/AWSSDKIdentity/Sources/InternalAWSSSO/AuthSchemeResolver.swift

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import protocol SmithyHTTPAuthAPI.AuthSchemeResolverParameters
1515
import struct SmithyHTTPAuthAPI.AuthOption
1616

1717
internal struct SSOAuthSchemeResolverParameters: SmithyHTTPAuthAPI.AuthSchemeResolverParameters {
18+
public let authSchemePreference: [String]?
1819
public let operation: Swift.String
1920
// Region is used for SigV4 auth scheme
2021
public let region: Swift.String?
@@ -28,12 +29,6 @@ internal protocol SSOAuthSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver {
2829

2930
internal struct DefaultSSOAuthSchemeResolver: SSOAuthSchemeResolver {
3031

31-
public let authSchemePreference: [String]
32-
33-
public init(authSchemePreference: [String] = []) {
34-
self.authSchemePreference = authSchemePreference
35-
}
36-
3732
public func resolveAuthScheme(params: SmithyHTTPAuthAPI.AuthSchemeResolverParameters) throws -> [SmithyHTTPAuthAPI.AuthOption] {
3833
var validAuthOptions = [SmithyHTTPAuthAPI.AuthOption]()
3934
guard let serviceParams = params as? SSOAuthSchemeResolverParameters else {
@@ -51,14 +46,15 @@ internal struct DefaultSSOAuthSchemeResolver: SSOAuthSchemeResolver {
5146
sigv4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingRegion, value: region)
5247
validAuthOptions.append(sigv4Option)
5348
}
54-
return self.reprioritizeAuthOptions(authSchemePreference: authSchemePreference, authOptions: validAuthOptions)
49+
return self.reprioritizeAuthOptions(authSchemePreference: serviceParams.authSchemePreference, authOptions: validAuthOptions)
5550
}
5651

5752
public func constructParameters(context: Smithy.Context) throws -> SmithyHTTPAuthAPI.AuthSchemeResolverParameters {
5853
guard let opName = context.getOperation() else {
5954
throw Smithy.ClientError.dataNotFound("Operation name not configured in middleware context for auth scheme resolver params construction.")
6055
}
56+
let authSchemePreference = context.getAuthSchemePreference()
6157
let opRegion = context.getRegion()
62-
return SSOAuthSchemeResolverParameters(operation: opName, region: opRegion)
58+
return SSOAuthSchemeResolverParameters(authSchemePreference: authSchemePreference, operation: opName, region: opRegion)
6359
}
6460
}

Sources/Core/AWSSDKIdentity/Sources/InternalAWSSSO/SSOClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
6262

6363
internal class SSOClient: ClientRuntime.Client {
6464
public static let clientName = "SSOClient"
65-
public static let version = "1.3.51"
65+
public static let version = "1.4.0"
6666
let client: ClientRuntime.SdkHttpClient
6767
let config: SSOClient.SSOClientConfiguration
6868
let serviceName = "SSO"

Sources/Core/AWSSDKIdentity/Sources/InternalAWSSSOOIDC/AuthSchemeResolver.swift

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import protocol SmithyHTTPAuthAPI.AuthSchemeResolverParameters
1515
import struct SmithyHTTPAuthAPI.AuthOption
1616

1717
internal struct SSOOIDCAuthSchemeResolverParameters: SmithyHTTPAuthAPI.AuthSchemeResolverParameters {
18+
public let authSchemePreference: [String]?
1819
public let operation: Swift.String
1920
// Region is used for SigV4 auth scheme
2021
public let region: Swift.String?
@@ -28,12 +29,6 @@ internal protocol SSOOIDCAuthSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolve
2829

2930
internal struct DefaultSSOOIDCAuthSchemeResolver: SSOOIDCAuthSchemeResolver {
3031

31-
public let authSchemePreference: [String]
32-
33-
public init(authSchemePreference: [String] = []) {
34-
self.authSchemePreference = authSchemePreference
35-
}
36-
3732
public func resolveAuthScheme(params: SmithyHTTPAuthAPI.AuthSchemeResolverParameters) throws -> [SmithyHTTPAuthAPI.AuthOption] {
3833
var validAuthOptions = [SmithyHTTPAuthAPI.AuthOption]()
3934
guard let serviceParams = params as? SSOOIDCAuthSchemeResolverParameters else {
@@ -51,14 +46,15 @@ internal struct DefaultSSOOIDCAuthSchemeResolver: SSOOIDCAuthSchemeResolver {
5146
sigv4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingRegion, value: region)
5247
validAuthOptions.append(sigv4Option)
5348
}
54-
return self.reprioritizeAuthOptions(authSchemePreference: authSchemePreference, authOptions: validAuthOptions)
49+
return self.reprioritizeAuthOptions(authSchemePreference: serviceParams.authSchemePreference, authOptions: validAuthOptions)
5550
}
5651

5752
public func constructParameters(context: Smithy.Context) throws -> SmithyHTTPAuthAPI.AuthSchemeResolverParameters {
5853
guard let opName = context.getOperation() else {
5954
throw Smithy.ClientError.dataNotFound("Operation name not configured in middleware context for auth scheme resolver params construction.")
6055
}
56+
let authSchemePreference = context.getAuthSchemePreference()
6157
let opRegion = context.getRegion()
62-
return SSOOIDCAuthSchemeResolverParameters(operation: opName, region: opRegion)
58+
return SSOOIDCAuthSchemeResolverParameters(authSchemePreference: authSchemePreference, operation: opName, region: opRegion)
6359
}
6460
}

Sources/Core/AWSSDKIdentity/Sources/InternalAWSSSOOIDC/SSOOIDCClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
6565

6666
internal class SSOOIDCClient: ClientRuntime.Client {
6767
public static let clientName = "SSOOIDCClient"
68-
public static let version = "1.3.51"
68+
public static let version = "1.4.0"
6969
let client: ClientRuntime.SdkHttpClient
7070
let config: SSOOIDCClient.SSOOIDCClientConfiguration
7171
let serviceName = "SSO OIDC"

Sources/Core/AWSSDKIdentity/Sources/InternalAWSSTS/AuthSchemeResolver.swift

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import protocol SmithyHTTPAuthAPI.AuthSchemeResolverParameters
1515
import struct SmithyHTTPAuthAPI.AuthOption
1616

1717
internal struct STSAuthSchemeResolverParameters: SmithyHTTPAuthAPI.AuthSchemeResolverParameters {
18+
public let authSchemePreference: [String]?
1819
public let operation: Swift.String
1920
// Region is used for SigV4 auth scheme
2021
public let region: Swift.String?
@@ -28,12 +29,6 @@ internal protocol STSAuthSchemeResolver: SmithyHTTPAuthAPI.AuthSchemeResolver {
2829

2930
internal struct DefaultSTSAuthSchemeResolver: STSAuthSchemeResolver {
3031

31-
public let authSchemePreference: [String]
32-
33-
public init(authSchemePreference: [String] = []) {
34-
self.authSchemePreference = authSchemePreference
35-
}
36-
3732
public func resolveAuthScheme(params: SmithyHTTPAuthAPI.AuthSchemeResolverParameters) throws -> [SmithyHTTPAuthAPI.AuthOption] {
3833
var validAuthOptions = [SmithyHTTPAuthAPI.AuthOption]()
3934
guard let serviceParams = params as? STSAuthSchemeResolverParameters else {
@@ -51,14 +46,15 @@ internal struct DefaultSTSAuthSchemeResolver: STSAuthSchemeResolver {
5146
sigv4Option.signingProperties.set(key: SmithyHTTPAuthAPI.SigningPropertyKeys.signingRegion, value: region)
5247
validAuthOptions.append(sigv4Option)
5348
}
54-
return self.reprioritizeAuthOptions(authSchemePreference: authSchemePreference, authOptions: validAuthOptions)
49+
return self.reprioritizeAuthOptions(authSchemePreference: serviceParams.authSchemePreference, authOptions: validAuthOptions)
5550
}
5651

5752
public func constructParameters(context: Smithy.Context) throws -> SmithyHTTPAuthAPI.AuthSchemeResolverParameters {
5853
guard let opName = context.getOperation() else {
5954
throw Smithy.ClientError.dataNotFound("Operation name not configured in middleware context for auth scheme resolver params construction.")
6055
}
56+
let authSchemePreference = context.getAuthSchemePreference()
6157
let opRegion = context.getRegion()
62-
return STSAuthSchemeResolverParameters(operation: opName, region: opRegion)
58+
return STSAuthSchemeResolverParameters(authSchemePreference: authSchemePreference, operation: opName, region: opRegion)
6359
}
6460
}

Sources/Core/AWSSDKIdentity/Sources/InternalAWSSTS/STSClient.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ import typealias SmithyHTTPAuthAPI.AuthSchemes
6565

6666
internal class STSClient: ClientRuntime.Client {
6767
public static let clientName = "STSClient"
68-
public static let version = "1.3.51"
68+
public static let version = "1.4.0"
6969
let client: ClientRuntime.SdkHttpClient
7070
let config: STSClient.STSClientConfiguration
7171
let serviceName = "STS"

0 commit comments

Comments
 (0)