Skip to content

Commit c2bfd7a

Browse files
chore: Updates version to 1.5.48
1 parent 6d4cf02 commit c2bfd7a

File tree

426 files changed

+1206
-501
lines changed

Some content is hidden

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

426 files changed

+1206
-501
lines changed

Package.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.47
1+
1.5.48

Package.version.next

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.5.48
1+
1.5.49

Sources/Core/AWSSDKIdentity/InternalClients/InternalAWSCognitoIdentity/Sources/InternalAWSCognitoIdentity/CognitoIdentityClient.swift

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

6767
package class CognitoIdentityClient: ClientRuntime.Client {
6868
public static let clientName = "CognitoIdentityClient"
69-
public static let version = "1.5.47"
69+
public static let version = "1.5.48"
7070
let client: ClientRuntime.SdkHttpClient
7171
let config: CognitoIdentityClient.CognitoIdentityClientConfiguration
7272
let serviceName = "Cognito Identity"

Sources/Core/AWSSDKIdentity/InternalClients/InternalAWSSSO/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
package class SSOClient: ClientRuntime.Client {
6464
public static let clientName = "SSOClient"
65-
public static let version = "1.5.47"
65+
public static let version = "1.5.48"
6666
let client: ClientRuntime.SdkHttpClient
6767
let config: SSOClient.SSOClientConfiguration
6868
let serviceName = "SSO"

Sources/Core/AWSSDKIdentity/InternalClients/InternalAWSSSOOIDC/Sources/InternalAWSSSOOIDC/Models.swift

Lines changed: 74 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,32 @@ import protocol ClientRuntime.ModeledError
2121
@_spi(SmithyReadWrite) import struct AWSClientRuntime.RestJSONError
2222
@_spi(UnknownAWSHTTPServiceError) import struct AWSClientRuntime.UnknownAWSHTTPServiceError
2323

24+
extension SSOOIDCClientTypes {
25+
26+
package enum AccessDeniedExceptionReason: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
27+
case kmsAccessDenied
28+
case sdkUnknown(Swift.String)
29+
30+
public static var allCases: [AccessDeniedExceptionReason] {
31+
return [
32+
.kmsAccessDenied
33+
]
34+
}
35+
36+
public init?(rawValue: Swift.String) {
37+
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
38+
self = value ?? Self.sdkUnknown(rawValue)
39+
}
40+
41+
public var rawValue: Swift.String {
42+
switch self {
43+
case .kmsAccessDenied: return "KMS_AccessDeniedException"
44+
case let .sdkUnknown(s): return s
45+
}
46+
}
47+
}
48+
}
49+
2450
/// You do not have sufficient access to perform this action.
2551
package struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error, Swift.Sendable {
2652

@@ -29,6 +55,8 @@ package struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRunti
2955
public internal(set) var error: Swift.String? = nil
3056
/// Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
3157
public internal(set) var error_description: Swift.String? = nil
58+
/// A string that uniquely identifies a reason for the error.
59+
public internal(set) var reason: SSOOIDCClientTypes.AccessDeniedExceptionReason? = nil
3260
}
3361

3462
public internal(set) var properties = Properties()
@@ -42,10 +70,12 @@ package struct AccessDeniedException: ClientRuntime.ModeledError, AWSClientRunti
4270

4371
public init(
4472
error: Swift.String? = nil,
45-
error_description: Swift.String? = nil
73+
error_description: Swift.String? = nil,
74+
reason: SSOOIDCClientTypes.AccessDeniedExceptionReason? = nil
4675
) {
4776
self.properties.error = error
4877
self.properties.error_description = error_description
78+
self.properties.reason = reason
4979
}
5080
}
5181

@@ -189,6 +219,41 @@ package struct InvalidGrantException: ClientRuntime.ModeledError, AWSClientRunti
189219
}
190220
}
191221

