@cdk8s/awscdk-resolver 0.0.63 → 0.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.browser.js +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/runtimeConfig.js +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.browser.js +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/runtimeConfig.js +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +4 -4
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.browser.d.ts +1 -4
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.d.ts +1 -4
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/runtimeConfig.native.d.ts +1 -4
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +3 -3
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
  15. package/node_modules/@aws-sdk/client-cloudformation/package.json +35 -35
  16. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.browser.js +1 -1
  17. package/node_modules/@aws-sdk/client-sso/dist-cjs/runtimeConfig.js +1 -1
  18. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.browser.js +1 -1
  19. package/node_modules/@aws-sdk/client-sso/dist-es/runtimeConfig.js +1 -1
  20. package/node_modules/@aws-sdk/client-sso/dist-types/SSOClient.d.ts +4 -4
  21. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.browser.d.ts +1 -4
  22. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.d.ts +1 -4
  23. package/node_modules/@aws-sdk/client-sso/dist-types/runtimeConfig.native.d.ts +1 -4
  24. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSOClient.d.ts +3 -3
  25. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
  26. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
  27. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
  28. package/node_modules/@aws-sdk/client-sso/package.json +32 -32
  29. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.browser.js +1 -1
  30. package/node_modules/@aws-sdk/client-sso-oidc/dist-cjs/runtimeConfig.js +1 -1
  31. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.browser.js +1 -1
  32. package/node_modules/@aws-sdk/client-sso-oidc/dist-es/runtimeConfig.js +1 -1
  33. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/SSOOIDCClient.d.ts +4 -4
  34. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.browser.d.ts +1 -4
  35. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.d.ts +1 -4
  36. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/runtimeConfig.native.d.ts +1 -4
  37. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/SSOOIDCClient.d.ts +3 -3
  38. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
  39. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
  40. package/node_modules/@aws-sdk/client-sso-oidc/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
  41. package/node_modules/@aws-sdk/client-sso-oidc/package.json +34 -34
  42. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.browser.js +1 -1
  43. package/node_modules/@aws-sdk/client-sts/dist-cjs/runtimeConfig.js +1 -1
  44. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.browser.js +1 -1
  45. package/node_modules/@aws-sdk/client-sts/dist-es/runtimeConfig.js +1 -1
  46. package/node_modules/@aws-sdk/client-sts/dist-types/STSClient.d.ts +4 -4
  47. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.browser.d.ts +1 -4
  48. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.d.ts +1 -4
  49. package/node_modules/@aws-sdk/client-sts/dist-types/runtimeConfig.native.d.ts +1 -4
  50. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/STSClient.d.ts +3 -3
  51. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -13
  52. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.d.ts +2 -14
  53. package/node_modules/@aws-sdk/client-sts/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -13
  54. package/node_modules/@aws-sdk/client-sts/package.json +33 -33
  55. package/node_modules/@aws-sdk/core/CHANGELOG.md +22 -0
  56. package/node_modules/@aws-sdk/core/dist-cjs/index.js +7 -8
  57. package/node_modules/@aws-sdk/core/dist-es/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +5 -0
  58. package/node_modules/@aws-sdk/core/integ/request-handlers/request-handlers.integ.spec.ts +158 -0
  59. package/node_modules/@aws-sdk/core/jest.config.integ.js +4 -0
  60. package/node_modules/@aws-sdk/core/package.json +8 -7
  61. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.spec.ts +30 -0
  62. package/node_modules/@aws-sdk/core/src/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +10 -8
  63. package/node_modules/@aws-sdk/core/tsconfig.cjs.tsbuildinfo +1 -1
  64. package/node_modules/@aws-sdk/core/tsconfig.es.tsbuildinfo +1 -1
  65. package/node_modules/@aws-sdk/core/tsconfig.types.tsbuildinfo +1 -1
  66. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  67. package/node_modules/@aws-sdk/credential-provider-http/package.json +9 -9
  68. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  69. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  70. package/node_modules/@aws-sdk/credential-provider-process/package.json +5 -5
  71. package/node_modules/@aws-sdk/credential-provider-sso/package.json +7 -7
  72. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  73. package/node_modules/@aws-sdk/middleware-host-header/package.json +4 -4
  74. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -3
  75. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +4 -4
  76. package/node_modules/@aws-sdk/middleware-user-agent/package.json +5 -5
  77. package/node_modules/@aws-sdk/region-config-resolver/package.json +5 -5
  78. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  79. package/node_modules/@aws-sdk/types/package.json +2 -2
  80. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  81. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -3
  82. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -4
  83. package/node_modules/@smithy/abort-controller/dist-cjs/index.js +1 -4
  84. package/node_modules/@smithy/abort-controller/package.json +2 -2
  85. package/node_modules/@smithy/config-resolver/dist-cjs/index.js +10 -10
  86. package/node_modules/@smithy/config-resolver/package.json +4 -4
  87. package/node_modules/@smithy/core/package.json +8 -8
  88. package/node_modules/@smithy/credential-provider-imds/dist-cjs/index.js +5 -5
  89. package/node_modules/@smithy/credential-provider-imds/package.json +5 -5
  90. package/node_modules/@smithy/eventstream-codec/package.json +2 -2
  91. package/node_modules/@smithy/fetch-http-handler/dist-cjs/index.js +1 -1
  92. package/node_modules/@smithy/fetch-http-handler/package.json +5 -5
  93. package/node_modules/@smithy/hash-node/package.json +2 -2
  94. package/node_modules/@smithy/invalid-dependency/package.json +2 -2
  95. package/node_modules/@smithy/middleware-content-length/package.json +4 -4
  96. package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +4 -4
  97. package/node_modules/@smithy/middleware-endpoint/package.json +7 -7
  98. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +11 -10
  99. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -0
  100. package/node_modules/@smithy/middleware-retry/dist-types/configurations.d.ts +7 -2
  101. package/node_modules/@smithy/middleware-retry/dist-types/retryDecider.d.ts +3 -0
  102. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/configurations.d.ts +7 -2
  103. package/node_modules/@smithy/middleware-retry/dist-types/ts3.4/retryDecider.d.ts +3 -0
  104. package/node_modules/@smithy/middleware-retry/package.json +9 -9
  105. package/node_modules/@smithy/middleware-serde/dist-cjs/index.js +2 -2
  106. package/node_modules/@smithy/middleware-serde/package.json +3 -3
  107. package/node_modules/@smithy/middleware-stack/package.json +2 -2
  108. package/node_modules/@smithy/node-config-provider/package.json +4 -4
  109. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +54 -4
  110. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +41 -3
  111. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +12 -0
  112. package/node_modules/@smithy/node-http-handler/dist-types/ts3.4/node-http-handler.d.ts +11 -0
  113. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  114. package/node_modules/@smithy/property-provider/package.json +2 -2
  115. package/node_modules/@smithy/protocol-http/dist-cjs/index.js +3 -3
  116. package/node_modules/@smithy/protocol-http/dist-types/httpHandler.d.ts +22 -3
  117. package/node_modules/@smithy/protocol-http/dist-types/ts3.4/httpHandler.d.ts +20 -1
  118. package/node_modules/@smithy/protocol-http/package.json +2 -2
  119. package/node_modules/@smithy/querystring-builder/package.json +2 -2
  120. package/node_modules/@smithy/querystring-parser/package.json +2 -2
  121. package/node_modules/@smithy/service-error-classification/dist-cjs/index.js +10 -4
  122. package/node_modules/@smithy/service-error-classification/dist-es/index.js +3 -1
  123. package/node_modules/@smithy/service-error-classification/dist-types/index.d.ts +7 -0
  124. package/node_modules/@smithy/service-error-classification/dist-types/ts3.4/index.d.ts +7 -0
  125. package/node_modules/@smithy/service-error-classification/package.json +2 -2
  126. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js +7 -7
  127. package/node_modules/@smithy/shared-ini-file-loader/dist-es/getSsoSessionData.js +1 -1
  128. package/node_modules/@smithy/shared-ini-file-loader/package.json +2 -2
  129. package/node_modules/@smithy/signature-v4/dist-cjs/index.js +5 -5
  130. package/node_modules/@smithy/signature-v4/package.json +5 -5
  131. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +38 -38
  132. package/node_modules/@smithy/smithy-client/dist-types/client.d.ts +6 -3
  133. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/client.d.ts +6 -3
  134. package/node_modules/@smithy/smithy-client/package.json +6 -6
  135. package/node_modules/@smithy/types/dist-cjs/index.js +7 -7
  136. package/node_modules/@smithy/types/dist-types/http/httpHandlerInitialization.d.ts +18 -4
  137. package/node_modules/@smithy/types/dist-types/retry.d.ts +6 -1
  138. package/node_modules/@smithy/types/dist-types/shapes.d.ts +10 -1
  139. package/node_modules/@smithy/types/dist-types/ts3.4/http/httpHandlerInitialization.d.ts +18 -4
  140. package/node_modules/@smithy/types/dist-types/ts3.4/retry.d.ts +6 -1
  141. package/node_modules/@smithy/types/dist-types/ts3.4/shapes.d.ts +10 -1
  142. package/node_modules/@smithy/types/package.json +1 -1
  143. package/node_modules/@smithy/url-parser/package.json +3 -3
  144. package/node_modules/@smithy/util-defaults-mode-browser/package.json +4 -4
  145. package/node_modules/@smithy/util-defaults-mode-node/package.json +7 -7
  146. package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +3 -3
  147. package/node_modules/@smithy/util-endpoints/package.json +3 -3
  148. package/node_modules/@smithy/util-middleware/package.json +2 -2
  149. package/node_modules/@smithy/util-retry/dist-cjs/index.js +10 -10
  150. package/node_modules/@smithy/util-retry/package.json +3 -3
  151. package/node_modules/@smithy/util-stream/package.json +5 -5
  152. package/node_modules/@smithy/util-waiter/dist-cjs/index.js +3 -3
  153. package/node_modules/@smithy/util-waiter/package.json +3 -3
  154. package/package.json +5 -5
