diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index b6f2d8631eb1f..c641a59dfd6cd 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-accessanalyzer/runtimeConfig.browser.ts b/clients/client-accessanalyzer/runtimeConfig.browser.ts index bbf58d8c68c30..4ea8d2ed5041f 100644 --- a/clients/client-accessanalyzer/runtimeConfig.browser.ts +++ b/clients/client-accessanalyzer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-accessanalyzer/runtimeConfig.native.ts b/clients/client-accessanalyzer/runtimeConfig.native.ts index 27025d278a61a..887198dd3fcb3 100644 --- a/clients/client-accessanalyzer/runtimeConfig.native.ts +++ b/clients/client-accessanalyzer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AccessAnalyzerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-accessanalyzer/runtimeConfig.shared.ts b/clients/client-accessanalyzer/runtimeConfig.shared.ts index c0941c2908329..01dd2a1e5c34e 100644 --- a/clients/client-accessanalyzer/runtimeConfig.shared.ts +++ b/clients/client-accessanalyzer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AccessAnalyzer", + urlParser: parseUrl, }; diff --git a/clients/client-accessanalyzer/runtimeConfig.ts b/clients/client-accessanalyzer/runtimeConfig.ts index 11316e2e90531..b711c23fc49e8 100644 --- a/clients/client-accessanalyzer/runtimeConfig.ts +++ b/clients/client-accessanalyzer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index c24a81a26f41d..a44a32cb07b0c 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-acm-pca/runtimeConfig.browser.ts b/clients/client-acm-pca/runtimeConfig.browser.ts index aca417a2f4df5..36521193760da 100644 --- a/clients/client-acm-pca/runtimeConfig.browser.ts +++ b/clients/client-acm-pca/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm-pca/runtimeConfig.native.ts b/clients/client-acm-pca/runtimeConfig.native.ts index 3bc3237efc3be..a70b1edd89b9f 100644 --- a/clients/client-acm-pca/runtimeConfig.native.ts +++ b/clients/client-acm-pca/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ACMPCAClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-acm-pca/runtimeConfig.shared.ts b/clients/client-acm-pca/runtimeConfig.shared.ts index 321ce9a5d271d..e1132dfa74212 100644 --- a/clients/client-acm-pca/runtimeConfig.shared.ts +++ b/clients/client-acm-pca/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ACM PCA", + urlParser: parseUrl, }; diff --git a/clients/client-acm-pca/runtimeConfig.ts b/clients/client-acm-pca/runtimeConfig.ts index 455c8822cf339..b9c1cfcb0e021 100644 --- a/clients/client-acm-pca/runtimeConfig.ts +++ b/clients/client-acm-pca/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index c4dc0b7263a0d..21fb4f9a872f5 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-acm/runtimeConfig.browser.ts b/clients/client-acm/runtimeConfig.browser.ts index d3e941a002f1b..bfd02d5e12477 100644 --- a/clients/client-acm/runtimeConfig.browser.ts +++ b/clients/client-acm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-acm/runtimeConfig.native.ts b/clients/client-acm/runtimeConfig.native.ts index 3583aceeb6c15..58117345bda7e 100644 --- a/clients/client-acm/runtimeConfig.native.ts +++ b/clients/client-acm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ACMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-acm/runtimeConfig.shared.ts b/clients/client-acm/runtimeConfig.shared.ts index 4a57394adde37..8f2199bbf4012 100644 --- a/clients/client-acm/runtimeConfig.shared.ts +++ b/clients/client-acm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ACM", + urlParser: parseUrl, }; diff --git a/clients/client-acm/runtimeConfig.ts b/clients/client-acm/runtimeConfig.ts index 16efc30de391f..5224f48809332 100644 --- a/clients/client-acm/runtimeConfig.ts +++ b/clients/client-acm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index b8669542637ee..44ab7c4524d33 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-alexa-for-business/runtimeConfig.browser.ts b/clients/client-alexa-for-business/runtimeConfig.browser.ts index d50bc895292a8..71c60b76fc97b 100644 --- a/clients/client-alexa-for-business/runtimeConfig.browser.ts +++ b/clients/client-alexa-for-business/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-alexa-for-business/runtimeConfig.native.ts b/clients/client-alexa-for-business/runtimeConfig.native.ts index ad88f4b0f6fbb..01a92d8e56770 100644 --- a/clients/client-alexa-for-business/runtimeConfig.native.ts +++ b/clients/client-alexa-for-business/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AlexaForBusinessClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-alexa-for-business/runtimeConfig.shared.ts b/clients/client-alexa-for-business/runtimeConfig.shared.ts index 9b63a3617f5d7..ed0bf95faa71b 100644 --- a/clients/client-alexa-for-business/runtimeConfig.shared.ts +++ b/clients/client-alexa-for-business/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Alexa For Business", + urlParser: parseUrl, }; diff --git a/clients/client-alexa-for-business/runtimeConfig.ts b/clients/client-alexa-for-business/runtimeConfig.ts index 1f68c8b42ce44..ac3a6443a50f5 100644 --- a/clients/client-alexa-for-business/runtimeConfig.ts +++ b/clients/client-alexa-for-business/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 2a362bedf5018..f8891e6ccebec 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-amplify/runtimeConfig.browser.ts b/clients/client-amplify/runtimeConfig.browser.ts index 8bb122ed24b44..4b5137a7f3eff 100644 --- a/clients/client-amplify/runtimeConfig.browser.ts +++ b/clients/client-amplify/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplify/runtimeConfig.native.ts b/clients/client-amplify/runtimeConfig.native.ts index 886468e2a6fe8..d22283ab747a7 100644 --- a/clients/client-amplify/runtimeConfig.native.ts +++ b/clients/client-amplify/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AmplifyClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-amplify/runtimeConfig.shared.ts b/clients/client-amplify/runtimeConfig.shared.ts index 2b75e1097a6f3..da4c5954c7ede 100644 --- a/clients/client-amplify/runtimeConfig.shared.ts +++ b/clients/client-amplify/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Amplify", + urlParser: parseUrl, }; diff --git a/clients/client-amplify/runtimeConfig.ts b/clients/client-amplify/runtimeConfig.ts index 8e12c10ac52f0..728b951f94fc1 100644 --- a/clients/client-amplify/runtimeConfig.ts +++ b/clients/client-amplify/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index b466ba7433c00..e0446876df97c 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-amplifybackend/runtimeConfig.browser.ts b/clients/client-amplifybackend/runtimeConfig.browser.ts index 66e58a26982a9..cc98b4f5c2d75 100644 --- a/clients/client-amplifybackend/runtimeConfig.browser.ts +++ b/clients/client-amplifybackend/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-amplifybackend/runtimeConfig.native.ts b/clients/client-amplifybackend/runtimeConfig.native.ts index f0be385fe8248..e068450af6697 100644 --- a/clients/client-amplifybackend/runtimeConfig.native.ts +++ b/clients/client-amplifybackend/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AmplifyBackendClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-amplifybackend/runtimeConfig.shared.ts b/clients/client-amplifybackend/runtimeConfig.shared.ts index 02f8ae8dde0e7..8d7253903bf31 100644 --- a/clients/client-amplifybackend/runtimeConfig.shared.ts +++ b/clients/client-amplifybackend/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AmplifyBackend", + urlParser: parseUrl, }; diff --git a/clients/client-amplifybackend/runtimeConfig.ts b/clients/client-amplifybackend/runtimeConfig.ts index e83cbf1e5d96f..bf1296536e31a 100644 --- a/clients/client-amplifybackend/runtimeConfig.ts +++ b/clients/client-amplifybackend/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 4e67204a747f8..37fd420f68da6 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-api-gateway/runtimeConfig.browser.ts b/clients/client-api-gateway/runtimeConfig.browser.ts index c35ccb98fb4fd..e83a65b76a46a 100644 --- a/clients/client-api-gateway/runtimeConfig.browser.ts +++ b/clients/client-api-gateway/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-api-gateway/runtimeConfig.native.ts b/clients/client-api-gateway/runtimeConfig.native.ts index b163cffadc3b1..83034566d8f5b 100644 --- a/clients/client-api-gateway/runtimeConfig.native.ts +++ b/clients/client-api-gateway/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./APIGatewayClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-api-gateway/runtimeConfig.shared.ts b/clients/client-api-gateway/runtimeConfig.shared.ts index d2a1a5b725732..1660821fa1be9 100644 --- a/clients/client-api-gateway/runtimeConfig.shared.ts +++ b/clients/client-api-gateway/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "API Gateway", + urlParser: parseUrl, }; diff --git a/clients/client-api-gateway/runtimeConfig.ts b/clients/client-api-gateway/runtimeConfig.ts index e251975dfd375..92ba6b80086af 100644 --- a/clients/client-api-gateway/runtimeConfig.ts +++ b/clients/client-api-gateway/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 845e227ca1ae8..f15323724732a 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts index 5d933b7194b90..2d124cf2b7811 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts index 418428ceb61e7..75c583a1cb2fa 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApiGatewayManagementApiClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts index a3aea771d4a17..0457c5ba6d619 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ApiGatewayManagementApi", + urlParser: parseUrl, }; diff --git a/clients/client-apigatewaymanagementapi/runtimeConfig.ts b/clients/client-apigatewaymanagementapi/runtimeConfig.ts index 332453d5bb21c..30338732b7bb9 100644 --- a/clients/client-apigatewaymanagementapi/runtimeConfig.ts +++ b/clients/client-apigatewaymanagementapi/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index c8877646eb723..d9cc603717086 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-apigatewayv2/runtimeConfig.browser.ts b/clients/client-apigatewayv2/runtimeConfig.browser.ts index b702e6d612b55..da7ada611fdb8 100644 --- a/clients/client-apigatewayv2/runtimeConfig.browser.ts +++ b/clients/client-apigatewayv2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-apigatewayv2/runtimeConfig.native.ts b/clients/client-apigatewayv2/runtimeConfig.native.ts index 4f4096e65edad..7101b0bea7d37 100644 --- a/clients/client-apigatewayv2/runtimeConfig.native.ts +++ b/clients/client-apigatewayv2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApiGatewayV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-apigatewayv2/runtimeConfig.shared.ts b/clients/client-apigatewayv2/runtimeConfig.shared.ts index 42adc4f23cc7a..47632773995b0 100644 --- a/clients/client-apigatewayv2/runtimeConfig.shared.ts +++ b/clients/client-apigatewayv2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ApiGatewayV2", + urlParser: parseUrl, }; diff --git a/clients/client-apigatewayv2/runtimeConfig.ts b/clients/client-apigatewayv2/runtimeConfig.ts index a598bbbb59b3f..fde353606bdfb 100644 --- a/clients/client-apigatewayv2/runtimeConfig.ts +++ b/clients/client-apigatewayv2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index 602f506b9c496..a879015599a42 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-app-mesh/runtimeConfig.browser.ts b/clients/client-app-mesh/runtimeConfig.browser.ts index ecf4ecaa2dd02..a6777a55b04c2 100644 --- a/clients/client-app-mesh/runtimeConfig.browser.ts +++ b/clients/client-app-mesh/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-app-mesh/runtimeConfig.native.ts b/clients/client-app-mesh/runtimeConfig.native.ts index 4b9aaa11dd343..0d59f9dcc4667 100644 --- a/clients/client-app-mesh/runtimeConfig.native.ts +++ b/clients/client-app-mesh/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppMeshClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-app-mesh/runtimeConfig.shared.ts b/clients/client-app-mesh/runtimeConfig.shared.ts index ea18967167aa6..af2dadef34346 100644 --- a/clients/client-app-mesh/runtimeConfig.shared.ts +++ b/clients/client-app-mesh/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "App Mesh", + urlParser: parseUrl, }; diff --git a/clients/client-app-mesh/runtimeConfig.ts b/clients/client-app-mesh/runtimeConfig.ts index 8ee5368a017ad..de425c0a18d71 100644 --- a/clients/client-app-mesh/runtimeConfig.ts +++ b/clients/client-app-mesh/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index 8dd22a8018ae6..80d671763ad83 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appconfig/runtimeConfig.browser.ts b/clients/client-appconfig/runtimeConfig.browser.ts index 3f1bf159c27ce..72b4acf71f464 100644 --- a/clients/client-appconfig/runtimeConfig.browser.ts +++ b/clients/client-appconfig/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appconfig/runtimeConfig.native.ts b/clients/client-appconfig/runtimeConfig.native.ts index 7437c5e8815b0..ef15921fe89ac 100644 --- a/clients/client-appconfig/runtimeConfig.native.ts +++ b/clients/client-appconfig/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppConfigClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appconfig/runtimeConfig.shared.ts b/clients/client-appconfig/runtimeConfig.shared.ts index 674fd38480111..e1b514c1a150e 100644 --- a/clients/client-appconfig/runtimeConfig.shared.ts +++ b/clients/client-appconfig/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppConfig", + urlParser: parseUrl, }; diff --git a/clients/client-appconfig/runtimeConfig.ts b/clients/client-appconfig/runtimeConfig.ts index 0eb9c14b61800..2bf9d426c8c3b 100644 --- a/clients/client-appconfig/runtimeConfig.ts +++ b/clients/client-appconfig/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 11aa706a0b78c..50c5aeff184ec 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appflow/runtimeConfig.browser.ts b/clients/client-appflow/runtimeConfig.browser.ts index 512676514cdde..7926719fdeaff 100644 --- a/clients/client-appflow/runtimeConfig.browser.ts +++ b/clients/client-appflow/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appflow/runtimeConfig.native.ts b/clients/client-appflow/runtimeConfig.native.ts index 854e00b753671..c092bfdc2369d 100644 --- a/clients/client-appflow/runtimeConfig.native.ts +++ b/clients/client-appflow/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppflowClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appflow/runtimeConfig.shared.ts b/clients/client-appflow/runtimeConfig.shared.ts index eb9353488b501..6d47bc2f65394 100644 --- a/clients/client-appflow/runtimeConfig.shared.ts +++ b/clients/client-appflow/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Appflow", + urlParser: parseUrl, }; diff --git a/clients/client-appflow/runtimeConfig.ts b/clients/client-appflow/runtimeConfig.ts index af75cc10fb4f8..b5f3ffeb302f3 100644 --- a/clients/client-appflow/runtimeConfig.ts +++ b/clients/client-appflow/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index bf65945416f67..5033fc648667f 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appintegrations/runtimeConfig.browser.ts b/clients/client-appintegrations/runtimeConfig.browser.ts index 438dc0691ea0d..10b8d68d8d57c 100644 --- a/clients/client-appintegrations/runtimeConfig.browser.ts +++ b/clients/client-appintegrations/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appintegrations/runtimeConfig.native.ts b/clients/client-appintegrations/runtimeConfig.native.ts index e54eac06d5bce..2001249c7befa 100644 --- a/clients/client-appintegrations/runtimeConfig.native.ts +++ b/clients/client-appintegrations/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppIntegrationsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appintegrations/runtimeConfig.shared.ts b/clients/client-appintegrations/runtimeConfig.shared.ts index e4fb795e49fb0..bee7784252d8c 100644 --- a/clients/client-appintegrations/runtimeConfig.shared.ts +++ b/clients/client-appintegrations/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppIntegrations", + urlParser: parseUrl, }; diff --git a/clients/client-appintegrations/runtimeConfig.ts b/clients/client-appintegrations/runtimeConfig.ts index c6154ae215b47..de4d2f76565b1 100644 --- a/clients/client-appintegrations/runtimeConfig.ts +++ b/clients/client-appintegrations/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index fb5d41851de27..63878a7782c54 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-application-auto-scaling/runtimeConfig.browser.ts b/clients/client-application-auto-scaling/runtimeConfig.browser.ts index fdbbd94ec8434..636ba3f23ae59 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.browser.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-auto-scaling/runtimeConfig.native.ts b/clients/client-application-auto-scaling/runtimeConfig.native.ts index e649ea552238f..b4c26c97c1094 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.native.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApplicationAutoScalingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-application-auto-scaling/runtimeConfig.shared.ts b/clients/client-application-auto-scaling/runtimeConfig.shared.ts index ddb0cb2f58339..0cbe7f5cf847d 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.shared.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Application Auto Scaling", + urlParser: parseUrl, }; diff --git a/clients/client-application-auto-scaling/runtimeConfig.ts b/clients/client-application-auto-scaling/runtimeConfig.ts index 27a1cb9b71c5c..edca754f345fe 100644 --- a/clients/client-application-auto-scaling/runtimeConfig.ts +++ b/clients/client-application-auto-scaling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index ddf68fc117275..c3cd0de7219d6 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-application-discovery-service/runtimeConfig.browser.ts b/clients/client-application-discovery-service/runtimeConfig.browser.ts index dbe5b6df378aa..a1a609db60778 100644 --- a/clients/client-application-discovery-service/runtimeConfig.browser.ts +++ b/clients/client-application-discovery-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-discovery-service/runtimeConfig.native.ts b/clients/client-application-discovery-service/runtimeConfig.native.ts index f7f13bac556d1..3c8125c9d1a61 100644 --- a/clients/client-application-discovery-service/runtimeConfig.native.ts +++ b/clients/client-application-discovery-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApplicationDiscoveryServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-application-discovery-service/runtimeConfig.shared.ts b/clients/client-application-discovery-service/runtimeConfig.shared.ts index e3e1c1193855d..ecd4b72c45866 100644 --- a/clients/client-application-discovery-service/runtimeConfig.shared.ts +++ b/clients/client-application-discovery-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Application Discovery Service", + urlParser: parseUrl, }; diff --git a/clients/client-application-discovery-service/runtimeConfig.ts b/clients/client-application-discovery-service/runtimeConfig.ts index 5b066dca02311..ed5d4ba117863 100644 --- a/clients/client-application-discovery-service/runtimeConfig.ts +++ b/clients/client-application-discovery-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index 24414ff08a440..1e69f6158ba09 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-application-insights/runtimeConfig.browser.ts b/clients/client-application-insights/runtimeConfig.browser.ts index 8a4cc23147bed..ee88f70cdd6e6 100644 --- a/clients/client-application-insights/runtimeConfig.browser.ts +++ b/clients/client-application-insights/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-application-insights/runtimeConfig.native.ts b/clients/client-application-insights/runtimeConfig.native.ts index a5e50d48a70d5..b9d64e0823c21 100644 --- a/clients/client-application-insights/runtimeConfig.native.ts +++ b/clients/client-application-insights/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ApplicationInsightsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-application-insights/runtimeConfig.shared.ts b/clients/client-application-insights/runtimeConfig.shared.ts index 8ecc3a4669390..af2c71f44f57c 100644 --- a/clients/client-application-insights/runtimeConfig.shared.ts +++ b/clients/client-application-insights/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Application Insights", + urlParser: parseUrl, }; diff --git a/clients/client-application-insights/runtimeConfig.ts b/clients/client-application-insights/runtimeConfig.ts index 93d515dbde58b..2f6e047b1dc0b 100644 --- a/clients/client-application-insights/runtimeConfig.ts +++ b/clients/client-application-insights/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 96a5866bca66c..3d0362846c094 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appstream/runtimeConfig.browser.ts b/clients/client-appstream/runtimeConfig.browser.ts index 7a56458d57e57..71193c3b13497 100644 --- a/clients/client-appstream/runtimeConfig.browser.ts +++ b/clients/client-appstream/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appstream/runtimeConfig.native.ts b/clients/client-appstream/runtimeConfig.native.ts index c466709e8de18..aca8d787ec3c6 100644 --- a/clients/client-appstream/runtimeConfig.native.ts +++ b/clients/client-appstream/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppStreamClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appstream/runtimeConfig.shared.ts b/clients/client-appstream/runtimeConfig.shared.ts index fc25637b788a2..ed6cfaa3f35c8 100644 --- a/clients/client-appstream/runtimeConfig.shared.ts +++ b/clients/client-appstream/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppStream", + urlParser: parseUrl, }; diff --git a/clients/client-appstream/runtimeConfig.ts b/clients/client-appstream/runtimeConfig.ts index c26f1084d8326..b53da9f50896d 100644 --- a/clients/client-appstream/runtimeConfig.ts +++ b/clients/client-appstream/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index 25b926d20abd1..f1b75bc8b9174 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-appsync/runtimeConfig.browser.ts b/clients/client-appsync/runtimeConfig.browser.ts index f27861ab6ae28..c99a5fa7d1272 100644 --- a/clients/client-appsync/runtimeConfig.browser.ts +++ b/clients/client-appsync/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-appsync/runtimeConfig.native.ts b/clients/client-appsync/runtimeConfig.native.ts index 05128c0c244df..1ab2b7c97c703 100644 --- a/clients/client-appsync/runtimeConfig.native.ts +++ b/clients/client-appsync/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AppSyncClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-appsync/runtimeConfig.shared.ts b/clients/client-appsync/runtimeConfig.shared.ts index 7542e0a2c8262..0489f39874db5 100644 --- a/clients/client-appsync/runtimeConfig.shared.ts +++ b/clients/client-appsync/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AppSync", + urlParser: parseUrl, }; diff --git a/clients/client-appsync/runtimeConfig.ts b/clients/client-appsync/runtimeConfig.ts index eec7cf44534a9..cc61caa2ab535 100644 --- a/clients/client-appsync/runtimeConfig.ts +++ b/clients/client-appsync/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index 5be862d3b0eba..1ec6602d91bcc 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-athena/runtimeConfig.browser.ts b/clients/client-athena/runtimeConfig.browser.ts index bebbac957be1b..05fe98f008164 100644 --- a/clients/client-athena/runtimeConfig.browser.ts +++ b/clients/client-athena/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-athena/runtimeConfig.native.ts b/clients/client-athena/runtimeConfig.native.ts index 1df4f8e427f82..32383fcfad8aa 100644 --- a/clients/client-athena/runtimeConfig.native.ts +++ b/clients/client-athena/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AthenaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-athena/runtimeConfig.shared.ts b/clients/client-athena/runtimeConfig.shared.ts index 3683c98f5106d..c49b540b0da22 100644 --- a/clients/client-athena/runtimeConfig.shared.ts +++ b/clients/client-athena/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Athena", + urlParser: parseUrl, }; diff --git a/clients/client-athena/runtimeConfig.ts b/clients/client-athena/runtimeConfig.ts index 79f8cc940682f..476dd658f17ee 100644 --- a/clients/client-athena/runtimeConfig.ts +++ b/clients/client-athena/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index 732669a729f6f..d184f9467c21a 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-auditmanager/runtimeConfig.browser.ts b/clients/client-auditmanager/runtimeConfig.browser.ts index 2671f8aeb7e9d..ad79889977933 100644 --- a/clients/client-auditmanager/runtimeConfig.browser.ts +++ b/clients/client-auditmanager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auditmanager/runtimeConfig.native.ts b/clients/client-auditmanager/runtimeConfig.native.ts index d227113c6e503..b57f4e440c3de 100644 --- a/clients/client-auditmanager/runtimeConfig.native.ts +++ b/clients/client-auditmanager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AuditManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-auditmanager/runtimeConfig.shared.ts b/clients/client-auditmanager/runtimeConfig.shared.ts index 88f8a25803b62..4b1685d4eca67 100644 --- a/clients/client-auditmanager/runtimeConfig.shared.ts +++ b/clients/client-auditmanager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "AuditManager", + urlParser: parseUrl, }; diff --git a/clients/client-auditmanager/runtimeConfig.ts b/clients/client-auditmanager/runtimeConfig.ts index bbdac9e098531..bf7419d6b3672 100644 --- a/clients/client-auditmanager/runtimeConfig.ts +++ b/clients/client-auditmanager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 86633f2107ebf..433f67c4c9b4b 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-auto-scaling-plans/runtimeConfig.browser.ts b/clients/client-auto-scaling-plans/runtimeConfig.browser.ts index d7da378eff21e..ffc261fc2b359 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.browser.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling-plans/runtimeConfig.native.ts b/clients/client-auto-scaling-plans/runtimeConfig.native.ts index ffb1458f9d347..9615d90274547 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.native.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AutoScalingPlansClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-auto-scaling-plans/runtimeConfig.shared.ts b/clients/client-auto-scaling-plans/runtimeConfig.shared.ts index 193bae4d08050..50bc6d681c7e7 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.shared.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Auto Scaling Plans", + urlParser: parseUrl, }; diff --git a/clients/client-auto-scaling-plans/runtimeConfig.ts b/clients/client-auto-scaling-plans/runtimeConfig.ts index 08b2bae415357..5376f7af94bf0 100644 --- a/clients/client-auto-scaling-plans/runtimeConfig.ts +++ b/clients/client-auto-scaling-plans/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index 25b6548f4fd35..588b06e38a0f6 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-auto-scaling/runtimeConfig.browser.ts b/clients/client-auto-scaling/runtimeConfig.browser.ts index 90ea7c0ee920f..487163459c4f4 100644 --- a/clients/client-auto-scaling/runtimeConfig.browser.ts +++ b/clients/client-auto-scaling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-auto-scaling/runtimeConfig.native.ts b/clients/client-auto-scaling/runtimeConfig.native.ts index fd94fcca939c5..2f620d5314576 100644 --- a/clients/client-auto-scaling/runtimeConfig.native.ts +++ b/clients/client-auto-scaling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./AutoScalingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-auto-scaling/runtimeConfig.shared.ts b/clients/client-auto-scaling/runtimeConfig.shared.ts index bf014497fb545..340c7042ad91d 100644 --- a/clients/client-auto-scaling/runtimeConfig.shared.ts +++ b/clients/client-auto-scaling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Auto Scaling", + urlParser: parseUrl, }; diff --git a/clients/client-auto-scaling/runtimeConfig.ts b/clients/client-auto-scaling/runtimeConfig.ts index 7ba2b348b8c79..4af80ac493efc 100644 --- a/clients/client-auto-scaling/runtimeConfig.ts +++ b/clients/client-auto-scaling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index fd987bb46c0ef..47c7e3e225102 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-backup/runtimeConfig.browser.ts b/clients/client-backup/runtimeConfig.browser.ts index 7d7d828f2c423..536afef9c785e 100644 --- a/clients/client-backup/runtimeConfig.browser.ts +++ b/clients/client-backup/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-backup/runtimeConfig.native.ts b/clients/client-backup/runtimeConfig.native.ts index 4371a7a73ebbe..57c57f9799d8e 100644 --- a/clients/client-backup/runtimeConfig.native.ts +++ b/clients/client-backup/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BackupClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-backup/runtimeConfig.shared.ts b/clients/client-backup/runtimeConfig.shared.ts index e56414062f751..a91555241ba5c 100644 --- a/clients/client-backup/runtimeConfig.shared.ts +++ b/clients/client-backup/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Backup", + urlParser: parseUrl, }; diff --git a/clients/client-backup/runtimeConfig.ts b/clients/client-backup/runtimeConfig.ts index 1201043911d65..27c76529bcad6 100644 --- a/clients/client-backup/runtimeConfig.ts +++ b/clients/client-backup/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 050f8caa29f59..70b3256987808 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-batch/runtimeConfig.browser.ts b/clients/client-batch/runtimeConfig.browser.ts index da196fafd5dcf..ac2ed064ecb74 100644 --- a/clients/client-batch/runtimeConfig.browser.ts +++ b/clients/client-batch/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-batch/runtimeConfig.native.ts b/clients/client-batch/runtimeConfig.native.ts index d53318dbf968e..58189a6fd3463 100644 --- a/clients/client-batch/runtimeConfig.native.ts +++ b/clients/client-batch/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BatchClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-batch/runtimeConfig.shared.ts b/clients/client-batch/runtimeConfig.shared.ts index 0d8cc41fc1ce5..9bcc09bfd0db1 100644 --- a/clients/client-batch/runtimeConfig.shared.ts +++ b/clients/client-batch/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Batch", + urlParser: parseUrl, }; diff --git a/clients/client-batch/runtimeConfig.ts b/clients/client-batch/runtimeConfig.ts index 923dc4cb2cb3f..626e6de39f277 100644 --- a/clients/client-batch/runtimeConfig.ts +++ b/clients/client-batch/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 1ba04b87efe71..85f790054df43 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-braket/runtimeConfig.browser.ts b/clients/client-braket/runtimeConfig.browser.ts index 6280a709a78d7..54fef7015a8b8 100644 --- a/clients/client-braket/runtimeConfig.browser.ts +++ b/clients/client-braket/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-braket/runtimeConfig.native.ts b/clients/client-braket/runtimeConfig.native.ts index e8d73bb9e6243..3f1bb744237d7 100644 --- a/clients/client-braket/runtimeConfig.native.ts +++ b/clients/client-braket/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BraketClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-braket/runtimeConfig.shared.ts b/clients/client-braket/runtimeConfig.shared.ts index 577318abe94ca..cc025b8ef97b5 100644 --- a/clients/client-braket/runtimeConfig.shared.ts +++ b/clients/client-braket/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Braket", + urlParser: parseUrl, }; diff --git a/clients/client-braket/runtimeConfig.ts b/clients/client-braket/runtimeConfig.ts index eb4cbe3e144bb..6900b35ed6be6 100644 --- a/clients/client-braket/runtimeConfig.ts +++ b/clients/client-braket/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index 7aed741f82379..8d02693665b6e 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-budgets/runtimeConfig.browser.ts b/clients/client-budgets/runtimeConfig.browser.ts index 217993252eb0c..af1466dc21106 100644 --- a/clients/client-budgets/runtimeConfig.browser.ts +++ b/clients/client-budgets/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-budgets/runtimeConfig.native.ts b/clients/client-budgets/runtimeConfig.native.ts index 3278370473d9f..ae9db4103f863 100644 --- a/clients/client-budgets/runtimeConfig.native.ts +++ b/clients/client-budgets/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./BudgetsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-budgets/runtimeConfig.shared.ts b/clients/client-budgets/runtimeConfig.shared.ts index dbf76c4c32c22..5d821abfa43f7 100644 --- a/clients/client-budgets/runtimeConfig.shared.ts +++ b/clients/client-budgets/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Budgets", + urlParser: parseUrl, }; diff --git a/clients/client-budgets/runtimeConfig.ts b/clients/client-budgets/runtimeConfig.ts index 569fa37dce2e2..a0e779d9d9bd1 100644 --- a/clients/client-budgets/runtimeConfig.ts +++ b/clients/client-budgets/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index 39346f9b1378a..42cd070d2ad00 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-chime/runtimeConfig.browser.ts b/clients/client-chime/runtimeConfig.browser.ts index 655037a729fa4..339b524a57636 100644 --- a/clients/client-chime/runtimeConfig.browser.ts +++ b/clients/client-chime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-chime/runtimeConfig.native.ts b/clients/client-chime/runtimeConfig.native.ts index f0316d22048a7..ee86f74e19b89 100644 --- a/clients/client-chime/runtimeConfig.native.ts +++ b/clients/client-chime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ChimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-chime/runtimeConfig.shared.ts b/clients/client-chime/runtimeConfig.shared.ts index 7e5abe9623596..a9d41c9d370ff 100644 --- a/clients/client-chime/runtimeConfig.shared.ts +++ b/clients/client-chime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Chime", + urlParser: parseUrl, }; diff --git a/clients/client-chime/runtimeConfig.ts b/clients/client-chime/runtimeConfig.ts index 81cdfc0c8bae7..84b98b14c050a 100644 --- a/clients/client-chime/runtimeConfig.ts +++ b/clients/client-chime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index 7cd80162ff188..8e9863cc45194 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloud9/runtimeConfig.browser.ts b/clients/client-cloud9/runtimeConfig.browser.ts index 5bf1285928883..7b478990c0150 100644 --- a/clients/client-cloud9/runtimeConfig.browser.ts +++ b/clients/client-cloud9/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloud9/runtimeConfig.native.ts b/clients/client-cloud9/runtimeConfig.native.ts index ef11a033b5066..2598fadf56874 100644 --- a/clients/client-cloud9/runtimeConfig.native.ts +++ b/clients/client-cloud9/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Cloud9Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloud9/runtimeConfig.shared.ts b/clients/client-cloud9/runtimeConfig.shared.ts index 9f1474e81f623..f3e4ffb2e6174 100644 --- a/clients/client-cloud9/runtimeConfig.shared.ts +++ b/clients/client-cloud9/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cloud9", + urlParser: parseUrl, }; diff --git a/clients/client-cloud9/runtimeConfig.ts b/clients/client-cloud9/runtimeConfig.ts index 0ffa3ba946f1a..900e74490313f 100644 --- a/clients/client-cloud9/runtimeConfig.ts +++ b/clients/client-cloud9/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index 0c7339d53469c..42d05ed9b1b2a 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-clouddirectory/runtimeConfig.browser.ts b/clients/client-clouddirectory/runtimeConfig.browser.ts index 59e4cf5f43674..3e163cfbf6476 100644 --- a/clients/client-clouddirectory/runtimeConfig.browser.ts +++ b/clients/client-clouddirectory/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-clouddirectory/runtimeConfig.native.ts b/clients/client-clouddirectory/runtimeConfig.native.ts index df92245a81875..16d4ce3f03c81 100644 --- a/clients/client-clouddirectory/runtimeConfig.native.ts +++ b/clients/client-clouddirectory/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudDirectoryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-clouddirectory/runtimeConfig.shared.ts b/clients/client-clouddirectory/runtimeConfig.shared.ts index 6b7513723b96a..e78dd55e2441c 100644 --- a/clients/client-clouddirectory/runtimeConfig.shared.ts +++ b/clients/client-clouddirectory/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudDirectory", + urlParser: parseUrl, }; diff --git a/clients/client-clouddirectory/runtimeConfig.ts b/clients/client-clouddirectory/runtimeConfig.ts index 32a7732687bba..97996f9cf77c3 100644 --- a/clients/client-clouddirectory/runtimeConfig.ts +++ b/clients/client-clouddirectory/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index ff91bf1f85c9c..ae88e4f27bcc7 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudformation/runtimeConfig.browser.ts b/clients/client-cloudformation/runtimeConfig.browser.ts index 0d040c39db134..787d5613819a8 100644 --- a/clients/client-cloudformation/runtimeConfig.browser.ts +++ b/clients/client-cloudformation/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudformation/runtimeConfig.native.ts b/clients/client-cloudformation/runtimeConfig.native.ts index 813fdb72926bd..a2bf0ff43241b 100644 --- a/clients/client-cloudformation/runtimeConfig.native.ts +++ b/clients/client-cloudformation/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudFormationClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudformation/runtimeConfig.shared.ts b/clients/client-cloudformation/runtimeConfig.shared.ts index e7dfaf3fe481e..b58bda278ff9d 100644 --- a/clients/client-cloudformation/runtimeConfig.shared.ts +++ b/clients/client-cloudformation/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudFormation", + urlParser: parseUrl, }; diff --git a/clients/client-cloudformation/runtimeConfig.ts b/clients/client-cloudformation/runtimeConfig.ts index 328cda274e524..fd9218edcd4e1 100644 --- a/clients/client-cloudformation/runtimeConfig.ts +++ b/clients/client-cloudformation/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index 7c9a3d7df3c79..b5b2524097d9c 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudfront/runtimeConfig.browser.ts b/clients/client-cloudfront/runtimeConfig.browser.ts index 3ab6cf9c74d72..28b7a7d2ec515 100644 --- a/clients/client-cloudfront/runtimeConfig.browser.ts +++ b/clients/client-cloudfront/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudfront/runtimeConfig.native.ts b/clients/client-cloudfront/runtimeConfig.native.ts index efa94494b6f47..d36e120bc3a27 100644 --- a/clients/client-cloudfront/runtimeConfig.native.ts +++ b/clients/client-cloudfront/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudFrontClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudfront/runtimeConfig.shared.ts b/clients/client-cloudfront/runtimeConfig.shared.ts index e3071d0cc220e..2a35df519d2c4 100644 --- a/clients/client-cloudfront/runtimeConfig.shared.ts +++ b/clients/client-cloudfront/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudFront", + urlParser: parseUrl, }; diff --git a/clients/client-cloudfront/runtimeConfig.ts b/clients/client-cloudfront/runtimeConfig.ts index a7f3f1aee5d3d..9af3d28baeb22 100644 --- a/clients/client-cloudfront/runtimeConfig.ts +++ b/clients/client-cloudfront/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index 22306c20f83b0..dd9826a827515 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudhsm-v2/runtimeConfig.browser.ts b/clients/client-cloudhsm-v2/runtimeConfig.browser.ts index 4db1b42ff9b9a..061c9b8639fe8 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.browser.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm-v2/runtimeConfig.native.ts b/clients/client-cloudhsm-v2/runtimeConfig.native.ts index cb4541187049d..cb20ed54495cf 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.native.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudHSMV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudhsm-v2/runtimeConfig.shared.ts b/clients/client-cloudhsm-v2/runtimeConfig.shared.ts index 2d9ef37c786fe..f6765127fc694 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.shared.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudHSM V2", + urlParser: parseUrl, }; diff --git a/clients/client-cloudhsm-v2/runtimeConfig.ts b/clients/client-cloudhsm-v2/runtimeConfig.ts index 944c365a6e507..3a4b74ca52536 100644 --- a/clients/client-cloudhsm-v2/runtimeConfig.ts +++ b/clients/client-cloudhsm-v2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index 67cec25870693..79eef787d2736 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudhsm/runtimeConfig.browser.ts b/clients/client-cloudhsm/runtimeConfig.browser.ts index 3d1af821974d1..625c6609251b1 100644 --- a/clients/client-cloudhsm/runtimeConfig.browser.ts +++ b/clients/client-cloudhsm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudhsm/runtimeConfig.native.ts b/clients/client-cloudhsm/runtimeConfig.native.ts index 522df75579378..4de79d9c5dcfd 100644 --- a/clients/client-cloudhsm/runtimeConfig.native.ts +++ b/clients/client-cloudhsm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudHSMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudhsm/runtimeConfig.shared.ts b/clients/client-cloudhsm/runtimeConfig.shared.ts index 306f192a9b4f7..bf88b243cf01d 100644 --- a/clients/client-cloudhsm/runtimeConfig.shared.ts +++ b/clients/client-cloudhsm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudHSM", + urlParser: parseUrl, }; diff --git a/clients/client-cloudhsm/runtimeConfig.ts b/clients/client-cloudhsm/runtimeConfig.ts index caba4ae7bdb7c..341991c776bba 100644 --- a/clients/client-cloudhsm/runtimeConfig.ts +++ b/clients/client-cloudhsm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index 92b94ebc287a4..bcc100ff11af6 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudsearch-domain/runtimeConfig.browser.ts b/clients/client-cloudsearch-domain/runtimeConfig.browser.ts index 0c1db3af09e9e..36b5eec0d3480 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.browser.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch-domain/runtimeConfig.native.ts b/clients/client-cloudsearch-domain/runtimeConfig.native.ts index c6bbd7f137e34..7ac9a62a22278 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.native.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudSearchDomainClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudsearch-domain/runtimeConfig.shared.ts b/clients/client-cloudsearch-domain/runtimeConfig.shared.ts index fa45b263a3285..c64436bd76cf1 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.shared.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudSearch Domain", + urlParser: parseUrl, }; diff --git a/clients/client-cloudsearch-domain/runtimeConfig.ts b/clients/client-cloudsearch-domain/runtimeConfig.ts index 5bcf87522cb07..852b2ca3734d9 100644 --- a/clients/client-cloudsearch-domain/runtimeConfig.ts +++ b/clients/client-cloudsearch-domain/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index a1abb4f3a6d2c..6b5de2c61c906 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudsearch/runtimeConfig.browser.ts b/clients/client-cloudsearch/runtimeConfig.browser.ts index 0194246310027..84ec0128f2549 100644 --- a/clients/client-cloudsearch/runtimeConfig.browser.ts +++ b/clients/client-cloudsearch/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudsearch/runtimeConfig.native.ts b/clients/client-cloudsearch/runtimeConfig.native.ts index f6d8caa780a2a..4290f8a8b987d 100644 --- a/clients/client-cloudsearch/runtimeConfig.native.ts +++ b/clients/client-cloudsearch/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudSearchClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudsearch/runtimeConfig.shared.ts b/clients/client-cloudsearch/runtimeConfig.shared.ts index 43eb88a127dbd..852e6819ff3f2 100644 --- a/clients/client-cloudsearch/runtimeConfig.shared.ts +++ b/clients/client-cloudsearch/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudSearch", + urlParser: parseUrl, }; diff --git a/clients/client-cloudsearch/runtimeConfig.ts b/clients/client-cloudsearch/runtimeConfig.ts index 542ffe9d685ae..383992fbdc232 100644 --- a/clients/client-cloudsearch/runtimeConfig.ts +++ b/clients/client-cloudsearch/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index f309523b5837e..3b005a0654608 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudtrail/runtimeConfig.browser.ts b/clients/client-cloudtrail/runtimeConfig.browser.ts index 8c525d5edd69b..0c898f93b9dae 100644 --- a/clients/client-cloudtrail/runtimeConfig.browser.ts +++ b/clients/client-cloudtrail/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudtrail/runtimeConfig.native.ts b/clients/client-cloudtrail/runtimeConfig.native.ts index d1c8d93bc36b1..46702087d3e65 100644 --- a/clients/client-cloudtrail/runtimeConfig.native.ts +++ b/clients/client-cloudtrail/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudTrailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudtrail/runtimeConfig.shared.ts b/clients/client-cloudtrail/runtimeConfig.shared.ts index dc584e3ed9322..9d4a42f38086d 100644 --- a/clients/client-cloudtrail/runtimeConfig.shared.ts +++ b/clients/client-cloudtrail/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudTrail", + urlParser: parseUrl, }; diff --git a/clients/client-cloudtrail/runtimeConfig.ts b/clients/client-cloudtrail/runtimeConfig.ts index 4d9070eba55eb..522801a539e2b 100644 --- a/clients/client-cloudtrail/runtimeConfig.ts +++ b/clients/client-cloudtrail/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index 3891cd0b8b8e8..5cd3e9be10bb4 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudwatch-events/runtimeConfig.browser.ts b/clients/client-cloudwatch-events/runtimeConfig.browser.ts index 93cf5a4b7c543..8929ac6c14270 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-events/runtimeConfig.native.ts b/clients/client-cloudwatch-events/runtimeConfig.native.ts index e67184f838927..39beb87b0a58b 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.native.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudWatchEventsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudwatch-events/runtimeConfig.shared.ts b/clients/client-cloudwatch-events/runtimeConfig.shared.ts index fabe765b16465..9a95c4c790574 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudWatch Events", + urlParser: parseUrl, }; diff --git a/clients/client-cloudwatch-events/runtimeConfig.ts b/clients/client-cloudwatch-events/runtimeConfig.ts index e7561fd407f6e..6f17ba10202a4 100644 --- a/clients/client-cloudwatch-events/runtimeConfig.ts +++ b/clients/client-cloudwatch-events/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index bf9a6981a2fc1..06b8b00f45f85 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudwatch-logs/runtimeConfig.browser.ts b/clients/client-cloudwatch-logs/runtimeConfig.browser.ts index fdb7e48a57e20..d94979526ec64 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch-logs/runtimeConfig.native.ts b/clients/client-cloudwatch-logs/runtimeConfig.native.ts index 51c69acdb6890..6c043cf8bd437 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.native.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudWatchLogsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudwatch-logs/runtimeConfig.shared.ts b/clients/client-cloudwatch-logs/runtimeConfig.shared.ts index 68728f86e8fd3..d2c3370f544fe 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudWatch Logs", + urlParser: parseUrl, }; diff --git a/clients/client-cloudwatch-logs/runtimeConfig.ts b/clients/client-cloudwatch-logs/runtimeConfig.ts index 8775531f639a8..cd07a0c765400 100644 --- a/clients/client-cloudwatch-logs/runtimeConfig.ts +++ b/clients/client-cloudwatch-logs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index 3d0026744d203..fe9e21a90c138 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cloudwatch/runtimeConfig.browser.ts b/clients/client-cloudwatch/runtimeConfig.browser.ts index 2eaf36a1c8d9e..d94a938c49790 100644 --- a/clients/client-cloudwatch/runtimeConfig.browser.ts +++ b/clients/client-cloudwatch/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cloudwatch/runtimeConfig.native.ts b/clients/client-cloudwatch/runtimeConfig.native.ts index 062d28f7b3889..f49e5c8a372b1 100644 --- a/clients/client-cloudwatch/runtimeConfig.native.ts +++ b/clients/client-cloudwatch/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CloudWatchClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cloudwatch/runtimeConfig.shared.ts b/clients/client-cloudwatch/runtimeConfig.shared.ts index 4bab3223930e1..388025d25281b 100644 --- a/clients/client-cloudwatch/runtimeConfig.shared.ts +++ b/clients/client-cloudwatch/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CloudWatch", + urlParser: parseUrl, }; diff --git a/clients/client-cloudwatch/runtimeConfig.ts b/clients/client-cloudwatch/runtimeConfig.ts index 13c847ef37b55..b4909a4ec3175 100644 --- a/clients/client-cloudwatch/runtimeConfig.ts +++ b/clients/client-cloudwatch/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index efb43ef9c7569..f8a840764a4ad 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codeartifact/runtimeConfig.browser.ts b/clients/client-codeartifact/runtimeConfig.browser.ts index a914d88b9cb94..1ccab4eb774bb 100644 --- a/clients/client-codeartifact/runtimeConfig.browser.ts +++ b/clients/client-codeartifact/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeartifact/runtimeConfig.native.ts b/clients/client-codeartifact/runtimeConfig.native.ts index 0b860f18c4824..6f9c8dc8a696f 100644 --- a/clients/client-codeartifact/runtimeConfig.native.ts +++ b/clients/client-codeartifact/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeartifactClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codeartifact/runtimeConfig.shared.ts b/clients/client-codeartifact/runtimeConfig.shared.ts index 37bccc08033c0..def84eea61665 100644 --- a/clients/client-codeartifact/runtimeConfig.shared.ts +++ b/clients/client-codeartifact/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "codeartifact", + urlParser: parseUrl, }; diff --git a/clients/client-codeartifact/runtimeConfig.ts b/clients/client-codeartifact/runtimeConfig.ts index f51a753ea3b01..bb732983895c7 100644 --- a/clients/client-codeartifact/runtimeConfig.ts +++ b/clients/client-codeartifact/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index f0674b98863ba..7e8ccf7f73cd5 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codebuild/runtimeConfig.browser.ts b/clients/client-codebuild/runtimeConfig.browser.ts index 0888e2bf45b50..d60bfd3e1d78a 100644 --- a/clients/client-codebuild/runtimeConfig.browser.ts +++ b/clients/client-codebuild/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codebuild/runtimeConfig.native.ts b/clients/client-codebuild/runtimeConfig.native.ts index 7535c90ed473c..064e69b325e01 100644 --- a/clients/client-codebuild/runtimeConfig.native.ts +++ b/clients/client-codebuild/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeBuildClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codebuild/runtimeConfig.shared.ts b/clients/client-codebuild/runtimeConfig.shared.ts index f62be56cb98f3..910ff02aa6ccd 100644 --- a/clients/client-codebuild/runtimeConfig.shared.ts +++ b/clients/client-codebuild/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeBuild", + urlParser: parseUrl, }; diff --git a/clients/client-codebuild/runtimeConfig.ts b/clients/client-codebuild/runtimeConfig.ts index dc6c23eb61e26..43e422971328a 100644 --- a/clients/client-codebuild/runtimeConfig.ts +++ b/clients/client-codebuild/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index fa3b21d51fc85..6ace9e59c7fc6 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codecommit/runtimeConfig.browser.ts b/clients/client-codecommit/runtimeConfig.browser.ts index 579c5d72c91df..62bd2aca310f3 100644 --- a/clients/client-codecommit/runtimeConfig.browser.ts +++ b/clients/client-codecommit/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codecommit/runtimeConfig.native.ts b/clients/client-codecommit/runtimeConfig.native.ts index aa2ef6de18668..5ca9366775441 100644 --- a/clients/client-codecommit/runtimeConfig.native.ts +++ b/clients/client-codecommit/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeCommitClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codecommit/runtimeConfig.shared.ts b/clients/client-codecommit/runtimeConfig.shared.ts index d4f98186bf8a0..1a26140afa396 100644 --- a/clients/client-codecommit/runtimeConfig.shared.ts +++ b/clients/client-codecommit/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeCommit", + urlParser: parseUrl, }; diff --git a/clients/client-codecommit/runtimeConfig.ts b/clients/client-codecommit/runtimeConfig.ts index d22eba6183515..49526bd3b8293 100644 --- a/clients/client-codecommit/runtimeConfig.ts +++ b/clients/client-codecommit/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 85e4c78aca976..76634ab3895a8 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codedeploy/runtimeConfig.browser.ts b/clients/client-codedeploy/runtimeConfig.browser.ts index 42983c6aa1b21..fa337ec14a05f 100644 --- a/clients/client-codedeploy/runtimeConfig.browser.ts +++ b/clients/client-codedeploy/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codedeploy/runtimeConfig.native.ts b/clients/client-codedeploy/runtimeConfig.native.ts index e2b10ba330763..535fb30896a32 100644 --- a/clients/client-codedeploy/runtimeConfig.native.ts +++ b/clients/client-codedeploy/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeDeployClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codedeploy/runtimeConfig.shared.ts b/clients/client-codedeploy/runtimeConfig.shared.ts index f9db11f5f3942..12c1fddcb4391 100644 --- a/clients/client-codedeploy/runtimeConfig.shared.ts +++ b/clients/client-codedeploy/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeDeploy", + urlParser: parseUrl, }; diff --git a/clients/client-codedeploy/runtimeConfig.ts b/clients/client-codedeploy/runtimeConfig.ts index 6a914eed69263..71f74422d62c6 100644 --- a/clients/client-codedeploy/runtimeConfig.ts +++ b/clients/client-codedeploy/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index 3311f1ebf5b9a..7a7fe18d8cc15 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codeguru-reviewer/runtimeConfig.browser.ts b/clients/client-codeguru-reviewer/runtimeConfig.browser.ts index fac72750f0425..2e9c92ebb49d1 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.browser.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguru-reviewer/runtimeConfig.native.ts b/clients/client-codeguru-reviewer/runtimeConfig.native.ts index 8300083647b66..bfb78b3aed845 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.native.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeGuruReviewerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codeguru-reviewer/runtimeConfig.shared.ts b/clients/client-codeguru-reviewer/runtimeConfig.shared.ts index aa795ecd0c55e..9c3c6e1b95c53 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.shared.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeGuru Reviewer", + urlParser: parseUrl, }; diff --git a/clients/client-codeguru-reviewer/runtimeConfig.ts b/clients/client-codeguru-reviewer/runtimeConfig.ts index f82371128ad1e..3f1211742110f 100644 --- a/clients/client-codeguru-reviewer/runtimeConfig.ts +++ b/clients/client-codeguru-reviewer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index 822b907544b6d..9fbdc3605a902 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codeguruprofiler/runtimeConfig.browser.ts b/clients/client-codeguruprofiler/runtimeConfig.browser.ts index 2187e5afc054d..8018ac3591f1c 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.browser.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codeguruprofiler/runtimeConfig.native.ts b/clients/client-codeguruprofiler/runtimeConfig.native.ts index f2cc2ba24dc07..db552ac8d7dab 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.native.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeGuruProfilerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codeguruprofiler/runtimeConfig.shared.ts b/clients/client-codeguruprofiler/runtimeConfig.shared.ts index 3f014a23b5e14..9bd6c3da16d1c 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.shared.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeGuruProfiler", + urlParser: parseUrl, }; diff --git a/clients/client-codeguruprofiler/runtimeConfig.ts b/clients/client-codeguruprofiler/runtimeConfig.ts index b969a33804f80..f9cc78e5d06ca 100644 --- a/clients/client-codeguruprofiler/runtimeConfig.ts +++ b/clients/client-codeguruprofiler/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index 23b674da71480..1a5cd2133bdf5 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codepipeline/runtimeConfig.browser.ts b/clients/client-codepipeline/runtimeConfig.browser.ts index c53aa8baca1a3..e8b836b1d61ac 100644 --- a/clients/client-codepipeline/runtimeConfig.browser.ts +++ b/clients/client-codepipeline/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codepipeline/runtimeConfig.native.ts b/clients/client-codepipeline/runtimeConfig.native.ts index 9c0999d852c55..8df8bd9d147d5 100644 --- a/clients/client-codepipeline/runtimeConfig.native.ts +++ b/clients/client-codepipeline/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodePipelineClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codepipeline/runtimeConfig.shared.ts b/clients/client-codepipeline/runtimeConfig.shared.ts index 3128b02860fb3..f33bdbfdb92e7 100644 --- a/clients/client-codepipeline/runtimeConfig.shared.ts +++ b/clients/client-codepipeline/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodePipeline", + urlParser: parseUrl, }; diff --git a/clients/client-codepipeline/runtimeConfig.ts b/clients/client-codepipeline/runtimeConfig.ts index f5fab8e535294..9ce849817079b 100644 --- a/clients/client-codepipeline/runtimeConfig.ts +++ b/clients/client-codepipeline/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index 8f55a76783fc5..a0ada152f6ad4 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codestar-connections/runtimeConfig.browser.ts b/clients/client-codestar-connections/runtimeConfig.browser.ts index 9e34eeff3073c..545d809e92bb5 100644 --- a/clients/client-codestar-connections/runtimeConfig.browser.ts +++ b/clients/client-codestar-connections/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-connections/runtimeConfig.native.ts b/clients/client-codestar-connections/runtimeConfig.native.ts index 17f7b3d692507..ee5d7db6d35c7 100644 --- a/clients/client-codestar-connections/runtimeConfig.native.ts +++ b/clients/client-codestar-connections/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeStarConnectionsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codestar-connections/runtimeConfig.shared.ts b/clients/client-codestar-connections/runtimeConfig.shared.ts index d8eca68626bad..1952b4759c6af 100644 --- a/clients/client-codestar-connections/runtimeConfig.shared.ts +++ b/clients/client-codestar-connections/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeStar connections", + urlParser: parseUrl, }; diff --git a/clients/client-codestar-connections/runtimeConfig.ts b/clients/client-codestar-connections/runtimeConfig.ts index aa64791b9023e..3c2c63e689c95 100644 --- a/clients/client-codestar-connections/runtimeConfig.ts +++ b/clients/client-codestar-connections/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index 401086a559858..10747c5bd49ea 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codestar-notifications/runtimeConfig.browser.ts b/clients/client-codestar-notifications/runtimeConfig.browser.ts index 0de827f647b08..f1b05d12e1411 100644 --- a/clients/client-codestar-notifications/runtimeConfig.browser.ts +++ b/clients/client-codestar-notifications/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar-notifications/runtimeConfig.native.ts b/clients/client-codestar-notifications/runtimeConfig.native.ts index 9cdb5511d924a..b5aab4a906a58 100644 --- a/clients/client-codestar-notifications/runtimeConfig.native.ts +++ b/clients/client-codestar-notifications/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodestarNotificationsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codestar-notifications/runtimeConfig.shared.ts b/clients/client-codestar-notifications/runtimeConfig.shared.ts index a293d8988554e..be5a576ac0a8f 100644 --- a/clients/client-codestar-notifications/runtimeConfig.shared.ts +++ b/clients/client-codestar-notifications/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "codestar notifications", + urlParser: parseUrl, }; diff --git a/clients/client-codestar-notifications/runtimeConfig.ts b/clients/client-codestar-notifications/runtimeConfig.ts index 7e1cf8d6a7964..29e406fc6a385 100644 --- a/clients/client-codestar-notifications/runtimeConfig.ts +++ b/clients/client-codestar-notifications/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index fcf02af5bb956..d362c1815fbe9 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-codestar/runtimeConfig.browser.ts b/clients/client-codestar/runtimeConfig.browser.ts index 204a28074465a..63111773036ab 100644 --- a/clients/client-codestar/runtimeConfig.browser.ts +++ b/clients/client-codestar/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-codestar/runtimeConfig.native.ts b/clients/client-codestar/runtimeConfig.native.ts index 40c5bb753bf59..d871aa5aed3d8 100644 --- a/clients/client-codestar/runtimeConfig.native.ts +++ b/clients/client-codestar/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CodeStarClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-codestar/runtimeConfig.shared.ts b/clients/client-codestar/runtimeConfig.shared.ts index 0a539e45d3f49..a512f719919c3 100644 --- a/clients/client-codestar/runtimeConfig.shared.ts +++ b/clients/client-codestar/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "CodeStar", + urlParser: parseUrl, }; diff --git a/clients/client-codestar/runtimeConfig.ts b/clients/client-codestar/runtimeConfig.ts index e31bd24475b21..0a6e90cf7ae8b 100644 --- a/clients/client-codestar/runtimeConfig.ts +++ b/clients/client-codestar/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index 156be874e000d..cac05da9bc83e 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cognito-identity-provider/runtimeConfig.browser.ts b/clients/client-cognito-identity-provider/runtimeConfig.browser.ts index acb8c54d43189..0fe038858b08e 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.browser.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity-provider/runtimeConfig.native.ts b/clients/client-cognito-identity-provider/runtimeConfig.native.ts index 3026a60425b39..e49f290009e38 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.native.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CognitoIdentityProviderClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cognito-identity-provider/runtimeConfig.shared.ts b/clients/client-cognito-identity-provider/runtimeConfig.shared.ts index d1d2083b74378..a744bd0180e40 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.shared.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cognito Identity Provider", + urlParser: parseUrl, }; diff --git a/clients/client-cognito-identity-provider/runtimeConfig.ts b/clients/client-cognito-identity-provider/runtimeConfig.ts index 3242e7a8e33ee..8743f5068f4c5 100644 --- a/clients/client-cognito-identity-provider/runtimeConfig.ts +++ b/clients/client-cognito-identity-provider/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index ae3c32ee87ebe..0e55675cbaa99 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -48,8 +48,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cognito-identity/runtimeConfig.browser.ts b/clients/client-cognito-identity/runtimeConfig.browser.ts index d625b9c2dcbba..132d476740ddc 100644 --- a/clients/client-cognito-identity/runtimeConfig.browser.ts +++ b/clients/client-cognito-identity/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-identity/runtimeConfig.native.ts b/clients/client-cognito-identity/runtimeConfig.native.ts index f33e0dec2ccfd..0cee198de63aa 100644 --- a/clients/client-cognito-identity/runtimeConfig.native.ts +++ b/clients/client-cognito-identity/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CognitoIdentityClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cognito-identity/runtimeConfig.shared.ts b/clients/client-cognito-identity/runtimeConfig.shared.ts index 955cf95f9b3d3..3dd89173fb1e6 100644 --- a/clients/client-cognito-identity/runtimeConfig.shared.ts +++ b/clients/client-cognito-identity/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cognito Identity", + urlParser: parseUrl, }; diff --git a/clients/client-cognito-identity/runtimeConfig.ts b/clients/client-cognito-identity/runtimeConfig.ts index 5fedb2fe7564d..8c8e99a9c5a12 100644 --- a/clients/client-cognito-identity/runtimeConfig.ts +++ b/clients/client-cognito-identity/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index 0a7e2e8ea2ca8..39050ec7cff3e 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cognito-sync/runtimeConfig.browser.ts b/clients/client-cognito-sync/runtimeConfig.browser.ts index b78197623a1b5..ac3be56397b9c 100644 --- a/clients/client-cognito-sync/runtimeConfig.browser.ts +++ b/clients/client-cognito-sync/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cognito-sync/runtimeConfig.native.ts b/clients/client-cognito-sync/runtimeConfig.native.ts index d6bc203a42bb0..dd7e333124408 100644 --- a/clients/client-cognito-sync/runtimeConfig.native.ts +++ b/clients/client-cognito-sync/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CognitoSyncClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cognito-sync/runtimeConfig.shared.ts b/clients/client-cognito-sync/runtimeConfig.shared.ts index b49493a5c5350..e3cf8cc06d493 100644 --- a/clients/client-cognito-sync/runtimeConfig.shared.ts +++ b/clients/client-cognito-sync/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cognito Sync", + urlParser: parseUrl, }; diff --git a/clients/client-cognito-sync/runtimeConfig.ts b/clients/client-cognito-sync/runtimeConfig.ts index 5535603f0a32a..b74cd21bb74a7 100644 --- a/clients/client-cognito-sync/runtimeConfig.ts +++ b/clients/client-cognito-sync/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index 52dd02fb4657a..2a2916f2fe820 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-comprehend/runtimeConfig.browser.ts b/clients/client-comprehend/runtimeConfig.browser.ts index 1f68b5df2fad9..29ceb4894269d 100644 --- a/clients/client-comprehend/runtimeConfig.browser.ts +++ b/clients/client-comprehend/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehend/runtimeConfig.native.ts b/clients/client-comprehend/runtimeConfig.native.ts index 521b67e7a5358..ad3cfb59bc70e 100644 --- a/clients/client-comprehend/runtimeConfig.native.ts +++ b/clients/client-comprehend/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ComprehendClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-comprehend/runtimeConfig.shared.ts b/clients/client-comprehend/runtimeConfig.shared.ts index 91457703d7720..966396e7ce801 100644 --- a/clients/client-comprehend/runtimeConfig.shared.ts +++ b/clients/client-comprehend/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Comprehend", + urlParser: parseUrl, }; diff --git a/clients/client-comprehend/runtimeConfig.ts b/clients/client-comprehend/runtimeConfig.ts index a79969b1f8f4c..56dd234c5f98b 100644 --- a/clients/client-comprehend/runtimeConfig.ts +++ b/clients/client-comprehend/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index 34b1d69c9300c..c910cfd8ff34e 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-comprehendmedical/runtimeConfig.browser.ts b/clients/client-comprehendmedical/runtimeConfig.browser.ts index c6e45e9ee9a00..2d49245101282 100644 --- a/clients/client-comprehendmedical/runtimeConfig.browser.ts +++ b/clients/client-comprehendmedical/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-comprehendmedical/runtimeConfig.native.ts b/clients/client-comprehendmedical/runtimeConfig.native.ts index 8e1a180c85c83..38a578f2e8f7f 100644 --- a/clients/client-comprehendmedical/runtimeConfig.native.ts +++ b/clients/client-comprehendmedical/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ComprehendMedicalClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-comprehendmedical/runtimeConfig.shared.ts b/clients/client-comprehendmedical/runtimeConfig.shared.ts index 6ea68d9c71509..8e44db532b0e6 100644 --- a/clients/client-comprehendmedical/runtimeConfig.shared.ts +++ b/clients/client-comprehendmedical/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ComprehendMedical", + urlParser: parseUrl, }; diff --git a/clients/client-comprehendmedical/runtimeConfig.ts b/clients/client-comprehendmedical/runtimeConfig.ts index 6d477a0c29787..7eab79da1c37c 100644 --- a/clients/client-comprehendmedical/runtimeConfig.ts +++ b/clients/client-comprehendmedical/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index 66b716f6f26ea..dd6dedb78d075 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-compute-optimizer/runtimeConfig.browser.ts b/clients/client-compute-optimizer/runtimeConfig.browser.ts index d87057715835b..6b068ea7e3f35 100644 --- a/clients/client-compute-optimizer/runtimeConfig.browser.ts +++ b/clients/client-compute-optimizer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-compute-optimizer/runtimeConfig.native.ts b/clients/client-compute-optimizer/runtimeConfig.native.ts index 0bf60a2374bfc..c5b88476283f9 100644 --- a/clients/client-compute-optimizer/runtimeConfig.native.ts +++ b/clients/client-compute-optimizer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ComputeOptimizerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-compute-optimizer/runtimeConfig.shared.ts b/clients/client-compute-optimizer/runtimeConfig.shared.ts index 42619fb25da82..d1ec02ce08e4f 100644 --- a/clients/client-compute-optimizer/runtimeConfig.shared.ts +++ b/clients/client-compute-optimizer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Compute Optimizer", + urlParser: parseUrl, }; diff --git a/clients/client-compute-optimizer/runtimeConfig.ts b/clients/client-compute-optimizer/runtimeConfig.ts index 05ac7e8560ad8..f5031f970a2e3 100644 --- a/clients/client-compute-optimizer/runtimeConfig.ts +++ b/clients/client-compute-optimizer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index c8a708d81099b..f8c686f324ea6 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-config-service/runtimeConfig.browser.ts b/clients/client-config-service/runtimeConfig.browser.ts index 92c2a624db4ea..403955f50ae65 100644 --- a/clients/client-config-service/runtimeConfig.browser.ts +++ b/clients/client-config-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-config-service/runtimeConfig.native.ts b/clients/client-config-service/runtimeConfig.native.ts index 57b1619e574ca..1c4f231313cda 100644 --- a/clients/client-config-service/runtimeConfig.native.ts +++ b/clients/client-config-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConfigServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-config-service/runtimeConfig.shared.ts b/clients/client-config-service/runtimeConfig.shared.ts index ab52a3bd193df..2283c820e398f 100644 --- a/clients/client-config-service/runtimeConfig.shared.ts +++ b/clients/client-config-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Config Service", + urlParser: parseUrl, }; diff --git a/clients/client-config-service/runtimeConfig.ts b/clients/client-config-service/runtimeConfig.ts index 76197a6155442..438252242618d 100644 --- a/clients/client-config-service/runtimeConfig.ts +++ b/clients/client-config-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index 5300eda66f8e1..4a6585691e040 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-connect-contact-lens/runtimeConfig.browser.ts b/clients/client-connect-contact-lens/runtimeConfig.browser.ts index 366d49bd320a0..43ee2e05e95d9 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.browser.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect-contact-lens/runtimeConfig.native.ts b/clients/client-connect-contact-lens/runtimeConfig.native.ts index 6b182dd756fd8..01adfd5bd1b97 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.native.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConnectContactLensClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-connect-contact-lens/runtimeConfig.shared.ts b/clients/client-connect-contact-lens/runtimeConfig.shared.ts index f4deb8e5cc251..b0347f717fe3d 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.shared.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Connect Contact Lens", + urlParser: parseUrl, }; diff --git a/clients/client-connect-contact-lens/runtimeConfig.ts b/clients/client-connect-contact-lens/runtimeConfig.ts index 03e36838adf85..99ab22ee28564 100644 --- a/clients/client-connect-contact-lens/runtimeConfig.ts +++ b/clients/client-connect-contact-lens/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index e3e4e378f721b..92d69466d19a2 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-connect/runtimeConfig.browser.ts b/clients/client-connect/runtimeConfig.browser.ts index 7fd696cd40af1..487eba2df3573 100644 --- a/clients/client-connect/runtimeConfig.browser.ts +++ b/clients/client-connect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connect/runtimeConfig.native.ts b/clients/client-connect/runtimeConfig.native.ts index f07ce4c7c8ff8..e86751148625f 100644 --- a/clients/client-connect/runtimeConfig.native.ts +++ b/clients/client-connect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-connect/runtimeConfig.shared.ts b/clients/client-connect/runtimeConfig.shared.ts index d196a7a6d1171..1ac6bb6741feb 100644 --- a/clients/client-connect/runtimeConfig.shared.ts +++ b/clients/client-connect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Connect", + urlParser: parseUrl, }; diff --git a/clients/client-connect/runtimeConfig.ts b/clients/client-connect/runtimeConfig.ts index 206482c2f6265..04f3c34be278d 100644 --- a/clients/client-connect/runtimeConfig.ts +++ b/clients/client-connect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index 00b086bb9f513..4ad4a98fc08a7 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-connectparticipant/runtimeConfig.browser.ts b/clients/client-connectparticipant/runtimeConfig.browser.ts index ffdff93581c71..c334640315f3d 100644 --- a/clients/client-connectparticipant/runtimeConfig.browser.ts +++ b/clients/client-connectparticipant/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-connectparticipant/runtimeConfig.native.ts b/clients/client-connectparticipant/runtimeConfig.native.ts index 8ee1e2943c1b5..1e5af0914a058 100644 --- a/clients/client-connectparticipant/runtimeConfig.native.ts +++ b/clients/client-connectparticipant/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ConnectParticipantClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-connectparticipant/runtimeConfig.shared.ts b/clients/client-connectparticipant/runtimeConfig.shared.ts index 62f423fb9525f..b5ce95df6dbed 100644 --- a/clients/client-connectparticipant/runtimeConfig.shared.ts +++ b/clients/client-connectparticipant/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ConnectParticipant", + urlParser: parseUrl, }; diff --git a/clients/client-connectparticipant/runtimeConfig.ts b/clients/client-connectparticipant/runtimeConfig.ts index 68e335ffd5f4d..1d8108d77cbad 100644 --- a/clients/client-connectparticipant/runtimeConfig.ts +++ b/clients/client-connectparticipant/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index 06dc6a37a0c1d..fa054ee015a75 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts index fb65ea4709391..e4daa120fde6d 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts index 020e837c44f45..6bc2ebc3a1c7e 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CostAndUsageReportServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts index 6abf8788e1392..793f70a37c35c 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cost and Usage Report Service", + urlParser: parseUrl, }; diff --git a/clients/client-cost-and-usage-report-service/runtimeConfig.ts b/clients/client-cost-and-usage-report-service/runtimeConfig.ts index 299ed76687b09..e9de0016a11ce 100644 --- a/clients/client-cost-and-usage-report-service/runtimeConfig.ts +++ b/clients/client-cost-and-usage-report-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index f2b0ac6bb48c6..c143ba5192992 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-cost-explorer/runtimeConfig.browser.ts b/clients/client-cost-explorer/runtimeConfig.browser.ts index 26359598197f0..1482786aee652 100644 --- a/clients/client-cost-explorer/runtimeConfig.browser.ts +++ b/clients/client-cost-explorer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-cost-explorer/runtimeConfig.native.ts b/clients/client-cost-explorer/runtimeConfig.native.ts index 10aadf852c4ff..5d197b9d89185 100644 --- a/clients/client-cost-explorer/runtimeConfig.native.ts +++ b/clients/client-cost-explorer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CostExplorerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-cost-explorer/runtimeConfig.shared.ts b/clients/client-cost-explorer/runtimeConfig.shared.ts index 49a317b40ae97..4cd5c7f91d7b2 100644 --- a/clients/client-cost-explorer/runtimeConfig.shared.ts +++ b/clients/client-cost-explorer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Cost Explorer", + urlParser: parseUrl, }; diff --git a/clients/client-cost-explorer/runtimeConfig.ts b/clients/client-cost-explorer/runtimeConfig.ts index e19ccfd9c3687..22942b94f2450 100644 --- a/clients/client-cost-explorer/runtimeConfig.ts +++ b/clients/client-cost-explorer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index 7988ebea55127..49bd18bf97df0 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-customer-profiles/runtimeConfig.browser.ts b/clients/client-customer-profiles/runtimeConfig.browser.ts index 18fc50ab7f212..a852ccd9fd76b 100644 --- a/clients/client-customer-profiles/runtimeConfig.browser.ts +++ b/clients/client-customer-profiles/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-customer-profiles/runtimeConfig.native.ts b/clients/client-customer-profiles/runtimeConfig.native.ts index e502d4e012b5e..de4deec05a504 100644 --- a/clients/client-customer-profiles/runtimeConfig.native.ts +++ b/clients/client-customer-profiles/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./CustomerProfilesClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-customer-profiles/runtimeConfig.shared.ts b/clients/client-customer-profiles/runtimeConfig.shared.ts index 5676da209a212..c37bcaa95679f 100644 --- a/clients/client-customer-profiles/runtimeConfig.shared.ts +++ b/clients/client-customer-profiles/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Customer Profiles", + urlParser: parseUrl, }; diff --git a/clients/client-customer-profiles/runtimeConfig.ts b/clients/client-customer-profiles/runtimeConfig.ts index 9efc526fae9e4..eee540981c451 100644 --- a/clients/client-customer-profiles/runtimeConfig.ts +++ b/clients/client-customer-profiles/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index 4d1214c7a8388..ca38234d69b1a 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-data-pipeline/runtimeConfig.browser.ts b/clients/client-data-pipeline/runtimeConfig.browser.ts index 31bd5fa4524b5..58ddbcf95f4ba 100644 --- a/clients/client-data-pipeline/runtimeConfig.browser.ts +++ b/clients/client-data-pipeline/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-data-pipeline/runtimeConfig.native.ts b/clients/client-data-pipeline/runtimeConfig.native.ts index 53680a0299427..69a18609cd9f3 100644 --- a/clients/client-data-pipeline/runtimeConfig.native.ts +++ b/clients/client-data-pipeline/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataPipelineClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-data-pipeline/runtimeConfig.shared.ts b/clients/client-data-pipeline/runtimeConfig.shared.ts index cc4b96655a0e5..7c4d849c03e0a 100644 --- a/clients/client-data-pipeline/runtimeConfig.shared.ts +++ b/clients/client-data-pipeline/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Data Pipeline", + urlParser: parseUrl, }; diff --git a/clients/client-data-pipeline/runtimeConfig.ts b/clients/client-data-pipeline/runtimeConfig.ts index d059d8a30cc17..129b60c0aa075 100644 --- a/clients/client-data-pipeline/runtimeConfig.ts +++ b/clients/client-data-pipeline/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index cf42dc0772535..4de2149b85f4c 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-database-migration-service/runtimeConfig.browser.ts b/clients/client-database-migration-service/runtimeConfig.browser.ts index 049031658af07..1f168a4bd49e6 100644 --- a/clients/client-database-migration-service/runtimeConfig.browser.ts +++ b/clients/client-database-migration-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-database-migration-service/runtimeConfig.native.ts b/clients/client-database-migration-service/runtimeConfig.native.ts index ae7ea57e683eb..94a6e3a6b52ae 100644 --- a/clients/client-database-migration-service/runtimeConfig.native.ts +++ b/clients/client-database-migration-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DatabaseMigrationServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-database-migration-service/runtimeConfig.shared.ts b/clients/client-database-migration-service/runtimeConfig.shared.ts index f633c45d0e39b..e8b649446586a 100644 --- a/clients/client-database-migration-service/runtimeConfig.shared.ts +++ b/clients/client-database-migration-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Database Migration Service", + urlParser: parseUrl, }; diff --git a/clients/client-database-migration-service/runtimeConfig.ts b/clients/client-database-migration-service/runtimeConfig.ts index 53648735faeee..c732ded934d28 100644 --- a/clients/client-database-migration-service/runtimeConfig.ts +++ b/clients/client-database-migration-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index b6535f9032988..731c004fe220a 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-databrew/runtimeConfig.browser.ts b/clients/client-databrew/runtimeConfig.browser.ts index 21ee8f2bcd37c..6c8c8ff84e2e9 100644 --- a/clients/client-databrew/runtimeConfig.browser.ts +++ b/clients/client-databrew/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-databrew/runtimeConfig.native.ts b/clients/client-databrew/runtimeConfig.native.ts index ed1e7c8d6f8cb..97697ba18b00b 100644 --- a/clients/client-databrew/runtimeConfig.native.ts +++ b/clients/client-databrew/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataBrewClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-databrew/runtimeConfig.shared.ts b/clients/client-databrew/runtimeConfig.shared.ts index 52a3b20d4bd32..5125d0b2b550a 100644 --- a/clients/client-databrew/runtimeConfig.shared.ts +++ b/clients/client-databrew/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DataBrew", + urlParser: parseUrl, }; diff --git a/clients/client-databrew/runtimeConfig.ts b/clients/client-databrew/runtimeConfig.ts index e2818435e9839..df896d041ad63 100644 --- a/clients/client-databrew/runtimeConfig.ts +++ b/clients/client-databrew/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index c578ad9b6053d..a14733ef7ba82 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dataexchange/runtimeConfig.browser.ts b/clients/client-dataexchange/runtimeConfig.browser.ts index 17ec047e8c0ae..375a57e9c332a 100644 --- a/clients/client-dataexchange/runtimeConfig.browser.ts +++ b/clients/client-dataexchange/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dataexchange/runtimeConfig.native.ts b/clients/client-dataexchange/runtimeConfig.native.ts index 303b37f5f971f..33ad3d6d18d79 100644 --- a/clients/client-dataexchange/runtimeConfig.native.ts +++ b/clients/client-dataexchange/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataExchangeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dataexchange/runtimeConfig.shared.ts b/clients/client-dataexchange/runtimeConfig.shared.ts index eb9dfc02a2cd1..38aa43059167d 100644 --- a/clients/client-dataexchange/runtimeConfig.shared.ts +++ b/clients/client-dataexchange/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DataExchange", + urlParser: parseUrl, }; diff --git a/clients/client-dataexchange/runtimeConfig.ts b/clients/client-dataexchange/runtimeConfig.ts index 38dd1986de229..178fe7f11f680 100644 --- a/clients/client-dataexchange/runtimeConfig.ts +++ b/clients/client-dataexchange/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index af6c370dccfb2..91d23e372146f 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-datasync/runtimeConfig.browser.ts b/clients/client-datasync/runtimeConfig.browser.ts index 5dc601b934aa0..2c2df0b865d21 100644 --- a/clients/client-datasync/runtimeConfig.browser.ts +++ b/clients/client-datasync/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-datasync/runtimeConfig.native.ts b/clients/client-datasync/runtimeConfig.native.ts index e9d9c4fe1fd92..07effda3c1b14 100644 --- a/clients/client-datasync/runtimeConfig.native.ts +++ b/clients/client-datasync/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DataSyncClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-datasync/runtimeConfig.shared.ts b/clients/client-datasync/runtimeConfig.shared.ts index b59483ada1776..2a7b3a2967c76 100644 --- a/clients/client-datasync/runtimeConfig.shared.ts +++ b/clients/client-datasync/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DataSync", + urlParser: parseUrl, }; diff --git a/clients/client-datasync/runtimeConfig.ts b/clients/client-datasync/runtimeConfig.ts index e37d79c79758d..c39b8bf8bc444 100644 --- a/clients/client-datasync/runtimeConfig.ts +++ b/clients/client-datasync/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index d96f1445442e2..1343e43206392 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dax/runtimeConfig.browser.ts b/clients/client-dax/runtimeConfig.browser.ts index d07393060acee..41e89b94ec834 100644 --- a/clients/client-dax/runtimeConfig.browser.ts +++ b/clients/client-dax/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dax/runtimeConfig.native.ts b/clients/client-dax/runtimeConfig.native.ts index 15a4a4be0299b..252cbea56b1f0 100644 --- a/clients/client-dax/runtimeConfig.native.ts +++ b/clients/client-dax/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DAXClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dax/runtimeConfig.shared.ts b/clients/client-dax/runtimeConfig.shared.ts index 158a48990fd26..ed5ef0c8f7f64 100644 --- a/clients/client-dax/runtimeConfig.shared.ts +++ b/clients/client-dax/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DAX", + urlParser: parseUrl, }; diff --git a/clients/client-dax/runtimeConfig.ts b/clients/client-dax/runtimeConfig.ts index 62c1c192d7e99..b0069fbb45dfb 100644 --- a/clients/client-dax/runtimeConfig.ts +++ b/clients/client-dax/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index 5f3b90b62c885..6c6cb58fed104 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-detective/runtimeConfig.browser.ts b/clients/client-detective/runtimeConfig.browser.ts index 7b7119903b683..1639b1f52e3db 100644 --- a/clients/client-detective/runtimeConfig.browser.ts +++ b/clients/client-detective/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-detective/runtimeConfig.native.ts b/clients/client-detective/runtimeConfig.native.ts index ba265876a0169..8a2263613598d 100644 --- a/clients/client-detective/runtimeConfig.native.ts +++ b/clients/client-detective/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DetectiveClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-detective/runtimeConfig.shared.ts b/clients/client-detective/runtimeConfig.shared.ts index ff5ff1b86982f..13b6170c02677 100644 --- a/clients/client-detective/runtimeConfig.shared.ts +++ b/clients/client-detective/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Detective", + urlParser: parseUrl, }; diff --git a/clients/client-detective/runtimeConfig.ts b/clients/client-detective/runtimeConfig.ts index b222ffeeb9410..c274b0b92f370 100644 --- a/clients/client-detective/runtimeConfig.ts +++ b/clients/client-detective/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index 0b5e75887f5bc..a7313271cb795 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-device-farm/runtimeConfig.browser.ts b/clients/client-device-farm/runtimeConfig.browser.ts index adba2e833d0be..752c6e09f623f 100644 --- a/clients/client-device-farm/runtimeConfig.browser.ts +++ b/clients/client-device-farm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-device-farm/runtimeConfig.native.ts b/clients/client-device-farm/runtimeConfig.native.ts index 855933af044d8..ded757e1dde3b 100644 --- a/clients/client-device-farm/runtimeConfig.native.ts +++ b/clients/client-device-farm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DeviceFarmClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-device-farm/runtimeConfig.shared.ts b/clients/client-device-farm/runtimeConfig.shared.ts index 54200f16421c0..268a31a044c74 100644 --- a/clients/client-device-farm/runtimeConfig.shared.ts +++ b/clients/client-device-farm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Device Farm", + urlParser: parseUrl, }; diff --git a/clients/client-device-farm/runtimeConfig.ts b/clients/client-device-farm/runtimeConfig.ts index 4fa27268382ab..9bb849010d002 100644 --- a/clients/client-device-farm/runtimeConfig.ts +++ b/clients/client-device-farm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index ea6e11316c3d4..19ccd2fba8398 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-devops-guru/runtimeConfig.browser.ts b/clients/client-devops-guru/runtimeConfig.browser.ts index c9728351d6690..ba63f5fab8bac 100644 --- a/clients/client-devops-guru/runtimeConfig.browser.ts +++ b/clients/client-devops-guru/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-devops-guru/runtimeConfig.native.ts b/clients/client-devops-guru/runtimeConfig.native.ts index 19a82d284c7bc..812d9da56f099 100644 --- a/clients/client-devops-guru/runtimeConfig.native.ts +++ b/clients/client-devops-guru/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DevOpsGuruClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-devops-guru/runtimeConfig.shared.ts b/clients/client-devops-guru/runtimeConfig.shared.ts index d19fbd42ede7a..e397449f6b1e3 100644 --- a/clients/client-devops-guru/runtimeConfig.shared.ts +++ b/clients/client-devops-guru/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DevOps Guru", + urlParser: parseUrl, }; diff --git a/clients/client-devops-guru/runtimeConfig.ts b/clients/client-devops-guru/runtimeConfig.ts index 276af2af826a2..38c722ebe20df 100644 --- a/clients/client-devops-guru/runtimeConfig.ts +++ b/clients/client-devops-guru/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index 5a3353a1672a7..e76f58623ef74 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-direct-connect/runtimeConfig.browser.ts b/clients/client-direct-connect/runtimeConfig.browser.ts index 4a52d918431fc..3c04ccd168110 100644 --- a/clients/client-direct-connect/runtimeConfig.browser.ts +++ b/clients/client-direct-connect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-direct-connect/runtimeConfig.native.ts b/clients/client-direct-connect/runtimeConfig.native.ts index 1a4b98cb32c82..eabc510f11386 100644 --- a/clients/client-direct-connect/runtimeConfig.native.ts +++ b/clients/client-direct-connect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DirectConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-direct-connect/runtimeConfig.shared.ts b/clients/client-direct-connect/runtimeConfig.shared.ts index f162a21479055..5c79ef8e4ccde 100644 --- a/clients/client-direct-connect/runtimeConfig.shared.ts +++ b/clients/client-direct-connect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Direct Connect", + urlParser: parseUrl, }; diff --git a/clients/client-direct-connect/runtimeConfig.ts b/clients/client-direct-connect/runtimeConfig.ts index 2217c1c6a46c1..a63908c6ef015 100644 --- a/clients/client-direct-connect/runtimeConfig.ts +++ b/clients/client-direct-connect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 4f24bae444179..2b89734b07e04 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-directory-service/runtimeConfig.browser.ts b/clients/client-directory-service/runtimeConfig.browser.ts index d54971e87753f..db94386fe6e30 100644 --- a/clients/client-directory-service/runtimeConfig.browser.ts +++ b/clients/client-directory-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-directory-service/runtimeConfig.native.ts b/clients/client-directory-service/runtimeConfig.native.ts index e82655bb667f9..86cb9cef16d27 100644 --- a/clients/client-directory-service/runtimeConfig.native.ts +++ b/clients/client-directory-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DirectoryServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-directory-service/runtimeConfig.shared.ts b/clients/client-directory-service/runtimeConfig.shared.ts index 22ae28db812c3..07d7a1e9e7a5c 100644 --- a/clients/client-directory-service/runtimeConfig.shared.ts +++ b/clients/client-directory-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Directory Service", + urlParser: parseUrl, }; diff --git a/clients/client-directory-service/runtimeConfig.ts b/clients/client-directory-service/runtimeConfig.ts index b1e8271a5cc13..8ffaf741d583b 100644 --- a/clients/client-directory-service/runtimeConfig.ts +++ b/clients/client-directory-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index 2f91114d23e49..5ad44648467aa 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dlm/runtimeConfig.browser.ts b/clients/client-dlm/runtimeConfig.browser.ts index dd2e229dc2fe4..3704c4075ef8f 100644 --- a/clients/client-dlm/runtimeConfig.browser.ts +++ b/clients/client-dlm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dlm/runtimeConfig.native.ts b/clients/client-dlm/runtimeConfig.native.ts index 2bef215b6595a..320ca38031d65 100644 --- a/clients/client-dlm/runtimeConfig.native.ts +++ b/clients/client-dlm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DLMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dlm/runtimeConfig.shared.ts b/clients/client-dlm/runtimeConfig.shared.ts index 3e21abbeefa30..981e364b33bff 100644 --- a/clients/client-dlm/runtimeConfig.shared.ts +++ b/clients/client-dlm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DLM", + urlParser: parseUrl, }; diff --git a/clients/client-dlm/runtimeConfig.ts b/clients/client-dlm/runtimeConfig.ts index 74995b2aea80e..01bcfbca136fa 100644 --- a/clients/client-dlm/runtimeConfig.ts +++ b/clients/client-dlm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index 7f489a9aaeecc..04a1c4456c1e1 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-docdb/runtimeConfig.browser.ts b/clients/client-docdb/runtimeConfig.browser.ts index f4c390685ce58..92d492f54c9d6 100644 --- a/clients/client-docdb/runtimeConfig.browser.ts +++ b/clients/client-docdb/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-docdb/runtimeConfig.native.ts b/clients/client-docdb/runtimeConfig.native.ts index bf5339ed2558a..2ba48f3b31dd1 100644 --- a/clients/client-docdb/runtimeConfig.native.ts +++ b/clients/client-docdb/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DocDBClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-docdb/runtimeConfig.shared.ts b/clients/client-docdb/runtimeConfig.shared.ts index 91249dcc37a4f..4dde6e3728c10 100644 --- a/clients/client-docdb/runtimeConfig.shared.ts +++ b/clients/client-docdb/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DocDB", + urlParser: parseUrl, }; diff --git a/clients/client-docdb/runtimeConfig.ts b/clients/client-docdb/runtimeConfig.ts index e045fafaeb638..409888356569c 100644 --- a/clients/client-docdb/runtimeConfig.ts +++ b/clients/client-docdb/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index 3fba40bd37980..59a0c37696cbe 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dynamodb-streams/runtimeConfig.browser.ts b/clients/client-dynamodb-streams/runtimeConfig.browser.ts index 9dc4d84b1f8ea..47871bfb3a254 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.browser.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb-streams/runtimeConfig.native.ts b/clients/client-dynamodb-streams/runtimeConfig.native.ts index 9e84dfbab8f52..c699985559374 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.native.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DynamoDBStreamsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dynamodb-streams/runtimeConfig.shared.ts b/clients/client-dynamodb-streams/runtimeConfig.shared.ts index 4204aa4af760e..66dafc22a41b8 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.shared.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DynamoDB Streams", + urlParser: parseUrl, }; diff --git a/clients/client-dynamodb-streams/runtimeConfig.ts b/clients/client-dynamodb-streams/runtimeConfig.ts index 69a230c523b74..f3911e990f594 100644 --- a/clients/client-dynamodb-streams/runtimeConfig.ts +++ b/clients/client-dynamodb-streams/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index dd0433ad6306a..a07813c643b5d 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-dynamodb/runtimeConfig.browser.ts b/clients/client-dynamodb/runtimeConfig.browser.ts index 44fffd134eb31..44bdf90225817 100644 --- a/clients/client-dynamodb/runtimeConfig.browser.ts +++ b/clients/client-dynamodb/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-dynamodb/runtimeConfig.native.ts b/clients/client-dynamodb/runtimeConfig.native.ts index 4435dd96ded20..65461cc7e573b 100644 --- a/clients/client-dynamodb/runtimeConfig.native.ts +++ b/clients/client-dynamodb/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./DynamoDBClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-dynamodb/runtimeConfig.shared.ts b/clients/client-dynamodb/runtimeConfig.shared.ts index f0efe735b0012..fb606da58f173 100644 --- a/clients/client-dynamodb/runtimeConfig.shared.ts +++ b/clients/client-dynamodb/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "DynamoDB", + urlParser: parseUrl, }; diff --git a/clients/client-dynamodb/runtimeConfig.ts b/clients/client-dynamodb/runtimeConfig.ts index 14681c204b666..6ec2de1c67b4f 100644 --- a/clients/client-dynamodb/runtimeConfig.ts +++ b/clients/client-dynamodb/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index b076ec7807fa7..0a9877900082c 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ebs/runtimeConfig.browser.ts b/clients/client-ebs/runtimeConfig.browser.ts index 468c92392ac02..4cd0ea223a939 100644 --- a/clients/client-ebs/runtimeConfig.browser.ts +++ b/clients/client-ebs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ebs/runtimeConfig.native.ts b/clients/client-ebs/runtimeConfig.native.ts index d33457a7b13c4..e077ac030f443 100644 --- a/clients/client-ebs/runtimeConfig.native.ts +++ b/clients/client-ebs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EBSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ebs/runtimeConfig.shared.ts b/clients/client-ebs/runtimeConfig.shared.ts index 126b2ea49ae4f..a89212ea7a922 100644 --- a/clients/client-ebs/runtimeConfig.shared.ts +++ b/clients/client-ebs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EBS", + urlParser: parseUrl, }; diff --git a/clients/client-ebs/runtimeConfig.ts b/clients/client-ebs/runtimeConfig.ts index 09ab2fbae7d42..4e732b916533c 100644 --- a/clients/client-ebs/runtimeConfig.ts +++ b/clients/client-ebs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index a99d3121d4ed0..d19b9d320c939 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ec2-instance-connect/runtimeConfig.browser.ts b/clients/client-ec2-instance-connect/runtimeConfig.browser.ts index f327d58e137da..c5b0a9791bf8f 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.browser.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2-instance-connect/runtimeConfig.native.ts b/clients/client-ec2-instance-connect/runtimeConfig.native.ts index ac0aa39a7d0a9..0d6bb473c8e87 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.native.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EC2InstanceConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ec2-instance-connect/runtimeConfig.shared.ts b/clients/client-ec2-instance-connect/runtimeConfig.shared.ts index 78297f15aafd3..b58e602477ed7 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.shared.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EC2 Instance Connect", + urlParser: parseUrl, }; diff --git a/clients/client-ec2-instance-connect/runtimeConfig.ts b/clients/client-ec2-instance-connect/runtimeConfig.ts index d4b27beeb062b..fb2ee0e7e0cab 100644 --- a/clients/client-ec2-instance-connect/runtimeConfig.ts +++ b/clients/client-ec2-instance-connect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index d71fd93d1e4e4..ebd943e7b21ad 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ec2/runtimeConfig.browser.ts b/clients/client-ec2/runtimeConfig.browser.ts index 4c4b2259f445c..315f9bbfd5a78 100644 --- a/clients/client-ec2/runtimeConfig.browser.ts +++ b/clients/client-ec2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ec2/runtimeConfig.native.ts b/clients/client-ec2/runtimeConfig.native.ts index 8f7c4b5e69945..0477184d6f3e7 100644 --- a/clients/client-ec2/runtimeConfig.native.ts +++ b/clients/client-ec2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EC2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ec2/runtimeConfig.shared.ts b/clients/client-ec2/runtimeConfig.shared.ts index f1ed3cf58dfe1..5bd79b8d34cfb 100644 --- a/clients/client-ec2/runtimeConfig.shared.ts +++ b/clients/client-ec2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EC2", + urlParser: parseUrl, }; diff --git a/clients/client-ec2/runtimeConfig.ts b/clients/client-ec2/runtimeConfig.ts index 684c522fe20ce..6d7a2026687a8 100644 --- a/clients/client-ec2/runtimeConfig.ts +++ b/clients/client-ec2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index f919f5ed546e7..c317a89091d6c 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ecr-public/runtimeConfig.browser.ts b/clients/client-ecr-public/runtimeConfig.browser.ts index d414db647ba6c..35eeb0ad7eb81 100644 --- a/clients/client-ecr-public/runtimeConfig.browser.ts +++ b/clients/client-ecr-public/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr-public/runtimeConfig.native.ts b/clients/client-ecr-public/runtimeConfig.native.ts index a772a48bb7d33..cf96c3372cbce 100644 --- a/clients/client-ecr-public/runtimeConfig.native.ts +++ b/clients/client-ecr-public/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ECRPUBLICClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ecr-public/runtimeConfig.shared.ts b/clients/client-ecr-public/runtimeConfig.shared.ts index de27fb2f22f3b..7b93255f9d111 100644 --- a/clients/client-ecr-public/runtimeConfig.shared.ts +++ b/clients/client-ecr-public/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ECR PUBLIC", + urlParser: parseUrl, }; diff --git a/clients/client-ecr-public/runtimeConfig.ts b/clients/client-ecr-public/runtimeConfig.ts index e6f9ec1661100..fe5a80ac27334 100644 --- a/clients/client-ecr-public/runtimeConfig.ts +++ b/clients/client-ecr-public/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index 37078679c06b7..8c192fb5e5fe0 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ecr/runtimeConfig.browser.ts b/clients/client-ecr/runtimeConfig.browser.ts index a1ffa1bd96e7b..5b3132df81727 100644 --- a/clients/client-ecr/runtimeConfig.browser.ts +++ b/clients/client-ecr/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecr/runtimeConfig.native.ts b/clients/client-ecr/runtimeConfig.native.ts index a4e6e46a060ff..99b312325cd50 100644 --- a/clients/client-ecr/runtimeConfig.native.ts +++ b/clients/client-ecr/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ECRClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ecr/runtimeConfig.shared.ts b/clients/client-ecr/runtimeConfig.shared.ts index ce2cc1eb17347..abb836a2f0c8f 100644 --- a/clients/client-ecr/runtimeConfig.shared.ts +++ b/clients/client-ecr/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ECR", + urlParser: parseUrl, }; diff --git a/clients/client-ecr/runtimeConfig.ts b/clients/client-ecr/runtimeConfig.ts index 43f649852ff0c..1b5b82b7176da 100644 --- a/clients/client-ecr/runtimeConfig.ts +++ b/clients/client-ecr/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index ab3f7efa21db0..a1061dc0837ec 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ecs/runtimeConfig.browser.ts b/clients/client-ecs/runtimeConfig.browser.ts index aa35b806aaf66..ac2bf9c25b9ac 100644 --- a/clients/client-ecs/runtimeConfig.browser.ts +++ b/clients/client-ecs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ecs/runtimeConfig.native.ts b/clients/client-ecs/runtimeConfig.native.ts index f7fadafb32190..56d159f7036f8 100644 --- a/clients/client-ecs/runtimeConfig.native.ts +++ b/clients/client-ecs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ECSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ecs/runtimeConfig.shared.ts b/clients/client-ecs/runtimeConfig.shared.ts index ebb907fa88d2f..47013405c702b 100644 --- a/clients/client-ecs/runtimeConfig.shared.ts +++ b/clients/client-ecs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ECS", + urlParser: parseUrl, }; diff --git a/clients/client-ecs/runtimeConfig.ts b/clients/client-ecs/runtimeConfig.ts index 6ca77ee96dbbb..7b6bf826d4a5c 100644 --- a/clients/client-ecs/runtimeConfig.ts +++ b/clients/client-ecs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index 89a1a455cb708..547063626e03a 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-efs/runtimeConfig.browser.ts b/clients/client-efs/runtimeConfig.browser.ts index 96b057e2f47c4..9850cf1eb2f35 100644 --- a/clients/client-efs/runtimeConfig.browser.ts +++ b/clients/client-efs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-efs/runtimeConfig.native.ts b/clients/client-efs/runtimeConfig.native.ts index bdaa689854fe8..acd420de2db34 100644 --- a/clients/client-efs/runtimeConfig.native.ts +++ b/clients/client-efs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EFSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-efs/runtimeConfig.shared.ts b/clients/client-efs/runtimeConfig.shared.ts index c060dfc734caf..2b9348ba27150 100644 --- a/clients/client-efs/runtimeConfig.shared.ts +++ b/clients/client-efs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EFS", + urlParser: parseUrl, }; diff --git a/clients/client-efs/runtimeConfig.ts b/clients/client-efs/runtimeConfig.ts index a5776084f7c8d..f4615c44476a0 100644 --- a/clients/client-efs/runtimeConfig.ts +++ b/clients/client-efs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index 2a2d3cdaae7c9..a2b14004f5ce9 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-eks/runtimeConfig.browser.ts b/clients/client-eks/runtimeConfig.browser.ts index 128955113e9d3..2ac226c1d1987 100644 --- a/clients/client-eks/runtimeConfig.browser.ts +++ b/clients/client-eks/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eks/runtimeConfig.native.ts b/clients/client-eks/runtimeConfig.native.ts index 25e1dd3904258..b5238339ccedc 100644 --- a/clients/client-eks/runtimeConfig.native.ts +++ b/clients/client-eks/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EKSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-eks/runtimeConfig.shared.ts b/clients/client-eks/runtimeConfig.shared.ts index 1a410e01565a5..1006e99f84475 100644 --- a/clients/client-eks/runtimeConfig.shared.ts +++ b/clients/client-eks/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EKS", + urlParser: parseUrl, }; diff --git a/clients/client-eks/runtimeConfig.ts b/clients/client-eks/runtimeConfig.ts index 0eb66798a8458..9a3c86c49208b 100644 --- a/clients/client-eks/runtimeConfig.ts +++ b/clients/client-eks/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index 34a2a64b5e343..1ee39b6687e65 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-beanstalk/runtimeConfig.browser.ts b/clients/client-elastic-beanstalk/runtimeConfig.browser.ts index 4aabede81499f..1ad6373a54f79 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.browser.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-beanstalk/runtimeConfig.native.ts b/clients/client-elastic-beanstalk/runtimeConfig.native.ts index b51ffcdb93fe5..b85276b5fde06 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.native.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticBeanstalkClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-beanstalk/runtimeConfig.shared.ts b/clients/client-elastic-beanstalk/runtimeConfig.shared.ts index 3c7079bf8e364..dc6f4c0fa9045 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.shared.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Beanstalk", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-beanstalk/runtimeConfig.ts b/clients/client-elastic-beanstalk/runtimeConfig.ts index 1ef80ff67beca..9b07f51482a5f 100644 --- a/clients/client-elastic-beanstalk/runtimeConfig.ts +++ b/clients/client-elastic-beanstalk/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index 2cca1dd9349ad..994ff4ce3bb1b 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-inference/runtimeConfig.browser.ts b/clients/client-elastic-inference/runtimeConfig.browser.ts index 77558932d13b3..03f5d9d5b94a7 100644 --- a/clients/client-elastic-inference/runtimeConfig.browser.ts +++ b/clients/client-elastic-inference/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-inference/runtimeConfig.native.ts b/clients/client-elastic-inference/runtimeConfig.native.ts index ffa246b21f4d1..506ea0f87256c 100644 --- a/clients/client-elastic-inference/runtimeConfig.native.ts +++ b/clients/client-elastic-inference/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticInferenceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-inference/runtimeConfig.shared.ts b/clients/client-elastic-inference/runtimeConfig.shared.ts index 70aa3e7b2aa55..1e7a6a1ff6ac9 100644 --- a/clients/client-elastic-inference/runtimeConfig.shared.ts +++ b/clients/client-elastic-inference/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Inference", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-inference/runtimeConfig.ts b/clients/client-elastic-inference/runtimeConfig.ts index bb011ced5b636..ac2df7146b01c 100644 --- a/clients/client-elastic-inference/runtimeConfig.ts +++ b/clients/client-elastic-inference/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 27d40ff070a49..f963338ba3d01 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts index fdc17f289488e..8a9e912121773 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts index 2597bd5ec8483..f04b320b6cc41 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticLoadBalancingV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts index 7a7b7d0d5cac5..2033f47ae204d 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Load Balancing v2", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-load-balancing-v2/runtimeConfig.ts b/clients/client-elastic-load-balancing-v2/runtimeConfig.ts index 05db6ebf3a752..32e238034d86d 100644 --- a/clients/client-elastic-load-balancing-v2/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing-v2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index e8788ab2f7c3a..e37630ecad98f 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-load-balancing/runtimeConfig.browser.ts b/clients/client-elastic-load-balancing/runtimeConfig.browser.ts index 76bcaa376b6cd..9286781a6df9a 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.browser.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-load-balancing/runtimeConfig.native.ts b/clients/client-elastic-load-balancing/runtimeConfig.native.ts index 059b51de5f3b1..adb80d249e0f9 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.native.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticLoadBalancingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-load-balancing/runtimeConfig.shared.ts b/clients/client-elastic-load-balancing/runtimeConfig.shared.ts index bab6a26aa7514..6767433cba88b 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.shared.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Load Balancing", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-load-balancing/runtimeConfig.ts b/clients/client-elastic-load-balancing/runtimeConfig.ts index 491bd5a3d3b21..22768876702b5 100644 --- a/clients/client-elastic-load-balancing/runtimeConfig.ts +++ b/clients/client-elastic-load-balancing/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index f1fa23baba418..395e60b206523 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elastic-transcoder/runtimeConfig.browser.ts b/clients/client-elastic-transcoder/runtimeConfig.browser.ts index 27b651045025f..44414e47f867a 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.browser.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elastic-transcoder/runtimeConfig.native.ts b/clients/client-elastic-transcoder/runtimeConfig.native.ts index 7508161f44110..6e67564a455c1 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.native.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticTranscoderClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elastic-transcoder/runtimeConfig.shared.ts b/clients/client-elastic-transcoder/runtimeConfig.shared.ts index d0b3bd604a3e4..c6c6f37b8aa20 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.shared.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elastic Transcoder", + urlParser: parseUrl, }; diff --git a/clients/client-elastic-transcoder/runtimeConfig.ts b/clients/client-elastic-transcoder/runtimeConfig.ts index beb232943384d..41ed7785b60d2 100644 --- a/clients/client-elastic-transcoder/runtimeConfig.ts +++ b/clients/client-elastic-transcoder/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index 94c893d4baee2..13f9051e23412 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elasticache/runtimeConfig.browser.ts b/clients/client-elasticache/runtimeConfig.browser.ts index b688fe6e0c046..2ec2dd420ef4d 100644 --- a/clients/client-elasticache/runtimeConfig.browser.ts +++ b/clients/client-elasticache/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticache/runtimeConfig.native.ts b/clients/client-elasticache/runtimeConfig.native.ts index 5a2513da9eb91..e9ab94ce2ab85 100644 --- a/clients/client-elasticache/runtimeConfig.native.ts +++ b/clients/client-elasticache/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElastiCacheClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elasticache/runtimeConfig.shared.ts b/clients/client-elasticache/runtimeConfig.shared.ts index 7ae89bf3e37f3..0761a94a376a9 100644 --- a/clients/client-elasticache/runtimeConfig.shared.ts +++ b/clients/client-elasticache/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ElastiCache", + urlParser: parseUrl, }; diff --git a/clients/client-elasticache/runtimeConfig.ts b/clients/client-elasticache/runtimeConfig.ts index ae388c85f8095..e3be49ac6122b 100644 --- a/clients/client-elasticache/runtimeConfig.ts +++ b/clients/client-elasticache/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index 28d0d29448b94..5d8c2db961d5e 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-elasticsearch-service/runtimeConfig.browser.ts b/clients/client-elasticsearch-service/runtimeConfig.browser.ts index aa03d60d61e8d..eef5d816e00e6 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.browser.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-elasticsearch-service/runtimeConfig.native.ts b/clients/client-elasticsearch-service/runtimeConfig.native.ts index a3c881d65a177..6a08f15773030 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.native.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ElasticsearchServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-elasticsearch-service/runtimeConfig.shared.ts b/clients/client-elasticsearch-service/runtimeConfig.shared.ts index 3210c87bad239..c224b21772210 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.shared.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Elasticsearch Service", + urlParser: parseUrl, }; diff --git a/clients/client-elasticsearch-service/runtimeConfig.ts b/clients/client-elasticsearch-service/runtimeConfig.ts index e13164eaf863b..a383578196404 100644 --- a/clients/client-elasticsearch-service/runtimeConfig.ts +++ b/clients/client-elasticsearch-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index a0917a44aa5ae..28f779e806ea4 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-emr-containers/runtimeConfig.browser.ts b/clients/client-emr-containers/runtimeConfig.browser.ts index b3649cafbb49b..4adfe5244fe26 100644 --- a/clients/client-emr-containers/runtimeConfig.browser.ts +++ b/clients/client-emr-containers/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr-containers/runtimeConfig.native.ts b/clients/client-emr-containers/runtimeConfig.native.ts index 622b9b9b986ca..6b75d75565463 100644 --- a/clients/client-emr-containers/runtimeConfig.native.ts +++ b/clients/client-emr-containers/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EMRContainersClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-emr-containers/runtimeConfig.shared.ts b/clients/client-emr-containers/runtimeConfig.shared.ts index bffb648d891c6..f09d04e16714f 100644 --- a/clients/client-emr-containers/runtimeConfig.shared.ts +++ b/clients/client-emr-containers/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EMR containers", + urlParser: parseUrl, }; diff --git a/clients/client-emr-containers/runtimeConfig.ts b/clients/client-emr-containers/runtimeConfig.ts index da96716ffe2d0..38cd858869f63 100644 --- a/clients/client-emr-containers/runtimeConfig.ts +++ b/clients/client-emr-containers/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index 3a92fbe107042..190a939799838 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-emr/runtimeConfig.browser.ts b/clients/client-emr/runtimeConfig.browser.ts index 7ee0e664ce550..a3005913362a3 100644 --- a/clients/client-emr/runtimeConfig.browser.ts +++ b/clients/client-emr/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-emr/runtimeConfig.native.ts b/clients/client-emr/runtimeConfig.native.ts index 5c15ca853b4a4..6b8edae07fcdc 100644 --- a/clients/client-emr/runtimeConfig.native.ts +++ b/clients/client-emr/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EMRClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-emr/runtimeConfig.shared.ts b/clients/client-emr/runtimeConfig.shared.ts index b9821bf171bc2..592e6876ad66a 100644 --- a/clients/client-emr/runtimeConfig.shared.ts +++ b/clients/client-emr/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EMR", + urlParser: parseUrl, }; diff --git a/clients/client-emr/runtimeConfig.ts b/clients/client-emr/runtimeConfig.ts index 3c11e1b39eeee..1c70f8d49d060 100644 --- a/clients/client-emr/runtimeConfig.ts +++ b/clients/client-emr/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index 0262f39b965f3..fda8a8dfb0a19 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-eventbridge/runtimeConfig.browser.ts b/clients/client-eventbridge/runtimeConfig.browser.ts index 256e18cfcde85..20fdb79c7f6ca 100644 --- a/clients/client-eventbridge/runtimeConfig.browser.ts +++ b/clients/client-eventbridge/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-eventbridge/runtimeConfig.native.ts b/clients/client-eventbridge/runtimeConfig.native.ts index 11ea8c3096291..014226d9962d1 100644 --- a/clients/client-eventbridge/runtimeConfig.native.ts +++ b/clients/client-eventbridge/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EventBridgeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-eventbridge/runtimeConfig.shared.ts b/clients/client-eventbridge/runtimeConfig.shared.ts index a8899ad493364..c3011b606dc89 100644 --- a/clients/client-eventbridge/runtimeConfig.shared.ts +++ b/clients/client-eventbridge/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EventBridge", + urlParser: parseUrl, }; diff --git a/clients/client-eventbridge/runtimeConfig.ts b/clients/client-eventbridge/runtimeConfig.ts index 020563b9044b6..ec53a7d4c59d3 100644 --- a/clients/client-eventbridge/runtimeConfig.ts +++ b/clients/client-eventbridge/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index 8dfedc9017191..e51f85e64ac75 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-firehose/runtimeConfig.browser.ts b/clients/client-firehose/runtimeConfig.browser.ts index d7161b43ca3a6..77e08ae242c71 100644 --- a/clients/client-firehose/runtimeConfig.browser.ts +++ b/clients/client-firehose/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-firehose/runtimeConfig.native.ts b/clients/client-firehose/runtimeConfig.native.ts index 85ff7de04da06..6e352fadbb7f1 100644 --- a/clients/client-firehose/runtimeConfig.native.ts +++ b/clients/client-firehose/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FirehoseClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-firehose/runtimeConfig.shared.ts b/clients/client-firehose/runtimeConfig.shared.ts index 57a9fd5f593f3..22577e7431a11 100644 --- a/clients/client-firehose/runtimeConfig.shared.ts +++ b/clients/client-firehose/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Firehose", + urlParser: parseUrl, }; diff --git a/clients/client-firehose/runtimeConfig.ts b/clients/client-firehose/runtimeConfig.ts index 69e3291faf572..abc2bf117f25d 100644 --- a/clients/client-firehose/runtimeConfig.ts +++ b/clients/client-firehose/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index a4842d097ab2b..ad99543cdaa5e 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-fms/runtimeConfig.browser.ts b/clients/client-fms/runtimeConfig.browser.ts index fff3246fcab38..a0b038f4a4d99 100644 --- a/clients/client-fms/runtimeConfig.browser.ts +++ b/clients/client-fms/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fms/runtimeConfig.native.ts b/clients/client-fms/runtimeConfig.native.ts index 06fae71ba3bf9..566e4182c9a19 100644 --- a/clients/client-fms/runtimeConfig.native.ts +++ b/clients/client-fms/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FMSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-fms/runtimeConfig.shared.ts b/clients/client-fms/runtimeConfig.shared.ts index 954f3c0c7c206..2f823752aa96c 100644 --- a/clients/client-fms/runtimeConfig.shared.ts +++ b/clients/client-fms/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "FMS", + urlParser: parseUrl, }; diff --git a/clients/client-fms/runtimeConfig.ts b/clients/client-fms/runtimeConfig.ts index 274b16144f9d1..73a7da2038e41 100644 --- a/clients/client-fms/runtimeConfig.ts +++ b/clients/client-fms/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index 57cb15d583466..7db2573362491 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-forecast/runtimeConfig.browser.ts b/clients/client-forecast/runtimeConfig.browser.ts index 7499e355265ca..667429a801dd4 100644 --- a/clients/client-forecast/runtimeConfig.browser.ts +++ b/clients/client-forecast/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecast/runtimeConfig.native.ts b/clients/client-forecast/runtimeConfig.native.ts index 8fc2abba31ea2..33b0129f9393b 100644 --- a/clients/client-forecast/runtimeConfig.native.ts +++ b/clients/client-forecast/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ForecastClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-forecast/runtimeConfig.shared.ts b/clients/client-forecast/runtimeConfig.shared.ts index 9dd94e54d8006..dca83477eba33 100644 --- a/clients/client-forecast/runtimeConfig.shared.ts +++ b/clients/client-forecast/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "forecast", + urlParser: parseUrl, }; diff --git a/clients/client-forecast/runtimeConfig.ts b/clients/client-forecast/runtimeConfig.ts index 7b5ea3dfdd9ff..f2935b70ede86 100644 --- a/clients/client-forecast/runtimeConfig.ts +++ b/clients/client-forecast/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index 6e53bb55f88a7..ec4cdfeda4ba7 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-forecastquery/runtimeConfig.browser.ts b/clients/client-forecastquery/runtimeConfig.browser.ts index 2bed73624251b..32ef56c9f81cb 100644 --- a/clients/client-forecastquery/runtimeConfig.browser.ts +++ b/clients/client-forecastquery/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-forecastquery/runtimeConfig.native.ts b/clients/client-forecastquery/runtimeConfig.native.ts index 5a99514c36bfc..9737a05b4350b 100644 --- a/clients/client-forecastquery/runtimeConfig.native.ts +++ b/clients/client-forecastquery/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ForecastqueryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-forecastquery/runtimeConfig.shared.ts b/clients/client-forecastquery/runtimeConfig.shared.ts index c7d587055624b..aaa9839f3b157 100644 --- a/clients/client-forecastquery/runtimeConfig.shared.ts +++ b/clients/client-forecastquery/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "forecastquery", + urlParser: parseUrl, }; diff --git a/clients/client-forecastquery/runtimeConfig.ts b/clients/client-forecastquery/runtimeConfig.ts index d72cd6e6dedf3..1f6e7d9c6820b 100644 --- a/clients/client-forecastquery/runtimeConfig.ts +++ b/clients/client-forecastquery/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index 1f2e1e3705a41..8b8411f9c3fe8 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-frauddetector/runtimeConfig.browser.ts b/clients/client-frauddetector/runtimeConfig.browser.ts index 84c8d695f4a55..f1e26caa86206 100644 --- a/clients/client-frauddetector/runtimeConfig.browser.ts +++ b/clients/client-frauddetector/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-frauddetector/runtimeConfig.native.ts b/clients/client-frauddetector/runtimeConfig.native.ts index ffeddbcfa5587..bd8217d563eb7 100644 --- a/clients/client-frauddetector/runtimeConfig.native.ts +++ b/clients/client-frauddetector/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FraudDetectorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-frauddetector/runtimeConfig.shared.ts b/clients/client-frauddetector/runtimeConfig.shared.ts index 0cb9bc05f3cfc..a0fdf469c3063 100644 --- a/clients/client-frauddetector/runtimeConfig.shared.ts +++ b/clients/client-frauddetector/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "FraudDetector", + urlParser: parseUrl, }; diff --git a/clients/client-frauddetector/runtimeConfig.ts b/clients/client-frauddetector/runtimeConfig.ts index f81aeea6b0cd1..fdb583c2f36df 100644 --- a/clients/client-frauddetector/runtimeConfig.ts +++ b/clients/client-frauddetector/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index c43d1f80434d9..255d5e6a1e1ba 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-fsx/runtimeConfig.browser.ts b/clients/client-fsx/runtimeConfig.browser.ts index 60224eef505c1..9f895cb2c1515 100644 --- a/clients/client-fsx/runtimeConfig.browser.ts +++ b/clients/client-fsx/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-fsx/runtimeConfig.native.ts b/clients/client-fsx/runtimeConfig.native.ts index 667d2d75c5832..2aa3a7d48994c 100644 --- a/clients/client-fsx/runtimeConfig.native.ts +++ b/clients/client-fsx/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./FSxClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-fsx/runtimeConfig.shared.ts b/clients/client-fsx/runtimeConfig.shared.ts index 5ad5ba70f3e71..b6a86561d7d36 100644 --- a/clients/client-fsx/runtimeConfig.shared.ts +++ b/clients/client-fsx/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "FSx", + urlParser: parseUrl, }; diff --git a/clients/client-fsx/runtimeConfig.ts b/clients/client-fsx/runtimeConfig.ts index 295dbf41cce2a..326c08bc98fe6 100644 --- a/clients/client-fsx/runtimeConfig.ts +++ b/clients/client-fsx/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index 1fa19e9ade982..bec6dfa34232b 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-gamelift/runtimeConfig.browser.ts b/clients/client-gamelift/runtimeConfig.browser.ts index e6f7364688168..be91b8baaf57d 100644 --- a/clients/client-gamelift/runtimeConfig.browser.ts +++ b/clients/client-gamelift/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-gamelift/runtimeConfig.native.ts b/clients/client-gamelift/runtimeConfig.native.ts index d7c948f5a4702..8eb335173617f 100644 --- a/clients/client-gamelift/runtimeConfig.native.ts +++ b/clients/client-gamelift/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GameLiftClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-gamelift/runtimeConfig.shared.ts b/clients/client-gamelift/runtimeConfig.shared.ts index 6a1684c86671f..c4561104679f8 100644 --- a/clients/client-gamelift/runtimeConfig.shared.ts +++ b/clients/client-gamelift/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "GameLift", + urlParser: parseUrl, }; diff --git a/clients/client-gamelift/runtimeConfig.ts b/clients/client-gamelift/runtimeConfig.ts index 3df467d66969c..6fa24ab42b1a6 100644 --- a/clients/client-gamelift/runtimeConfig.ts +++ b/clients/client-gamelift/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 4d4a65f706110..9473f97bfc914 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -49,8 +49,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-glacier/runtimeConfig.browser.ts b/clients/client-glacier/runtimeConfig.browser.ts index 54b7288bfe443..5bac26b0fb1d5 100644 --- a/clients/client-glacier/runtimeConfig.browser.ts +++ b/clients/client-glacier/runtimeConfig.browser.ts @@ -5,7 +5,6 @@ import { bodyChecksumGenerator } from "@aws-sdk/body-checksum-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glacier/runtimeConfig.native.ts b/clients/client-glacier/runtimeConfig.native.ts index d9be63dceac03..503f5edb7150b 100644 --- a/clients/client-glacier/runtimeConfig.native.ts +++ b/clients/client-glacier/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GlacierClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-glacier/runtimeConfig.shared.ts b/clients/client-glacier/runtimeConfig.shared.ts index 5f59b596429d3..f1d783406304f 100644 --- a/clients/client-glacier/runtimeConfig.shared.ts +++ b/clients/client-glacier/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Glacier", + urlParser: parseUrl, }; diff --git a/clients/client-glacier/runtimeConfig.ts b/clients/client-glacier/runtimeConfig.ts index 05e3d9bd597cd..efc562e76ffe0 100644 --- a/clients/client-glacier/runtimeConfig.ts +++ b/clients/client-glacier/runtimeConfig.ts @@ -7,7 +7,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index d55276de2c7b1..17d160c31ca1e 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-global-accelerator/runtimeConfig.browser.ts b/clients/client-global-accelerator/runtimeConfig.browser.ts index 8b80f1505851f..dc903434b1c95 100644 --- a/clients/client-global-accelerator/runtimeConfig.browser.ts +++ b/clients/client-global-accelerator/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-global-accelerator/runtimeConfig.native.ts b/clients/client-global-accelerator/runtimeConfig.native.ts index e88df1cf00636..dd768a9b66470 100644 --- a/clients/client-global-accelerator/runtimeConfig.native.ts +++ b/clients/client-global-accelerator/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GlobalAcceleratorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-global-accelerator/runtimeConfig.shared.ts b/clients/client-global-accelerator/runtimeConfig.shared.ts index ea2e109d9ce64..cfd534b4bedb0 100644 --- a/clients/client-global-accelerator/runtimeConfig.shared.ts +++ b/clients/client-global-accelerator/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Global Accelerator", + urlParser: parseUrl, }; diff --git a/clients/client-global-accelerator/runtimeConfig.ts b/clients/client-global-accelerator/runtimeConfig.ts index 5929fb47bb146..41b479ae98bb5 100644 --- a/clients/client-global-accelerator/runtimeConfig.ts +++ b/clients/client-global-accelerator/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index c62362de30486..881fda7fb4d23 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-glue/runtimeConfig.browser.ts b/clients/client-glue/runtimeConfig.browser.ts index 423b72ed802b3..a2ee9038b3108 100644 --- a/clients/client-glue/runtimeConfig.browser.ts +++ b/clients/client-glue/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-glue/runtimeConfig.native.ts b/clients/client-glue/runtimeConfig.native.ts index 02a5755960942..bb22e391ab6fc 100644 --- a/clients/client-glue/runtimeConfig.native.ts +++ b/clients/client-glue/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GlueClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-glue/runtimeConfig.shared.ts b/clients/client-glue/runtimeConfig.shared.ts index 6591d8fad2f2d..791a1f632bd5d 100644 --- a/clients/client-glue/runtimeConfig.shared.ts +++ b/clients/client-glue/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Glue", + urlParser: parseUrl, }; diff --git a/clients/client-glue/runtimeConfig.ts b/clients/client-glue/runtimeConfig.ts index 510af72737e1c..d7f4e110751a1 100644 --- a/clients/client-glue/runtimeConfig.ts +++ b/clients/client-glue/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index 7918643928567..2a94fb782ab13 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-greengrass/runtimeConfig.browser.ts b/clients/client-greengrass/runtimeConfig.browser.ts index a0f8a7d88f7e9..1e7f314107896 100644 --- a/clients/client-greengrass/runtimeConfig.browser.ts +++ b/clients/client-greengrass/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-greengrass/runtimeConfig.native.ts b/clients/client-greengrass/runtimeConfig.native.ts index a87dc5ee17b04..7102081a582a2 100644 --- a/clients/client-greengrass/runtimeConfig.native.ts +++ b/clients/client-greengrass/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GreengrassClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-greengrass/runtimeConfig.shared.ts b/clients/client-greengrass/runtimeConfig.shared.ts index ba093c6771483..764e7bb793ecc 100644 --- a/clients/client-greengrass/runtimeConfig.shared.ts +++ b/clients/client-greengrass/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Greengrass", + urlParser: parseUrl, }; diff --git a/clients/client-greengrass/runtimeConfig.ts b/clients/client-greengrass/runtimeConfig.ts index 4207efcc191de..b53231f95f32b 100644 --- a/clients/client-greengrass/runtimeConfig.ts +++ b/clients/client-greengrass/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index 700268d34b3f5..ead7bf07f3652 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-groundstation/runtimeConfig.browser.ts b/clients/client-groundstation/runtimeConfig.browser.ts index 1b2cab366b2d9..76f117c9f06b3 100644 --- a/clients/client-groundstation/runtimeConfig.browser.ts +++ b/clients/client-groundstation/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-groundstation/runtimeConfig.native.ts b/clients/client-groundstation/runtimeConfig.native.ts index 52aa8d6e84559..49a4f13685394 100644 --- a/clients/client-groundstation/runtimeConfig.native.ts +++ b/clients/client-groundstation/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GroundStationClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-groundstation/runtimeConfig.shared.ts b/clients/client-groundstation/runtimeConfig.shared.ts index 5e26f0347e211..b87b24d801e0f 100644 --- a/clients/client-groundstation/runtimeConfig.shared.ts +++ b/clients/client-groundstation/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "GroundStation", + urlParser: parseUrl, }; diff --git a/clients/client-groundstation/runtimeConfig.ts b/clients/client-groundstation/runtimeConfig.ts index d0973ebe24e47..7bb7f79b6b83d 100644 --- a/clients/client-groundstation/runtimeConfig.ts +++ b/clients/client-groundstation/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 03ab91747dd9c..bab566058dfef 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-guardduty/runtimeConfig.browser.ts b/clients/client-guardduty/runtimeConfig.browser.ts index 6824e82ff9efb..6d3590d757a13 100644 --- a/clients/client-guardduty/runtimeConfig.browser.ts +++ b/clients/client-guardduty/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-guardduty/runtimeConfig.native.ts b/clients/client-guardduty/runtimeConfig.native.ts index 9267548ef2638..b03a00f869b27 100644 --- a/clients/client-guardduty/runtimeConfig.native.ts +++ b/clients/client-guardduty/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./GuardDutyClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-guardduty/runtimeConfig.shared.ts b/clients/client-guardduty/runtimeConfig.shared.ts index 917088c3b75c6..3115234dc1186 100644 --- a/clients/client-guardduty/runtimeConfig.shared.ts +++ b/clients/client-guardduty/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "GuardDuty", + urlParser: parseUrl, }; diff --git a/clients/client-guardduty/runtimeConfig.ts b/clients/client-guardduty/runtimeConfig.ts index 0384f0376b403..ec786fb3e049b 100644 --- a/clients/client-guardduty/runtimeConfig.ts +++ b/clients/client-guardduty/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-health/package.json b/clients/client-health/package.json index dead2228e67a4..82cae108d242a 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-health/runtimeConfig.browser.ts b/clients/client-health/runtimeConfig.browser.ts index 0f6d60d9f9182..0b47e28b92b78 100644 --- a/clients/client-health/runtimeConfig.browser.ts +++ b/clients/client-health/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-health/runtimeConfig.native.ts b/clients/client-health/runtimeConfig.native.ts index 1134bd9e518d3..2058629b41cc6 100644 --- a/clients/client-health/runtimeConfig.native.ts +++ b/clients/client-health/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./HealthClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-health/runtimeConfig.shared.ts b/clients/client-health/runtimeConfig.shared.ts index 4d74d7e31ed04..9d0902421b6f2 100644 --- a/clients/client-health/runtimeConfig.shared.ts +++ b/clients/client-health/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Health", + urlParser: parseUrl, }; diff --git a/clients/client-health/runtimeConfig.ts b/clients/client-health/runtimeConfig.ts index 6b44381d49147..9d4c2042334d2 100644 --- a/clients/client-health/runtimeConfig.ts +++ b/clients/client-health/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index 19fec7765aff0..a91bd95d4eeb7 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-healthlake/runtimeConfig.browser.ts b/clients/client-healthlake/runtimeConfig.browser.ts index 0a2bc5584732b..d0b191cc5e737 100644 --- a/clients/client-healthlake/runtimeConfig.browser.ts +++ b/clients/client-healthlake/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-healthlake/runtimeConfig.native.ts b/clients/client-healthlake/runtimeConfig.native.ts index 4ae36a662ffc4..2598e28854ca4 100644 --- a/clients/client-healthlake/runtimeConfig.native.ts +++ b/clients/client-healthlake/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./HealthLakeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-healthlake/runtimeConfig.shared.ts b/clients/client-healthlake/runtimeConfig.shared.ts index 0d6229f38a35a..ebeb423d7821b 100644 --- a/clients/client-healthlake/runtimeConfig.shared.ts +++ b/clients/client-healthlake/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "HealthLake", + urlParser: parseUrl, }; diff --git a/clients/client-healthlake/runtimeConfig.ts b/clients/client-healthlake/runtimeConfig.ts index 6d913c7aca0fb..c3569fb977f6e 100644 --- a/clients/client-healthlake/runtimeConfig.ts +++ b/clients/client-healthlake/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index 5f220add086c8..3c2d097a76475 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-honeycode/runtimeConfig.browser.ts b/clients/client-honeycode/runtimeConfig.browser.ts index cbc616c227907..8dc4bc42982fa 100644 --- a/clients/client-honeycode/runtimeConfig.browser.ts +++ b/clients/client-honeycode/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-honeycode/runtimeConfig.native.ts b/clients/client-honeycode/runtimeConfig.native.ts index 58470e9f41cd3..c994509db49f9 100644 --- a/clients/client-honeycode/runtimeConfig.native.ts +++ b/clients/client-honeycode/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./HoneycodeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-honeycode/runtimeConfig.shared.ts b/clients/client-honeycode/runtimeConfig.shared.ts index 89943dadf8880..bcf52ce37bcc8 100644 --- a/clients/client-honeycode/runtimeConfig.shared.ts +++ b/clients/client-honeycode/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Honeycode", + urlParser: parseUrl, }; diff --git a/clients/client-honeycode/runtimeConfig.ts b/clients/client-honeycode/runtimeConfig.ts index 4360401c55593..1ed3f243fcdbc 100644 --- a/clients/client-honeycode/runtimeConfig.ts +++ b/clients/client-honeycode/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index 3e331c02924aa..04048ba267708 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iam/runtimeConfig.browser.ts b/clients/client-iam/runtimeConfig.browser.ts index 4d7d7fdd5dce1..a14132e86fbd8 100644 --- a/clients/client-iam/runtimeConfig.browser.ts +++ b/clients/client-iam/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iam/runtimeConfig.native.ts b/clients/client-iam/runtimeConfig.native.ts index f15d8cf5ef8de..84b4d5809f74e 100644 --- a/clients/client-iam/runtimeConfig.native.ts +++ b/clients/client-iam/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IAMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iam/runtimeConfig.shared.ts b/clients/client-iam/runtimeConfig.shared.ts index adadfb55479a1..71f47458a42fb 100644 --- a/clients/client-iam/runtimeConfig.shared.ts +++ b/clients/client-iam/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IAM", + urlParser: parseUrl, }; diff --git a/clients/client-iam/runtimeConfig.ts b/clients/client-iam/runtimeConfig.ts index 35d5c8c0e38a1..5754e922a73ee 100644 --- a/clients/client-iam/runtimeConfig.ts +++ b/clients/client-iam/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index 1582686c3c644..b4b60488812a2 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-identitystore/runtimeConfig.browser.ts b/clients/client-identitystore/runtimeConfig.browser.ts index aae356565e76d..565dc3ea9a88b 100644 --- a/clients/client-identitystore/runtimeConfig.browser.ts +++ b/clients/client-identitystore/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-identitystore/runtimeConfig.native.ts b/clients/client-identitystore/runtimeConfig.native.ts index 614b2deec4960..3b8de737baf9f 100644 --- a/clients/client-identitystore/runtimeConfig.native.ts +++ b/clients/client-identitystore/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IdentitystoreClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-identitystore/runtimeConfig.shared.ts b/clients/client-identitystore/runtimeConfig.shared.ts index 624f0fa427fce..677413ef79e78 100644 --- a/clients/client-identitystore/runtimeConfig.shared.ts +++ b/clients/client-identitystore/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "identitystore", + urlParser: parseUrl, }; diff --git a/clients/client-identitystore/runtimeConfig.ts b/clients/client-identitystore/runtimeConfig.ts index a11e26c35853b..852e34f14adf4 100644 --- a/clients/client-identitystore/runtimeConfig.ts +++ b/clients/client-identitystore/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index e7f61fa966eb8..308b571d431a9 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-imagebuilder/runtimeConfig.browser.ts b/clients/client-imagebuilder/runtimeConfig.browser.ts index e55f750649448..620efbf88cf9e 100644 --- a/clients/client-imagebuilder/runtimeConfig.browser.ts +++ b/clients/client-imagebuilder/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-imagebuilder/runtimeConfig.native.ts b/clients/client-imagebuilder/runtimeConfig.native.ts index 3f695e2f0715d..238121aadd339 100644 --- a/clients/client-imagebuilder/runtimeConfig.native.ts +++ b/clients/client-imagebuilder/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ImagebuilderClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-imagebuilder/runtimeConfig.shared.ts b/clients/client-imagebuilder/runtimeConfig.shared.ts index 703cc9363f3f0..bdaedaa5555b8 100644 --- a/clients/client-imagebuilder/runtimeConfig.shared.ts +++ b/clients/client-imagebuilder/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "imagebuilder", + urlParser: parseUrl, }; diff --git a/clients/client-imagebuilder/runtimeConfig.ts b/clients/client-imagebuilder/runtimeConfig.ts index 0727f6902aa10..0194b5eca7c24 100644 --- a/clients/client-imagebuilder/runtimeConfig.ts +++ b/clients/client-imagebuilder/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index 76d878e10b861..d55626bd58f1d 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-inspector/runtimeConfig.browser.ts b/clients/client-inspector/runtimeConfig.browser.ts index 4535c9032e08e..e87ec5af404c0 100644 --- a/clients/client-inspector/runtimeConfig.browser.ts +++ b/clients/client-inspector/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-inspector/runtimeConfig.native.ts b/clients/client-inspector/runtimeConfig.native.ts index 925dd30f5e86c..5ed9b5905706d 100644 --- a/clients/client-inspector/runtimeConfig.native.ts +++ b/clients/client-inspector/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./InspectorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-inspector/runtimeConfig.shared.ts b/clients/client-inspector/runtimeConfig.shared.ts index dd05a67999b1a..c190603cd03c3 100644 --- a/clients/client-inspector/runtimeConfig.shared.ts +++ b/clients/client-inspector/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Inspector", + urlParser: parseUrl, }; diff --git a/clients/client-inspector/runtimeConfig.ts b/clients/client-inspector/runtimeConfig.ts index 7ef1a40da6af6..a6380ee51cbdd 100644 --- a/clients/client-inspector/runtimeConfig.ts +++ b/clients/client-inspector/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index 1b5f0c88956a5..5820b7e62c274 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts b/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts index aaabaf27f4317..6fa5a946586c4 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.native.ts b/clients/client-iot-1click-devices-service/runtimeConfig.native.ts index aa8a1e5bc3774..50b14dc7d79bf 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.native.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoT1ClickDevicesServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts b/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts index ea617420e1cef..0aec62bf3300f 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT 1Click Devices Service", + urlParser: parseUrl, }; diff --git a/clients/client-iot-1click-devices-service/runtimeConfig.ts b/clients/client-iot-1click-devices-service/runtimeConfig.ts index 6065d59bea9f7..11bf46135c984 100644 --- a/clients/client-iot-1click-devices-service/runtimeConfig.ts +++ b/clients/client-iot-1click-devices-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index 253d5a4d50bff..f00f08691b50b 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-1click-projects/runtimeConfig.browser.ts b/clients/client-iot-1click-projects/runtimeConfig.browser.ts index 7736b83074274..25286a9e4c33d 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.browser.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-1click-projects/runtimeConfig.native.ts b/clients/client-iot-1click-projects/runtimeConfig.native.ts index ed52b2091d019..3d4a296674a06 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.native.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoT1ClickProjectsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-1click-projects/runtimeConfig.shared.ts b/clients/client-iot-1click-projects/runtimeConfig.shared.ts index 112b482b80b16..106d4272c5c6f 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.shared.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT 1Click Projects", + urlParser: parseUrl, }; diff --git a/clients/client-iot-1click-projects/runtimeConfig.ts b/clients/client-iot-1click-projects/runtimeConfig.ts index 7035d8943f0a9..b14844e7f2393 100644 --- a/clients/client-iot-1click-projects/runtimeConfig.ts +++ b/clients/client-iot-1click-projects/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index ed9c4eb0b6b70..bef650400d889 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-data-plane/runtimeConfig.browser.ts b/clients/client-iot-data-plane/runtimeConfig.browser.ts index ec8b152a7734a..95484c9f8bccc 100644 --- a/clients/client-iot-data-plane/runtimeConfig.browser.ts +++ b/clients/client-iot-data-plane/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-data-plane/runtimeConfig.native.ts b/clients/client-iot-data-plane/runtimeConfig.native.ts index 4e4ea28faab2c..4ce97d3a5d5be 100644 --- a/clients/client-iot-data-plane/runtimeConfig.native.ts +++ b/clients/client-iot-data-plane/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTDataPlaneClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-data-plane/runtimeConfig.shared.ts b/clients/client-iot-data-plane/runtimeConfig.shared.ts index 885d681aa6670..d4d649112fb19 100644 --- a/clients/client-iot-data-plane/runtimeConfig.shared.ts +++ b/clients/client-iot-data-plane/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Data Plane", + urlParser: parseUrl, }; diff --git a/clients/client-iot-data-plane/runtimeConfig.ts b/clients/client-iot-data-plane/runtimeConfig.ts index f10ae51162513..87e9441addbc1 100644 --- a/clients/client-iot-data-plane/runtimeConfig.ts +++ b/clients/client-iot-data-plane/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index b52f47c8868f6..9462c8a3833fb 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-events-data/runtimeConfig.browser.ts b/clients/client-iot-events-data/runtimeConfig.browser.ts index f0333ad8ca54a..078b42df3334b 100644 --- a/clients/client-iot-events-data/runtimeConfig.browser.ts +++ b/clients/client-iot-events-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events-data/runtimeConfig.native.ts b/clients/client-iot-events-data/runtimeConfig.native.ts index 0aeb7db1ce3cb..37171928635e4 100644 --- a/clients/client-iot-events-data/runtimeConfig.native.ts +++ b/clients/client-iot-events-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTEventsDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-events-data/runtimeConfig.shared.ts b/clients/client-iot-events-data/runtimeConfig.shared.ts index 480ac42289256..0980ab6b1eb4e 100644 --- a/clients/client-iot-events-data/runtimeConfig.shared.ts +++ b/clients/client-iot-events-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Events Data", + urlParser: parseUrl, }; diff --git a/clients/client-iot-events-data/runtimeConfig.ts b/clients/client-iot-events-data/runtimeConfig.ts index e6ba6e800c882..c87fab7bf38f6 100644 --- a/clients/client-iot-events-data/runtimeConfig.ts +++ b/clients/client-iot-events-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index 34f2e40bca892..685cf6a5a1e49 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-events/runtimeConfig.browser.ts b/clients/client-iot-events/runtimeConfig.browser.ts index f449203087c7e..f1849b7d7f173 100644 --- a/clients/client-iot-events/runtimeConfig.browser.ts +++ b/clients/client-iot-events/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-events/runtimeConfig.native.ts b/clients/client-iot-events/runtimeConfig.native.ts index eaa85451d4b6f..9567ebb8c829a 100644 --- a/clients/client-iot-events/runtimeConfig.native.ts +++ b/clients/client-iot-events/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTEventsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-events/runtimeConfig.shared.ts b/clients/client-iot-events/runtimeConfig.shared.ts index 49415827b3690..3134862075ee6 100644 --- a/clients/client-iot-events/runtimeConfig.shared.ts +++ b/clients/client-iot-events/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Events", + urlParser: parseUrl, }; diff --git a/clients/client-iot-events/runtimeConfig.ts b/clients/client-iot-events/runtimeConfig.ts index 12b412636e5a8..786202929ff9c 100644 --- a/clients/client-iot-events/runtimeConfig.ts +++ b/clients/client-iot-events/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index 9232a2c86d18f..5a3b1195c07a0 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts index bdda4ab924fe5..c70c5b1447457 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts index abad19f8dc8da..f92435d07e73d 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTJobsDataPlaneClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts index f32dc42933887..ad8282653df1f 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT Jobs Data Plane", + urlParser: parseUrl, }; diff --git a/clients/client-iot-jobs-data-plane/runtimeConfig.ts b/clients/client-iot-jobs-data-plane/runtimeConfig.ts index 165ab5067b599..139c161359469 100644 --- a/clients/client-iot-jobs-data-plane/runtimeConfig.ts +++ b/clients/client-iot-jobs-data-plane/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index bb6355c4d8296..1c7e31a3fdced 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iot/runtimeConfig.browser.ts b/clients/client-iot/runtimeConfig.browser.ts index 5226d6679de6c..90c8cfda44e3b 100644 --- a/clients/client-iot/runtimeConfig.browser.ts +++ b/clients/client-iot/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iot/runtimeConfig.native.ts b/clients/client-iot/runtimeConfig.native.ts index defb8198e3d54..30e2d8c45d7dd 100644 --- a/clients/client-iot/runtimeConfig.native.ts +++ b/clients/client-iot/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iot/runtimeConfig.shared.ts b/clients/client-iot/runtimeConfig.shared.ts index ccacbb4e9dde1..f52edc8e582d8 100644 --- a/clients/client-iot/runtimeConfig.shared.ts +++ b/clients/client-iot/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoT", + urlParser: parseUrl, }; diff --git a/clients/client-iot/runtimeConfig.ts b/clients/client-iot/runtimeConfig.ts index a32b9249b455d..ab856a64e8a84 100644 --- a/clients/client-iot/runtimeConfig.ts +++ b/clients/client-iot/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index 174ed7fc54cf1..bd86c2ef0fb55 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotanalytics/runtimeConfig.browser.ts b/clients/client-iotanalytics/runtimeConfig.browser.ts index 9ff5a29f69e37..016d73d69e3ec 100644 --- a/clients/client-iotanalytics/runtimeConfig.browser.ts +++ b/clients/client-iotanalytics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotanalytics/runtimeConfig.native.ts b/clients/client-iotanalytics/runtimeConfig.native.ts index 23b40c4c11684..ba07810fc29a9 100644 --- a/clients/client-iotanalytics/runtimeConfig.native.ts +++ b/clients/client-iotanalytics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTAnalyticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotanalytics/runtimeConfig.shared.ts b/clients/client-iotanalytics/runtimeConfig.shared.ts index 1fb7bcf86d550..6664dbd7f0834 100644 --- a/clients/client-iotanalytics/runtimeConfig.shared.ts +++ b/clients/client-iotanalytics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTAnalytics", + urlParser: parseUrl, }; diff --git a/clients/client-iotanalytics/runtimeConfig.ts b/clients/client-iotanalytics/runtimeConfig.ts index 94fee36290ded..d2b65ba56cc47 100644 --- a/clients/client-iotanalytics/runtimeConfig.ts +++ b/clients/client-iotanalytics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index 5ad7276c6aba2..fbc2fa3509d5d 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotsecuretunneling/runtimeConfig.browser.ts b/clients/client-iotsecuretunneling/runtimeConfig.browser.ts index 612b852628b2a..292cdff209b21 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.browser.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsecuretunneling/runtimeConfig.native.ts b/clients/client-iotsecuretunneling/runtimeConfig.native.ts index 775e2c3dfe3f7..f7160d296b8f6 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.native.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTSecureTunnelingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotsecuretunneling/runtimeConfig.shared.ts b/clients/client-iotsecuretunneling/runtimeConfig.shared.ts index 6d5326822250a..509b7db828f32 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.shared.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTSecureTunneling", + urlParser: parseUrl, }; diff --git a/clients/client-iotsecuretunneling/runtimeConfig.ts b/clients/client-iotsecuretunneling/runtimeConfig.ts index 2b1313e03c3ca..e1e6ee1f6b120 100644 --- a/clients/client-iotsecuretunneling/runtimeConfig.ts +++ b/clients/client-iotsecuretunneling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index c9480b8677804..9b72dac60ce8a 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotsitewise/runtimeConfig.browser.ts b/clients/client-iotsitewise/runtimeConfig.browser.ts index e7ddfe61c787a..ec17e7bc283b6 100644 --- a/clients/client-iotsitewise/runtimeConfig.browser.ts +++ b/clients/client-iotsitewise/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotsitewise/runtimeConfig.native.ts b/clients/client-iotsitewise/runtimeConfig.native.ts index 4be83e5b64411..438171269e653 100644 --- a/clients/client-iotsitewise/runtimeConfig.native.ts +++ b/clients/client-iotsitewise/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTSiteWiseClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotsitewise/runtimeConfig.shared.ts b/clients/client-iotsitewise/runtimeConfig.shared.ts index b0ff04d4b7b38..6a8ceaf5fb75a 100644 --- a/clients/client-iotsitewise/runtimeConfig.shared.ts +++ b/clients/client-iotsitewise/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTSiteWise", + urlParser: parseUrl, }; diff --git a/clients/client-iotsitewise/runtimeConfig.ts b/clients/client-iotsitewise/runtimeConfig.ts index 6ffd6ace2c74b..8232bafd43360 100644 --- a/clients/client-iotsitewise/runtimeConfig.ts +++ b/clients/client-iotsitewise/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index 52b6f37bfed05..9f7bd08b35563 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-iotthingsgraph/runtimeConfig.browser.ts b/clients/client-iotthingsgraph/runtimeConfig.browser.ts index 5cc83f3d0b8f2..4964567225410 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.browser.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-iotthingsgraph/runtimeConfig.native.ts b/clients/client-iotthingsgraph/runtimeConfig.native.ts index 245cc397926d1..15ce134621f9e 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.native.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IoTThingsGraphClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-iotthingsgraph/runtimeConfig.shared.ts b/clients/client-iotthingsgraph/runtimeConfig.shared.ts index 21c7b1cae3e50..0ff116ff72e19 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.shared.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "IoTThingsGraph", + urlParser: parseUrl, }; diff --git a/clients/client-iotthingsgraph/runtimeConfig.ts b/clients/client-iotthingsgraph/runtimeConfig.ts index 1ef947bdc9956..340ca0b4c06f8 100644 --- a/clients/client-iotthingsgraph/runtimeConfig.ts +++ b/clients/client-iotthingsgraph/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index 6d67423cf33e4..ec3f79a42802a 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ivs/runtimeConfig.browser.ts b/clients/client-ivs/runtimeConfig.browser.ts index ff0467ac81491..c535bcf3843d9 100644 --- a/clients/client-ivs/runtimeConfig.browser.ts +++ b/clients/client-ivs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ivs/runtimeConfig.native.ts b/clients/client-ivs/runtimeConfig.native.ts index 4b1a6f4af45ec..0992aecd3c5c9 100644 --- a/clients/client-ivs/runtimeConfig.native.ts +++ b/clients/client-ivs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./IvsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ivs/runtimeConfig.shared.ts b/clients/client-ivs/runtimeConfig.shared.ts index 3bbdf279c8000..3f31538acfed4 100644 --- a/clients/client-ivs/runtimeConfig.shared.ts +++ b/clients/client-ivs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ivs", + urlParser: parseUrl, }; diff --git a/clients/client-ivs/runtimeConfig.ts b/clients/client-ivs/runtimeConfig.ts index 0a12439b09342..8cf06e2c4fb60 100644 --- a/clients/client-ivs/runtimeConfig.ts +++ b/clients/client-ivs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 99df6441a1d6b..c763f6b2a8794 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kafka/runtimeConfig.browser.ts b/clients/client-kafka/runtimeConfig.browser.ts index d47e8a1422250..c21fb18006395 100644 --- a/clients/client-kafka/runtimeConfig.browser.ts +++ b/clients/client-kafka/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kafka/runtimeConfig.native.ts b/clients/client-kafka/runtimeConfig.native.ts index d07a4bd8f6555..1d3d9a748cea1 100644 --- a/clients/client-kafka/runtimeConfig.native.ts +++ b/clients/client-kafka/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KafkaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kafka/runtimeConfig.shared.ts b/clients/client-kafka/runtimeConfig.shared.ts index 60bfd63d7fe9b..fcc86fce55ece 100644 --- a/clients/client-kafka/runtimeConfig.shared.ts +++ b/clients/client-kafka/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kafka", + urlParser: parseUrl, }; diff --git a/clients/client-kafka/runtimeConfig.ts b/clients/client-kafka/runtimeConfig.ts index 5bbe2256b6977..52602d6c651de 100644 --- a/clients/client-kafka/runtimeConfig.ts +++ b/clients/client-kafka/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index 1983b5961d737..0ddeb653423f4 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kendra/runtimeConfig.browser.ts b/clients/client-kendra/runtimeConfig.browser.ts index 704697825d350..54e6f49ab98f9 100644 --- a/clients/client-kendra/runtimeConfig.browser.ts +++ b/clients/client-kendra/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kendra/runtimeConfig.native.ts b/clients/client-kendra/runtimeConfig.native.ts index 755249dcd2339..7558f48b3abbe 100644 --- a/clients/client-kendra/runtimeConfig.native.ts +++ b/clients/client-kendra/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KendraClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kendra/runtimeConfig.shared.ts b/clients/client-kendra/runtimeConfig.shared.ts index c05fa359a2ca9..90d3816a49d73 100644 --- a/clients/client-kendra/runtimeConfig.shared.ts +++ b/clients/client-kendra/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "kendra", + urlParser: parseUrl, }; diff --git a/clients/client-kendra/runtimeConfig.ts b/clients/client-kendra/runtimeConfig.ts index 3b185671504a0..8e88ad32f680e 100644 --- a/clients/client-kendra/runtimeConfig.ts +++ b/clients/client-kendra/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index 258da1f6be79f..ab3ab6762719d 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts index fdd21508a7e48..7067c09846937 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts index 99b3f7a09ee3d..07cf8728dbdfd 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisAnalyticsV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts index 4bdf8dfd094fc..65c074f0e9b51 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Analytics V2", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-analytics-v2/runtimeConfig.ts b/clients/client-kinesis-analytics-v2/runtimeConfig.ts index 7c9c33b7ab47b..1040f10ef42ee 100644 --- a/clients/client-kinesis-analytics-v2/runtimeConfig.ts +++ b/clients/client-kinesis-analytics-v2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index 66e1479325f2a..89bed7e2c3e4a 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-analytics/runtimeConfig.browser.ts b/clients/client-kinesis-analytics/runtimeConfig.browser.ts index 93cd9ea746fba..9712b64c83a68 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.browser.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-analytics/runtimeConfig.native.ts b/clients/client-kinesis-analytics/runtimeConfig.native.ts index 8e2002dedfb3e..8a1e446e4e596 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.native.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisAnalyticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-analytics/runtimeConfig.shared.ts b/clients/client-kinesis-analytics/runtimeConfig.shared.ts index 41329fbc9892a..3b336c22da690 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.shared.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Analytics", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-analytics/runtimeConfig.ts b/clients/client-kinesis-analytics/runtimeConfig.ts index 9a36a75e0f55c..a1d05e0fb2cf6 100644 --- a/clients/client-kinesis-analytics/runtimeConfig.ts +++ b/clients/client-kinesis-analytics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index 26be7a5b0f85d..7d589de586171 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts index 806b0bc395c22..bb1e4b0b53b2a 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts index a989d29c4357b..02c2029a9b962 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoArchivedMediaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts index 694c018c8f4af..f1eb004ec059b 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video Archived Media", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video-archived-media/runtimeConfig.ts b/clients/client-kinesis-video-archived-media/runtimeConfig.ts index 5f54109f79d4e..ef7b9d0382e7f 100644 --- a/clients/client-kinesis-video-archived-media/runtimeConfig.ts +++ b/clients/client-kinesis-video-archived-media/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index 398f9d566a2d4..c7114d4ff3d8a 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video-media/runtimeConfig.browser.ts b/clients/client-kinesis-video-media/runtimeConfig.browser.ts index 11a18ecbc761a..6d52e21b470dd 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-media/runtimeConfig.native.ts b/clients/client-kinesis-video-media/runtimeConfig.native.ts index d96c0cda321b2..4405afa23d829 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoMediaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video-media/runtimeConfig.shared.ts b/clients/client-kinesis-video-media/runtimeConfig.shared.ts index 70944139363e8..a3cd541e6db50 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video Media", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video-media/runtimeConfig.ts b/clients/client-kinesis-video-media/runtimeConfig.ts index f99959ebf39f9..79495d8206cb9 100644 --- a/clients/client-kinesis-video-media/runtimeConfig.ts +++ b/clients/client-kinesis-video-media/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index ef0de71a0c5fd..0bee9249ba6a8 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts b/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts index e5ee4073f5466..ea1638cada8c4 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.native.ts b/clients/client-kinesis-video-signaling/runtimeConfig.native.ts index cad8c52fe0a27..72164878124d0 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.native.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoSignalingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts b/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts index 3082ed4a63712..bd634dd753024 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video Signaling", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video-signaling/runtimeConfig.ts b/clients/client-kinesis-video-signaling/runtimeConfig.ts index 41f2b8d1653ac..dba62747076c0 100644 --- a/clients/client-kinesis-video-signaling/runtimeConfig.ts +++ b/clients/client-kinesis-video-signaling/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index f6c313a03a887..37a4099dff67e 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis-video/runtimeConfig.browser.ts b/clients/client-kinesis-video/runtimeConfig.browser.ts index b36f16642b0ad..1cebaed77c16c 100644 --- a/clients/client-kinesis-video/runtimeConfig.browser.ts +++ b/clients/client-kinesis-video/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis-video/runtimeConfig.native.ts b/clients/client-kinesis-video/runtimeConfig.native.ts index 111673a8627f5..498878442b1e3 100644 --- a/clients/client-kinesis-video/runtimeConfig.native.ts +++ b/clients/client-kinesis-video/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisVideoClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis-video/runtimeConfig.shared.ts b/clients/client-kinesis-video/runtimeConfig.shared.ts index 7c0d827f0ef8d..6e3a5bc49597f 100644 --- a/clients/client-kinesis-video/runtimeConfig.shared.ts +++ b/clients/client-kinesis-video/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis Video", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis-video/runtimeConfig.ts b/clients/client-kinesis-video/runtimeConfig.ts index 675f608c296f3..58143f44e7233 100644 --- a/clients/client-kinesis-video/runtimeConfig.ts +++ b/clients/client-kinesis-video/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index 24c78fb8d8994..39a7f6a95cab9 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -49,8 +49,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kinesis/runtimeConfig.browser.ts b/clients/client-kinesis/runtimeConfig.browser.ts index 1df440a4f6585..cfb2703a9e637 100644 --- a/clients/client-kinesis/runtimeConfig.browser.ts +++ b/clients/client-kinesis/runtimeConfig.browser.ts @@ -5,7 +5,6 @@ import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kinesis/runtimeConfig.native.ts b/clients/client-kinesis/runtimeConfig.native.ts index 6db24364702cb..40f87972536e5 100644 --- a/clients/client-kinesis/runtimeConfig.native.ts +++ b/clients/client-kinesis/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KinesisClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kinesis/runtimeConfig.shared.ts b/clients/client-kinesis/runtimeConfig.shared.ts index 98f38f800226a..0fd263095326c 100644 --- a/clients/client-kinesis/runtimeConfig.shared.ts +++ b/clients/client-kinesis/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Kinesis", + urlParser: parseUrl, }; diff --git a/clients/client-kinesis/runtimeConfig.ts b/clients/client-kinesis/runtimeConfig.ts index 918ea23b8e791..3802c98345c24 100644 --- a/clients/client-kinesis/runtimeConfig.ts +++ b/clients/client-kinesis/runtimeConfig.ts @@ -7,7 +7,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index f7bb5b4998cce..6c95a82151851 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-kms/runtimeConfig.browser.ts b/clients/client-kms/runtimeConfig.browser.ts index 8bc086334e31a..3d857ae08f2bd 100644 --- a/clients/client-kms/runtimeConfig.browser.ts +++ b/clients/client-kms/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-kms/runtimeConfig.native.ts b/clients/client-kms/runtimeConfig.native.ts index 9f37a196e9a65..c458062913729 100644 --- a/clients/client-kms/runtimeConfig.native.ts +++ b/clients/client-kms/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./KMSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-kms/runtimeConfig.shared.ts b/clients/client-kms/runtimeConfig.shared.ts index 475576c6d8383..e84ede33c9ea6 100644 --- a/clients/client-kms/runtimeConfig.shared.ts +++ b/clients/client-kms/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "KMS", + urlParser: parseUrl, }; diff --git a/clients/client-kms/runtimeConfig.ts b/clients/client-kms/runtimeConfig.ts index 2d2f1327c8370..7e0fdcf849ea7 100644 --- a/clients/client-kms/runtimeConfig.ts +++ b/clients/client-kms/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index 95a29ca3ca065..d59450447cac7 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lakeformation/runtimeConfig.browser.ts b/clients/client-lakeformation/runtimeConfig.browser.ts index eac313394a23a..072a834a888a3 100644 --- a/clients/client-lakeformation/runtimeConfig.browser.ts +++ b/clients/client-lakeformation/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lakeformation/runtimeConfig.native.ts b/clients/client-lakeformation/runtimeConfig.native.ts index cc112c3661964..82489b99774cc 100644 --- a/clients/client-lakeformation/runtimeConfig.native.ts +++ b/clients/client-lakeformation/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LakeFormationClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lakeformation/runtimeConfig.shared.ts b/clients/client-lakeformation/runtimeConfig.shared.ts index 2637ef9655f2c..186e0225540fe 100644 --- a/clients/client-lakeformation/runtimeConfig.shared.ts +++ b/clients/client-lakeformation/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "LakeFormation", + urlParser: parseUrl, }; diff --git a/clients/client-lakeformation/runtimeConfig.ts b/clients/client-lakeformation/runtimeConfig.ts index 28f26047522d8..0cedf26f62313 100644 --- a/clients/client-lakeformation/runtimeConfig.ts +++ b/clients/client-lakeformation/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index 97b5627ff97c2..2102b88ab879f 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lambda/runtimeConfig.browser.ts b/clients/client-lambda/runtimeConfig.browser.ts index a76383f474457..76540ae0b50db 100644 --- a/clients/client-lambda/runtimeConfig.browser.ts +++ b/clients/client-lambda/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lambda/runtimeConfig.native.ts b/clients/client-lambda/runtimeConfig.native.ts index 294305bfb6ebc..5aca15803d3a2 100644 --- a/clients/client-lambda/runtimeConfig.native.ts +++ b/clients/client-lambda/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LambdaClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lambda/runtimeConfig.shared.ts b/clients/client-lambda/runtimeConfig.shared.ts index 5a23dbd5ffceb..b5eb623f00b73 100644 --- a/clients/client-lambda/runtimeConfig.shared.ts +++ b/clients/client-lambda/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lambda", + urlParser: parseUrl, }; diff --git a/clients/client-lambda/runtimeConfig.ts b/clients/client-lambda/runtimeConfig.ts index df5a968474eab..207f202229892 100644 --- a/clients/client-lambda/runtimeConfig.ts +++ b/clients/client-lambda/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index 22a0bf91ed8a6..4756319691df5 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lex-model-building-service/runtimeConfig.browser.ts b/clients/client-lex-model-building-service/runtimeConfig.browser.ts index 8574d540eed5d..b2ec4a13dbde7 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.browser.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-model-building-service/runtimeConfig.native.ts b/clients/client-lex-model-building-service/runtimeConfig.native.ts index f972a1b1781e2..a90cc33be7e47 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.native.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LexModelBuildingServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lex-model-building-service/runtimeConfig.shared.ts b/clients/client-lex-model-building-service/runtimeConfig.shared.ts index 1ff322249e015..1b7e3955744ca 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.shared.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lex Model Building Service", + urlParser: parseUrl, }; diff --git a/clients/client-lex-model-building-service/runtimeConfig.ts b/clients/client-lex-model-building-service/runtimeConfig.ts index 8b7e4273e6072..d52eb87b0549e 100644 --- a/clients/client-lex-model-building-service/runtimeConfig.ts +++ b/clients/client-lex-model-building-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index 3ba39dd2c40d4..fdfd4f170d7dc 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lex-runtime-service/runtimeConfig.browser.ts b/clients/client-lex-runtime-service/runtimeConfig.browser.ts index 1b5cc12c8218f..d771e5e920f4f 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.browser.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lex-runtime-service/runtimeConfig.native.ts b/clients/client-lex-runtime-service/runtimeConfig.native.ts index 2dafe4e39ae01..5e485b9e0c99f 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.native.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LexRuntimeServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lex-runtime-service/runtimeConfig.shared.ts b/clients/client-lex-runtime-service/runtimeConfig.shared.ts index edcb03292bf71..bd722efdcc3da 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.shared.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lex Runtime Service", + urlParser: parseUrl, }; diff --git a/clients/client-lex-runtime-service/runtimeConfig.ts b/clients/client-lex-runtime-service/runtimeConfig.ts index 934d12d5411e3..c5d0845cd54ff 100644 --- a/clients/client-lex-runtime-service/runtimeConfig.ts +++ b/clients/client-lex-runtime-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index f6c7067d06273..959a85fc5865f 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-license-manager/runtimeConfig.browser.ts b/clients/client-license-manager/runtimeConfig.browser.ts index 7ac131938c2b3..e65b71775a98d 100644 --- a/clients/client-license-manager/runtimeConfig.browser.ts +++ b/clients/client-license-manager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-license-manager/runtimeConfig.native.ts b/clients/client-license-manager/runtimeConfig.native.ts index 40aba5fecaee0..9093ecd8a28f2 100644 --- a/clients/client-license-manager/runtimeConfig.native.ts +++ b/clients/client-license-manager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LicenseManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-license-manager/runtimeConfig.shared.ts b/clients/client-license-manager/runtimeConfig.shared.ts index 35f0821bc1b22..5e116a37df732 100644 --- a/clients/client-license-manager/runtimeConfig.shared.ts +++ b/clients/client-license-manager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "License Manager", + urlParser: parseUrl, }; diff --git a/clients/client-license-manager/runtimeConfig.ts b/clients/client-license-manager/runtimeConfig.ts index 4af0572dd20db..8823c0708b9f0 100644 --- a/clients/client-license-manager/runtimeConfig.ts +++ b/clients/client-license-manager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index 1386decf304f4..4c40e8e55bd57 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lightsail/runtimeConfig.browser.ts b/clients/client-lightsail/runtimeConfig.browser.ts index edeb18667b725..37c10c7a8ac43 100644 --- a/clients/client-lightsail/runtimeConfig.browser.ts +++ b/clients/client-lightsail/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lightsail/runtimeConfig.native.ts b/clients/client-lightsail/runtimeConfig.native.ts index 591ab77bd51d9..f585967aa277b 100644 --- a/clients/client-lightsail/runtimeConfig.native.ts +++ b/clients/client-lightsail/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LightsailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lightsail/runtimeConfig.shared.ts b/clients/client-lightsail/runtimeConfig.shared.ts index 75f096b5f2017..2c47929bec5ff 100644 --- a/clients/client-lightsail/runtimeConfig.shared.ts +++ b/clients/client-lightsail/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Lightsail", + urlParser: parseUrl, }; diff --git a/clients/client-lightsail/runtimeConfig.ts b/clients/client-lightsail/runtimeConfig.ts index 48f8022b21dbe..c9fd998f0e538 100644 --- a/clients/client-lightsail/runtimeConfig.ts +++ b/clients/client-lightsail/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index 1734a4795f4ef..a7d96a735d213 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-lookoutvision/runtimeConfig.browser.ts b/clients/client-lookoutvision/runtimeConfig.browser.ts index 8417a8a5e0012..b3eea0e88a2ed 100644 --- a/clients/client-lookoutvision/runtimeConfig.browser.ts +++ b/clients/client-lookoutvision/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-lookoutvision/runtimeConfig.native.ts b/clients/client-lookoutvision/runtimeConfig.native.ts index dbd3e5d33f277..8fcbd37492736 100644 --- a/clients/client-lookoutvision/runtimeConfig.native.ts +++ b/clients/client-lookoutvision/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./LookoutVisionClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-lookoutvision/runtimeConfig.shared.ts b/clients/client-lookoutvision/runtimeConfig.shared.ts index 632b467b14f41..dd3d2158fe7e4 100644 --- a/clients/client-lookoutvision/runtimeConfig.shared.ts +++ b/clients/client-lookoutvision/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "LookoutVision", + urlParser: parseUrl, }; diff --git a/clients/client-lookoutvision/runtimeConfig.ts b/clients/client-lookoutvision/runtimeConfig.ts index 485b5ab26e062..3e045b0010b26 100644 --- a/clients/client-lookoutvision/runtimeConfig.ts +++ b/clients/client-lookoutvision/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 3a42fe8df5af6..4b2d01f749dab 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-machine-learning/runtimeConfig.browser.ts b/clients/client-machine-learning/runtimeConfig.browser.ts index a9c27f6956588..79c1e019c9569 100644 --- a/clients/client-machine-learning/runtimeConfig.browser.ts +++ b/clients/client-machine-learning/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-machine-learning/runtimeConfig.native.ts b/clients/client-machine-learning/runtimeConfig.native.ts index b84819bb12804..48d99381b89e4 100644 --- a/clients/client-machine-learning/runtimeConfig.native.ts +++ b/clients/client-machine-learning/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MachineLearningClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-machine-learning/runtimeConfig.shared.ts b/clients/client-machine-learning/runtimeConfig.shared.ts index 8fc9b550548fe..2e9cf58b899af 100644 --- a/clients/client-machine-learning/runtimeConfig.shared.ts +++ b/clients/client-machine-learning/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Machine Learning", + urlParser: parseUrl, }; diff --git a/clients/client-machine-learning/runtimeConfig.ts b/clients/client-machine-learning/runtimeConfig.ts index f1f1ad56bf868..94cc23a0c51f1 100644 --- a/clients/client-machine-learning/runtimeConfig.ts +++ b/clients/client-machine-learning/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie/package.json b/clients/client-macie/package.json index fdd379dda9c28..6735536f5d588 100644 --- a/clients/client-macie/package.json +++ b/clients/client-macie/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-macie/runtimeConfig.browser.ts b/clients/client-macie/runtimeConfig.browser.ts index b5e2a3b915a78..85f3692030cbb 100644 --- a/clients/client-macie/runtimeConfig.browser.ts +++ b/clients/client-macie/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie/runtimeConfig.native.ts b/clients/client-macie/runtimeConfig.native.ts index 8af081227fcbc..17e2af737d5d3 100644 --- a/clients/client-macie/runtimeConfig.native.ts +++ b/clients/client-macie/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MacieClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-macie/runtimeConfig.shared.ts b/clients/client-macie/runtimeConfig.shared.ts index 4eefb23fbca1b..5b577b77e595d 100644 --- a/clients/client-macie/runtimeConfig.shared.ts +++ b/clients/client-macie/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Macie", + urlParser: parseUrl, }; diff --git a/clients/client-macie/runtimeConfig.ts b/clients/client-macie/runtimeConfig.ts index 314b5cda946c6..ae8de69347304 100644 --- a/clients/client-macie/runtimeConfig.ts +++ b/clients/client-macie/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index 567acbf087ce4..6d2938db23f61 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-macie2/runtimeConfig.browser.ts b/clients/client-macie2/runtimeConfig.browser.ts index 2314a7f95d903..b699ac8eb146a 100644 --- a/clients/client-macie2/runtimeConfig.browser.ts +++ b/clients/client-macie2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-macie2/runtimeConfig.native.ts b/clients/client-macie2/runtimeConfig.native.ts index 56aa2e97b888e..9fe8e779dce08 100644 --- a/clients/client-macie2/runtimeConfig.native.ts +++ b/clients/client-macie2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Macie2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-macie2/runtimeConfig.shared.ts b/clients/client-macie2/runtimeConfig.shared.ts index 09d4e687c5f50..5872b92bbddc6 100644 --- a/clients/client-macie2/runtimeConfig.shared.ts +++ b/clients/client-macie2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Macie2", + urlParser: parseUrl, }; diff --git a/clients/client-macie2/runtimeConfig.ts b/clients/client-macie2/runtimeConfig.ts index 2887731037011..be44ab17c25d5 100644 --- a/clients/client-macie2/runtimeConfig.ts +++ b/clients/client-macie2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index 4af44666255c2..756b0840798f4 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-managedblockchain/runtimeConfig.browser.ts b/clients/client-managedblockchain/runtimeConfig.browser.ts index 948697afae0fc..54e3d6793b801 100644 --- a/clients/client-managedblockchain/runtimeConfig.browser.ts +++ b/clients/client-managedblockchain/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-managedblockchain/runtimeConfig.native.ts b/clients/client-managedblockchain/runtimeConfig.native.ts index faeead11e077d..9f49b85f86628 100644 --- a/clients/client-managedblockchain/runtimeConfig.native.ts +++ b/clients/client-managedblockchain/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ManagedBlockchainClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-managedblockchain/runtimeConfig.shared.ts b/clients/client-managedblockchain/runtimeConfig.shared.ts index b9d03b106d928..dc908d2f68ce2 100644 --- a/clients/client-managedblockchain/runtimeConfig.shared.ts +++ b/clients/client-managedblockchain/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ManagedBlockchain", + urlParser: parseUrl, }; diff --git a/clients/client-managedblockchain/runtimeConfig.ts b/clients/client-managedblockchain/runtimeConfig.ts index 36dbcb9871cbe..19261cb606a06 100644 --- a/clients/client-managedblockchain/runtimeConfig.ts +++ b/clients/client-managedblockchain/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index 9fc73873877a3..7f2d99e8f35bb 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-catalog/runtimeConfig.browser.ts b/clients/client-marketplace-catalog/runtimeConfig.browser.ts index fe3f6565ec582..aeeed76b378f7 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.browser.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-catalog/runtimeConfig.native.ts b/clients/client-marketplace-catalog/runtimeConfig.native.ts index e2dfdfb7bd7cd..ea337dfd6f382 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.native.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceCatalogClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-catalog/runtimeConfig.shared.ts b/clients/client-marketplace-catalog/runtimeConfig.shared.ts index c28fa1a41acca..d8db0c6ab4c0c 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.shared.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Catalog", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-catalog/runtimeConfig.ts b/clients/client-marketplace-catalog/runtimeConfig.ts index 21e9f856e8627..80a3751686b0b 100644 --- a/clients/client-marketplace-catalog/runtimeConfig.ts +++ b/clients/client-marketplace-catalog/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index 846e7287d83ff..587d306244f78 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts index 8156ebc88e9d1..1575328974086 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts index 1ff4198d6d666..834a7ebf40907 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceCommerceAnalyticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts index 1a111a0cad202..14908724025af 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Commerce Analytics", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-commerce-analytics/runtimeConfig.ts b/clients/client-marketplace-commerce-analytics/runtimeConfig.ts index 2441510ef22c7..49d0a56c66aac 100644 --- a/clients/client-marketplace-commerce-analytics/runtimeConfig.ts +++ b/clients/client-marketplace-commerce-analytics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index c945d1bd081d1..020130e69a244 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts index 474219a9d6ed1..f9ac58e0203d1 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts index 9a05824b6595e..3272d6ce08883 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceEntitlementServiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts index e1705afc6b03b..b2d72441a1a75 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Entitlement Service", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-entitlement-service/runtimeConfig.ts b/clients/client-marketplace-entitlement-service/runtimeConfig.ts index 7ab8df9055762..e1349c5c1b00d 100644 --- a/clients/client-marketplace-entitlement-service/runtimeConfig.ts +++ b/clients/client-marketplace-entitlement-service/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index 1b69b7009804e..9c54465bea039 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-marketplace-metering/runtimeConfig.browser.ts b/clients/client-marketplace-metering/runtimeConfig.browser.ts index 78e3d4be7d3cd..6087c5c6fff1a 100644 --- a/clients/client-marketplace-metering/runtimeConfig.browser.ts +++ b/clients/client-marketplace-metering/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-marketplace-metering/runtimeConfig.native.ts b/clients/client-marketplace-metering/runtimeConfig.native.ts index 822a898b4f809..47afe271be11c 100644 --- a/clients/client-marketplace-metering/runtimeConfig.native.ts +++ b/clients/client-marketplace-metering/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MarketplaceMeteringClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-marketplace-metering/runtimeConfig.shared.ts b/clients/client-marketplace-metering/runtimeConfig.shared.ts index b6db3a89b734d..20d06e231452b 100644 --- a/clients/client-marketplace-metering/runtimeConfig.shared.ts +++ b/clients/client-marketplace-metering/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Marketplace Metering", + urlParser: parseUrl, }; diff --git a/clients/client-marketplace-metering/runtimeConfig.ts b/clients/client-marketplace-metering/runtimeConfig.ts index f99392ef440a2..8ddbe34bac018 100644 --- a/clients/client-marketplace-metering/runtimeConfig.ts +++ b/clients/client-marketplace-metering/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index b45706cf6bbdc..c21ad979a51c4 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediaconnect/runtimeConfig.browser.ts b/clients/client-mediaconnect/runtimeConfig.browser.ts index 29b489c1eae8f..148f35a1edc26 100644 --- a/clients/client-mediaconnect/runtimeConfig.browser.ts +++ b/clients/client-mediaconnect/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconnect/runtimeConfig.native.ts b/clients/client-mediaconnect/runtimeConfig.native.ts index 65480d3e28657..b5f33afddb778 100644 --- a/clients/client-mediaconnect/runtimeConfig.native.ts +++ b/clients/client-mediaconnect/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaConnectClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediaconnect/runtimeConfig.shared.ts b/clients/client-mediaconnect/runtimeConfig.shared.ts index ed7216a66bb07..1eb706d414fe2 100644 --- a/clients/client-mediaconnect/runtimeConfig.shared.ts +++ b/clients/client-mediaconnect/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaConnect", + urlParser: parseUrl, }; diff --git a/clients/client-mediaconnect/runtimeConfig.ts b/clients/client-mediaconnect/runtimeConfig.ts index 5078e3a32a8fe..d49ab69d67b6e 100644 --- a/clients/client-mediaconnect/runtimeConfig.ts +++ b/clients/client-mediaconnect/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index b57a37d444923..6be56b5c9af14 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediaconvert/runtimeConfig.browser.ts b/clients/client-mediaconvert/runtimeConfig.browser.ts index a96286eba8ed6..f728bae36a47c 100644 --- a/clients/client-mediaconvert/runtimeConfig.browser.ts +++ b/clients/client-mediaconvert/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediaconvert/runtimeConfig.native.ts b/clients/client-mediaconvert/runtimeConfig.native.ts index 384cb42f0b1d7..a248916853e6e 100644 --- a/clients/client-mediaconvert/runtimeConfig.native.ts +++ b/clients/client-mediaconvert/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaConvertClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediaconvert/runtimeConfig.shared.ts b/clients/client-mediaconvert/runtimeConfig.shared.ts index 5c48ef8531ba7..f21a70321a52c 100644 --- a/clients/client-mediaconvert/runtimeConfig.shared.ts +++ b/clients/client-mediaconvert/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaConvert", + urlParser: parseUrl, }; diff --git a/clients/client-mediaconvert/runtimeConfig.ts b/clients/client-mediaconvert/runtimeConfig.ts index b613a8a25a884..f0c439703c1d8 100644 --- a/clients/client-mediaconvert/runtimeConfig.ts +++ b/clients/client-mediaconvert/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index 1003c6dbda338..6dc3f19be959e 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-medialive/runtimeConfig.browser.ts b/clients/client-medialive/runtimeConfig.browser.ts index 74ee478b9ab6c..abf2ad60c38cb 100644 --- a/clients/client-medialive/runtimeConfig.browser.ts +++ b/clients/client-medialive/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-medialive/runtimeConfig.native.ts b/clients/client-medialive/runtimeConfig.native.ts index 1c811ff93104b..f45e69e956ff2 100644 --- a/clients/client-medialive/runtimeConfig.native.ts +++ b/clients/client-medialive/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaLiveClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-medialive/runtimeConfig.shared.ts b/clients/client-medialive/runtimeConfig.shared.ts index 2d0615f663c97..fe37478106c6a 100644 --- a/clients/client-medialive/runtimeConfig.shared.ts +++ b/clients/client-medialive/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaLive", + urlParser: parseUrl, }; diff --git a/clients/client-medialive/runtimeConfig.ts b/clients/client-medialive/runtimeConfig.ts index bb43c1f540910..4c040a0874420 100644 --- a/clients/client-medialive/runtimeConfig.ts +++ b/clients/client-medialive/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index 62d2138faa49a..6c0ea46836867 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediapackage-vod/runtimeConfig.browser.ts b/clients/client-mediapackage-vod/runtimeConfig.browser.ts index 5132bf7b79db5..ed20e7cd292a2 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.browser.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage-vod/runtimeConfig.native.ts b/clients/client-mediapackage-vod/runtimeConfig.native.ts index ebf00bea258ac..03e2115e458f2 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.native.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaPackageVodClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediapackage-vod/runtimeConfig.shared.ts b/clients/client-mediapackage-vod/runtimeConfig.shared.ts index bac9e45f79fc3..21ec29fcdf59a 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.shared.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaPackage Vod", + urlParser: parseUrl, }; diff --git a/clients/client-mediapackage-vod/runtimeConfig.ts b/clients/client-mediapackage-vod/runtimeConfig.ts index d680695ae8c4a..072331c55c06f 100644 --- a/clients/client-mediapackage-vod/runtimeConfig.ts +++ b/clients/client-mediapackage-vod/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index b21c88af99e4c..ccf20c6637b44 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediapackage/runtimeConfig.browser.ts b/clients/client-mediapackage/runtimeConfig.browser.ts index a37d44937c106..a6deda9a03bcf 100644 --- a/clients/client-mediapackage/runtimeConfig.browser.ts +++ b/clients/client-mediapackage/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediapackage/runtimeConfig.native.ts b/clients/client-mediapackage/runtimeConfig.native.ts index 54d8667e228c1..344329c381af6 100644 --- a/clients/client-mediapackage/runtimeConfig.native.ts +++ b/clients/client-mediapackage/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaPackageClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediapackage/runtimeConfig.shared.ts b/clients/client-mediapackage/runtimeConfig.shared.ts index 4c7b20918bee7..8204142818b7e 100644 --- a/clients/client-mediapackage/runtimeConfig.shared.ts +++ b/clients/client-mediapackage/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaPackage", + urlParser: parseUrl, }; diff --git a/clients/client-mediapackage/runtimeConfig.ts b/clients/client-mediapackage/runtimeConfig.ts index a23854c3e3c37..81fb82ffe82b9 100644 --- a/clients/client-mediapackage/runtimeConfig.ts +++ b/clients/client-mediapackage/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index 18491cb199135..e612b6729cc41 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediastore-data/runtimeConfig.browser.ts b/clients/client-mediastore-data/runtimeConfig.browser.ts index 75525bee5919b..e12e5d9a8be7c 100644 --- a/clients/client-mediastore-data/runtimeConfig.browser.ts +++ b/clients/client-mediastore-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore-data/runtimeConfig.native.ts b/clients/client-mediastore-data/runtimeConfig.native.ts index 45b59a450dc26..32a657ef821ab 100644 --- a/clients/client-mediastore-data/runtimeConfig.native.ts +++ b/clients/client-mediastore-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaStoreDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediastore-data/runtimeConfig.shared.ts b/clients/client-mediastore-data/runtimeConfig.shared.ts index 3334e533018ec..c3dd7797b3de7 100644 --- a/clients/client-mediastore-data/runtimeConfig.shared.ts +++ b/clients/client-mediastore-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaStore Data", + urlParser: parseUrl, }; diff --git a/clients/client-mediastore-data/runtimeConfig.ts b/clients/client-mediastore-data/runtimeConfig.ts index 299816ab913a2..7a2f837a5805d 100644 --- a/clients/client-mediastore-data/runtimeConfig.ts +++ b/clients/client-mediastore-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 6a0f1b315997b..6ba167e9b324f 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediastore/runtimeConfig.browser.ts b/clients/client-mediastore/runtimeConfig.browser.ts index 7300e889b5929..87260100735f7 100644 --- a/clients/client-mediastore/runtimeConfig.browser.ts +++ b/clients/client-mediastore/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediastore/runtimeConfig.native.ts b/clients/client-mediastore/runtimeConfig.native.ts index 1086d5038f189..7d02a2eee1504 100644 --- a/clients/client-mediastore/runtimeConfig.native.ts +++ b/clients/client-mediastore/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaStoreClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediastore/runtimeConfig.shared.ts b/clients/client-mediastore/runtimeConfig.shared.ts index 79efa42e708a4..0e5e9666075ee 100644 --- a/clients/client-mediastore/runtimeConfig.shared.ts +++ b/clients/client-mediastore/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaStore", + urlParser: parseUrl, }; diff --git a/clients/client-mediastore/runtimeConfig.ts b/clients/client-mediastore/runtimeConfig.ts index cd483c7b91271..088338c539310 100644 --- a/clients/client-mediastore/runtimeConfig.ts +++ b/clients/client-mediastore/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index f0011dab6c89d..ca57522e1576f 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mediatailor/runtimeConfig.browser.ts b/clients/client-mediatailor/runtimeConfig.browser.ts index 7a04824b759d5..bbe09a60228c2 100644 --- a/clients/client-mediatailor/runtimeConfig.browser.ts +++ b/clients/client-mediatailor/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mediatailor/runtimeConfig.native.ts b/clients/client-mediatailor/runtimeConfig.native.ts index e55085eac7ae0..9c5725f7dca1d 100644 --- a/clients/client-mediatailor/runtimeConfig.native.ts +++ b/clients/client-mediatailor/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MediaTailorClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mediatailor/runtimeConfig.shared.ts b/clients/client-mediatailor/runtimeConfig.shared.ts index 93f20fa8c7653..4f9e972d8aab2 100644 --- a/clients/client-mediatailor/runtimeConfig.shared.ts +++ b/clients/client-mediatailor/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MediaTailor", + urlParser: parseUrl, }; diff --git a/clients/client-mediatailor/runtimeConfig.ts b/clients/client-mediatailor/runtimeConfig.ts index 663e496d7200c..ac32df7acaedd 100644 --- a/clients/client-mediatailor/runtimeConfig.ts +++ b/clients/client-mediatailor/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index 797958bb03e43..6112d4bcfb254 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-migration-hub/runtimeConfig.browser.ts b/clients/client-migration-hub/runtimeConfig.browser.ts index 7d7b823a65f9b..ef13279c89185 100644 --- a/clients/client-migration-hub/runtimeConfig.browser.ts +++ b/clients/client-migration-hub/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migration-hub/runtimeConfig.native.ts b/clients/client-migration-hub/runtimeConfig.native.ts index 8a79f34c301eb..edf18339416c1 100644 --- a/clients/client-migration-hub/runtimeConfig.native.ts +++ b/clients/client-migration-hub/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MigrationHubClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-migration-hub/runtimeConfig.shared.ts b/clients/client-migration-hub/runtimeConfig.shared.ts index af1a9fb42c3cb..7d2900672fb26 100644 --- a/clients/client-migration-hub/runtimeConfig.shared.ts +++ b/clients/client-migration-hub/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Migration Hub", + urlParser: parseUrl, }; diff --git a/clients/client-migration-hub/runtimeConfig.ts b/clients/client-migration-hub/runtimeConfig.ts index 7a920bd7d5fe2..0f07438b877fd 100644 --- a/clients/client-migration-hub/runtimeConfig.ts +++ b/clients/client-migration-hub/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index bbc3d5d000416..c19a28cbd7397 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-migrationhub-config/runtimeConfig.browser.ts b/clients/client-migrationhub-config/runtimeConfig.browser.ts index 9dd7a76d8b977..b5dc0328066fb 100644 --- a/clients/client-migrationhub-config/runtimeConfig.browser.ts +++ b/clients/client-migrationhub-config/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-migrationhub-config/runtimeConfig.native.ts b/clients/client-migrationhub-config/runtimeConfig.native.ts index a747856aa20dd..e09500cfc05f6 100644 --- a/clients/client-migrationhub-config/runtimeConfig.native.ts +++ b/clients/client-migrationhub-config/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MigrationHubConfigClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-migrationhub-config/runtimeConfig.shared.ts b/clients/client-migrationhub-config/runtimeConfig.shared.ts index 9e49ad29fa058..ac0403d961f59 100644 --- a/clients/client-migrationhub-config/runtimeConfig.shared.ts +++ b/clients/client-migrationhub-config/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MigrationHub Config", + urlParser: parseUrl, }; diff --git a/clients/client-migrationhub-config/runtimeConfig.ts b/clients/client-migrationhub-config/runtimeConfig.ts index dce3549104acd..dbbe0655b352a 100644 --- a/clients/client-migrationhub-config/runtimeConfig.ts +++ b/clients/client-migrationhub-config/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index 6305cab4e0d04..404c497a0740e 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mobile/runtimeConfig.browser.ts b/clients/client-mobile/runtimeConfig.browser.ts index 09db2b54df52c..f88c325ecc544 100644 --- a/clients/client-mobile/runtimeConfig.browser.ts +++ b/clients/client-mobile/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mobile/runtimeConfig.native.ts b/clients/client-mobile/runtimeConfig.native.ts index 17e2209140c74..729cf3e0f51e4 100644 --- a/clients/client-mobile/runtimeConfig.native.ts +++ b/clients/client-mobile/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MobileClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mobile/runtimeConfig.shared.ts b/clients/client-mobile/runtimeConfig.shared.ts index 4672bd02c810c..5cb5a4b86f6b9 100644 --- a/clients/client-mobile/runtimeConfig.shared.ts +++ b/clients/client-mobile/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Mobile", + urlParser: parseUrl, }; diff --git a/clients/client-mobile/runtimeConfig.ts b/clients/client-mobile/runtimeConfig.ts index 022252616e087..8f6db1138a4c5 100644 --- a/clients/client-mobile/runtimeConfig.ts +++ b/clients/client-mobile/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 33450922d0560..d59d213193a6c 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mq/runtimeConfig.browser.ts b/clients/client-mq/runtimeConfig.browser.ts index ee657b9213100..a44740dd3052c 100644 --- a/clients/client-mq/runtimeConfig.browser.ts +++ b/clients/client-mq/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mq/runtimeConfig.native.ts b/clients/client-mq/runtimeConfig.native.ts index 95a55aa5e4377..e37843395ea2e 100644 --- a/clients/client-mq/runtimeConfig.native.ts +++ b/clients/client-mq/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MqClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mq/runtimeConfig.shared.ts b/clients/client-mq/runtimeConfig.shared.ts index daff5a886ab65..de251006887e3 100644 --- a/clients/client-mq/runtimeConfig.shared.ts +++ b/clients/client-mq/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "mq", + urlParser: parseUrl, }; diff --git a/clients/client-mq/runtimeConfig.ts b/clients/client-mq/runtimeConfig.ts index 9862396080bb1..13ffa0ee6d96a 100644 --- a/clients/client-mq/runtimeConfig.ts +++ b/clients/client-mq/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index 8243b03509c1a..05672e5e20e82 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-mturk/runtimeConfig.browser.ts b/clients/client-mturk/runtimeConfig.browser.ts index 30619b070dc84..4c1ea82e7cecf 100644 --- a/clients/client-mturk/runtimeConfig.browser.ts +++ b/clients/client-mturk/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-mturk/runtimeConfig.native.ts b/clients/client-mturk/runtimeConfig.native.ts index f87ecc7df4fa4..8ab84c3eda41e 100644 --- a/clients/client-mturk/runtimeConfig.native.ts +++ b/clients/client-mturk/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./MTurkClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-mturk/runtimeConfig.shared.ts b/clients/client-mturk/runtimeConfig.shared.ts index e9701c7bb0557..c59369fe59cc3 100644 --- a/clients/client-mturk/runtimeConfig.shared.ts +++ b/clients/client-mturk/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "MTurk", + urlParser: parseUrl, }; diff --git a/clients/client-mturk/runtimeConfig.ts b/clients/client-mturk/runtimeConfig.ts index aabda4f54d983..758c0355fdd2c 100644 --- a/clients/client-mturk/runtimeConfig.ts +++ b/clients/client-mturk/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index 7fdddabd12706..b69ea71ea491c 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-neptune/runtimeConfig.browser.ts b/clients/client-neptune/runtimeConfig.browser.ts index 0d9aaae703b7b..efeba8cb32af3 100644 --- a/clients/client-neptune/runtimeConfig.browser.ts +++ b/clients/client-neptune/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-neptune/runtimeConfig.native.ts b/clients/client-neptune/runtimeConfig.native.ts index 72d1508cda8b9..9a3414b3bc43e 100644 --- a/clients/client-neptune/runtimeConfig.native.ts +++ b/clients/client-neptune/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./NeptuneClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-neptune/runtimeConfig.shared.ts b/clients/client-neptune/runtimeConfig.shared.ts index 7903bf360362c..f637fe5cfd84d 100644 --- a/clients/client-neptune/runtimeConfig.shared.ts +++ b/clients/client-neptune/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Neptune", + urlParser: parseUrl, }; diff --git a/clients/client-neptune/runtimeConfig.ts b/clients/client-neptune/runtimeConfig.ts index 1e09d36f386b6..df92a15ceced9 100644 --- a/clients/client-neptune/runtimeConfig.ts +++ b/clients/client-neptune/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index c3fdefeb90218..71882737118a7 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-network-firewall/runtimeConfig.browser.ts b/clients/client-network-firewall/runtimeConfig.browser.ts index bfe70813e581f..b37dd3b13acfe 100644 --- a/clients/client-network-firewall/runtimeConfig.browser.ts +++ b/clients/client-network-firewall/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-network-firewall/runtimeConfig.native.ts b/clients/client-network-firewall/runtimeConfig.native.ts index de9e7ea510f2b..1cbdfb8fb482a 100644 --- a/clients/client-network-firewall/runtimeConfig.native.ts +++ b/clients/client-network-firewall/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./NetworkFirewallClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-network-firewall/runtimeConfig.shared.ts b/clients/client-network-firewall/runtimeConfig.shared.ts index 5d2db21b49a90..192535a96cf30 100644 --- a/clients/client-network-firewall/runtimeConfig.shared.ts +++ b/clients/client-network-firewall/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Network Firewall", + urlParser: parseUrl, }; diff --git a/clients/client-network-firewall/runtimeConfig.ts b/clients/client-network-firewall/runtimeConfig.ts index 7b1d2e26f1f23..2ef04052828ce 100644 --- a/clients/client-network-firewall/runtimeConfig.ts +++ b/clients/client-network-firewall/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index 1cdb831cb4706..587180cb4b39c 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-networkmanager/runtimeConfig.browser.ts b/clients/client-networkmanager/runtimeConfig.browser.ts index 2b784fc780d95..b7d260e0d3406 100644 --- a/clients/client-networkmanager/runtimeConfig.browser.ts +++ b/clients/client-networkmanager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-networkmanager/runtimeConfig.native.ts b/clients/client-networkmanager/runtimeConfig.native.ts index 9f36f057a7a62..5436f64c067b0 100644 --- a/clients/client-networkmanager/runtimeConfig.native.ts +++ b/clients/client-networkmanager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./NetworkManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-networkmanager/runtimeConfig.shared.ts b/clients/client-networkmanager/runtimeConfig.shared.ts index 3a704de02ad24..448df95ccc0b7 100644 --- a/clients/client-networkmanager/runtimeConfig.shared.ts +++ b/clients/client-networkmanager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "NetworkManager", + urlParser: parseUrl, }; diff --git a/clients/client-networkmanager/runtimeConfig.ts b/clients/client-networkmanager/runtimeConfig.ts index e2d52d6a5a049..b0793e4a6ec88 100644 --- a/clients/client-networkmanager/runtimeConfig.ts +++ b/clients/client-networkmanager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 98fbf0228db88..06e7694ba4135 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-opsworks/runtimeConfig.browser.ts b/clients/client-opsworks/runtimeConfig.browser.ts index 91630ce4b085c..605341cb67b35 100644 --- a/clients/client-opsworks/runtimeConfig.browser.ts +++ b/clients/client-opsworks/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworks/runtimeConfig.native.ts b/clients/client-opsworks/runtimeConfig.native.ts index 4e1e13b3eebac..4d84276b1ea74 100644 --- a/clients/client-opsworks/runtimeConfig.native.ts +++ b/clients/client-opsworks/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OpsWorksClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-opsworks/runtimeConfig.shared.ts b/clients/client-opsworks/runtimeConfig.shared.ts index d031a67bdb62f..c740e4848da20 100644 --- a/clients/client-opsworks/runtimeConfig.shared.ts +++ b/clients/client-opsworks/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "OpsWorks", + urlParser: parseUrl, }; diff --git a/clients/client-opsworks/runtimeConfig.ts b/clients/client-opsworks/runtimeConfig.ts index 7c7a47fbc09f8..0aa7c335d4ea1 100644 --- a/clients/client-opsworks/runtimeConfig.ts +++ b/clients/client-opsworks/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 428b18b217c23..0ed439979e99e 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-opsworkscm/runtimeConfig.browser.ts b/clients/client-opsworkscm/runtimeConfig.browser.ts index 3641accbc789e..89319088fe786 100644 --- a/clients/client-opsworkscm/runtimeConfig.browser.ts +++ b/clients/client-opsworkscm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-opsworkscm/runtimeConfig.native.ts b/clients/client-opsworkscm/runtimeConfig.native.ts index 136b8193f32c3..385590b54843f 100644 --- a/clients/client-opsworkscm/runtimeConfig.native.ts +++ b/clients/client-opsworkscm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OpsWorksCMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-opsworkscm/runtimeConfig.shared.ts b/clients/client-opsworkscm/runtimeConfig.shared.ts index 0a78d465d640c..2c3cee5f6b148 100644 --- a/clients/client-opsworkscm/runtimeConfig.shared.ts +++ b/clients/client-opsworkscm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "OpsWorksCM", + urlParser: parseUrl, }; diff --git a/clients/client-opsworkscm/runtimeConfig.ts b/clients/client-opsworkscm/runtimeConfig.ts index 2e2c70a404011..68d6285ab3a4a 100644 --- a/clients/client-opsworkscm/runtimeConfig.ts +++ b/clients/client-opsworkscm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index 54fe35b7d2cca..6acf2520cb8b5 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-organizations/runtimeConfig.browser.ts b/clients/client-organizations/runtimeConfig.browser.ts index 7ba5808c14962..4020e767732f3 100644 --- a/clients/client-organizations/runtimeConfig.browser.ts +++ b/clients/client-organizations/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-organizations/runtimeConfig.native.ts b/clients/client-organizations/runtimeConfig.native.ts index e8e94b4f2b0aa..12a2d758f0e9e 100644 --- a/clients/client-organizations/runtimeConfig.native.ts +++ b/clients/client-organizations/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OrganizationsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-organizations/runtimeConfig.shared.ts b/clients/client-organizations/runtimeConfig.shared.ts index 036a34502f8d8..f725decd1dcec 100644 --- a/clients/client-organizations/runtimeConfig.shared.ts +++ b/clients/client-organizations/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Organizations", + urlParser: parseUrl, }; diff --git a/clients/client-organizations/runtimeConfig.ts b/clients/client-organizations/runtimeConfig.ts index fd5cbad4b7279..7bf03b91efc17 100644 --- a/clients/client-organizations/runtimeConfig.ts +++ b/clients/client-organizations/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index a887f5148221b..83f73aba8b3a7 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-outposts/runtimeConfig.browser.ts b/clients/client-outposts/runtimeConfig.browser.ts index f69b029622a58..12e9ebece1dcf 100644 --- a/clients/client-outposts/runtimeConfig.browser.ts +++ b/clients/client-outposts/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-outposts/runtimeConfig.native.ts b/clients/client-outposts/runtimeConfig.native.ts index b79a1ac2d3916..070345626c982 100644 --- a/clients/client-outposts/runtimeConfig.native.ts +++ b/clients/client-outposts/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./OutpostsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-outposts/runtimeConfig.shared.ts b/clients/client-outposts/runtimeConfig.shared.ts index 7c851d545dcf3..3ed0690de81e9 100644 --- a/clients/client-outposts/runtimeConfig.shared.ts +++ b/clients/client-outposts/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Outposts", + urlParser: parseUrl, }; diff --git a/clients/client-outposts/runtimeConfig.ts b/clients/client-outposts/runtimeConfig.ts index 85d94e67e8fdf..793a70993b085 100644 --- a/clients/client-outposts/runtimeConfig.ts +++ b/clients/client-outposts/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 2dbf2d7dd559a..d8bfe40f5da97 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-personalize-events/runtimeConfig.browser.ts b/clients/client-personalize-events/runtimeConfig.browser.ts index 8619ed6e2951b..b98fb7f86736e 100644 --- a/clients/client-personalize-events/runtimeConfig.browser.ts +++ b/clients/client-personalize-events/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-events/runtimeConfig.native.ts b/clients/client-personalize-events/runtimeConfig.native.ts index fa4b108562d0d..96fb608149148 100644 --- a/clients/client-personalize-events/runtimeConfig.native.ts +++ b/clients/client-personalize-events/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PersonalizeEventsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-personalize-events/runtimeConfig.shared.ts b/clients/client-personalize-events/runtimeConfig.shared.ts index a57f81108e12f..6a5ee1d5e1b01 100644 --- a/clients/client-personalize-events/runtimeConfig.shared.ts +++ b/clients/client-personalize-events/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Personalize Events", + urlParser: parseUrl, }; diff --git a/clients/client-personalize-events/runtimeConfig.ts b/clients/client-personalize-events/runtimeConfig.ts index fb7047407c17d..eafa784a9d51b 100644 --- a/clients/client-personalize-events/runtimeConfig.ts +++ b/clients/client-personalize-events/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index da257430a2ea4..ce50200f9b239 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-personalize-runtime/runtimeConfig.browser.ts b/clients/client-personalize-runtime/runtimeConfig.browser.ts index 908e0005a0b9e..aa7411746cac7 100644 --- a/clients/client-personalize-runtime/runtimeConfig.browser.ts +++ b/clients/client-personalize-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize-runtime/runtimeConfig.native.ts b/clients/client-personalize-runtime/runtimeConfig.native.ts index d3639a5e6f110..e47c5c0037b07 100644 --- a/clients/client-personalize-runtime/runtimeConfig.native.ts +++ b/clients/client-personalize-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PersonalizeRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-personalize-runtime/runtimeConfig.shared.ts b/clients/client-personalize-runtime/runtimeConfig.shared.ts index 63565f91d0708..63abb2f86f7c0 100644 --- a/clients/client-personalize-runtime/runtimeConfig.shared.ts +++ b/clients/client-personalize-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Personalize Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-personalize-runtime/runtimeConfig.ts b/clients/client-personalize-runtime/runtimeConfig.ts index b8e0ac87b5301..c9626a7e1eb44 100644 --- a/clients/client-personalize-runtime/runtimeConfig.ts +++ b/clients/client-personalize-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index 3f2069e180b53..9086df7268a41 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-personalize/runtimeConfig.browser.ts b/clients/client-personalize/runtimeConfig.browser.ts index 8492a6936e302..c6479cf68c8e8 100644 --- a/clients/client-personalize/runtimeConfig.browser.ts +++ b/clients/client-personalize/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-personalize/runtimeConfig.native.ts b/clients/client-personalize/runtimeConfig.native.ts index d04e00fcec44f..8eff664ad4947 100644 --- a/clients/client-personalize/runtimeConfig.native.ts +++ b/clients/client-personalize/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PersonalizeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-personalize/runtimeConfig.shared.ts b/clients/client-personalize/runtimeConfig.shared.ts index e45643267a252..32ffd761726cf 100644 --- a/clients/client-personalize/runtimeConfig.shared.ts +++ b/clients/client-personalize/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Personalize", + urlParser: parseUrl, }; diff --git a/clients/client-personalize/runtimeConfig.ts b/clients/client-personalize/runtimeConfig.ts index a7685f8cd27fd..489f55f1be47a 100644 --- a/clients/client-personalize/runtimeConfig.ts +++ b/clients/client-personalize/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index 9cf13a2e0984c..09c2c121b0104 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pi/runtimeConfig.browser.ts b/clients/client-pi/runtimeConfig.browser.ts index 5cdca135bf0ec..4bb1b851dbbd7 100644 --- a/clients/client-pi/runtimeConfig.browser.ts +++ b/clients/client-pi/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pi/runtimeConfig.native.ts b/clients/client-pi/runtimeConfig.native.ts index 8f17286345931..5e2725e5591a9 100644 --- a/clients/client-pi/runtimeConfig.native.ts +++ b/clients/client-pi/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PIClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pi/runtimeConfig.shared.ts b/clients/client-pi/runtimeConfig.shared.ts index fa1318b757b82..9fb214f4a7575 100644 --- a/clients/client-pi/runtimeConfig.shared.ts +++ b/clients/client-pi/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "PI", + urlParser: parseUrl, }; diff --git a/clients/client-pi/runtimeConfig.ts b/clients/client-pi/runtimeConfig.ts index f1b2e8d5f41fb..a9e3a9958030e 100644 --- a/clients/client-pi/runtimeConfig.ts +++ b/clients/client-pi/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index 6ffe58ee8fe25..b4c7a81bec22a 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pinpoint-email/runtimeConfig.browser.ts b/clients/client-pinpoint-email/runtimeConfig.browser.ts index 3c74648bbb2c6..ba3046b7f73ab 100644 --- a/clients/client-pinpoint-email/runtimeConfig.browser.ts +++ b/clients/client-pinpoint-email/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-email/runtimeConfig.native.ts b/clients/client-pinpoint-email/runtimeConfig.native.ts index 24013a65d121a..aa2f1d6a866da 100644 --- a/clients/client-pinpoint-email/runtimeConfig.native.ts +++ b/clients/client-pinpoint-email/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PinpointEmailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pinpoint-email/runtimeConfig.shared.ts b/clients/client-pinpoint-email/runtimeConfig.shared.ts index 008965c48e845..de8852d9f20c4 100644 --- a/clients/client-pinpoint-email/runtimeConfig.shared.ts +++ b/clients/client-pinpoint-email/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pinpoint Email", + urlParser: parseUrl, }; diff --git a/clients/client-pinpoint-email/runtimeConfig.ts b/clients/client-pinpoint-email/runtimeConfig.ts index dd64e28c2b253..ddee3af808c1c 100644 --- a/clients/client-pinpoint-email/runtimeConfig.ts +++ b/clients/client-pinpoint-email/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index ff3b8ffa2893b..93ca9d02a68a9 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts index f81e48b3b52b9..0b1e8cb72f639 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts index e97a34cebcca0..221620539f9b5 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PinpointSMSVoiceClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts index 2a4e76b36b81d..63c7ba5d404fd 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pinpoint SMS Voice", + urlParser: parseUrl, }; diff --git a/clients/client-pinpoint-sms-voice/runtimeConfig.ts b/clients/client-pinpoint-sms-voice/runtimeConfig.ts index 8ba8ff15275eb..948006ebdd7ef 100644 --- a/clients/client-pinpoint-sms-voice/runtimeConfig.ts +++ b/clients/client-pinpoint-sms-voice/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index 27c51481c1c19..587a897d859bf 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pinpoint/runtimeConfig.browser.ts b/clients/client-pinpoint/runtimeConfig.browser.ts index 4d0bf08f5df77..6eef03220949f 100644 --- a/clients/client-pinpoint/runtimeConfig.browser.ts +++ b/clients/client-pinpoint/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pinpoint/runtimeConfig.native.ts b/clients/client-pinpoint/runtimeConfig.native.ts index 2f202ac7dc1d4..cee6f0b751b1c 100644 --- a/clients/client-pinpoint/runtimeConfig.native.ts +++ b/clients/client-pinpoint/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PinpointClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pinpoint/runtimeConfig.shared.ts b/clients/client-pinpoint/runtimeConfig.shared.ts index 7e9873df43cac..37fa0bdfa6880 100644 --- a/clients/client-pinpoint/runtimeConfig.shared.ts +++ b/clients/client-pinpoint/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pinpoint", + urlParser: parseUrl, }; diff --git a/clients/client-pinpoint/runtimeConfig.ts b/clients/client-pinpoint/runtimeConfig.ts index 694292a362245..1de3a430e07e8 100644 --- a/clients/client-pinpoint/runtimeConfig.ts +++ b/clients/client-pinpoint/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index 0d3dd388fd082..b0f120f2df761 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-polly/runtimeConfig.browser.ts b/clients/client-polly/runtimeConfig.browser.ts index 3f65667b89400..1d63bd3f8b9c2 100644 --- a/clients/client-polly/runtimeConfig.browser.ts +++ b/clients/client-polly/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-polly/runtimeConfig.native.ts b/clients/client-polly/runtimeConfig.native.ts index 247aeafab705d..c7bf820dbc044 100644 --- a/clients/client-polly/runtimeConfig.native.ts +++ b/clients/client-polly/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PollyClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-polly/runtimeConfig.shared.ts b/clients/client-polly/runtimeConfig.shared.ts index 3a3031e5d0b1e..e0d76344686db 100644 --- a/clients/client-polly/runtimeConfig.shared.ts +++ b/clients/client-polly/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Polly", + urlParser: parseUrl, }; diff --git a/clients/client-polly/runtimeConfig.ts b/clients/client-polly/runtimeConfig.ts index 3e55dc929b66d..2ab19b517465b 100644 --- a/clients/client-polly/runtimeConfig.ts +++ b/clients/client-polly/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index 49e6d5b5af278..f0b65ec110346 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-pricing/runtimeConfig.browser.ts b/clients/client-pricing/runtimeConfig.browser.ts index bcce66740e732..bfd29f42df0fc 100644 --- a/clients/client-pricing/runtimeConfig.browser.ts +++ b/clients/client-pricing/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-pricing/runtimeConfig.native.ts b/clients/client-pricing/runtimeConfig.native.ts index 4792ba1e56e25..9d951f421b065 100644 --- a/clients/client-pricing/runtimeConfig.native.ts +++ b/clients/client-pricing/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./PricingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-pricing/runtimeConfig.shared.ts b/clients/client-pricing/runtimeConfig.shared.ts index 65df757d0fc6f..df10135129021 100644 --- a/clients/client-pricing/runtimeConfig.shared.ts +++ b/clients/client-pricing/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Pricing", + urlParser: parseUrl, }; diff --git a/clients/client-pricing/runtimeConfig.ts b/clients/client-pricing/runtimeConfig.ts index db7b72ba26071..8934fa6c75070 100644 --- a/clients/client-pricing/runtimeConfig.ts +++ b/clients/client-pricing/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index de2d73ec63492..9d23af9fa1a9b 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-qldb-session/runtimeConfig.browser.ts b/clients/client-qldb-session/runtimeConfig.browser.ts index d2d8ac7b98840..30c8bf854f66b 100644 --- a/clients/client-qldb-session/runtimeConfig.browser.ts +++ b/clients/client-qldb-session/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb-session/runtimeConfig.native.ts b/clients/client-qldb-session/runtimeConfig.native.ts index 9eadf3401b96a..f360a26467c9c 100644 --- a/clients/client-qldb-session/runtimeConfig.native.ts +++ b/clients/client-qldb-session/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QLDBSessionClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-qldb-session/runtimeConfig.shared.ts b/clients/client-qldb-session/runtimeConfig.shared.ts index 1248c87b7f6b8..6bc14536a485a 100644 --- a/clients/client-qldb-session/runtimeConfig.shared.ts +++ b/clients/client-qldb-session/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "QLDB Session", + urlParser: parseUrl, }; diff --git a/clients/client-qldb-session/runtimeConfig.ts b/clients/client-qldb-session/runtimeConfig.ts index 23954907193a7..c8030230076c4 100644 --- a/clients/client-qldb-session/runtimeConfig.ts +++ b/clients/client-qldb-session/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index 04ab57d263a6d..2bdbdf2759c08 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-qldb/runtimeConfig.browser.ts b/clients/client-qldb/runtimeConfig.browser.ts index e09e79b144547..cefbfea740eb1 100644 --- a/clients/client-qldb/runtimeConfig.browser.ts +++ b/clients/client-qldb/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-qldb/runtimeConfig.native.ts b/clients/client-qldb/runtimeConfig.native.ts index fee104745edf3..c4ada6e1b497f 100644 --- a/clients/client-qldb/runtimeConfig.native.ts +++ b/clients/client-qldb/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QLDBClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-qldb/runtimeConfig.shared.ts b/clients/client-qldb/runtimeConfig.shared.ts index b7ef40e6577f7..2ff37bf3087aa 100644 --- a/clients/client-qldb/runtimeConfig.shared.ts +++ b/clients/client-qldb/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "QLDB", + urlParser: parseUrl, }; diff --git a/clients/client-qldb/runtimeConfig.ts b/clients/client-qldb/runtimeConfig.ts index b720880168bdc..d47766f9a1f15 100644 --- a/clients/client-qldb/runtimeConfig.ts +++ b/clients/client-qldb/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 9011927c3fa08..e25b3441741cd 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-quicksight/runtimeConfig.browser.ts b/clients/client-quicksight/runtimeConfig.browser.ts index 11c0040a03383..4f26f51093970 100644 --- a/clients/client-quicksight/runtimeConfig.browser.ts +++ b/clients/client-quicksight/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-quicksight/runtimeConfig.native.ts b/clients/client-quicksight/runtimeConfig.native.ts index c140fe2890a5e..48b4d2dcc8878 100644 --- a/clients/client-quicksight/runtimeConfig.native.ts +++ b/clients/client-quicksight/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QuickSightClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-quicksight/runtimeConfig.shared.ts b/clients/client-quicksight/runtimeConfig.shared.ts index 5fb6f3ba86018..ddcb54d0b7738 100644 --- a/clients/client-quicksight/runtimeConfig.shared.ts +++ b/clients/client-quicksight/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "QuickSight", + urlParser: parseUrl, }; diff --git a/clients/client-quicksight/runtimeConfig.ts b/clients/client-quicksight/runtimeConfig.ts index 06e408843312a..3c2c653d2c162 100644 --- a/clients/client-quicksight/runtimeConfig.ts +++ b/clients/client-quicksight/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index 17a68d75509db..7941f2d30a632 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ram/runtimeConfig.browser.ts b/clients/client-ram/runtimeConfig.browser.ts index f954f29e93549..9689da7214860 100644 --- a/clients/client-ram/runtimeConfig.browser.ts +++ b/clients/client-ram/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ram/runtimeConfig.native.ts b/clients/client-ram/runtimeConfig.native.ts index e90e29b19f8e9..85bf1c92eb105 100644 --- a/clients/client-ram/runtimeConfig.native.ts +++ b/clients/client-ram/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RAMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ram/runtimeConfig.shared.ts b/clients/client-ram/runtimeConfig.shared.ts index 48ad259cb7dbc..fa901e5e4091d 100644 --- a/clients/client-ram/runtimeConfig.shared.ts +++ b/clients/client-ram/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RAM", + urlParser: parseUrl, }; diff --git a/clients/client-ram/runtimeConfig.ts b/clients/client-ram/runtimeConfig.ts index 45df96b74d895..5fccdc933790d 100644 --- a/clients/client-ram/runtimeConfig.ts +++ b/clients/client-ram/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index 64841c55bfc7c..90c01b47e341e 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-rds-data/runtimeConfig.browser.ts b/clients/client-rds-data/runtimeConfig.browser.ts index dcb7e151db6ca..f6a6484031728 100644 --- a/clients/client-rds-data/runtimeConfig.browser.ts +++ b/clients/client-rds-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds-data/runtimeConfig.native.ts b/clients/client-rds-data/runtimeConfig.native.ts index 67e12ed55cd68..12a409b21ffe6 100644 --- a/clients/client-rds-data/runtimeConfig.native.ts +++ b/clients/client-rds-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RDSDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-rds-data/runtimeConfig.shared.ts b/clients/client-rds-data/runtimeConfig.shared.ts index 238355c761cb4..3ff2a8d7f4231 100644 --- a/clients/client-rds-data/runtimeConfig.shared.ts +++ b/clients/client-rds-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RDS Data", + urlParser: parseUrl, }; diff --git a/clients/client-rds-data/runtimeConfig.ts b/clients/client-rds-data/runtimeConfig.ts index 93c2a3186956d..f51853d6d733a 100644 --- a/clients/client-rds-data/runtimeConfig.ts +++ b/clients/client-rds-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index 92de54602b740..b390d32d36eb4 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-rds/runtimeConfig.browser.ts b/clients/client-rds/runtimeConfig.browser.ts index b7315f96e5786..25a1598a734cb 100644 --- a/clients/client-rds/runtimeConfig.browser.ts +++ b/clients/client-rds/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rds/runtimeConfig.native.ts b/clients/client-rds/runtimeConfig.native.ts index 10be771599560..872574bea3b6c 100644 --- a/clients/client-rds/runtimeConfig.native.ts +++ b/clients/client-rds/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RDSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-rds/runtimeConfig.shared.ts b/clients/client-rds/runtimeConfig.shared.ts index b6f67d038e85e..ebe09a0fbab32 100644 --- a/clients/client-rds/runtimeConfig.shared.ts +++ b/clients/client-rds/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RDS", + urlParser: parseUrl, }; diff --git a/clients/client-rds/runtimeConfig.ts b/clients/client-rds/runtimeConfig.ts index 5c42388c6891b..4626e23db09f1 100644 --- a/clients/client-rds/runtimeConfig.ts +++ b/clients/client-rds/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index 41f8fd68ead42..01b63b05a0438 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-redshift-data/runtimeConfig.browser.ts b/clients/client-redshift-data/runtimeConfig.browser.ts index c2de75494ebd2..c50aa56d0fcd3 100644 --- a/clients/client-redshift-data/runtimeConfig.browser.ts +++ b/clients/client-redshift-data/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift-data/runtimeConfig.native.ts b/clients/client-redshift-data/runtimeConfig.native.ts index 1c8f8e313b9c4..14252e45e881f 100644 --- a/clients/client-redshift-data/runtimeConfig.native.ts +++ b/clients/client-redshift-data/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RedshiftDataClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-redshift-data/runtimeConfig.shared.ts b/clients/client-redshift-data/runtimeConfig.shared.ts index 4f98b1c73893a..98335d33cf7b4 100644 --- a/clients/client-redshift-data/runtimeConfig.shared.ts +++ b/clients/client-redshift-data/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Redshift Data", + urlParser: parseUrl, }; diff --git a/clients/client-redshift-data/runtimeConfig.ts b/clients/client-redshift-data/runtimeConfig.ts index dba7e470be4dc..96da023ecbd4a 100644 --- a/clients/client-redshift-data/runtimeConfig.ts +++ b/clients/client-redshift-data/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index 017f4e5a81a40..b273b862ae85b 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-redshift/runtimeConfig.browser.ts b/clients/client-redshift/runtimeConfig.browser.ts index 9f165a8763db8..592dc940ed64e 100644 --- a/clients/client-redshift/runtimeConfig.browser.ts +++ b/clients/client-redshift/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-redshift/runtimeConfig.native.ts b/clients/client-redshift/runtimeConfig.native.ts index d0ff8a798c016..667392962fa8d 100644 --- a/clients/client-redshift/runtimeConfig.native.ts +++ b/clients/client-redshift/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RedshiftClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-redshift/runtimeConfig.shared.ts b/clients/client-redshift/runtimeConfig.shared.ts index 07a225fa66254..a6684b2310046 100644 --- a/clients/client-redshift/runtimeConfig.shared.ts +++ b/clients/client-redshift/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Redshift", + urlParser: parseUrl, }; diff --git a/clients/client-redshift/runtimeConfig.ts b/clients/client-redshift/runtimeConfig.ts index 0c47c88843d81..f4c2f0518600e 100644 --- a/clients/client-redshift/runtimeConfig.ts +++ b/clients/client-redshift/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index 1ee7aafd6cf9e..933fdfbd729af 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-rekognition/runtimeConfig.browser.ts b/clients/client-rekognition/runtimeConfig.browser.ts index 6309afc830916..3db2fb7772499 100644 --- a/clients/client-rekognition/runtimeConfig.browser.ts +++ b/clients/client-rekognition/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-rekognition/runtimeConfig.native.ts b/clients/client-rekognition/runtimeConfig.native.ts index 66912db06ab3e..d4542997c65bf 100644 --- a/clients/client-rekognition/runtimeConfig.native.ts +++ b/clients/client-rekognition/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RekognitionClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-rekognition/runtimeConfig.shared.ts b/clients/client-rekognition/runtimeConfig.shared.ts index b462f10ebf17d..900a789ddb7fa 100644 --- a/clients/client-rekognition/runtimeConfig.shared.ts +++ b/clients/client-rekognition/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Rekognition", + urlParser: parseUrl, }; diff --git a/clients/client-rekognition/runtimeConfig.ts b/clients/client-rekognition/runtimeConfig.ts index 01c3d544c8391..e142c7ffb998d 100644 --- a/clients/client-rekognition/runtimeConfig.ts +++ b/clients/client-rekognition/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index 9d01d51f5e651..054512493c0ca 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts index 04f1f82ddc183..c9c5594e0ec92 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts index 94081e75c64aa..85eda47e40a9c 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ResourceGroupsTaggingAPIClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts index 0a267e8bceea1..c6e15322eae76 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Resource Groups Tagging API", + urlParser: parseUrl, }; diff --git a/clients/client-resource-groups-tagging-api/runtimeConfig.ts b/clients/client-resource-groups-tagging-api/runtimeConfig.ts index b3b7a948f886e..68345b3444fa0 100644 --- a/clients/client-resource-groups-tagging-api/runtimeConfig.ts +++ b/clients/client-resource-groups-tagging-api/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index 7f5196217f66b..06361b787481d 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-resource-groups/runtimeConfig.browser.ts b/clients/client-resource-groups/runtimeConfig.browser.ts index 8d102e54216ba..df06e7a09e28a 100644 --- a/clients/client-resource-groups/runtimeConfig.browser.ts +++ b/clients/client-resource-groups/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-resource-groups/runtimeConfig.native.ts b/clients/client-resource-groups/runtimeConfig.native.ts index 2372597f29694..09482254279f5 100644 --- a/clients/client-resource-groups/runtimeConfig.native.ts +++ b/clients/client-resource-groups/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ResourceGroupsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-resource-groups/runtimeConfig.shared.ts b/clients/client-resource-groups/runtimeConfig.shared.ts index 08ab1ad573759..065e0dd5ddc9d 100644 --- a/clients/client-resource-groups/runtimeConfig.shared.ts +++ b/clients/client-resource-groups/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Resource Groups", + urlParser: parseUrl, }; diff --git a/clients/client-resource-groups/runtimeConfig.ts b/clients/client-resource-groups/runtimeConfig.ts index cf0b2e270b14f..eab9b77b24e3a 100644 --- a/clients/client-resource-groups/runtimeConfig.ts +++ b/clients/client-resource-groups/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index ea4146a2bebf2..8181413c1a6c7 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-robomaker/runtimeConfig.browser.ts b/clients/client-robomaker/runtimeConfig.browser.ts index bc5fbff7b662a..b6ffb3bf324ac 100644 --- a/clients/client-robomaker/runtimeConfig.browser.ts +++ b/clients/client-robomaker/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-robomaker/runtimeConfig.native.ts b/clients/client-robomaker/runtimeConfig.native.ts index a94796711ac8c..bc950f6b5ab4e 100644 --- a/clients/client-robomaker/runtimeConfig.native.ts +++ b/clients/client-robomaker/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RoboMakerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-robomaker/runtimeConfig.shared.ts b/clients/client-robomaker/runtimeConfig.shared.ts index b2a6cec5f8d01..d1feef1c5614f 100644 --- a/clients/client-robomaker/runtimeConfig.shared.ts +++ b/clients/client-robomaker/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "RoboMaker", + urlParser: parseUrl, }; diff --git a/clients/client-robomaker/runtimeConfig.ts b/clients/client-robomaker/runtimeConfig.ts index 96c7359faea35..d2605551e72e4 100644 --- a/clients/client-robomaker/runtimeConfig.ts +++ b/clients/client-robomaker/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index b1af76080eda1..fe3dbb1433540 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-route-53-domains/runtimeConfig.browser.ts b/clients/client-route-53-domains/runtimeConfig.browser.ts index 5b8bfe2859771..4133ccd4278ec 100644 --- a/clients/client-route-53-domains/runtimeConfig.browser.ts +++ b/clients/client-route-53-domains/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53-domains/runtimeConfig.native.ts b/clients/client-route-53-domains/runtimeConfig.native.ts index bc2a62428f65c..21133332ab7b9 100644 --- a/clients/client-route-53-domains/runtimeConfig.native.ts +++ b/clients/client-route-53-domains/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Route53DomainsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-route-53-domains/runtimeConfig.shared.ts b/clients/client-route-53-domains/runtimeConfig.shared.ts index 3c6c03c2c2595..820f242fb8ba2 100644 --- a/clients/client-route-53-domains/runtimeConfig.shared.ts +++ b/clients/client-route-53-domains/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Route 53 Domains", + urlParser: parseUrl, }; diff --git a/clients/client-route-53-domains/runtimeConfig.ts b/clients/client-route-53-domains/runtimeConfig.ts index 5351d2be3d7fe..ad3547ecb363a 100644 --- a/clients/client-route-53-domains/runtimeConfig.ts +++ b/clients/client-route-53-domains/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index 53bca99063d54..9ae5dda3d8430 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -47,8 +47,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-route-53/runtimeConfig.browser.ts b/clients/client-route-53/runtimeConfig.browser.ts index 9f965ce2ceb89..1bead0a0d0d75 100644 --- a/clients/client-route-53/runtimeConfig.browser.ts +++ b/clients/client-route-53/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route-53/runtimeConfig.native.ts b/clients/client-route-53/runtimeConfig.native.ts index 2b2235c56777b..05df8f006549e 100644 --- a/clients/client-route-53/runtimeConfig.native.ts +++ b/clients/client-route-53/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Route53Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-route-53/runtimeConfig.shared.ts b/clients/client-route-53/runtimeConfig.shared.ts index d793df60f0de2..87be3e97e7611 100644 --- a/clients/client-route-53/runtimeConfig.shared.ts +++ b/clients/client-route-53/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Route 53", + urlParser: parseUrl, }; diff --git a/clients/client-route-53/runtimeConfig.ts b/clients/client-route-53/runtimeConfig.ts index aa26b0a45f48f..2b776fd73ee36 100644 --- a/clients/client-route-53/runtimeConfig.ts +++ b/clients/client-route-53/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 5ccd4dfe3fed4..b3954061220fe 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-route53resolver/runtimeConfig.browser.ts b/clients/client-route53resolver/runtimeConfig.browser.ts index dd2525fb87a58..fe7a4d5c25d3f 100644 --- a/clients/client-route53resolver/runtimeConfig.browser.ts +++ b/clients/client-route53resolver/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-route53resolver/runtimeConfig.native.ts b/clients/client-route53resolver/runtimeConfig.native.ts index d1646c2c7e280..5ac45421ba9a8 100644 --- a/clients/client-route53resolver/runtimeConfig.native.ts +++ b/clients/client-route53resolver/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./Route53ResolverClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-route53resolver/runtimeConfig.shared.ts b/clients/client-route53resolver/runtimeConfig.shared.ts index aa21ca3501603..2a1f9b2fc3335 100644 --- a/clients/client-route53resolver/runtimeConfig.shared.ts +++ b/clients/client-route53resolver/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Route53Resolver", + urlParser: parseUrl, }; diff --git a/clients/client-route53resolver/runtimeConfig.ts b/clients/client-route53resolver/runtimeConfig.ts index 53af4680828b4..b3a280ab7bd6c 100644 --- a/clients/client-route53resolver/runtimeConfig.ts +++ b/clients/client-route53resolver/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index 8c03ab80aa9d7..8d233396699f0 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -48,8 +48,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-s3-control/runtimeConfig.browser.ts b/clients/client-s3-control/runtimeConfig.browser.ts index f5587dcd2bc0c..8b408e19582ea 100644 --- a/clients/client-s3-control/runtimeConfig.browser.ts +++ b/clients/client-s3-control/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3-control/runtimeConfig.native.ts b/clients/client-s3-control/runtimeConfig.native.ts index 3b6f6952f670e..cb59dfa4fc446 100644 --- a/clients/client-s3-control/runtimeConfig.native.ts +++ b/clients/client-s3-control/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./S3ControlClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-s3-control/runtimeConfig.shared.ts b/clients/client-s3-control/runtimeConfig.shared.ts index 8c3f0ba0800f0..8c5a64d60848e 100644 --- a/clients/client-s3-control/runtimeConfig.shared.ts +++ b/clients/client-s3-control/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "S3 Control", + urlParser: parseUrl, }; diff --git a/clients/client-s3-control/runtimeConfig.ts b/clients/client-s3-control/runtimeConfig.ts index 088d314337b67..8377db0deba3f 100644 --- a/clients/client-s3-control/runtimeConfig.ts +++ b/clients/client-s3-control/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index 3e88521dd4863..4a6849385cff9 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -60,8 +60,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-s3/runtimeConfig.browser.ts b/clients/client-s3/runtimeConfig.browser.ts index 9a2fd4388181e..526e62fb1dee0 100644 --- a/clients/client-s3/runtimeConfig.browser.ts +++ b/clients/client-s3/runtimeConfig.browser.ts @@ -7,7 +7,6 @@ import { blobHasher as streamHasher } from "@aws-sdk/hash-blob-browser"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { Md5 } from "@aws-sdk/md5-js"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -37,7 +36,6 @@ export const ClientDefaultValues: Required = { sha256: Sha256, streamCollector, streamHasher, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3/runtimeConfig.native.ts b/clients/client-s3/runtimeConfig.native.ts index 3982fdd7d24b5..f0a98ca65e8c5 100644 --- a/clients/client-s3/runtimeConfig.native.ts +++ b/clients/client-s3/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./S3Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-s3/runtimeConfig.shared.ts b/clients/client-s3/runtimeConfig.shared.ts index 6c4bb7ded67d0..7e2a09ffe840c 100644 --- a/clients/client-s3/runtimeConfig.shared.ts +++ b/clients/client-s3/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -11,5 +12,6 @@ export const ClientSharedValues = { regionInfoProvider: defaultRegionInfoProvider, serviceId: "S3", signingEscapePath: false, + urlParser: parseUrl, useArnRegion: false, }; diff --git a/clients/client-s3/runtimeConfig.ts b/clients/client-s3/runtimeConfig.ts index 3278b5f89d8dc..38d94ed145e7c 100644 --- a/clients/client-s3/runtimeConfig.ts +++ b/clients/client-s3/runtimeConfig.ts @@ -10,7 +10,6 @@ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; import { HashConstructor as __HashConstructor } from "@aws-sdk/types"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -40,7 +39,6 @@ export const ClientDefaultValues: Required = { sha256: Hash.bind(null, "sha256"), streamCollector, streamHasher, - urlParser: parseUrl, useArnRegion: loadNodeConfig(NODE_USE_ARN_REGION_CONFIG_OPTIONS), utf8Decoder: fromUtf8, utf8Encoder: toUtf8, diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index ddcf32295400a..3596a03ba342e 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-s3outposts/runtimeConfig.browser.ts b/clients/client-s3outposts/runtimeConfig.browser.ts index 9bce86dc465ac..8e4cd8ede49f5 100644 --- a/clients/client-s3outposts/runtimeConfig.browser.ts +++ b/clients/client-s3outposts/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-s3outposts/runtimeConfig.native.ts b/clients/client-s3outposts/runtimeConfig.native.ts index dace87cef6b2d..9f1b587e39b3d 100644 --- a/clients/client-s3outposts/runtimeConfig.native.ts +++ b/clients/client-s3outposts/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./S3OutpostsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-s3outposts/runtimeConfig.shared.ts b/clients/client-s3outposts/runtimeConfig.shared.ts index 8ab030e8bef15..d9c7952917218 100644 --- a/clients/client-s3outposts/runtimeConfig.shared.ts +++ b/clients/client-s3outposts/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "S3Outposts", + urlParser: parseUrl, }; diff --git a/clients/client-s3outposts/runtimeConfig.ts b/clients/client-s3outposts/runtimeConfig.ts index a82b2c81d9af5..86e0fa53467a6 100644 --- a/clients/client-s3outposts/runtimeConfig.ts +++ b/clients/client-s3outposts/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index 8792c1a88d4b4..3b6dc235522de 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts index c35f1d39b67ed..2201706cad982 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts index 80117347da1d8..10a1d1c97d6c6 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerA2IRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts index b20bbad7670b7..e40c60915db1e 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker A2I Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts b/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts index 1f989b86a8db0..4d17716fbe9cd 100644 --- a/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-a2i-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index 5d2bdf3df266d..c6b6dc60cd88f 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-edge/runtimeConfig.browser.ts b/clients/client-sagemaker-edge/runtimeConfig.browser.ts index ff0cdc9081723..a4ee551452165 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-edge/runtimeConfig.native.ts b/clients/client-sagemaker-edge/runtimeConfig.native.ts index 6ca52bb341edc..e5c8c64defa78 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.native.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SagemakerEdgeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-edge/runtimeConfig.shared.ts b/clients/client-sagemaker-edge/runtimeConfig.shared.ts index 1d9154c3bc208..3e1755c52b827 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Sagemaker Edge", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-edge/runtimeConfig.ts b/clients/client-sagemaker-edge/runtimeConfig.ts index b31960f514b17..a54677ac41a05 100644 --- a/clients/client-sagemaker-edge/runtimeConfig.ts +++ b/clients/client-sagemaker-edge/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index c3f78b50c0959..bf6654a2518f1 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts index dcde1335e3510..fec109c63f110 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts index ed2f094a6ab9e..be49299481082 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerFeatureStoreRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts index e5be5c2820e34..c0eb819f6060d 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker FeatureStore Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts index 431e4229dc588..562307bdf4d0b 100644 --- a/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-featurestore-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index 811a4e92dc147..e56219b45bb28 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker-runtime/runtimeConfig.browser.ts b/clients/client-sagemaker-runtime/runtimeConfig.browser.ts index c56c19772c864..818db249dc07b 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.browser.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker-runtime/runtimeConfig.native.ts b/clients/client-sagemaker-runtime/runtimeConfig.native.ts index cdaeb8c508c4c..dc8c7434c6235 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.native.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerRuntimeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker-runtime/runtimeConfig.shared.ts b/clients/client-sagemaker-runtime/runtimeConfig.shared.ts index f08677c552d10..997ccd3d0cdc8 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.shared.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker Runtime", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker-runtime/runtimeConfig.ts b/clients/client-sagemaker-runtime/runtimeConfig.ts index 4b0ad0de00638..9ccdc3334e438 100644 --- a/clients/client-sagemaker-runtime/runtimeConfig.ts +++ b/clients/client-sagemaker-runtime/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index 948a22d89b966..b09b5d2f57c19 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sagemaker/runtimeConfig.browser.ts b/clients/client-sagemaker/runtimeConfig.browser.ts index 1e7e80c238c6c..29bc3b517688f 100644 --- a/clients/client-sagemaker/runtimeConfig.browser.ts +++ b/clients/client-sagemaker/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sagemaker/runtimeConfig.native.ts b/clients/client-sagemaker/runtimeConfig.native.ts index 3741f42cc11ee..3e0e679f74073 100644 --- a/clients/client-sagemaker/runtimeConfig.native.ts +++ b/clients/client-sagemaker/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SageMakerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sagemaker/runtimeConfig.shared.ts b/clients/client-sagemaker/runtimeConfig.shared.ts index d4336d44cda96..155d6a2849e8a 100644 --- a/clients/client-sagemaker/runtimeConfig.shared.ts +++ b/clients/client-sagemaker/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SageMaker", + urlParser: parseUrl, }; diff --git a/clients/client-sagemaker/runtimeConfig.ts b/clients/client-sagemaker/runtimeConfig.ts index 32aa3687d7fc6..3bb2146247b70 100644 --- a/clients/client-sagemaker/runtimeConfig.ts +++ b/clients/client-sagemaker/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index 9452eecd2aa6f..464af971127df 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-savingsplans/runtimeConfig.browser.ts b/clients/client-savingsplans/runtimeConfig.browser.ts index f77615378ec6c..1017dd02cecd2 100644 --- a/clients/client-savingsplans/runtimeConfig.browser.ts +++ b/clients/client-savingsplans/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-savingsplans/runtimeConfig.native.ts b/clients/client-savingsplans/runtimeConfig.native.ts index c91d78dd62dcd..6199233380989 100644 --- a/clients/client-savingsplans/runtimeConfig.native.ts +++ b/clients/client-savingsplans/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SavingsplansClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-savingsplans/runtimeConfig.shared.ts b/clients/client-savingsplans/runtimeConfig.shared.ts index b6c84a93bc9e3..d1267e3c9b70b 100644 --- a/clients/client-savingsplans/runtimeConfig.shared.ts +++ b/clients/client-savingsplans/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "savingsplans", + urlParser: parseUrl, }; diff --git a/clients/client-savingsplans/runtimeConfig.ts b/clients/client-savingsplans/runtimeConfig.ts index 0e91dc5e90694..0c8f536cf0c2e 100644 --- a/clients/client-savingsplans/runtimeConfig.ts +++ b/clients/client-savingsplans/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index 92b63ca88a994..4c71af529e16c 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-schemas/runtimeConfig.browser.ts b/clients/client-schemas/runtimeConfig.browser.ts index 2832222223cb2..6ab26413489e7 100644 --- a/clients/client-schemas/runtimeConfig.browser.ts +++ b/clients/client-schemas/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-schemas/runtimeConfig.native.ts b/clients/client-schemas/runtimeConfig.native.ts index 51138d3693735..db6a199cd9a87 100644 --- a/clients/client-schemas/runtimeConfig.native.ts +++ b/clients/client-schemas/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SchemasClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-schemas/runtimeConfig.shared.ts b/clients/client-schemas/runtimeConfig.shared.ts index b1ad261647d69..f0ce6be7b3565 100644 --- a/clients/client-schemas/runtimeConfig.shared.ts +++ b/clients/client-schemas/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "schemas", + urlParser: parseUrl, }; diff --git a/clients/client-schemas/runtimeConfig.ts b/clients/client-schemas/runtimeConfig.ts index 45636e8a830db..207e6a9294126 100644 --- a/clients/client-schemas/runtimeConfig.ts +++ b/clients/client-schemas/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index 6220a262e0520..f62c251cb1b1a 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-secrets-manager/runtimeConfig.browser.ts b/clients/client-secrets-manager/runtimeConfig.browser.ts index 8e5c607a8b046..2a061f4c1b24a 100644 --- a/clients/client-secrets-manager/runtimeConfig.browser.ts +++ b/clients/client-secrets-manager/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-secrets-manager/runtimeConfig.native.ts b/clients/client-secrets-manager/runtimeConfig.native.ts index ceed11dc98bfd..1093722b50cee 100644 --- a/clients/client-secrets-manager/runtimeConfig.native.ts +++ b/clients/client-secrets-manager/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SecretsManagerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-secrets-manager/runtimeConfig.shared.ts b/clients/client-secrets-manager/runtimeConfig.shared.ts index 13f7d804a942c..1b9a2be6bb44e 100644 --- a/clients/client-secrets-manager/runtimeConfig.shared.ts +++ b/clients/client-secrets-manager/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Secrets Manager", + urlParser: parseUrl, }; diff --git a/clients/client-secrets-manager/runtimeConfig.ts b/clients/client-secrets-manager/runtimeConfig.ts index fecf768159e7c..fdaa0d9f08f6a 100644 --- a/clients/client-secrets-manager/runtimeConfig.ts +++ b/clients/client-secrets-manager/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index 44cc7e36282a2..ab07a9554e4ec 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-securityhub/runtimeConfig.browser.ts b/clients/client-securityhub/runtimeConfig.browser.ts index 5bbd93e119bc5..11606f13749ee 100644 --- a/clients/client-securityhub/runtimeConfig.browser.ts +++ b/clients/client-securityhub/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-securityhub/runtimeConfig.native.ts b/clients/client-securityhub/runtimeConfig.native.ts index dd9d2e7caab33..bd43ab69e3e49 100644 --- a/clients/client-securityhub/runtimeConfig.native.ts +++ b/clients/client-securityhub/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SecurityHubClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-securityhub/runtimeConfig.shared.ts b/clients/client-securityhub/runtimeConfig.shared.ts index 2889d78f761a9..fdbffa7c17d21 100644 --- a/clients/client-securityhub/runtimeConfig.shared.ts +++ b/clients/client-securityhub/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SecurityHub", + urlParser: parseUrl, }; diff --git a/clients/client-securityhub/runtimeConfig.ts b/clients/client-securityhub/runtimeConfig.ts index 0eebedf88d713..272ddb8e3937d 100644 --- a/clients/client-securityhub/runtimeConfig.ts +++ b/clients/client-securityhub/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index 8156cef8a8949..6cc55d91be4c3 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts index 980d7a24ff5ab..f036d4c55e25b 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts index 1c230fb24295f..c5a3c87a534fa 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServerlessApplicationRepositoryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts index b5e7260a5799a..da6791b1fb104 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ServerlessApplicationRepository", + urlParser: parseUrl, }; diff --git a/clients/client-serverlessapplicationrepository/runtimeConfig.ts b/clients/client-serverlessapplicationrepository/runtimeConfig.ts index 8fb70a7d44995..c42df378077ed 100644 --- a/clients/client-serverlessapplicationrepository/runtimeConfig.ts +++ b/clients/client-serverlessapplicationrepository/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index 828beeb705f48..a54b38921beec 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts index 5b130f27ffd5d..db162edb5f4e0 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.native.ts b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts index 9f3a125df0eed..5d9f986892221 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.native.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceCatalogAppRegistryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts index cdf1803027e58..0d37aa8a2d6d5 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Service Catalog AppRegistry", + urlParser: parseUrl, }; diff --git a/clients/client-service-catalog-appregistry/runtimeConfig.ts b/clients/client-service-catalog-appregistry/runtimeConfig.ts index 6b90b5bba3dae..01136ab937001 100644 --- a/clients/client-service-catalog-appregistry/runtimeConfig.ts +++ b/clients/client-service-catalog-appregistry/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index 3c800fbf94218..212c07f5cf21b 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-service-catalog/runtimeConfig.browser.ts b/clients/client-service-catalog/runtimeConfig.browser.ts index bb0e84695f5be..55fdbe1d382da 100644 --- a/clients/client-service-catalog/runtimeConfig.browser.ts +++ b/clients/client-service-catalog/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-catalog/runtimeConfig.native.ts b/clients/client-service-catalog/runtimeConfig.native.ts index 6e6b7c049f125..59041c9e996b5 100644 --- a/clients/client-service-catalog/runtimeConfig.native.ts +++ b/clients/client-service-catalog/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceCatalogClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-service-catalog/runtimeConfig.shared.ts b/clients/client-service-catalog/runtimeConfig.shared.ts index bec761d0e9e34..9be408d6c0600 100644 --- a/clients/client-service-catalog/runtimeConfig.shared.ts +++ b/clients/client-service-catalog/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Service Catalog", + urlParser: parseUrl, }; diff --git a/clients/client-service-catalog/runtimeConfig.ts b/clients/client-service-catalog/runtimeConfig.ts index 8017131b4ba45..28d96bf734cb6 100644 --- a/clients/client-service-catalog/runtimeConfig.ts +++ b/clients/client-service-catalog/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index e32a102bf0e4e..07cf997f2a87b 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-service-quotas/runtimeConfig.browser.ts b/clients/client-service-quotas/runtimeConfig.browser.ts index db33a88213dc9..5cdf25b27bec4 100644 --- a/clients/client-service-quotas/runtimeConfig.browser.ts +++ b/clients/client-service-quotas/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-service-quotas/runtimeConfig.native.ts b/clients/client-service-quotas/runtimeConfig.native.ts index 48a66cb351d54..3c9da573f66a4 100644 --- a/clients/client-service-quotas/runtimeConfig.native.ts +++ b/clients/client-service-quotas/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceQuotasClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-service-quotas/runtimeConfig.shared.ts b/clients/client-service-quotas/runtimeConfig.shared.ts index 4469ce39a7d61..61479b937ae80 100644 --- a/clients/client-service-quotas/runtimeConfig.shared.ts +++ b/clients/client-service-quotas/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Service Quotas", + urlParser: parseUrl, }; diff --git a/clients/client-service-quotas/runtimeConfig.ts b/clients/client-service-quotas/runtimeConfig.ts index ab0506d45e8dd..4612be5506ebf 100644 --- a/clients/client-service-quotas/runtimeConfig.ts +++ b/clients/client-service-quotas/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index 9ca052ee986d3..36f2f48039d52 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-servicediscovery/runtimeConfig.browser.ts b/clients/client-servicediscovery/runtimeConfig.browser.ts index 90af5ff1b25a6..a47b884964dfe 100644 --- a/clients/client-servicediscovery/runtimeConfig.browser.ts +++ b/clients/client-servicediscovery/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-servicediscovery/runtimeConfig.native.ts b/clients/client-servicediscovery/runtimeConfig.native.ts index acaccf3a0df37..4e8c9db6797a5 100644 --- a/clients/client-servicediscovery/runtimeConfig.native.ts +++ b/clients/client-servicediscovery/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ServiceDiscoveryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-servicediscovery/runtimeConfig.shared.ts b/clients/client-servicediscovery/runtimeConfig.shared.ts index a48f73220c670..022e47be96792 100644 --- a/clients/client-servicediscovery/runtimeConfig.shared.ts +++ b/clients/client-servicediscovery/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "ServiceDiscovery", + urlParser: parseUrl, }; diff --git a/clients/client-servicediscovery/runtimeConfig.ts b/clients/client-servicediscovery/runtimeConfig.ts index ba756b546b2aa..ef0d80da22288 100644 --- a/clients/client-servicediscovery/runtimeConfig.ts +++ b/clients/client-servicediscovery/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index c644fdcc30824..53fd70812304e 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ses/runtimeConfig.browser.ts b/clients/client-ses/runtimeConfig.browser.ts index ecdd41afbcdfb..6296bcfb12413 100644 --- a/clients/client-ses/runtimeConfig.browser.ts +++ b/clients/client-ses/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ses/runtimeConfig.native.ts b/clients/client-ses/runtimeConfig.native.ts index 1bb017439ca7a..a26e23f4b04fa 100644 --- a/clients/client-ses/runtimeConfig.native.ts +++ b/clients/client-ses/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SESClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ses/runtimeConfig.shared.ts b/clients/client-ses/runtimeConfig.shared.ts index 4da81034030f0..442c6b43a06a5 100644 --- a/clients/client-ses/runtimeConfig.shared.ts +++ b/clients/client-ses/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SES", + urlParser: parseUrl, }; diff --git a/clients/client-ses/runtimeConfig.ts b/clients/client-ses/runtimeConfig.ts index 5c1ed47b84d83..748c72f322f56 100644 --- a/clients/client-ses/runtimeConfig.ts +++ b/clients/client-ses/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 3023287f0df66..35bfee130fba0 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sesv2/runtimeConfig.browser.ts b/clients/client-sesv2/runtimeConfig.browser.ts index 1948881d710bb..2c1fd497c7118 100644 --- a/clients/client-sesv2/runtimeConfig.browser.ts +++ b/clients/client-sesv2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sesv2/runtimeConfig.native.ts b/clients/client-sesv2/runtimeConfig.native.ts index de4ce746efe7c..5de2ff6ad1e2e 100644 --- a/clients/client-sesv2/runtimeConfig.native.ts +++ b/clients/client-sesv2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SESv2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sesv2/runtimeConfig.shared.ts b/clients/client-sesv2/runtimeConfig.shared.ts index 8dfd5f683b176..2c62b8fbd2ea3 100644 --- a/clients/client-sesv2/runtimeConfig.shared.ts +++ b/clients/client-sesv2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SESv2", + urlParser: parseUrl, }; diff --git a/clients/client-sesv2/runtimeConfig.ts b/clients/client-sesv2/runtimeConfig.ts index c10e43d09c7c3..75b7137f422bf 100644 --- a/clients/client-sesv2/runtimeConfig.ts +++ b/clients/client-sesv2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index 36f2ab39352fa..849980a15ef13 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sfn/runtimeConfig.browser.ts b/clients/client-sfn/runtimeConfig.browser.ts index 96e716d73f7be..24d2fd28ce67c 100644 --- a/clients/client-sfn/runtimeConfig.browser.ts +++ b/clients/client-sfn/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sfn/runtimeConfig.native.ts b/clients/client-sfn/runtimeConfig.native.ts index 00d159d01f9dc..1d5399516a1b0 100644 --- a/clients/client-sfn/runtimeConfig.native.ts +++ b/clients/client-sfn/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SFNClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sfn/runtimeConfig.shared.ts b/clients/client-sfn/runtimeConfig.shared.ts index e9abf5b7b82f5..86e6407f13d80 100644 --- a/clients/client-sfn/runtimeConfig.shared.ts +++ b/clients/client-sfn/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SFN", + urlParser: parseUrl, }; diff --git a/clients/client-sfn/runtimeConfig.ts b/clients/client-sfn/runtimeConfig.ts index f8216174433fd..d1cede70ce4c8 100644 --- a/clients/client-sfn/runtimeConfig.ts +++ b/clients/client-sfn/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index ca1658ee49b20..2c387b0c97274 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-shield/runtimeConfig.browser.ts b/clients/client-shield/runtimeConfig.browser.ts index 279e231ab501a..d72bb696a2dc1 100644 --- a/clients/client-shield/runtimeConfig.browser.ts +++ b/clients/client-shield/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-shield/runtimeConfig.native.ts b/clients/client-shield/runtimeConfig.native.ts index 0ec8cbf92b197..ba21a9e7ef4dc 100644 --- a/clients/client-shield/runtimeConfig.native.ts +++ b/clients/client-shield/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./ShieldClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-shield/runtimeConfig.shared.ts b/clients/client-shield/runtimeConfig.shared.ts index 2b567abbdc22d..1feca7d0e269a 100644 --- a/clients/client-shield/runtimeConfig.shared.ts +++ b/clients/client-shield/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Shield", + urlParser: parseUrl, }; diff --git a/clients/client-shield/runtimeConfig.ts b/clients/client-shield/runtimeConfig.ts index 720c6456ac9de..50ae0943e8c6b 100644 --- a/clients/client-shield/runtimeConfig.ts +++ b/clients/client-shield/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index a8facb20aac83..da2db5765c01c 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-signer/runtimeConfig.browser.ts b/clients/client-signer/runtimeConfig.browser.ts index 91209cfa2fcc1..623fcf62ea203 100644 --- a/clients/client-signer/runtimeConfig.browser.ts +++ b/clients/client-signer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-signer/runtimeConfig.native.ts b/clients/client-signer/runtimeConfig.native.ts index a4baf366b8948..59ccf985d2b18 100644 --- a/clients/client-signer/runtimeConfig.native.ts +++ b/clients/client-signer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SignerClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-signer/runtimeConfig.shared.ts b/clients/client-signer/runtimeConfig.shared.ts index 5db5b0dbb51e7..678ffa649151e 100644 --- a/clients/client-signer/runtimeConfig.shared.ts +++ b/clients/client-signer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "signer", + urlParser: parseUrl, }; diff --git a/clients/client-signer/runtimeConfig.ts b/clients/client-signer/runtimeConfig.ts index bfa850d4e9ccc..915f3d0489b2a 100644 --- a/clients/client-signer/runtimeConfig.ts +++ b/clients/client-signer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index 8b45f321e44cd..aefe89bc8b8e0 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sms/runtimeConfig.browser.ts b/clients/client-sms/runtimeConfig.browser.ts index 0c01cf8254428..61b0f66af819e 100644 --- a/clients/client-sms/runtimeConfig.browser.ts +++ b/clients/client-sms/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sms/runtimeConfig.native.ts b/clients/client-sms/runtimeConfig.native.ts index c95fc3ed6760f..a9acec5212458 100644 --- a/clients/client-sms/runtimeConfig.native.ts +++ b/clients/client-sms/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SMSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sms/runtimeConfig.shared.ts b/clients/client-sms/runtimeConfig.shared.ts index 61b6782793847..caea43a95dacf 100644 --- a/clients/client-sms/runtimeConfig.shared.ts +++ b/clients/client-sms/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SMS", + urlParser: parseUrl, }; diff --git a/clients/client-sms/runtimeConfig.ts b/clients/client-sms/runtimeConfig.ts index 75b1b996e8aa7..de89897908a50 100644 --- a/clients/client-sms/runtimeConfig.ts +++ b/clients/client-sms/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index c832f71e8f4c2..06186edf6f069 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-snowball/runtimeConfig.browser.ts b/clients/client-snowball/runtimeConfig.browser.ts index 8035356dd780a..4f76dd180b945 100644 --- a/clients/client-snowball/runtimeConfig.browser.ts +++ b/clients/client-snowball/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-snowball/runtimeConfig.native.ts b/clients/client-snowball/runtimeConfig.native.ts index 2d91706b1deba..994ecea4f3dbf 100644 --- a/clients/client-snowball/runtimeConfig.native.ts +++ b/clients/client-snowball/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SnowballClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-snowball/runtimeConfig.shared.ts b/clients/client-snowball/runtimeConfig.shared.ts index ffa780566d37d..2b9cc5106185d 100644 --- a/clients/client-snowball/runtimeConfig.shared.ts +++ b/clients/client-snowball/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Snowball", + urlParser: parseUrl, }; diff --git a/clients/client-snowball/runtimeConfig.ts b/clients/client-snowball/runtimeConfig.ts index 0f406bd951a71..fc04558bf278b 100644 --- a/clients/client-snowball/runtimeConfig.ts +++ b/clients/client-snowball/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index 02a7501aa46ea..0f50417576889 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sns/runtimeConfig.browser.ts b/clients/client-sns/runtimeConfig.browser.ts index 889cf3a3ab222..52e5c5765e9ad 100644 --- a/clients/client-sns/runtimeConfig.browser.ts +++ b/clients/client-sns/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sns/runtimeConfig.native.ts b/clients/client-sns/runtimeConfig.native.ts index d2f5fa43ba094..f8497431f4ae2 100644 --- a/clients/client-sns/runtimeConfig.native.ts +++ b/clients/client-sns/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SNSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sns/runtimeConfig.shared.ts b/clients/client-sns/runtimeConfig.shared.ts index f1c9d1505eb16..218eaa024923c 100644 --- a/clients/client-sns/runtimeConfig.shared.ts +++ b/clients/client-sns/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SNS", + urlParser: parseUrl, }; diff --git a/clients/client-sns/runtimeConfig.ts b/clients/client-sns/runtimeConfig.ts index 44bc423367006..68cfd3dc1ffef 100644 --- a/clients/client-sns/runtimeConfig.ts +++ b/clients/client-sns/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index ec726842f7850..966abd28c939d 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -48,8 +48,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sqs/runtimeConfig.browser.ts b/clients/client-sqs/runtimeConfig.browser.ts index 6a8cf15353dd7..c4e60d8c7eaea 100644 --- a/clients/client-sqs/runtimeConfig.browser.ts +++ b/clients/client-sqs/runtimeConfig.browser.ts @@ -5,7 +5,6 @@ import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { Md5 } from "@aws-sdk/md5-js"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sqs/runtimeConfig.native.ts b/clients/client-sqs/runtimeConfig.native.ts index 747f3fc27b68d..38b3a00d6efd6 100644 --- a/clients/client-sqs/runtimeConfig.native.ts +++ b/clients/client-sqs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SQSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sqs/runtimeConfig.shared.ts b/clients/client-sqs/runtimeConfig.shared.ts index fcfe48b3b5a28..6358558e47f32 100644 --- a/clients/client-sqs/runtimeConfig.shared.ts +++ b/clients/client-sqs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SQS", + urlParser: parseUrl, }; diff --git a/clients/client-sqs/runtimeConfig.ts b/clients/client-sqs/runtimeConfig.ts index 856c80d245c41..7095377ef71e2 100644 --- a/clients/client-sqs/runtimeConfig.ts +++ b/clients/client-sqs/runtimeConfig.ts @@ -7,7 +7,6 @@ import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; import { HashConstructor as __HashConstructor } from "@aws-sdk/types"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index 7065057af11d1..09bc73fe8af08 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-ssm/runtimeConfig.browser.ts b/clients/client-ssm/runtimeConfig.browser.ts index 8b386fc9db5ef..add23c7c7fbe2 100644 --- a/clients/client-ssm/runtimeConfig.browser.ts +++ b/clients/client-ssm/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-ssm/runtimeConfig.native.ts b/clients/client-ssm/runtimeConfig.native.ts index 9152a78f57a4f..3708444197ed3 100644 --- a/clients/client-ssm/runtimeConfig.native.ts +++ b/clients/client-ssm/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSMClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-ssm/runtimeConfig.shared.ts b/clients/client-ssm/runtimeConfig.shared.ts index 0213b7f7cac81..e68ef2d4588d6 100644 --- a/clients/client-ssm/runtimeConfig.shared.ts +++ b/clients/client-ssm/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSM", + urlParser: parseUrl, }; diff --git a/clients/client-ssm/runtimeConfig.ts b/clients/client-ssm/runtimeConfig.ts index c35b49f5dcb3a..5d3b4e7dea0d9 100644 --- a/clients/client-ssm/runtimeConfig.ts +++ b/clients/client-ssm/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index f30a76af9216d..ea883ab26975c 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sso-admin/runtimeConfig.browser.ts b/clients/client-sso-admin/runtimeConfig.browser.ts index 84092553b86a8..ea45ee4ff7ca6 100644 --- a/clients/client-sso-admin/runtimeConfig.browser.ts +++ b/clients/client-sso-admin/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-admin/runtimeConfig.native.ts b/clients/client-sso-admin/runtimeConfig.native.ts index 7f6c1a49eb890..79c4ab49be3eb 100644 --- a/clients/client-sso-admin/runtimeConfig.native.ts +++ b/clients/client-sso-admin/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSOAdminClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sso-admin/runtimeConfig.shared.ts b/clients/client-sso-admin/runtimeConfig.shared.ts index 7ab21e24018ff..d98ef24df79a2 100644 --- a/clients/client-sso-admin/runtimeConfig.shared.ts +++ b/clients/client-sso-admin/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSO Admin", + urlParser: parseUrl, }; diff --git a/clients/client-sso-admin/runtimeConfig.ts b/clients/client-sso-admin/runtimeConfig.ts index 69f0205fd6254..ffbb67d81cf8b 100644 --- a/clients/client-sso-admin/runtimeConfig.ts +++ b/clients/client-sso-admin/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index 061d113858d05..23700810134bc 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sso-oidc/runtimeConfig.browser.ts b/clients/client-sso-oidc/runtimeConfig.browser.ts index f0465cfbe5be3..4961199994ae8 100644 --- a/clients/client-sso-oidc/runtimeConfig.browser.ts +++ b/clients/client-sso-oidc/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso-oidc/runtimeConfig.native.ts b/clients/client-sso-oidc/runtimeConfig.native.ts index ca0e0299d2f0e..e25c1a943b87e 100644 --- a/clients/client-sso-oidc/runtimeConfig.native.ts +++ b/clients/client-sso-oidc/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSOOIDCClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sso-oidc/runtimeConfig.shared.ts b/clients/client-sso-oidc/runtimeConfig.shared.ts index f43a075b48a3a..53c7e6d9ec44d 100644 --- a/clients/client-sso-oidc/runtimeConfig.shared.ts +++ b/clients/client-sso-oidc/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSO OIDC", + urlParser: parseUrl, }; diff --git a/clients/client-sso-oidc/runtimeConfig.ts b/clients/client-sso-oidc/runtimeConfig.ts index 2007407b27521..1d788cf22abc5 100644 --- a/clients/client-sso-oidc/runtimeConfig.ts +++ b/clients/client-sso-oidc/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index b8f029cf9465c..1545ff7e47ac1 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sso/runtimeConfig.browser.ts b/clients/client-sso/runtimeConfig.browser.ts index f33ccd8984bbe..7b50171171d7b 100644 --- a/clients/client-sso/runtimeConfig.browser.ts +++ b/clients/client-sso/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sso/runtimeConfig.native.ts b/clients/client-sso/runtimeConfig.native.ts index 3ad0db426b847..5c35a9f8aeb5f 100644 --- a/clients/client-sso/runtimeConfig.native.ts +++ b/clients/client-sso/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SSOClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sso/runtimeConfig.shared.ts b/clients/client-sso/runtimeConfig.shared.ts index a679770b681c2..c24c6080fa134 100644 --- a/clients/client-sso/runtimeConfig.shared.ts +++ b/clients/client-sso/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SSO", + urlParser: parseUrl, }; diff --git a/clients/client-sso/runtimeConfig.ts b/clients/client-sso/runtimeConfig.ts index 3d0de7113633f..88fc6adf0320c 100644 --- a/clients/client-sso/runtimeConfig.ts +++ b/clients/client-sso/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index 87f8004c487c6..a3798582fc14f 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-storage-gateway/runtimeConfig.browser.ts b/clients/client-storage-gateway/runtimeConfig.browser.ts index df32c43b2b1e9..dcd633099c842 100644 --- a/clients/client-storage-gateway/runtimeConfig.browser.ts +++ b/clients/client-storage-gateway/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-storage-gateway/runtimeConfig.native.ts b/clients/client-storage-gateway/runtimeConfig.native.ts index ce154893764f6..a4524cbcb3246 100644 --- a/clients/client-storage-gateway/runtimeConfig.native.ts +++ b/clients/client-storage-gateway/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./StorageGatewayClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-storage-gateway/runtimeConfig.shared.ts b/clients/client-storage-gateway/runtimeConfig.shared.ts index 3deb4d1924c85..f4ff108703998 100644 --- a/clients/client-storage-gateway/runtimeConfig.shared.ts +++ b/clients/client-storage-gateway/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Storage Gateway", + urlParser: parseUrl, }; diff --git a/clients/client-storage-gateway/runtimeConfig.ts b/clients/client-storage-gateway/runtimeConfig.ts index 05ca1184f758c..c280028cd2e62 100644 --- a/clients/client-storage-gateway/runtimeConfig.ts +++ b/clients/client-storage-gateway/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index 1f95955e033c3..482e76da705dd 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-sts/runtimeConfig.browser.ts b/clients/client-sts/runtimeConfig.browser.ts index 1671f641cacc7..e86658c74cb15 100644 --- a/clients/client-sts/runtimeConfig.browser.ts +++ b/clients/client-sts/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-sts/runtimeConfig.native.ts b/clients/client-sts/runtimeConfig.native.ts index 18c5e144a2e0e..6ea3c92b6aa89 100644 --- a/clients/client-sts/runtimeConfig.native.ts +++ b/clients/client-sts/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./STSClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-sts/runtimeConfig.shared.ts b/clients/client-sts/runtimeConfig.shared.ts index 1192ee39a833f..cb7e89e11f3e5 100644 --- a/clients/client-sts/runtimeConfig.shared.ts +++ b/clients/client-sts/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "STS", + urlParser: parseUrl, }; diff --git a/clients/client-sts/runtimeConfig.ts b/clients/client-sts/runtimeConfig.ts index 742e5a0e0532d..29204604ee441 100644 --- a/clients/client-sts/runtimeConfig.ts +++ b/clients/client-sts/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-support/package.json b/clients/client-support/package.json index 8da4656de2af2..7f6092665f1b1 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-support/runtimeConfig.browser.ts b/clients/client-support/runtimeConfig.browser.ts index 068c11953e42c..e7c7f9d36876a 100644 --- a/clients/client-support/runtimeConfig.browser.ts +++ b/clients/client-support/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-support/runtimeConfig.native.ts b/clients/client-support/runtimeConfig.native.ts index dc58990668d10..f75917dab4a31 100644 --- a/clients/client-support/runtimeConfig.native.ts +++ b/clients/client-support/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SupportClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-support/runtimeConfig.shared.ts b/clients/client-support/runtimeConfig.shared.ts index 5e07e9dfd9afb..2a7996708ec7d 100644 --- a/clients/client-support/runtimeConfig.shared.ts +++ b/clients/client-support/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Support", + urlParser: parseUrl, }; diff --git a/clients/client-support/runtimeConfig.ts b/clients/client-support/runtimeConfig.ts index 5ba10887af159..6bc6d6126d13d 100644 --- a/clients/client-support/runtimeConfig.ts +++ b/clients/client-support/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 5600dbb14f15b..d54229c7561d8 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-swf/runtimeConfig.browser.ts b/clients/client-swf/runtimeConfig.browser.ts index d5c46041b0bc8..6f2ab46813835 100644 --- a/clients/client-swf/runtimeConfig.browser.ts +++ b/clients/client-swf/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-swf/runtimeConfig.native.ts b/clients/client-swf/runtimeConfig.native.ts index 2049ed2381d67..a951889a01db9 100644 --- a/clients/client-swf/runtimeConfig.native.ts +++ b/clients/client-swf/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SWFClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-swf/runtimeConfig.shared.ts b/clients/client-swf/runtimeConfig.shared.ts index 998ba0a1d0387..5c4ec0776c764 100644 --- a/clients/client-swf/runtimeConfig.shared.ts +++ b/clients/client-swf/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "SWF", + urlParser: parseUrl, }; diff --git a/clients/client-swf/runtimeConfig.ts b/clients/client-swf/runtimeConfig.ts index 957d607a73b20..75c56b530e33f 100644 --- a/clients/client-swf/runtimeConfig.ts +++ b/clients/client-swf/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index f5011efd6761d..767c9cf767543 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-synthetics/runtimeConfig.browser.ts b/clients/client-synthetics/runtimeConfig.browser.ts index fde554ed3db2d..4753b637e0754 100644 --- a/clients/client-synthetics/runtimeConfig.browser.ts +++ b/clients/client-synthetics/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-synthetics/runtimeConfig.native.ts b/clients/client-synthetics/runtimeConfig.native.ts index 4710dc382000b..3ab674f21aa7f 100644 --- a/clients/client-synthetics/runtimeConfig.native.ts +++ b/clients/client-synthetics/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./SyntheticsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-synthetics/runtimeConfig.shared.ts b/clients/client-synthetics/runtimeConfig.shared.ts index 085d38b14dcfe..487e1b5b2c313 100644 --- a/clients/client-synthetics/runtimeConfig.shared.ts +++ b/clients/client-synthetics/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "synthetics", + urlParser: parseUrl, }; diff --git a/clients/client-synthetics/runtimeConfig.ts b/clients/client-synthetics/runtimeConfig.ts index 8fb6861a42c26..172246403f799 100644 --- a/clients/client-synthetics/runtimeConfig.ts +++ b/clients/client-synthetics/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index 6f0431560d3b8..8ef92330e9226 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-textract/runtimeConfig.browser.ts b/clients/client-textract/runtimeConfig.browser.ts index ca69670db9aa8..202fb533921d5 100644 --- a/clients/client-textract/runtimeConfig.browser.ts +++ b/clients/client-textract/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-textract/runtimeConfig.native.ts b/clients/client-textract/runtimeConfig.native.ts index fed2a54e79dc7..d6c5d5685d4ec 100644 --- a/clients/client-textract/runtimeConfig.native.ts +++ b/clients/client-textract/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TextractClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-textract/runtimeConfig.shared.ts b/clients/client-textract/runtimeConfig.shared.ts index f6790dd0d9582..f49487ba7baf3 100644 --- a/clients/client-textract/runtimeConfig.shared.ts +++ b/clients/client-textract/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Textract", + urlParser: parseUrl, }; diff --git a/clients/client-textract/runtimeConfig.ts b/clients/client-textract/runtimeConfig.ts index 954379f3b33d7..49dd6a8d236e8 100644 --- a/clients/client-textract/runtimeConfig.ts +++ b/clients/client-textract/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index 8a231324cf4b3..3390b855e4c37 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-timestream-query/runtimeConfig.browser.ts b/clients/client-timestream-query/runtimeConfig.browser.ts index f25b557f88a3b..3fe09aa715c6f 100644 --- a/clients/client-timestream-query/runtimeConfig.browser.ts +++ b/clients/client-timestream-query/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-query/runtimeConfig.native.ts b/clients/client-timestream-query/runtimeConfig.native.ts index f1dc5f5891157..ee741a41130f4 100644 --- a/clients/client-timestream-query/runtimeConfig.native.ts +++ b/clients/client-timestream-query/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TimestreamQueryClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-timestream-query/runtimeConfig.shared.ts b/clients/client-timestream-query/runtimeConfig.shared.ts index 5cd26714146f1..60b5c56ddff7a 100644 --- a/clients/client-timestream-query/runtimeConfig.shared.ts +++ b/clients/client-timestream-query/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Timestream Query", + urlParser: parseUrl, }; diff --git a/clients/client-timestream-query/runtimeConfig.ts b/clients/client-timestream-query/runtimeConfig.ts index f3122f7b721d6..134c01c20ec62 100644 --- a/clients/client-timestream-query/runtimeConfig.ts +++ b/clients/client-timestream-query/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index f0bf50a8864c2..c62f94d8d60b9 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-timestream-write/runtimeConfig.browser.ts b/clients/client-timestream-write/runtimeConfig.browser.ts index 35589f940b837..c890b6da7a2c3 100644 --- a/clients/client-timestream-write/runtimeConfig.browser.ts +++ b/clients/client-timestream-write/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-timestream-write/runtimeConfig.native.ts b/clients/client-timestream-write/runtimeConfig.native.ts index 764bd1a272231..8535378000429 100644 --- a/clients/client-timestream-write/runtimeConfig.native.ts +++ b/clients/client-timestream-write/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TimestreamWriteClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-timestream-write/runtimeConfig.shared.ts b/clients/client-timestream-write/runtimeConfig.shared.ts index ebd37a060f9bd..b6246f8087fc6 100644 --- a/clients/client-timestream-write/runtimeConfig.shared.ts +++ b/clients/client-timestream-write/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Timestream Write", + urlParser: parseUrl, }; diff --git a/clients/client-timestream-write/runtimeConfig.ts b/clients/client-timestream-write/runtimeConfig.ts index da2ac11edbf30..6b71900f463ab 100644 --- a/clients/client-timestream-write/runtimeConfig.ts +++ b/clients/client-timestream-write/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index 5eb4723df4df0..11a524e4fd373 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -54,8 +54,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-transcribe-streaming/runtimeConfig.browser.ts b/clients/client-transcribe-streaming/runtimeConfig.browser.ts index 49a30816b923a..2c0794060072b 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.browser.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.browser.ts @@ -6,7 +6,6 @@ import { streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; import { WebSocketHandler, eventStreamPayloadHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -35,7 +34,6 @@ export const ClientDefaultValues: Required = { requestHandler: new WebSocketHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe-streaming/runtimeConfig.native.ts b/clients/client-transcribe-streaming/runtimeConfig.native.ts index c5de4261d5734..0ed13a1e215a9 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.native.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.native.ts @@ -1,6 +1,6 @@ import { Sha256 } from "@aws-crypto/sha256-js"; import { WebSocketHandler, eventStreamPayloadHandler } from "@aws-sdk/middleware-sdk-transcribe-streaming"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TranscribeStreamingClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-transcribe-streaming/runtimeConfig.shared.ts b/clients/client-transcribe-streaming/runtimeConfig.shared.ts index 58baaf4d6c6a6..cbbfedfca61ba 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.shared.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Transcribe Streaming", + urlParser: parseUrl, }; diff --git a/clients/client-transcribe-streaming/runtimeConfig.ts b/clients/client-transcribe-streaming/runtimeConfig.ts index 26e5f5bec386e..6126b1fe28ecf 100644 --- a/clients/client-transcribe-streaming/runtimeConfig.ts +++ b/clients/client-transcribe-streaming/runtimeConfig.ts @@ -8,7 +8,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttp2Handler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -37,7 +36,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttp2Handler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index 16d1cd79872e0..8fa9cb8632235 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-transcribe/runtimeConfig.browser.ts b/clients/client-transcribe/runtimeConfig.browser.ts index 126301c9d2f2f..479ac5b1f96ca 100644 --- a/clients/client-transcribe/runtimeConfig.browser.ts +++ b/clients/client-transcribe/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transcribe/runtimeConfig.native.ts b/clients/client-transcribe/runtimeConfig.native.ts index 2e3c754e7de3d..b6ebd48cdbd63 100644 --- a/clients/client-transcribe/runtimeConfig.native.ts +++ b/clients/client-transcribe/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TranscribeClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-transcribe/runtimeConfig.shared.ts b/clients/client-transcribe/runtimeConfig.shared.ts index 980b46575ce57..1b6d28ac07528 100644 --- a/clients/client-transcribe/runtimeConfig.shared.ts +++ b/clients/client-transcribe/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Transcribe", + urlParser: parseUrl, }; diff --git a/clients/client-transcribe/runtimeConfig.ts b/clients/client-transcribe/runtimeConfig.ts index 8a6f385abcb0e..2e19875a2e129 100644 --- a/clients/client-transcribe/runtimeConfig.ts +++ b/clients/client-transcribe/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index 601ebf1cbf526..dd35cc0b9f832 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-transfer/runtimeConfig.browser.ts b/clients/client-transfer/runtimeConfig.browser.ts index 595e62e64b1fc..6dd1df07ff6e7 100644 --- a/clients/client-transfer/runtimeConfig.browser.ts +++ b/clients/client-transfer/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-transfer/runtimeConfig.native.ts b/clients/client-transfer/runtimeConfig.native.ts index b92ae70576e4e..17305bd723af0 100644 --- a/clients/client-transfer/runtimeConfig.native.ts +++ b/clients/client-transfer/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TransferClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-transfer/runtimeConfig.shared.ts b/clients/client-transfer/runtimeConfig.shared.ts index 53698e1db9a98..aed65606afbaa 100644 --- a/clients/client-transfer/runtimeConfig.shared.ts +++ b/clients/client-transfer/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Transfer", + urlParser: parseUrl, }; diff --git a/clients/client-transfer/runtimeConfig.ts b/clients/client-transfer/runtimeConfig.ts index a7f7a04ff9f70..fef7a3aa40385 100644 --- a/clients/client-transfer/runtimeConfig.ts +++ b/clients/client-transfer/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index 8c18a55977b44..be2e42d091bb1 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-translate/runtimeConfig.browser.ts b/clients/client-translate/runtimeConfig.browser.ts index d95fec94cd4da..365ad5b5ce89f 100644 --- a/clients/client-translate/runtimeConfig.browser.ts +++ b/clients/client-translate/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-translate/runtimeConfig.native.ts b/clients/client-translate/runtimeConfig.native.ts index 6fdd202c6526e..cd0301ec73685 100644 --- a/clients/client-translate/runtimeConfig.native.ts +++ b/clients/client-translate/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./TranslateClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-translate/runtimeConfig.shared.ts b/clients/client-translate/runtimeConfig.shared.ts index 34c58a0451f80..f0456b167716a 100644 --- a/clients/client-translate/runtimeConfig.shared.ts +++ b/clients/client-translate/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Translate", + urlParser: parseUrl, }; diff --git a/clients/client-translate/runtimeConfig.ts b/clients/client-translate/runtimeConfig.ts index abc996f0c3ad3..efb14576bbab7 100644 --- a/clients/client-translate/runtimeConfig.ts +++ b/clients/client-translate/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index 989a5a9b99648..0fb16f7713932 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-waf-regional/runtimeConfig.browser.ts b/clients/client-waf-regional/runtimeConfig.browser.ts index 7b6d221840f03..f5b7b2a315102 100644 --- a/clients/client-waf-regional/runtimeConfig.browser.ts +++ b/clients/client-waf-regional/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf-regional/runtimeConfig.native.ts b/clients/client-waf-regional/runtimeConfig.native.ts index bc6f447ea9bea..a428b204f6267 100644 --- a/clients/client-waf-regional/runtimeConfig.native.ts +++ b/clients/client-waf-regional/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WAFRegionalClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-waf-regional/runtimeConfig.shared.ts b/clients/client-waf-regional/runtimeConfig.shared.ts index c1197bf85dd52..ff1647e0167c9 100644 --- a/clients/client-waf-regional/runtimeConfig.shared.ts +++ b/clients/client-waf-regional/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WAF Regional", + urlParser: parseUrl, }; diff --git a/clients/client-waf-regional/runtimeConfig.ts b/clients/client-waf-regional/runtimeConfig.ts index b4aae97be0bc1..aaf9061c1e922 100644 --- a/clients/client-waf-regional/runtimeConfig.ts +++ b/clients/client-waf-regional/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index f7a85079b303d..63774a3686148 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-waf/runtimeConfig.browser.ts b/clients/client-waf/runtimeConfig.browser.ts index 96a7b91e5dcbe..ef5d9250163bb 100644 --- a/clients/client-waf/runtimeConfig.browser.ts +++ b/clients/client-waf/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-waf/runtimeConfig.native.ts b/clients/client-waf/runtimeConfig.native.ts index c1e3c02236bbe..e3dee92eab6a6 100644 --- a/clients/client-waf/runtimeConfig.native.ts +++ b/clients/client-waf/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WAFClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-waf/runtimeConfig.shared.ts b/clients/client-waf/runtimeConfig.shared.ts index dd87a79e56577..1e4920f7b72cd 100644 --- a/clients/client-waf/runtimeConfig.shared.ts +++ b/clients/client-waf/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WAF", + urlParser: parseUrl, }; diff --git a/clients/client-waf/runtimeConfig.ts b/clients/client-waf/runtimeConfig.ts index 685211865b97d..773f8d6dc1619 100644 --- a/clients/client-waf/runtimeConfig.ts +++ b/clients/client-waf/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index 07cd2129ac534..4f972e35ada65 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-wafv2/runtimeConfig.browser.ts b/clients/client-wafv2/runtimeConfig.browser.ts index ca5fc4956637b..f59964b6f20f5 100644 --- a/clients/client-wafv2/runtimeConfig.browser.ts +++ b/clients/client-wafv2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-wafv2/runtimeConfig.native.ts b/clients/client-wafv2/runtimeConfig.native.ts index e8f9e21c4f94f..6006b4896d965 100644 --- a/clients/client-wafv2/runtimeConfig.native.ts +++ b/clients/client-wafv2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WAFV2Client"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-wafv2/runtimeConfig.shared.ts b/clients/client-wafv2/runtimeConfig.shared.ts index 91db816090252..f96f861d5c3eb 100644 --- a/clients/client-wafv2/runtimeConfig.shared.ts +++ b/clients/client-wafv2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WAFV2", + urlParser: parseUrl, }; diff --git a/clients/client-wafv2/runtimeConfig.ts b/clients/client-wafv2/runtimeConfig.ts index 89a685ab29857..fccc049628be9 100644 --- a/clients/client-wafv2/runtimeConfig.ts +++ b/clients/client-wafv2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index 5727b611c0857..96c8a3fecc443 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workdocs/runtimeConfig.browser.ts b/clients/client-workdocs/runtimeConfig.browser.ts index f90f3a53e420e..aa3e7d2c9fee6 100644 --- a/clients/client-workdocs/runtimeConfig.browser.ts +++ b/clients/client-workdocs/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workdocs/runtimeConfig.native.ts b/clients/client-workdocs/runtimeConfig.native.ts index 5c9b238d1b67c..36c24d451508b 100644 --- a/clients/client-workdocs/runtimeConfig.native.ts +++ b/clients/client-workdocs/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkDocsClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workdocs/runtimeConfig.shared.ts b/clients/client-workdocs/runtimeConfig.shared.ts index ed8b77b21d3db..1c9be0d0d5d23 100644 --- a/clients/client-workdocs/runtimeConfig.shared.ts +++ b/clients/client-workdocs/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkDocs", + urlParser: parseUrl, }; diff --git a/clients/client-workdocs/runtimeConfig.ts b/clients/client-workdocs/runtimeConfig.ts index 48473183c7c2a..b25874a7f58d4 100644 --- a/clients/client-workdocs/runtimeConfig.ts +++ b/clients/client-workdocs/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index b1fa7c3e6efda..4e1d241ad5077 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-worklink/runtimeConfig.browser.ts b/clients/client-worklink/runtimeConfig.browser.ts index a64c8dfafb0da..d2a12e3a74850 100644 --- a/clients/client-worklink/runtimeConfig.browser.ts +++ b/clients/client-worklink/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-worklink/runtimeConfig.native.ts b/clients/client-worklink/runtimeConfig.native.ts index b34e35b0027f8..252064ff7aaf8 100644 --- a/clients/client-worklink/runtimeConfig.native.ts +++ b/clients/client-worklink/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkLinkClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-worklink/runtimeConfig.shared.ts b/clients/client-worklink/runtimeConfig.shared.ts index d3594b667fb07..c54853fcbc5e0 100644 --- a/clients/client-worklink/runtimeConfig.shared.ts +++ b/clients/client-worklink/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkLink", + urlParser: parseUrl, }; diff --git a/clients/client-worklink/runtimeConfig.ts b/clients/client-worklink/runtimeConfig.ts index 803f7ec2bccfb..fc0e83ac3ba63 100644 --- a/clients/client-worklink/runtimeConfig.ts +++ b/clients/client-worklink/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index 5b7dc9c5efd73..201a5e22f22d2 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workmail/runtimeConfig.browser.ts b/clients/client-workmail/runtimeConfig.browser.ts index 3ba26dc6d692e..eaea63cb25777 100644 --- a/clients/client-workmail/runtimeConfig.browser.ts +++ b/clients/client-workmail/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmail/runtimeConfig.native.ts b/clients/client-workmail/runtimeConfig.native.ts index c4a1cc49ca210..3c6095d22aaa6 100644 --- a/clients/client-workmail/runtimeConfig.native.ts +++ b/clients/client-workmail/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkMailClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workmail/runtimeConfig.shared.ts b/clients/client-workmail/runtimeConfig.shared.ts index 74a9ed9c2a026..92fae30e87a7d 100644 --- a/clients/client-workmail/runtimeConfig.shared.ts +++ b/clients/client-workmail/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkMail", + urlParser: parseUrl, }; diff --git a/clients/client-workmail/runtimeConfig.ts b/clients/client-workmail/runtimeConfig.ts index 730636127777a..db3aa5f2b3910 100644 --- a/clients/client-workmail/runtimeConfig.ts +++ b/clients/client-workmail/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 658c38b013a1b..ab88260706f2e 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workmailmessageflow/runtimeConfig.browser.ts b/clients/client-workmailmessageflow/runtimeConfig.browser.ts index 5fd7543281d60..90163615f4510 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.browser.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workmailmessageflow/runtimeConfig.native.ts b/clients/client-workmailmessageflow/runtimeConfig.native.ts index a7338b76ceaa0..d3d008491e5f6 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.native.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkMailMessageFlowClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workmailmessageflow/runtimeConfig.shared.ts b/clients/client-workmailmessageflow/runtimeConfig.shared.ts index bd55264f80d18..99b9acd30daba 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.shared.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkMailMessageFlow", + urlParser: parseUrl, }; diff --git a/clients/client-workmailmessageflow/runtimeConfig.ts b/clients/client-workmailmessageflow/runtimeConfig.ts index 4e9d7f9e77f4c..084644387e33c 100644 --- a/clients/client-workmailmessageflow/runtimeConfig.ts +++ b/clients/client-workmailmessageflow/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index 5a3f43c783b90..3b2e3c776c3d5 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-workspaces/runtimeConfig.browser.ts b/clients/client-workspaces/runtimeConfig.browser.ts index 4bd11708b6bb2..dc03eb4766bbb 100644 --- a/clients/client-workspaces/runtimeConfig.browser.ts +++ b/clients/client-workspaces/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-workspaces/runtimeConfig.native.ts b/clients/client-workspaces/runtimeConfig.native.ts index cbd244f45cc81..3da8a84ced5d3 100644 --- a/clients/client-workspaces/runtimeConfig.native.ts +++ b/clients/client-workspaces/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./WorkSpacesClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-workspaces/runtimeConfig.shared.ts b/clients/client-workspaces/runtimeConfig.shared.ts index e84e3555f65da..f8b5cca5b27e7 100644 --- a/clients/client-workspaces/runtimeConfig.shared.ts +++ b/clients/client-workspaces/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "WorkSpaces", + urlParser: parseUrl, }; diff --git a/clients/client-workspaces/runtimeConfig.ts b/clients/client-workspaces/runtimeConfig.ts index 4bf4a2c635747..8c90847d864d8 100644 --- a/clients/client-workspaces/runtimeConfig.ts +++ b/clients/client-workspaces/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index 0eb5876c5772b..3ae144545ae07 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/clients/client-xray/runtimeConfig.browser.ts b/clients/client-xray/runtimeConfig.browser.ts index 5e45d4680e5a5..aa398b7a804fa 100644 --- a/clients/client-xray/runtimeConfig.browser.ts +++ b/clients/client-xray/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/clients/client-xray/runtimeConfig.native.ts b/clients/client-xray/runtimeConfig.native.ts index 3bae662eef742..46d7d14928415 100644 --- a/clients/client-xray/runtimeConfig.native.ts +++ b/clients/client-xray/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./XRayClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/clients/client-xray/runtimeConfig.shared.ts b/clients/client-xray/runtimeConfig.shared.ts index aa6e5a17c0886..b4652b2f84e44 100644 --- a/clients/client-xray/runtimeConfig.shared.ts +++ b/clients/client-xray/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "XRay", + urlParser: parseUrl, }; diff --git a/clients/client-xray/runtimeConfig.ts b/clients/client-xray/runtimeConfig.ts index eb7fd3d789e48..dfb1f0f65889f 100644 --- a/clients/client-xray/runtimeConfig.ts +++ b/clients/client-xray/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/packages/url-parser-browser/CHANGELOG.md b/packages/url-parser-browser/CHANGELOG.md deleted file mode 100644 index aa6f7e9036881..0000000000000 --- a/packages/url-parser-browser/CHANGELOG.md +++ /dev/null @@ -1,960 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.1.0](/~https://github.com/aws/aws-sdk-js-v3/compare/v3.0.0...v3.1.0) (2020-12-23) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [3.0.0](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.10...v3.0.0) (2020-12-15) - - -### Features - -* bump version to 3.0.0 ([#1793](/~https://github.com/aws/aws-sdk-js-v3/issues/1793)) ([d8475f8](/~https://github.com/aws/aws-sdk-js-v3/commit/d8475f8d972d28fbc15cd7e23abfe18f9eab0644)) - - - - - -# [1.0.0-rc.10](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.9...v1.0.0-rc.10) (2020-12-15) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.8](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2020-12-05) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.7](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.6...v1.0.0-rc.7) (2020-11-20) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.5](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2020-11-09) - - -### Bug Fixes - -* migrate dev types for packages and lib into package.json devDeps ([#1654](/~https://github.com/aws/aws-sdk-js-v3/issues/1654)) ([16d7030](/~https://github.com/aws/aws-sdk-js-v3/commit/16d7030a5976d6671c7346c7fb945fefb547ae0d)) - - - - - -# [1.0.0-rc.3](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2020-10-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.2](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2020-10-22) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-rc.1](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-gamma.11...v1.0.0-rc.1) (2020-10-19) - - -### Features - -* ready for release candidate ([#1578](/~https://github.com/aws/aws-sdk-js-v3/issues/1578)) ([519f66c](/~https://github.com/aws/aws-sdk-js-v3/commit/519f66c6388b91d0bd750a511e6d1af56196835e)) - - - - - -# [1.0.0-gamma.8](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.7...@aws-sdk/url-parser-browser@1.0.0-gamma.8) (2020-10-07) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.7](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.6...@aws-sdk/url-parser-browser@1.0.0-gamma.7) (2020-09-01) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.6](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.5...@aws-sdk/url-parser-browser@1.0.0-gamma.6) (2020-08-25) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.5](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.4...@aws-sdk/url-parser-browser@1.0.0-gamma.5) (2020-08-04) - - -### Features - -* build command ([#1407](/~https://github.com/aws/aws-sdk-js-v3/issues/1407)) ([81b2e87](/~https://github.com/aws/aws-sdk-js-v3/commit/81b2e87067642a8cea8649cbdb2c342ca9fb6ac6)) - - - - - -# [1.0.0-gamma.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.3...@aws-sdk/url-parser-browser@1.0.0-gamma.4) (2020-07-21) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - - - - - -# [1.0.0-gamma.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@1.0.0-gamma.2...@aws-sdk/url-parser-browser@1.0.0-gamma.3) (2020-07-13) - - -### Features - -* add code linting and prettify ([#1350](/~https://github.com/aws/aws-sdk-js-v3/issues/1350)) ([47770fa](/~https://github.com/aws/aws-sdk-js-v3/commit/47770fa493c3405f193069cd18319882529ff484)) - - - - - -# [1.0.0-gamma.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-gamma.2) (2020-07-08) - - -### Features - -* use a common tsconfig for the monorepo ([#1297](/~https://github.com/aws/aws-sdk-js-v3/issues/1297)) ([16aea66](/~https://github.com/aws/aws-sdk-js-v3/commit/16aea66d1fc5386680d3e6da9b7dcde78e178bd3)) - - - -# 1.0.0-gamma.1 (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](/~https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](/~https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-gamma.1](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-gamma.1) (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](/~https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](/~https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.4) (2020-04-27) - - -### Features - -* use exact @aws-sdk/* dependencies ([#1110](/~https://github.com/aws/aws-sdk-js-v3/issues/1110)) ([bcfd7a2](/~https://github.com/aws/aws-sdk-js-v3/commit/bcfd7a2faeca3a2605057fd4736d710aa4902b62)) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.3) (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.2) (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.1](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-beta.1) (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.6](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.6) (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.5](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.5) (2020-02-19) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.4) (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.3) (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.2) (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.1](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@1.0.0-alpha.1) (2020-01-08) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.7](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.7) (2019-10-30) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.6](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.6) (2019-10-29) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.5](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.5) (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.4) (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.2...@aws-sdk/url-parser-browser@0.1.0-preview.3) (2019-04-19) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser - -# [0.1.0-preview.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-browser@0.1.0-preview.1...@aws-sdk/url-parser-browser@0.1.0-preview.2) (2019-03-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-browser diff --git a/packages/url-parser-browser/.gitignore b/packages/url-parser-native/.gitignore similarity index 100% rename from packages/url-parser-browser/.gitignore rename to packages/url-parser-native/.gitignore diff --git a/packages/url-parser-browser/.npmignore b/packages/url-parser-native/.npmignore similarity index 100% rename from packages/url-parser-browser/.npmignore rename to packages/url-parser-native/.npmignore diff --git a/packages/url-parser-browser/LICENSE b/packages/url-parser-native/LICENSE similarity index 100% rename from packages/url-parser-browser/LICENSE rename to packages/url-parser-native/LICENSE diff --git a/packages/url-parser-node/README.md b/packages/url-parser-native/README.md similarity index 100% rename from packages/url-parser-node/README.md rename to packages/url-parser-native/README.md diff --git a/packages/url-parser-browser/jest.config.js b/packages/url-parser-native/jest.config.js similarity index 100% rename from packages/url-parser-browser/jest.config.js rename to packages/url-parser-native/jest.config.js diff --git a/packages/url-parser-node/package.json b/packages/url-parser-native/package.json similarity index 94% rename from packages/url-parser-node/package.json rename to packages/url-parser-native/package.json index dd960d3553dcd..92f72ae774e17 100644 --- a/packages/url-parser-node/package.json +++ b/packages/url-parser-native/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/url-parser-node", - "version": "3.1.0", + "name": "@aws-sdk/url-parser-native", + "version": "3.0.0", "scripts": { "prepublishOnly": "yarn build:cjs && yarn build:es", "pretest": "yarn build:cjs", diff --git a/packages/url-parser-node/src/index.spec.ts b/packages/url-parser-native/src/index.spec.ts similarity index 71% rename from packages/url-parser-node/src/index.spec.ts rename to packages/url-parser-native/src/index.spec.ts index 40bea00149a63..47757c5e9b028 100644 --- a/packages/url-parser-node/src/index.spec.ts +++ b/packages/url-parser-native/src/index.spec.ts @@ -44,20 +44,4 @@ describe("parseUrl", () => { }); }); }); - - describe("should throw error", () => { - const failureCases: [string, Error][] = [ - ["example.com", new TypeError("Invalid URL: example.com")], - ["endpoint", new TypeError("Invalid URL: endpoint")], - ]; - - failureCases.forEach(([url, error]) => { - it(url, () => { - expect(() => { - const output = parseUrl(url); - console.log(output); - }).toThrow(error); - }); - }); - }); }); diff --git a/packages/url-parser-node/src/index.ts b/packages/url-parser-native/src/index.ts similarity index 88% rename from packages/url-parser-node/src/index.ts rename to packages/url-parser-native/src/index.ts index 18836e4446d50..5c69ee79bff04 100644 --- a/packages/url-parser-node/src/index.ts +++ b/packages/url-parser-native/src/index.ts @@ -1,8 +1,9 @@ import { parseQueryString } from "@aws-sdk/querystring-parser"; import { Endpoint, QueryParameterBag, UrlParser } from "@aws-sdk/types"; +import { parse } from "url"; export const parseUrl: UrlParser = (url: string): Endpoint => { - const { hostname = "localhost", pathname = "/", port, protocol = "https:", search } = new URL(url); + const { hostname = "localhost", pathname = "/", port, protocol = "https:", search } = parse(url); let query: QueryParameterBag | undefined; if (search) { diff --git a/packages/url-parser-browser/tsconfig.cjs.json b/packages/url-parser-native/tsconfig.cjs.json similarity index 100% rename from packages/url-parser-browser/tsconfig.cjs.json rename to packages/url-parser-native/tsconfig.cjs.json diff --git a/packages/url-parser-node/tsconfig.es.json b/packages/url-parser-native/tsconfig.es.json similarity index 100% rename from packages/url-parser-node/tsconfig.es.json rename to packages/url-parser-native/tsconfig.es.json diff --git a/packages/url-parser-node/CHANGELOG.md b/packages/url-parser-node/CHANGELOG.md deleted file mode 100644 index cfaea2cef5a42..0000000000000 --- a/packages/url-parser-node/CHANGELOG.md +++ /dev/null @@ -1,1184 +0,0 @@ -# Change Log - -All notable changes to this project will be documented in this file. -See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. - -# [3.1.0](/~https://github.com/aws/aws-sdk-js-v3/compare/v3.0.0...v3.1.0) (2020-12-23) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [3.0.0](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.10...v3.0.0) (2020-12-15) - - -### Features - -* bump version to 3.0.0 ([#1793](/~https://github.com/aws/aws-sdk-js-v3/issues/1793)) ([d8475f8](/~https://github.com/aws/aws-sdk-js-v3/commit/d8475f8d972d28fbc15cd7e23abfe18f9eab0644)) - - - - - -# [1.0.0-rc.10](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.9...v1.0.0-rc.10) (2020-12-15) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.9](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.8...v1.0.0-rc.9) (2020-12-11) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.8](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.7...v1.0.0-rc.8) (2020-12-05) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.7](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.6...v1.0.0-rc.7) (2020-11-20) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.5](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.4...v1.0.0-rc.5) (2020-11-09) - - -### Bug Fixes - -* migrate dev types for packages and lib into package.json devDeps ([#1654](/~https://github.com/aws/aws-sdk-js-v3/issues/1654)) ([16d7030](/~https://github.com/aws/aws-sdk-js-v3/commit/16d7030a5976d6671c7346c7fb945fefb547ae0d)) - - - - - -# [1.0.0-rc.3](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.2...v1.0.0-rc.3) (2020-10-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.2](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-rc.1...v1.0.0-rc.2) (2020-10-22) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-rc.1](/~https://github.com/aws/aws-sdk-js-v3/compare/v1.0.0-gamma.11...v1.0.0-rc.1) (2020-10-19) - - -### Features - -* ready for release candidate ([#1578](/~https://github.com/aws/aws-sdk-js-v3/issues/1578)) ([519f66c](/~https://github.com/aws/aws-sdk-js-v3/commit/519f66c6388b91d0bd750a511e6d1af56196835e)) - - - - - -# [1.0.0-gamma.8](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.7...@aws-sdk/url-parser-node@1.0.0-gamma.8) (2020-10-07) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.7](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.6...@aws-sdk/url-parser-node@1.0.0-gamma.7) (2020-09-01) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.6](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.5...@aws-sdk/url-parser-node@1.0.0-gamma.6) (2020-08-25) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.5](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.4...@aws-sdk/url-parser-node@1.0.0-gamma.5) (2020-08-04) - - -### Features - -* build command ([#1407](/~https://github.com/aws/aws-sdk-js-v3/issues/1407)) ([81b2e87](/~https://github.com/aws/aws-sdk-js-v3/commit/81b2e87067642a8cea8649cbdb2c342ca9fb6ac6)) - - - - - -# [1.0.0-gamma.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.3...@aws-sdk/url-parser-node@1.0.0-gamma.4) (2020-07-21) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - - - - - -# [1.0.0-gamma.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@1.0.0-gamma.2...@aws-sdk/url-parser-node@1.0.0-gamma.3) (2020-07-13) - - -### Features - -* add code linting and prettify ([#1350](/~https://github.com/aws/aws-sdk-js-v3/issues/1350)) ([47770fa](/~https://github.com/aws/aws-sdk-js-v3/commit/47770fa493c3405f193069cd18319882529ff484)) - - - - - -# [1.0.0-gamma.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-gamma.2) (2020-07-08) - - -### Features - -* use a common tsconfig for the monorepo ([#1297](/~https://github.com/aws/aws-sdk-js-v3/issues/1297)) ([16aea66](/~https://github.com/aws/aws-sdk-js-v3/commit/16aea66d1fc5386680d3e6da9b7dcde78e178bd3)) - - - -# 1.0.0-gamma.1 (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](/~https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](/~https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-gamma.1](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-gamma.1) (2020-05-21) - - -### Features - -* bump up to gamma version ([#1192](/~https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](/~https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) - - - -# 1.0.0-beta.4 (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.4) (2020-04-27) - - -### Features - -* use exact @aws-sdk/* dependencies ([#1110](/~https://github.com/aws/aws-sdk-js-v3/issues/1110)) ([bcfd7a2](/~https://github.com/aws/aws-sdk-js-v3/commit/bcfd7a2faeca3a2605057fd4736d710aa4902b62)) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.3) (2020-04-25) - - - -# 1.0.0-beta.2 (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.2) (2020-03-28) - - - -# 1.0.0-beta.1 (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-beta.1](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-beta.1) (2020-03-25) - - -### Features - -* bump packages to beta ([#1050](/~https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](/~https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) - - - -# 1.0.0-alpha.28 (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.7](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.7) (2020-03-20) - - - -# 1.0.0-alpha.24 (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f69dd9733c5db6036787189a41b1b36f37d)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fcc49251dc03c5d79a70eed0aefe2786731)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.6](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.6) (2020-02-19) - - - -# 1.0.0-alpha.21 (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f6)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.5](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.5) (2020-02-11) - - -### Features - -* update streaming dependencies to support react-native ([#895](/~https://github.com/aws/aws-sdk-js-v3/issues/895)) ([634b3f6](/~https://github.com/aws/aws-sdk-js-v3/commit/634b3f6)) - - - -# 1.0.0-alpha.13 (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.4) (2020-01-24) - - - -# 1.0.0-alpha.12 (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.3) (2020-01-22) - - - -# 0.9.0 (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.2) (2020-01-09) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [1.0.0-alpha.1](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@1.0.0-alpha.1) (2020-01-08) - - -### Features - -* add pluggable runtime specific config ([#404](/~https://github.com/aws/aws-sdk-js-v3/issues/404)) ([8be08fc](/~https://github.com/aws/aws-sdk-js-v3/commit/8be08fc)) - - - -# 0.6.0 (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.8](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.8) (2019-10-30) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.7](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.7) (2019-10-29) - - - -# 0.4.0 (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.6](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.6) (2019-09-19) - - - -# 0.3.0 (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.5](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.5) (2019-09-09) - - -### Features - -* commit all clients ([#324](/~https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](/~https://github.com/aws/aws-sdk-js-v3/commit/cb268ed)) - - - -# 0.2.0 (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.4](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.4) (2019-07-12) - - -### Features - -* add npm badges for individual packages ([#251](/~https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](/~https://github.com/aws/aws-sdk-js-v3/commit/8adc10c)) -* update jest v20 to v24 ([#243](/~https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](/~https://github.com/aws/aws-sdk-js-v3/commit/1e156ab)) - - - -# 0.1.0 (2019-04-19) - - - - - -# [0.1.0-preview.3](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.2...@aws-sdk/url-parser-node@0.1.0-preview.3) (2019-04-19) - -**Note:** Version bump only for package @aws-sdk/url-parser-node - -# [0.1.0-preview.2](/~https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/url-parser-node@0.1.0-preview.1...@aws-sdk/url-parser-node@0.1.0-preview.2) (2019-03-27) - -**Note:** Version bump only for package @aws-sdk/url-parser-node diff --git a/packages/url-parser-node/.gitignore b/packages/url-parser/.gitignore similarity index 100% rename from packages/url-parser-node/.gitignore rename to packages/url-parser/.gitignore diff --git a/packages/url-parser-node/.npmignore b/packages/url-parser/.npmignore similarity index 100% rename from packages/url-parser-node/.npmignore rename to packages/url-parser/.npmignore diff --git a/packages/url-parser-node/LICENSE b/packages/url-parser/LICENSE similarity index 100% rename from packages/url-parser-node/LICENSE rename to packages/url-parser/LICENSE diff --git a/packages/url-parser-browser/README.md b/packages/url-parser/README.md similarity index 52% rename from packages/url-parser-browser/README.md rename to packages/url-parser/README.md index eb8fb89bd978c..bb78a4ebc05fc 100644 --- a/packages/url-parser-browser/README.md +++ b/packages/url-parser/README.md @@ -1,7 +1,7 @@ -# @aws-sdk/url-parser-browser +# @aws-sdk/url-parser -[![NPM version](https://img.shields.io/npm/v/@aws-sdk/url-parser-browser/latest.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser-browser) -[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/url-parser-browser.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser-browser) +[![NPM version](https://img.shields.io/npm/v/@aws-sdk/url-parser/latest.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser) +[![NPM downloads](https://img.shields.io/npm/dm/@aws-sdk/url-parser.svg)](https://www.npmjs.com/package/@aws-sdk/url-parser) > An internal package diff --git a/packages/url-parser-node/jest.config.js b/packages/url-parser/jest.config.js similarity index 100% rename from packages/url-parser-node/jest.config.js rename to packages/url-parser/jest.config.js diff --git a/packages/url-parser-browser/package.json b/packages/url-parser/package.json similarity index 86% rename from packages/url-parser-browser/package.json rename to packages/url-parser/package.json index 3092f6ed054a5..3b30ac45ca0da 100644 --- a/packages/url-parser-browser/package.json +++ b/packages/url-parser/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/url-parser-browser", - "version": "3.1.0", + "name": "@aws-sdk/url-parser", + "version": "3.0.0", "scripts": { "prepublishOnly": "yarn build:cjs && yarn build:es", "pretest": "yarn build:cjs", @@ -27,10 +27,10 @@ "jest": "^26.1.0", "typescript": "~4.1.2" }, - "homepage": "/~https://github.com/aws/aws-sdk-js-v3/tree/master/packages/url-parser-browser", + "homepage": "/~https://github.com/aws/aws-sdk-js-v3/tree/master/packages/url-parser", "repository": { "type": "git", "url": "/~https://github.com/aws/aws-sdk-js-v3.git", - "directory": "packages/url-parser-browser" + "directory": "packages/url-parser" } } diff --git a/packages/url-parser-browser/src/index.spec.ts b/packages/url-parser/src/index.spec.ts similarity index 97% rename from packages/url-parser-browser/src/index.spec.ts rename to packages/url-parser/src/index.spec.ts index c9881aaefaf61..303ebef60404d 100644 --- a/packages/url-parser-browser/src/index.spec.ts +++ b/packages/url-parser/src/index.spec.ts @@ -1,6 +1,6 @@ import { Endpoint } from "@aws-sdk/types"; -import { parseUrl } from "./"; +import { parseUrl } from "."; describe("parseUrl", () => { const testCases = new Map([ diff --git a/packages/url-parser-browser/src/index.ts b/packages/url-parser/src/index.ts similarity index 100% rename from packages/url-parser-browser/src/index.ts rename to packages/url-parser/src/index.ts diff --git a/packages/url-parser-node/tsconfig.cjs.json b/packages/url-parser/tsconfig.cjs.json similarity index 100% rename from packages/url-parser-node/tsconfig.cjs.json rename to packages/url-parser/tsconfig.cjs.json diff --git a/packages/url-parser-browser/tsconfig.es.json b/packages/url-parser/tsconfig.es.json similarity index 100% rename from packages/url-parser-browser/tsconfig.es.json rename to packages/url-parser/tsconfig.es.json diff --git a/protocol_tests/aws-ec2/package.json b/protocol_tests/aws-ec2/package.json index b0928e1fdc03b..a1757e897601d 100644 --- a/protocol_tests/aws-ec2/package.json +++ b/protocol_tests/aws-ec2/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-ec2/runtimeConfig.browser.ts b/protocol_tests/aws-ec2/runtimeConfig.browser.ts index 689c060f16ba6..7e8a27b4ed6d4 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.browser.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-ec2/runtimeConfig.native.ts b/protocol_tests/aws-ec2/runtimeConfig.native.ts index c2c8364ec2831..d39637607ee08 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.native.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./EC2ProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-ec2/runtimeConfig.shared.ts b/protocol_tests/aws-ec2/runtimeConfig.shared.ts index 58576bef66180..08b60e712bbc6 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.shared.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "EC2 Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-ec2/runtimeConfig.ts b/protocol_tests/aws-ec2/runtimeConfig.ts index 6e9a4eb636a29..78b2386dff9b6 100644 --- a/protocol_tests/aws-ec2/runtimeConfig.ts +++ b/protocol_tests/aws-ec2/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-json/package.json b/protocol_tests/aws-json/package.json index be995cf012ebb..8daecec64e6ce 100644 --- a/protocol_tests/aws-json/package.json +++ b/protocol_tests/aws-json/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-json/runtimeConfig.browser.ts b/protocol_tests/aws-json/runtimeConfig.browser.ts index 531edf08ee36a..f5715ce6f5b77 100644 --- a/protocol_tests/aws-json/runtimeConfig.browser.ts +++ b/protocol_tests/aws-json/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-json/runtimeConfig.native.ts b/protocol_tests/aws-json/runtimeConfig.native.ts index b83f7ca69972b..27e4785a89271 100644 --- a/protocol_tests/aws-json/runtimeConfig.native.ts +++ b/protocol_tests/aws-json/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./JsonProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-json/runtimeConfig.shared.ts b/protocol_tests/aws-json/runtimeConfig.shared.ts index b66870338c271..1ae33ef57c26c 100644 --- a/protocol_tests/aws-json/runtimeConfig.shared.ts +++ b/protocol_tests/aws-json/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Json Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-json/runtimeConfig.ts b/protocol_tests/aws-json/runtimeConfig.ts index 4bcf61bdf302e..d52b17498db4d 100644 --- a/protocol_tests/aws-json/runtimeConfig.ts +++ b/protocol_tests/aws-json/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-query/package.json b/protocol_tests/aws-query/package.json index f6d8d3673b2eb..528a347d205bc 100644 --- a/protocol_tests/aws-query/package.json +++ b/protocol_tests/aws-query/package.json @@ -46,8 +46,8 @@ "@aws-sdk/protocol-http": "3.2.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-query/runtimeConfig.browser.ts b/protocol_tests/aws-query/runtimeConfig.browser.ts index 8cf6562cc7e00..da746d4bf6e23 100644 --- a/protocol_tests/aws-query/runtimeConfig.browser.ts +++ b/protocol_tests/aws-query/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-query/runtimeConfig.native.ts b/protocol_tests/aws-query/runtimeConfig.native.ts index b4506d8969582..420f9e5e0c468 100644 --- a/protocol_tests/aws-query/runtimeConfig.native.ts +++ b/protocol_tests/aws-query/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./QueryProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-query/runtimeConfig.shared.ts b/protocol_tests/aws-query/runtimeConfig.shared.ts index cf7be7241c08e..ee35519aea3f3 100644 --- a/protocol_tests/aws-query/runtimeConfig.shared.ts +++ b/protocol_tests/aws-query/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Query Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-query/runtimeConfig.ts b/protocol_tests/aws-query/runtimeConfig.ts index 682eee7ac2d08..afc0ee5e0694e 100644 --- a/protocol_tests/aws-query/runtimeConfig.ts +++ b/protocol_tests/aws-query/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restjson/package.json b/protocol_tests/aws-restjson/package.json index 4f3f09b646977..848a4134ad631 100644 --- a/protocol_tests/aws-restjson/package.json +++ b/protocol_tests/aws-restjson/package.json @@ -47,8 +47,8 @@ "@aws-sdk/querystring-builder": "3.1.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-restjson/runtimeConfig.browser.ts b/protocol_tests/aws-restjson/runtimeConfig.browser.ts index 69728fc749b51..5f6c6a5ece092 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.browser.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restjson/runtimeConfig.native.ts b/protocol_tests/aws-restjson/runtimeConfig.native.ts index b3086035d8293..6ef1ac1a84a9c 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.native.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RestJsonProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-restjson/runtimeConfig.shared.ts b/protocol_tests/aws-restjson/runtimeConfig.shared.ts index 967378a1bd4f7..59da86dcb59b4 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.shared.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Rest Json Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-restjson/runtimeConfig.ts b/protocol_tests/aws-restjson/runtimeConfig.ts index afe44fe761e12..d539506b6e1b1 100644 --- a/protocol_tests/aws-restjson/runtimeConfig.ts +++ b/protocol_tests/aws-restjson/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restxml/package.json b/protocol_tests/aws-restxml/package.json index 83a1c693c08ee..feb975c8542da 100644 --- a/protocol_tests/aws-restxml/package.json +++ b/protocol_tests/aws-restxml/package.json @@ -47,8 +47,8 @@ "@aws-sdk/querystring-builder": "3.1.0", "@aws-sdk/smithy-client": "3.2.0", "@aws-sdk/types": "3.1.0", - "@aws-sdk/url-parser-browser": "3.1.0", - "@aws-sdk/url-parser-node": "3.1.0", + "@aws-sdk/url-parser": "3.0.0", + "@aws-sdk/url-parser-native": "3.0.0", "@aws-sdk/util-base64-browser": "3.1.0", "@aws-sdk/util-base64-node": "3.1.0", "@aws-sdk/util-body-length-browser": "3.1.0", diff --git a/protocol_tests/aws-restxml/runtimeConfig.browser.ts b/protocol_tests/aws-restxml/runtimeConfig.browser.ts index f73058632bd5a..71d72a7a81ad9 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.browser.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.browser.ts @@ -4,7 +4,6 @@ import { Sha256 } from "@aws-crypto/sha256-browser"; import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler"; import { invalidProvider } from "@aws-sdk/invalid-dependency"; import { DEFAULT_MAX_ATTEMPTS } from "@aws-sdk/middleware-retry"; -import { parseUrl } from "@aws-sdk/url-parser-browser"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser"; import { calculateBodyLength } from "@aws-sdk/util-body-length-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; @@ -31,7 +30,6 @@ export const ClientDefaultValues: Required = { requestHandler: new FetchHttpHandler(), sha256: Sha256, streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, }; diff --git a/protocol_tests/aws-restxml/runtimeConfig.native.ts b/protocol_tests/aws-restxml/runtimeConfig.native.ts index cf729595d6e3a..96df7e1cdbef3 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.native.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.native.ts @@ -1,5 +1,5 @@ import { Sha256 } from "@aws-crypto/sha256-js"; -import { parseUrl } from "@aws-sdk/url-parser-node"; +import { parseUrl } from "@aws-sdk/url-parser-native"; import { ClientDefaults } from "./RestXmlProtocolClient"; import { ClientDefaultValues as BrowserDefaults } from "./runtimeConfig.browser"; diff --git a/protocol_tests/aws-restxml/runtimeConfig.shared.ts b/protocol_tests/aws-restxml/runtimeConfig.shared.ts index 1c9c4161c5dd8..918b732586d8c 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.shared.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.shared.ts @@ -1,5 +1,6 @@ import { defaultRegionInfoProvider } from "./endpoints"; import { Logger as __Logger } from "@aws-sdk/types"; +import { parseUrl } from "@aws-sdk/url-parser"; /** * @internal @@ -10,4 +11,5 @@ export const ClientSharedValues = { logger: {} as __Logger, regionInfoProvider: defaultRegionInfoProvider, serviceId: "Rest Xml Protocol", + urlParser: parseUrl, }; diff --git a/protocol_tests/aws-restxml/runtimeConfig.ts b/protocol_tests/aws-restxml/runtimeConfig.ts index e831beae8e649..13ecb063e9daa 100644 --- a/protocol_tests/aws-restxml/runtimeConfig.ts +++ b/protocol_tests/aws-restxml/runtimeConfig.ts @@ -6,7 +6,6 @@ import { Hash } from "@aws-sdk/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry"; import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider"; import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler"; -import { parseUrl } from "@aws-sdk/url-parser-node"; import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node"; import { calculateBodyLength } from "@aws-sdk/util-body-length-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; @@ -33,7 +32,6 @@ export const ClientDefaultValues: Required = { requestHandler: new NodeHttpHandler(), sha256: Hash.bind(null, "sha256"), streamCollector, - urlParser: parseUrl, utf8Decoder: fromUtf8, utf8Encoder: toUtf8, };