222+
extension SSOOIDCClientTypes {
223+
224+
package enum InvalidRequestExceptionReason: Swift.Sendable, Swift.Equatable, Swift.RawRepresentable, Swift.CaseIterable, Swift.Hashable {
225+
case kmsDisabledKey
226+
case kmsInvalidKeyUsage
227+
case kmsInvalidState
228+
case kmsKeyNotFound
229+
case sdkUnknown(Swift.String)
230+
231+
public static var allCases: [InvalidRequestExceptionReason] {
232+
return [
233+
.kmsDisabledKey,
234+
.kmsInvalidKeyUsage,
235+
.kmsInvalidState,
236+
.kmsKeyNotFound
237+
]
238+
}
239+
240+
public init?(rawValue: Swift.String) {
241+
let value = Self.allCases.first(where: { $0.rawValue == rawValue })
242+
self = value ?? Self.sdkUnknown(rawValue)
243+
}
244+
245+
public var rawValue: Swift.String {
246+
switch self {
247+
case .kmsDisabledKey: return "KMS_DisabledException"
248+
case .kmsInvalidKeyUsage: return "KMS_InvalidKeyUsageException"
249+
case .kmsInvalidState: return "KMS_InvalidStateException"
250+
case .kmsKeyNotFound: return "KMS_NotFoundException"
251+
case let .sdkUnknown(s): return s
252+
}
253+
}
254+
}
255+
}
256+
192257
/// Indicates that something is wrong with the input to the request. For example, a required parameter might be missing or out of range.
193258
package struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRuntime.AWSServiceError, ClientRuntime.HTTPError, Swift.Error, Swift.Sendable {
194259

@@ -197,6 +262,8 @@ package struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRun
197262
public internal(set) var error: Swift.String? = nil
198263
/// Human-readable text providing additional information, used to assist the client developer in understanding the error that occurred.
199264
public internal(set) var error_description: Swift.String? = nil
265+
/// A string that uniquely identifies a reason for the error.
266+
public internal(set) var reason: SSOOIDCClientTypes.InvalidRequestExceptionReason? = nil
200267
}
201268

202269
public internal(set) var properties = Properties()
@@ -210,10 +277,12 @@ package struct InvalidRequestException: ClientRuntime.ModeledError, AWSClientRun
210277

211278
public init(
212279
error: Swift.String? = nil,
213-
error_description: Swift.String? = nil
280+
error_description: Swift.String? = nil,
281+
reason: SSOOIDCClientTypes.InvalidRequestExceptionReason? = nil
214282
) {
215283
self.properties.error = error
216284
self.properties.error_description = error_description
285+
self.properties.reason = reason
217286
}
218287
}
219288