package/.jsii CHANGED
@@ -3585,7 +3585,7 @@
3585
3585
  "stability": "stable"
3586
3586
  },
3587
3587
  "homepage": "https://github.com/cdk8s-team/cdk8s-awscdk-resolver.git",
3588
- "jsiiVersion": "5.3.20 (build b624106)",
3588
+ "jsiiVersion": "5.3.23 (build 3518248)",
3589
3589
  "license": "Apache-2.0",
3590
3590
  "metadata": {
3591
3591
  "jsii": {
@@ -3674,6 +3674,6 @@
3674
3674
  "symbolId": "src/resolve:AwsCdkResolver"
3675
3675
  }
3676
3676
  },
3677
- "version": "0.0.63",
3678
- "fingerprint": "5FLo8/mEvVIrorWm4TlAJ8xBV/Q2Gc0LrHep2ups/sI="
3677
+ "version": "0.0.65",
3678
+ "fingerprint": "bGd/WGvkjBLb96feheKyADiYVvKSjgeBbIllgAKoPN0="
3679
3679
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.63" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.65" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5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ZmZlcmVudCBzdGFjayB0aGFuIHRoZSB0b2tlbnMgY29tcHJpc2luZyBpdHMgdmFsdWUuXG4gICAgLy8gIDMuIE5vbmUgb2YgdGhlIHRva2VucyBjb21wcmlzaW5nIHRoZSB2YWx1ZSBhcmUgYSBSZWZlcmVuY2UuXG4gICAgdGhyb3cgbmV3IEVycm9yKGBVbmFibGUgdG8gZmluZCBvdXRwdXQgZGVmaW5lZCBmb3IgJHt2YWx1ZX0gKEluc3BlY3RlZCBzdGFja3M6ICR7aW5zcGVjdGVkU3RhY2tzLm1hcChzID0+IHMuc3RhY2tOYW1lKS5qb2luKCcsJyl9KWApO1xuXG4gIH1cblxuICBwcml2YXRlIGZldGNoT3V0cHV0VmFsdWUob3V0cHV0OiBDZm5PdXRwdXQpIHtcblxuICAgIGNvbnN0IHNjcmlwdCA9IHBhdGguam9pbihfX2Rpcm5hbWUsICcuLicsICdsaWInLCAnZmV0Y2gtb3V0cHV0LXZhbHVlLmpzJyk7XG4gICAgcmV0dXJuIEpTT04ucGFyc2UoZXhlY0ZpbGVTeW5jKHByb2Nlc3MuZXhlY1BhdGgsIFtcbiAgICAgIHNjcmlwdCxcbiAgICAgIFN0YWNrLm9mKG91dHB1dCkuc3RhY2tOYW1lLFxuICAgICAgb3V0cHV0Lm5vZGUuaWQsXG4gICAgXSwgeyBlbmNvZGluZzogJ3V0Zi04Jywgc3RkaW86IFsncGlwZSddIH0pLnRvU3RyaW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -28,7 +28,7 @@ const getRuntimeConfig = (config) => {
28
28
  (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
29
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
30
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
- requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
32
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
33
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
34
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
@@ -34,7 +34,7 @@ const getRuntimeConfig = (config) => {
34
34
  (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
35
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
36
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
- requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
37
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
38
  retryMode: config?.retryMode ??
39
39
  (0, node_config_provider_1.loadConfig)({
40
40
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -24,7 +24,7 @@ export const getRuntimeConfig = (config) => {
24
24
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
25
25
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
26
26
  region: config?.region ?? invalidProvider("Region is missing"),
27
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
27
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
28
28
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
29
29
  sha256: config?.sha256 ?? Sha256,
30
30
  streamCollector: config?.streamCollector ?? streamCollector,
@@ -30,7 +30,7 @@ export const getRuntimeConfig = (config) => {
30
30
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
31
31
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
32
32
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
33
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
33
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
34
34
  retryMode: config?.retryMode ??
35
35
  loadNodeConfig({
36
36
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
3
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
4
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
@@ -102,11 +102,11 @@ export type ServiceOutputTypes = ActivateOrganizationsAccessCommandOutput | Acti
102
102
  /**
103
103
  * @public
104
104
  */
105
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
105
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
106
106
  /**
107
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
107
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
108
108
  */
109
- requestHandler?: __HttpHandler;
109
+ requestHandler?: __HttpHandlerUserInput;
110
110
  /**
111
111
  * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
112
112
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -11,10 +11,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
11
11
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
15
- updateHttpClientConfig(key: never, value: never): void;
16
- httpHandlerConfigs(): {};
17
- }) | RequestHandler;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
18
15
  retryMode: string | import("@smithy/types").Provider<string>;
19
16
  sha256: import("@smithy/types").HashConstructor;
20
17
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,10 +5,7 @@ import { CloudFormationClientConfig } from "./CloudFormationClient";
5
5
  export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
- updateHttpClientConfig(key: never, value: never): void;
10
- httpHandlerConfigs(): {};
11
- }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
9
  apiVersion: string;
13
10
  urlParser: import("@smithy/types").UrlParser;
14
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -18,7 +18,7 @@ import {
18
18
  RetryInputConfig,
19
19
  RetryResolvedConfig,
20
20
  } from "@smithy/middleware-retry";
21
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
23
  Client as __Client,
24
24
  DefaultsMode as __DefaultsMode,
@@ -541,8 +541,8 @@ export type ServiceOutputTypes =
541
541
  | UpdateTerminationProtectionCommandOutput
542
542
  | ValidateTemplateCommandOutput;
543
543
  export interface ClientDefaults
544
- extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
545
- requestHandler?: __HttpHandler;
544
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
545
+ requestHandler?: __HttpHandlerUserInput;
546
546
  sha256?: __ChecksumConstructor | __HashConstructor;
547
547
  urlParser?: __UrlParser;
548
548
  bodyLengthChecker?: __BodyLengthCalculator;
@@ -15,19 +15,7 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
15
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
16
16
  region: string | import("@smithy/types").Provider<any>;
17
17
  requestHandler:
18
- | (import("@smithy/types").RequestHandler<
19
- any,
20
- any,
21
- import("@smithy/types").HttpHandlerOptions
22
- > &
23
- import("@smithy/types").RequestHandler<
24
- import("@smithy/protocol-http").HttpRequest,
25
- import("@smithy/protocol-http").HttpResponse,
26
- import("@smithy/types").HttpHandlerOptions
27
- > & {
28
- updateHttpClientConfig(key: never, value: never): void;
29
- httpHandlerConfigs(): {};
30
- })
18
+ | import("@smithy/protocol-http").HttpHandler<any>
31
19
  | RequestHandler;
32
20
  retryMode: string | import("@smithy/types").Provider<string>;
33
21
  sha256: import("@smithy/types").HashConstructor;
@@ -19,20 +19,8 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
19
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
20
  region: string | import("@smithy/types").Provider<string>;
21
21
  requestHandler:
22
- | (import("@smithy/types").RequestHandler<
23
- any,
24
- any,
25
- import("@smithy/types").HttpHandlerOptions
26
- > &
27
- import("@smithy/types").RequestHandler<
28
- import("@smithy/protocol-http").HttpRequest,
29
- import("@smithy/protocol-http").HttpResponse,
30
- import("@smithy/types").HttpHandlerOptions
31
- > & {
32
- updateHttpClientConfig(key: never, value: never): void;
33
- httpHandlerConfigs(): {};
34
- })
35
- | RequestHandler;
22
+ | RequestHandler
23
+ | import("@smithy/protocol-http").HttpHandler<any>;
36
24
  retryMode: string | import("@smithy/types").Provider<string>;
37
25
  sha256: import("@smithy/types").HashConstructor;
38
26
  streamCollector: import("@smithy/types").StreamCollector;
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: CloudFormationClientConfig) => {
3
3
  runtime: string;
4
4
  sha256: import("@smithy/types").HashConstructor;
5
5
  requestHandler:
6
- | (import("@smithy/types").RequestHandler<
7
- any,
8
- any,
9
- import("@smithy/types").HttpHandlerOptions
10
- > &
11
- import("@smithy/types").RequestHandler<
12
- import("@smithy/protocol-http").HttpRequest,
13
- import("@smithy/protocol-http").HttpResponse,
14
- import("@smithy/types").HttpHandlerOptions
15
- > & {
16
- updateHttpClientConfig(key: never, value: never): void;
17
- httpHandlerConfigs(): {};
18
- })
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
19
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
20
11
  apiVersion: string;
21
12
  urlParser: import("@smithy/types").UrlParser;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudformation",
3
3
  "description": "AWS SDK for JavaScript Cloudformation Client for Node.js, Browser and React Native",
4
- "version": "3.515.0",
4
+ "version": "3.523.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cloudformation",
@@ -20,44 +20,44 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.515.0",
24
- "@aws-sdk/core": "3.513.0",
25
- "@aws-sdk/credential-provider-node": "3.515.0",
26
- "@aws-sdk/middleware-host-header": "3.515.0",
27
- "@aws-sdk/middleware-logger": "3.515.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.515.0",
29
- "@aws-sdk/middleware-user-agent": "3.515.0",
30
- "@aws-sdk/region-config-resolver": "3.515.0",
31
- "@aws-sdk/types": "3.515.0",
32
- "@aws-sdk/util-endpoints": "3.515.0",
33
- "@aws-sdk/util-user-agent-browser": "3.515.0",
34
- "@aws-sdk/util-user-agent-node": "3.515.0",
35
- "@smithy/config-resolver": "^2.1.1",
36
- "@smithy/core": "^1.3.2",
37
- "@smithy/fetch-http-handler": "^2.4.1",
38
- "@smithy/hash-node": "^2.1.1",
39
- "@smithy/invalid-dependency": "^2.1.1",
40
- "@smithy/middleware-content-length": "^2.1.1",
41
- "@smithy/middleware-endpoint": "^2.4.1",
42
- "@smithy/middleware-retry": "^2.1.1",
43
- "@smithy/middleware-serde": "^2.1.1",
44
- "@smithy/middleware-stack": "^2.1.1",
45
- "@smithy/node-config-provider": "^2.2.1",
46
- "@smithy/node-http-handler": "^2.3.1",
47
- "@smithy/protocol-http": "^3.1.1",
48
- "@smithy/smithy-client": "^2.3.1",
49
- "@smithy/types": "^2.9.1",
50
- "@smithy/url-parser": "^2.1.1",
23
+ "@aws-sdk/client-sts": "3.523.0",
24
+ "@aws-sdk/core": "3.523.0",
25
+ "@aws-sdk/credential-provider-node": "3.523.0",
26
+ "@aws-sdk/middleware-host-header": "3.523.0",
27
+ "@aws-sdk/middleware-logger": "3.523.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
+ "@aws-sdk/middleware-user-agent": "3.523.0",
30
+ "@aws-sdk/region-config-resolver": "3.523.0",
31
+ "@aws-sdk/types": "3.523.0",
32
+ "@aws-sdk/util-endpoints": "3.523.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.523.0",
34
+ "@aws-sdk/util-user-agent-node": "3.523.0",
35
+ "@smithy/config-resolver": "^2.1.3",
36
+ "@smithy/core": "^1.3.4",
37
+ "@smithy/fetch-http-handler": "^2.4.3",
38
+ "@smithy/hash-node": "^2.1.3",
39
+ "@smithy/invalid-dependency": "^2.1.3",
40
+ "@smithy/middleware-content-length": "^2.1.3",
41
+ "@smithy/middleware-endpoint": "^2.4.3",
42
+ "@smithy/middleware-retry": "^2.1.3",
43
+ "@smithy/middleware-serde": "^2.1.3",
44
+ "@smithy/middleware-stack": "^2.1.3",
45
+ "@smithy/node-config-provider": "^2.2.3",
46
+ "@smithy/node-http-handler": "^2.4.1",
47
+ "@smithy/protocol-http": "^3.2.1",
48
+ "@smithy/smithy-client": "^2.4.1",
49
+ "@smithy/types": "^2.10.1",
50
+ "@smithy/url-parser": "^2.1.3",
51
51
  "@smithy/util-base64": "^2.1.1",
52
52
  "@smithy/util-body-length-browser": "^2.1.1",
53
53
  "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.1",
55
- "@smithy/util-defaults-mode-node": "^2.2.0",
56
- "@smithy/util-endpoints": "^1.1.1",
57
- "@smithy/util-middleware": "^2.1.1",
58
- "@smithy/util-retry": "^2.1.1",
54
+ "@smithy/util-defaults-mode-browser": "^2.1.3",
55
+ "@smithy/util-defaults-mode-node": "^2.2.2",
56
+ "@smithy/util-endpoints": "^1.1.3",
57
+ "@smithy/util-middleware": "^2.1.3",
58
+ "@smithy/util-retry": "^2.1.3",
59
59
  "@smithy/util-utf8": "^2.1.1",
60
- "@smithy/util-waiter": "^2.1.1",
60
+ "@smithy/util-waiter": "^2.1.3",
61
61
  "fast-xml-parser": "4.2.5",
62
62
  "tslib": "^2.5.0",
63
63
  "uuid": "^9.0.1"
@@ -27,7 +27,7 @@ const getRuntimeConfig = (config) => {
27
27
  (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
28
  maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
29
29
  region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
30
- requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
30
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
31
31
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
32
32
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
33
33
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
@@ -32,7 +32,7 @@ const getRuntimeConfig = (config) => {
32
32
  (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
33
33
  maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
34
34
  region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
35
- requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
35
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
36
36
  retryMode: config?.retryMode ??
37
37
  (0, node_config_provider_1.loadConfig)({
38
38
  ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -23,7 +23,7 @@ export const getRuntimeConfig = (config) => {
23
23
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
24
24
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
25
25
  region: config?.region ?? invalidProvider("Region is missing"),
26
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
26
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
27
27
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
28
28
  sha256: config?.sha256 ?? Sha256,
29
29
  streamCollector: config?.streamCollector ?? streamCollector,
@@ -28,7 +28,7 @@ export const getRuntimeConfig = (config) => {
28
28
  defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
29
29
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
30
30
  region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
31
- requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
31
+ requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
32
  retryMode: config?.retryMode ??
33
33
  loadNodeConfig({
34
34
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
@@ -3,7 +3,7 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
3
3
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
4
  import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
6
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
8
  import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
@@ -25,11 +25,11 @@ export type ServiceOutputTypes = GetRoleCredentialsCommandOutput | ListAccountRo
25
25
  /**
26
26
  * @public
27
27
  */
28
- export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
28
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
29
29
  /**
30
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
30
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
31
31
  */
32
- requestHandler?: __HttpHandler;
32
+ requestHandler?: __HttpHandlerUserInput;
33
33
  /**
34
34
  * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
35
35
  * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
@@ -10,10 +10,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
10
10
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
12
  region: string | import("@smithy/types").Provider<any>;
13
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
14
- updateHttpClientConfig(key: never, value: never): void;
15
- httpHandlerConfigs(): {};
16
- }) | RequestHandler;
13
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
17
14
  retryMode: string | import("@smithy/types").Provider<string>;
18
15
  sha256: import("@smithy/types").HashConstructor;
19
16
  streamCollector: import("@smithy/types").StreamCollector;
@@ -10,10 +10,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
10
10
  defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
11
11
  maxAttempts: number | import("@smithy/types").Provider<number>;
12
12
  region: string | import("@smithy/types").Provider<string>;
13
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
14
- updateHttpClientConfig(key: never, value: never): void;
15
- httpHandlerConfigs(): {};
16
- }) | RequestHandler;
13
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
17
14
  retryMode: string | import("@smithy/types").Provider<string>;
18
15
  sha256: import("@smithy/types").HashConstructor;
19
16
  streamCollector: import("@smithy/types").StreamCollector;
@@ -5,10 +5,7 @@ import { SSOClientConfig } from "./SSOClient";
5
5
  export declare const getRuntimeConfig: (config: SSOClientConfig) => {
6
6
  runtime: string;
7
7
  sha256: import("@smithy/types").HashConstructor;
8
- requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
9
- updateHttpClientConfig(key: never, value: never): void;
10
- httpHandlerConfigs(): {};
11
- }) | import("@smithy/fetch-http-handler").FetchHttpHandler;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
12
9
  apiVersion: string;
13
10
  urlParser: import("@smithy/types").UrlParser;
14
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
@@ -18,7 +18,7 @@ import {
18
18
  RetryInputConfig,
19
19
  RetryResolvedConfig,
20
20
  } from "@smithy/middleware-retry";
21
- import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
22
  import {
23
23
  Client as __Client,
24
24
  DefaultsMode as __DefaultsMode,
@@ -78,8 +78,8 @@ export type ServiceOutputTypes =
78
78
  | ListAccountsCommandOutput
79
79
  | LogoutCommandOutput;
80
80
  export interface ClientDefaults
81
- extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
82
- requestHandler?: __HttpHandler;
81
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
82
+ requestHandler?: __HttpHandlerUserInput;
83
83
  sha256?: __ChecksumConstructor | __HashConstructor;
84
84
  urlParser?: __UrlParser;
85
85
  bodyLengthChecker?: __BodyLengthCalculator;
@@ -12,19 +12,7 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<any>;
14
14
  requestHandler:
15
- | (import("@smithy/types").RequestHandler<
16
- any,
17
- any,
18
- import("@smithy/types").HttpHandlerOptions
19
- > &
20
- import("@smithy/types").RequestHandler<
21
- import("@smithy/protocol-http").HttpRequest,
22
- import("@smithy/protocol-http").HttpResponse,
23
- import("@smithy/types").HttpHandlerOptions
24
- > & {
25
- updateHttpClientConfig(key: never, value: never): void;
26
- httpHandlerConfigs(): {};
27
- })
15
+ | import("@smithy/protocol-http").HttpHandler<any>
28
16
  | RequestHandler;
29
17
  retryMode: string | import("@smithy/types").Provider<string>;
30
18
  sha256: import("@smithy/types").HashConstructor;
@@ -12,20 +12,8 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
12
12
  maxAttempts: number | import("@smithy/types").Provider<number>;
13
13
  region: string | import("@smithy/types").Provider<string>;
14
14
  requestHandler:
15
- | (import("@smithy/types").RequestHandler<
16
- any,
17
- any,
18
- import("@smithy/types").HttpHandlerOptions
19
- > &
20
- import("@smithy/types").RequestHandler<
21
- import("@smithy/protocol-http").HttpRequest,
22
- import("@smithy/protocol-http").HttpResponse,
23
- import("@smithy/types").HttpHandlerOptions
24
- > & {
25
- updateHttpClientConfig(key: never, value: never): void;
26
- httpHandlerConfigs(): {};
27
- })
28
- | RequestHandler;
15
+ | RequestHandler
16
+ | import("@smithy/protocol-http").HttpHandler<any>;
29
17
  retryMode: string | import("@smithy/types").Provider<string>;
30
18
  sha256: import("@smithy/types").HashConstructor;
31
19
  streamCollector: import("@smithy/types").StreamCollector;
@@ -3,19 +3,10 @@ export declare const getRuntimeConfig: (config: SSOClientConfig) => {
3
3
  runtime: string;
4
4
  sha256: import("@smithy/types").HashConstructor;
5
5
  requestHandler:
6
- | (import("@smithy/types").RequestHandler<
7
- any,
8
- any,
9
- import("@smithy/types").HttpHandlerOptions
10
- > &
11
- import("@smithy/types").RequestHandler<
12
- import("@smithy/protocol-http").HttpRequest,
13
- import("@smithy/protocol-http").HttpResponse,
14
- import("@smithy/types").HttpHandlerOptions
15
- > & {
16
- updateHttpClientConfig(key: never, value: never): void;
17
- httpHandlerConfigs(): {};
18
- })
6
+ | import("@smithy/types").NodeHttpHandlerOptions
7
+ | import("@smithy/types").FetchHttpHandlerOptions
8
+ | Record<string, unknown>
9
+ | import("@smithy/protocol-http").HttpHandler<any>
19
10
  | import("@smithy/fetch-http-handler").FetchHttpHandler;
20
11
  apiVersion: string;
21
12
  urlParser: import("@smithy/types").UrlParser;