Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Regenerate SDK #1398

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ func addIntegrationTestTarget(_ name: String) {
var additionalDependencies: [String] = []
var exclusions: [String] = []
switch name {
case "AWSEC2":
additionalDependencies = ["AWSIAM", "AWSSTS", "AWSCloudWatchLogs"]
exclusions = [
"Resources/IMDSIntegTestApp"
]
case "AWSECS":
additionalDependencies = ["AWSCloudWatchLogs", "AWSEC2", "AWSIAM", "AWSSTS"]
exclusions = [
Expand Down Expand Up @@ -629,6 +634,7 @@ addAllServices()

let servicesWithIntegrationTests: [String] = [
"AWSCloudFrontKeyValueStore",
"AWSEC2",
"AWSECS",
"AWSEventBridge",
"AWSKinesis",
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSACM/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSACMPCA/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAPIGateway/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSARCZonalShift/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAccessAnalyzer/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAccount/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAlexaForBusiness/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAmp/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAmplify/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAmplifyBackend/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAmplifyUIBuilder/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSApiGatewayV2/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAppConfig/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAppConfigData/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAppFabric/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAppIntegrations/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAppMesh/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAppRunner/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
2 changes: 2 additions & 0 deletions Sources/Services/AWSAppStream/EndpointResolver.swift
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,11 @@ public struct EndpointResolverMiddleware<OperationStackOutput>: ClientRuntime.Mi

if let signingRegion = signingRegion {
context.attributes.set(key: AttributeKeys.signingRegion, value: signingRegion)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingRegion, value: signingRegion))
}
if let signingName = signingName {
context.attributes.set(key: AttributeKeys.signingName, value: signingName)
context.attributes.set(key: AttributeKeys.selectedAuthScheme, value: context.getSelectedAuthScheme()?.getCopyWithUpdatedSigningProperty(key: AttributeKeys.signingName, value: signingName))
}
if let signingAlgorithm = signingAlgorithm {
context.attributes.set(key: AttributeKeys.signingAlgorithm, value: AWSSigningAlgorithm(rawValue: signingAlgorithm))
Expand Down
Loading
Loading