@@ -349,7 +418,7 @@ package struct CreateTokenInput: Swift.Sendable {
349418
public var redirectUri: Swift.String?
350419
/// Used only when calling this API for the Refresh Token grant type. This token is used to refresh short-lived tokens, such as the access token, that might expire. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the [IAM Identity Center OIDC API Reference](https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html).
351420
public var refreshToken: Swift.String?
352-
/// The list of scopes for which authorization is requested. The access token that is issued is limited to the scopes that are granted. If this value is not specified, IAM Identity Center authorizes all scopes that are configured for the client during the call to [RegisterClient].
421+
/// The list of scopes for which authorization is requested. This parameter has no effect; the access token will always include all scopes configured during client registration.
353422
public var scope: [Swift.String]?
354423

355424
public init(
@@ -482,6 +551,7 @@ extension AccessDeniedException {
482551
var value = AccessDeniedException()
483552
value.properties.error = try reader["error"].readIfPresent()
484553
value.properties.error_description = try reader["error_description"].readIfPresent()
554+
value.properties.reason = try reader["reason"].readIfPresent()
485555
value.httpResponse = baseError.httpResponse
486556
value.requestID = baseError.requestID
487557
value.message = baseError.message
@@ -566,6 +636,7 @@ extension InvalidRequestException {
566636
var value = InvalidRequestException()
567637
value.properties.error = try reader["error"].readIfPresent()
568638
value.properties.error_description = try reader["error_description"].readIfPresent()
639+
value.properties.reason = try reader["reason"].readIfPresent()
569640
value.httpResponse = baseError.httpResponse
570641
value.requestID = baseError.requestID
571642
value.message = baseError.message

Sources/Core/AWSSDKIdentity/InternalClients/InternalAWSSSOOIDC/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
package class SSOOIDCClient: ClientRuntime.Client {
6767
public static let clientName = "SSOOIDCClient"
68-
public static let version = "1.5.47"
68+
public static let version = "1.5.48"
6969
let client: ClientRuntime.SdkHttpClient
7070
let config: SSOOIDCClient.SSOOIDCClientConfiguration
7171
let serviceName = "SSO OIDC"

Sources/Core/AWSSDKIdentity/InternalClients/InternalAWSSTS/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
package class STSClient: ClientRuntime.Client {
6767
public static let clientName = "STSClient"
68-
public static let version = "1.5.47"
68+
public static let version = "1.5.48"
6969
let client: ClientRuntime.SdkHttpClient
7070
let config: STSClient.STSClientConfiguration
7171
let serviceName = "STS"

Sources/Core/AWSSDKPartitions/Sources/AWSSDKPartitions/Partitions.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public let partitions = #"""
172172
"dualStackDnsSuffix" : "api.aws.ic.gov",
173173
"implicitGlobalRegion" : "us-iso-east-1",
174174
"name" : "aws-iso",
175-
"supportsDualStack" : false,
175+
"supportsDualStack" : true,
176176
"supportsFIPS" : true
177177
},
178178
"regionRegex" : "^us\\-iso\\-\\w+\\-\\d+$",
@@ -194,7 +194,7 @@ public let partitions = #"""
194194
"dualStackDnsSuffix" : "api.aws.scloud",
195195
"implicitGlobalRegion" : "us-isob-east-1",
196196
"name" : "aws-iso-b",
197-
"supportsDualStack" : false,
197+
"supportsDualStack" : true,
198198
"supportsFIPS" : true
199199
},
200200
"regionRegex" : "^us\\-isob\\-\\w+\\-\\d+$",
@@ -213,7 +213,7 @@ public let partitions = #"""
213213
"dualStackDnsSuffix" : "api.cloud-aws.adc-e.uk",
214214
"implicitGlobalRegion" : "eu-isoe-west-1",
215215
"name" : "aws-iso-e",
216-
"supportsDualStack" : false,
216+
"supportsDualStack" : true,
217217
"supportsFIPS" : true
218218
},
219219
"regionRegex" : "^eu\\-isoe\\-\\w+\\-\\d+$",
@@ -232,7 +232,7 @@ public let partitions = #"""
232232
"dualStackDnsSuffix" : "api.aws.hci.ic.gov",
233233
"implicitGlobalRegion" : "us-isof-south-1",
234234
"name" : "aws-iso-f",
235-
"supportsDualStack" : false,
235+
"supportsDualStack" : true,
236236
"supportsFIPS" : true
237237
},
238238
"regionRegex" : "^us\\-isof\\-\\w+\\-\\d+$",

Sources/Services/AWSACM/Sources/AWSACM/ACMClient.swift

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

6868
public class ACMClient: ClientRuntime.Client {
6969
public static let clientName = "ACMClient"
70-
public static let version = "1.5.47"
70+
public static let version = "1.5.48"
7171
let client: ClientRuntime.SdkHttpClient
7272
let config: ACMClient.ACMClientConfiguration
7373
let serviceName = "ACM"

Sources/Services/AWSACMPCA/Sources/AWSACMPCA/ACMPCAClient.swift

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

6868
public class ACMPCAClient: ClientRuntime.Client {
6969
public static let clientName = "ACMPCAClient"
70-
public static let version = "1.5.47"
70+
public static let version = "1.5.48"
7171
let client: ClientRuntime.SdkHttpClient
7272
let config: ACMPCAClient.ACMPCAClientConfiguration
7373
let serviceName = "ACM PCA"

0 commit comments

Comments
 (0)