You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSClientRuntimeTypes.kt
Copy file name to clipboardExpand all lines: codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/AWSServiceConfig.kt
documentation ="The endpoint resolver used to resolve endpoints."
85
80
),
86
-
ConfigField(REGION_RESOLVER, AWSClientRuntimeTypes.Core.RegionResolver, documentation ="The region resolver uses an array of region providers to resolve the region.")
81
+
ConfigField(
82
+
FRAMEWORK_METADATA,
83
+
AWSClientRuntimeTypes.Core.FrameworkMetadata,
84
+
formatter ="\$T",
85
+
documentation ="Contains information to inject lib/ into user-agent"
86
+
),
87
+
ConfigField(
88
+
REGION_CONFIG_NAME,
89
+
SwiftTypes.String,
90
+
"\$T",
91
+
"The region to send requests to. (Required)"
92
+
),
93
+
ConfigField(REGION_RESOLVER, AWSClientRuntimeTypes.Core.RegionResolver, documentation ="The region resolver uses an array of region providers to resolve the region."),
94
+
ConfigField(SIGNING_REGION_CONFIG_NAME, SwiftTypes.String, "\$T", "The region to sign requests in. (Required)")
Copy file name to clipboardExpand all lines: codegen/smithy-aws-swift-codegen/src/main/kotlin/software/amazon/smithy/aws/swift/codegen/middleware/UserAgentMiddleware.kt
Copy file name to clipboardExpand all lines: codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/PresignerGeneratorTests.kt
Copy file name to clipboardExpand all lines: codegen/smithy-aws-swift-codegen/src/test/kotlin/software/amazon/smithy/aws/swift/codegen/RestJsonProtocolGeneratorTests.kt
+5-1
Original file line number
Diff line number
Diff line change
@@ -119,13 +119,15 @@ class RestJsonProtocolGeneratorTests {
119
119
120
120
public var credentialsProvider: AWSClientRuntime.CredentialsProvider
121
121
public var endpointResolver: AWSClientRuntime.EndpointResolver
122
+
public var frameworkMetadata: AWSClientRuntime.FrameworkMetadata?
122
123
public var region: Swift.String?
123
124
public var regionResolver: AWSClientRuntime.RegionResolver
0 commit comments