diff --git a/clients/client-accessanalyzer/package.json b/clients/client-accessanalyzer/package.json index 36bdc6c019bd..7a98e5b633ed 100644 --- a/clients/client-accessanalyzer/package.json +++ b/clients/client-accessanalyzer/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-accessanalyzer/src/endpoint/endpointResolver.ts b/clients/client-accessanalyzer/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-accessanalyzer/src/endpoint/endpointResolver.ts +++ b/clients/client-accessanalyzer/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-accessanalyzer/src/endpointFunctions.ts b/clients/client-accessanalyzer/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-accessanalyzer/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-accessanalyzer/src/index.ts b/clients/client-accessanalyzer/src/index.ts index 3162fbb857c6..aafa00595db8 100644 --- a/clients/client-accessanalyzer/src/index.ts +++ b/clients/client-accessanalyzer/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AccessAnalyzerServiceException } from "./models/AccessAnalyzerServiceException"; diff --git a/clients/client-account/package.json b/clients/client-account/package.json index 9d070b933988..7b960270b511 100644 --- a/clients/client-account/package.json +++ b/clients/client-account/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-account/src/endpoint/endpointResolver.ts b/clients/client-account/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-account/src/endpoint/endpointResolver.ts +++ b/clients/client-account/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-account/src/endpointFunctions.ts b/clients/client-account/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-account/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-account/src/index.ts b/clients/client-account/src/index.ts index e3a76d0a7b63..2edd726bc3be 100644 --- a/clients/client-account/src/index.ts +++ b/clients/client-account/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AccountServiceException } from "./models/AccountServiceException"; diff --git a/clients/client-acm-pca/package.json b/clients/client-acm-pca/package.json index 9c52b5e5d99b..05a11110d8a1 100644 --- a/clients/client-acm-pca/package.json +++ b/clients/client-acm-pca/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-acm-pca/src/endpoint/endpointResolver.ts b/clients/client-acm-pca/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-acm-pca/src/endpoint/endpointResolver.ts +++ b/clients/client-acm-pca/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-acm-pca/src/endpointFunctions.ts b/clients/client-acm-pca/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-acm-pca/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-acm-pca/src/index.ts b/clients/client-acm-pca/src/index.ts index e23662987a77..6a4590313fb4 100644 --- a/clients/client-acm-pca/src/index.ts +++ b/clients/client-acm-pca/src/index.ts @@ -28,4 +28,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ACMPCAServiceException } from "./models/ACMPCAServiceException"; diff --git a/clients/client-acm/package.json b/clients/client-acm/package.json index 82f03c03e6cc..247550aae2c0 100644 --- a/clients/client-acm/package.json +++ b/clients/client-acm/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-acm/src/endpoint/endpointResolver.ts b/clients/client-acm/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-acm/src/endpoint/endpointResolver.ts +++ b/clients/client-acm/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-acm/src/endpointFunctions.ts b/clients/client-acm/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-acm/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-acm/src/index.ts b/clients/client-acm/src/index.ts index a0ac884a65ad..ca06fe482560 100644 --- a/clients/client-acm/src/index.ts +++ b/clients/client-acm/src/index.ts @@ -15,4 +15,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ACMServiceException } from "./models/ACMServiceException"; diff --git a/clients/client-alexa-for-business/package.json b/clients/client-alexa-for-business/package.json index a98652e66e0b..5c7398020458 100644 --- a/clients/client-alexa-for-business/package.json +++ b/clients/client-alexa-for-business/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-alexa-for-business/src/endpoint/endpointResolver.ts b/clients/client-alexa-for-business/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-alexa-for-business/src/endpoint/endpointResolver.ts +++ b/clients/client-alexa-for-business/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-alexa-for-business/src/endpointFunctions.ts b/clients/client-alexa-for-business/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-alexa-for-business/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-alexa-for-business/src/index.ts b/clients/client-alexa-for-business/src/index.ts index 3637edd2535e..d8ae2d034bec 100644 --- a/clients/client-alexa-for-business/src/index.ts +++ b/clients/client-alexa-for-business/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AlexaForBusinessServiceException } from "./models/AlexaForBusinessServiceException"; diff --git a/clients/client-amp/package.json b/clients/client-amp/package.json index fc6dba090b51..d9e14eb91ac5 100644 --- a/clients/client-amp/package.json +++ b/clients/client-amp/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-amp/src/endpoint/endpointResolver.ts b/clients/client-amp/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-amp/src/endpoint/endpointResolver.ts +++ b/clients/client-amp/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-amp/src/endpointFunctions.ts b/clients/client-amp/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-amp/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-amp/src/index.ts b/clients/client-amp/src/index.ts index bbe1db612981..19906b8ab2ac 100644 --- a/clients/client-amp/src/index.ts +++ b/clients/client-amp/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { AmpServiceException } from "./models/AmpServiceException"; diff --git a/clients/client-amplify/package.json b/clients/client-amplify/package.json index 83d14ed5727d..862714283191 100644 --- a/clients/client-amplify/package.json +++ b/clients/client-amplify/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-amplify/src/endpoint/endpointResolver.ts b/clients/client-amplify/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-amplify/src/endpoint/endpointResolver.ts +++ b/clients/client-amplify/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-amplify/src/endpointFunctions.ts b/clients/client-amplify/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-amplify/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-amplify/src/index.ts b/clients/client-amplify/src/index.ts index 33c0adb0229c..f599861ea1a9 100644 --- a/clients/client-amplify/src/index.ts +++ b/clients/client-amplify/src/index.ts @@ -16,4 +16,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { AmplifyServiceException } from "./models/AmplifyServiceException"; diff --git a/clients/client-amplifybackend/package.json b/clients/client-amplifybackend/package.json index 8d4ed22ea019..6979f307e982 100644 --- a/clients/client-amplifybackend/package.json +++ b/clients/client-amplifybackend/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-amplifybackend/src/endpoint/endpointResolver.ts b/clients/client-amplifybackend/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-amplifybackend/src/endpoint/endpointResolver.ts +++ b/clients/client-amplifybackend/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-amplifybackend/src/endpointFunctions.ts b/clients/client-amplifybackend/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-amplifybackend/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-amplifybackend/src/index.ts b/clients/client-amplifybackend/src/index.ts index c3a978f1ab2f..0a551eb5b217 100644 --- a/clients/client-amplifybackend/src/index.ts +++ b/clients/client-amplifybackend/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { AmplifyBackendServiceException } from "./models/AmplifyBackendServiceException"; diff --git a/clients/client-amplifyuibuilder/package.json b/clients/client-amplifyuibuilder/package.json index 09425a8afb69..1ffe7ecde3a8 100644 --- a/clients/client-amplifyuibuilder/package.json +++ b/clients/client-amplifyuibuilder/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-amplifyuibuilder/src/endpoint/endpointResolver.ts b/clients/client-amplifyuibuilder/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-amplifyuibuilder/src/endpoint/endpointResolver.ts +++ b/clients/client-amplifyuibuilder/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-amplifyuibuilder/src/endpointFunctions.ts b/clients/client-amplifyuibuilder/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-amplifyuibuilder/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-amplifyuibuilder/src/index.ts b/clients/client-amplifyuibuilder/src/index.ts index f07c47975bf1..315096c5c4b1 100644 --- a/clients/client-amplifyuibuilder/src/index.ts +++ b/clients/client-amplifyuibuilder/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AmplifyUIBuilderServiceException } from "./models/AmplifyUIBuilderServiceException"; diff --git a/clients/client-api-gateway/package.json b/clients/client-api-gateway/package.json index 8166a1ac4a43..c1567e1c530c 100644 --- a/clients/client-api-gateway/package.json +++ b/clients/client-api-gateway/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-api-gateway/src/endpoint/endpointResolver.ts b/clients/client-api-gateway/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-api-gateway/src/endpoint/endpointResolver.ts +++ b/clients/client-api-gateway/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-api-gateway/src/endpointFunctions.ts b/clients/client-api-gateway/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-api-gateway/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-api-gateway/src/index.ts b/clients/client-api-gateway/src/index.ts index ad7208fd7495..dcf7f93381af 100644 --- a/clients/client-api-gateway/src/index.ts +++ b/clients/client-api-gateway/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { APIGatewayServiceException } from "./models/APIGatewayServiceException"; diff --git a/clients/client-apigatewaymanagementapi/package.json b/clients/client-apigatewaymanagementapi/package.json index 218cd2975c4b..ea1254767d40 100644 --- a/clients/client-apigatewaymanagementapi/package.json +++ b/clients/client-apigatewaymanagementapi/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-apigatewaymanagementapi/src/endpoint/endpointResolver.ts b/clients/client-apigatewaymanagementapi/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-apigatewaymanagementapi/src/endpoint/endpointResolver.ts +++ b/clients/client-apigatewaymanagementapi/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-apigatewaymanagementapi/src/endpointFunctions.ts b/clients/client-apigatewaymanagementapi/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-apigatewaymanagementapi/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-apigatewaymanagementapi/src/index.ts b/clients/client-apigatewaymanagementapi/src/index.ts index 167e62735cf3..c88041951a8a 100644 --- a/clients/client-apigatewaymanagementapi/src/index.ts +++ b/clients/client-apigatewaymanagementapi/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { ApiGatewayManagementApiServiceException } from "./models/ApiGatewayManagementApiServiceException"; diff --git a/clients/client-apigatewayv2/package.json b/clients/client-apigatewayv2/package.json index 1dc2da4fa9a2..4fe8e1fd932f 100644 --- a/clients/client-apigatewayv2/package.json +++ b/clients/client-apigatewayv2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-apigatewayv2/src/endpoint/endpointResolver.ts b/clients/client-apigatewayv2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-apigatewayv2/src/endpoint/endpointResolver.ts +++ b/clients/client-apigatewayv2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-apigatewayv2/src/endpointFunctions.ts b/clients/client-apigatewayv2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-apigatewayv2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-apigatewayv2/src/index.ts b/clients/client-apigatewayv2/src/index.ts index 98fa5cca775b..77845c482702 100644 --- a/clients/client-apigatewayv2/src/index.ts +++ b/clients/client-apigatewayv2/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { ApiGatewayV2ServiceException } from "./models/ApiGatewayV2ServiceException"; diff --git a/clients/client-app-mesh/package.json b/clients/client-app-mesh/package.json index 655e55ff0e1d..afc6f124b926 100644 --- a/clients/client-app-mesh/package.json +++ b/clients/client-app-mesh/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-app-mesh/src/endpoint/endpointResolver.ts b/clients/client-app-mesh/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-app-mesh/src/endpoint/endpointResolver.ts +++ b/clients/client-app-mesh/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-app-mesh/src/endpointFunctions.ts b/clients/client-app-mesh/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-app-mesh/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-app-mesh/src/index.ts b/clients/client-app-mesh/src/index.ts index 30f4e86499ca..460f52534640 100644 --- a/clients/client-app-mesh/src/index.ts +++ b/clients/client-app-mesh/src/index.ts @@ -26,4 +26,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppMeshServiceException } from "./models/AppMeshServiceException"; diff --git a/clients/client-appconfig/package.json b/clients/client-appconfig/package.json index a5dd1788be9c..57e09c4964eb 100644 --- a/clients/client-appconfig/package.json +++ b/clients/client-appconfig/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-appconfig/src/endpoint/endpointResolver.ts b/clients/client-appconfig/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-appconfig/src/endpoint/endpointResolver.ts +++ b/clients/client-appconfig/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-appconfig/src/endpointFunctions.ts b/clients/client-appconfig/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-appconfig/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-appconfig/src/index.ts b/clients/client-appconfig/src/index.ts index b33cfeb49f24..46dda9a8a454 100644 --- a/clients/client-appconfig/src/index.ts +++ b/clients/client-appconfig/src/index.ts @@ -57,4 +57,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppConfigServiceException } from "./models/AppConfigServiceException"; diff --git a/clients/client-appconfigdata/package.json b/clients/client-appconfigdata/package.json index 243c32c75f54..33adff7e4e5d 100644 --- a/clients/client-appconfigdata/package.json +++ b/clients/client-appconfigdata/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-appconfigdata/src/endpoint/endpointResolver.ts b/clients/client-appconfigdata/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-appconfigdata/src/endpoint/endpointResolver.ts +++ b/clients/client-appconfigdata/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-appconfigdata/src/endpointFunctions.ts b/clients/client-appconfigdata/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-appconfigdata/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-appconfigdata/src/index.ts b/clients/client-appconfigdata/src/index.ts index e4d0cc319a9e..48f9da67f7d5 100644 --- a/clients/client-appconfigdata/src/index.ts +++ b/clients/client-appconfigdata/src/index.ts @@ -69,4 +69,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppConfigDataServiceException } from "./models/AppConfigDataServiceException"; diff --git a/clients/client-appfabric/package.json b/clients/client-appfabric/package.json index 128099bae0b3..9773946f8b2c 100644 --- a/clients/client-appfabric/package.json +++ b/clients/client-appfabric/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-appfabric/src/endpoint/endpointResolver.ts b/clients/client-appfabric/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-appfabric/src/endpoint/endpointResolver.ts +++ b/clients/client-appfabric/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-appfabric/src/endpointFunctions.ts b/clients/client-appfabric/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-appfabric/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-appfabric/src/index.ts b/clients/client-appfabric/src/index.ts index 75a9f4ab6f32..1af5fd5cb85d 100644 --- a/clients/client-appfabric/src/index.ts +++ b/clients/client-appfabric/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppFabricServiceException } from "./models/AppFabricServiceException"; diff --git a/clients/client-appflow/package.json b/clients/client-appflow/package.json index 1462bacb1789..0cc6bf0a69c5 100644 --- a/clients/client-appflow/package.json +++ b/clients/client-appflow/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-appflow/src/endpoint/endpointResolver.ts b/clients/client-appflow/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-appflow/src/endpoint/endpointResolver.ts +++ b/clients/client-appflow/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-appflow/src/endpointFunctions.ts b/clients/client-appflow/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-appflow/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-appflow/src/index.ts b/clients/client-appflow/src/index.ts index 50da4884bf23..8676756caaf4 100644 --- a/clients/client-appflow/src/index.ts +++ b/clients/client-appflow/src/index.ts @@ -46,4 +46,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppflowServiceException } from "./models/AppflowServiceException"; diff --git a/clients/client-appintegrations/package.json b/clients/client-appintegrations/package.json index 35e7c6139213..9aa4a73563a4 100644 --- a/clients/client-appintegrations/package.json +++ b/clients/client-appintegrations/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-appintegrations/src/endpoint/endpointResolver.ts b/clients/client-appintegrations/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-appintegrations/src/endpoint/endpointResolver.ts +++ b/clients/client-appintegrations/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-appintegrations/src/endpointFunctions.ts b/clients/client-appintegrations/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-appintegrations/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-appintegrations/src/index.ts b/clients/client-appintegrations/src/index.ts index 738f8147c5b7..256b8885891e 100644 --- a/clients/client-appintegrations/src/index.ts +++ b/clients/client-appintegrations/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppIntegrationsServiceException } from "./models/AppIntegrationsServiceException"; diff --git a/clients/client-application-auto-scaling/package.json b/clients/client-application-auto-scaling/package.json index 009dfffc71f7..defed64a89cf 100644 --- a/clients/client-application-auto-scaling/package.json +++ b/clients/client-application-auto-scaling/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-application-auto-scaling/src/endpoint/endpointResolver.ts b/clients/client-application-auto-scaling/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-application-auto-scaling/src/endpoint/endpointResolver.ts +++ b/clients/client-application-auto-scaling/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-application-auto-scaling/src/endpointFunctions.ts b/clients/client-application-auto-scaling/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-application-auto-scaling/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-application-auto-scaling/src/index.ts b/clients/client-application-auto-scaling/src/index.ts index a16318c92ccb..249c8be0b5c2 100644 --- a/clients/client-application-auto-scaling/src/index.ts +++ b/clients/client-application-auto-scaling/src/index.ts @@ -85,4 +85,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ApplicationAutoScalingServiceException } from "./models/ApplicationAutoScalingServiceException"; diff --git a/clients/client-application-discovery-service/package.json b/clients/client-application-discovery-service/package.json index 8b246dd62257..57aad4686646 100644 --- a/clients/client-application-discovery-service/package.json +++ b/clients/client-application-discovery-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-application-discovery-service/src/endpoint/endpointResolver.ts b/clients/client-application-discovery-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-application-discovery-service/src/endpoint/endpointResolver.ts +++ b/clients/client-application-discovery-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-application-discovery-service/src/endpointFunctions.ts b/clients/client-application-discovery-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-application-discovery-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-application-discovery-service/src/index.ts b/clients/client-application-discovery-service/src/index.ts index f1c96de8435f..9fe3d4b7ac71 100644 --- a/clients/client-application-discovery-service/src/index.ts +++ b/clients/client-application-discovery-service/src/index.ts @@ -117,4 +117,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ApplicationDiscoveryServiceServiceException } from "./models/ApplicationDiscoveryServiceServiceException"; diff --git a/clients/client-application-insights/package.json b/clients/client-application-insights/package.json index 88a31ab5131a..d0244f77fc53 100644 --- a/clients/client-application-insights/package.json +++ b/clients/client-application-insights/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-application-insights/src/endpoint/endpointResolver.ts b/clients/client-application-insights/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-application-insights/src/endpoint/endpointResolver.ts +++ b/clients/client-application-insights/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-application-insights/src/endpointFunctions.ts b/clients/client-application-insights/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-application-insights/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-application-insights/src/index.ts b/clients/client-application-insights/src/index.ts index 2229e790562c..e2e8cb1bc2f0 100644 --- a/clients/client-application-insights/src/index.ts +++ b/clients/client-application-insights/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ApplicationInsightsServiceException } from "./models/ApplicationInsightsServiceException"; diff --git a/clients/client-applicationcostprofiler/package.json b/clients/client-applicationcostprofiler/package.json index 788a1b2b9ef0..380c6f085e44 100644 --- a/clients/client-applicationcostprofiler/package.json +++ b/clients/client-applicationcostprofiler/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-applicationcostprofiler/src/endpoint/endpointResolver.ts b/clients/client-applicationcostprofiler/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-applicationcostprofiler/src/endpoint/endpointResolver.ts +++ b/clients/client-applicationcostprofiler/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-applicationcostprofiler/src/endpointFunctions.ts b/clients/client-applicationcostprofiler/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-applicationcostprofiler/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-applicationcostprofiler/src/index.ts b/clients/client-applicationcostprofiler/src/index.ts index 8d5d4a5bcd27..facc9a770ee3 100644 --- a/clients/client-applicationcostprofiler/src/index.ts +++ b/clients/client-applicationcostprofiler/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ApplicationCostProfilerServiceException } from "./models/ApplicationCostProfilerServiceException"; diff --git a/clients/client-apprunner/package.json b/clients/client-apprunner/package.json index 41d3264b623b..4227b20a0faf 100644 --- a/clients/client-apprunner/package.json +++ b/clients/client-apprunner/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-apprunner/src/endpoint/endpointResolver.ts b/clients/client-apprunner/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-apprunner/src/endpoint/endpointResolver.ts +++ b/clients/client-apprunner/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-apprunner/src/endpointFunctions.ts b/clients/client-apprunner/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-apprunner/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-apprunner/src/index.ts b/clients/client-apprunner/src/index.ts index 466c9b73a24c..93199e19eef6 100644 --- a/clients/client-apprunner/src/index.ts +++ b/clients/client-apprunner/src/index.ts @@ -28,4 +28,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppRunnerServiceException } from "./models/AppRunnerServiceException"; diff --git a/clients/client-appstream/package.json b/clients/client-appstream/package.json index 64df8581c808..74d4a2a7d70b 100644 --- a/clients/client-appstream/package.json +++ b/clients/client-appstream/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-appstream/src/endpoint/endpointResolver.ts b/clients/client-appstream/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-appstream/src/endpoint/endpointResolver.ts +++ b/clients/client-appstream/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-appstream/src/endpointFunctions.ts b/clients/client-appstream/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-appstream/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-appstream/src/index.ts b/clients/client-appstream/src/index.ts index 491b19917264..dbc6d76dbf27 100644 --- a/clients/client-appstream/src/index.ts +++ b/clients/client-appstream/src/index.ts @@ -30,4 +30,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppStreamServiceException } from "./models/AppStreamServiceException"; diff --git a/clients/client-appsync/package.json b/clients/client-appsync/package.json index 7b08ba0768f9..eb226481ea38 100644 --- a/clients/client-appsync/package.json +++ b/clients/client-appsync/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-appsync/src/endpoint/endpointResolver.ts b/clients/client-appsync/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-appsync/src/endpoint/endpointResolver.ts +++ b/clients/client-appsync/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-appsync/src/endpointFunctions.ts b/clients/client-appsync/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-appsync/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-appsync/src/index.ts b/clients/client-appsync/src/index.ts index 989cac44f77a..24b4783d59e8 100644 --- a/clients/client-appsync/src/index.ts +++ b/clients/client-appsync/src/index.ts @@ -12,4 +12,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { AppSyncServiceException } from "./models/AppSyncServiceException"; diff --git a/clients/client-arc-zonal-shift/package.json b/clients/client-arc-zonal-shift/package.json index 7556a8353f77..05593c2c5e80 100644 --- a/clients/client-arc-zonal-shift/package.json +++ b/clients/client-arc-zonal-shift/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-arc-zonal-shift/src/endpoint/endpointResolver.ts b/clients/client-arc-zonal-shift/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-arc-zonal-shift/src/endpoint/endpointResolver.ts +++ b/clients/client-arc-zonal-shift/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-arc-zonal-shift/src/endpointFunctions.ts b/clients/client-arc-zonal-shift/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-arc-zonal-shift/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-arc-zonal-shift/src/index.ts b/clients/client-arc-zonal-shift/src/index.ts index 962e1bbb9363..530cbf8b98b2 100644 --- a/clients/client-arc-zonal-shift/src/index.ts +++ b/clients/client-arc-zonal-shift/src/index.ts @@ -26,4 +26,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ARCZonalShiftServiceException } from "./models/ARCZonalShiftServiceException"; diff --git a/clients/client-athena/package.json b/clients/client-athena/package.json index 32b415bd6fc0..d1070d288ca7 100644 --- a/clients/client-athena/package.json +++ b/clients/client-athena/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-athena/src/endpoint/endpointResolver.ts b/clients/client-athena/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-athena/src/endpoint/endpointResolver.ts +++ b/clients/client-athena/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-athena/src/endpointFunctions.ts b/clients/client-athena/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-athena/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-athena/src/index.ts b/clients/client-athena/src/index.ts index 0f587a4f1eb2..aff5a7e98804 100644 --- a/clients/client-athena/src/index.ts +++ b/clients/client-athena/src/index.ts @@ -25,4 +25,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AthenaServiceException } from "./models/AthenaServiceException"; diff --git a/clients/client-auditmanager/package.json b/clients/client-auditmanager/package.json index 55c0bf690f52..fa9f41337b29 100644 --- a/clients/client-auditmanager/package.json +++ b/clients/client-auditmanager/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-auditmanager/src/endpoint/endpointResolver.ts b/clients/client-auditmanager/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-auditmanager/src/endpoint/endpointResolver.ts +++ b/clients/client-auditmanager/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-auditmanager/src/endpointFunctions.ts b/clients/client-auditmanager/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-auditmanager/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-auditmanager/src/index.ts b/clients/client-auditmanager/src/index.ts index 8252fdec23d0..d4f06ad6db8c 100644 --- a/clients/client-auditmanager/src/index.ts +++ b/clients/client-auditmanager/src/index.ts @@ -47,4 +47,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { AuditManagerServiceException } from "./models/AuditManagerServiceException"; diff --git a/clients/client-auto-scaling-plans/package.json b/clients/client-auto-scaling-plans/package.json index 73c4d2333c72..d82beabc2108 100644 --- a/clients/client-auto-scaling-plans/package.json +++ b/clients/client-auto-scaling-plans/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-auto-scaling-plans/src/endpoint/endpointResolver.ts b/clients/client-auto-scaling-plans/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-auto-scaling-plans/src/endpoint/endpointResolver.ts +++ b/clients/client-auto-scaling-plans/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-auto-scaling-plans/src/endpointFunctions.ts b/clients/client-auto-scaling-plans/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-auto-scaling-plans/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-auto-scaling-plans/src/index.ts b/clients/client-auto-scaling-plans/src/index.ts index 21d43bbc5a4a..84847cd30e21 100644 --- a/clients/client-auto-scaling-plans/src/index.ts +++ b/clients/client-auto-scaling-plans/src/index.ts @@ -45,4 +45,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { AutoScalingPlansServiceException } from "./models/AutoScalingPlansServiceException"; diff --git a/clients/client-auto-scaling/package.json b/clients/client-auto-scaling/package.json index c6121747e791..d9c458c07f28 100644 --- a/clients/client-auto-scaling/package.json +++ b/clients/client-auto-scaling/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-auto-scaling/src/endpoint/endpointResolver.ts b/clients/client-auto-scaling/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-auto-scaling/src/endpoint/endpointResolver.ts +++ b/clients/client-auto-scaling/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-auto-scaling/src/endpointFunctions.ts b/clients/client-auto-scaling/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-auto-scaling/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-auto-scaling/src/index.ts b/clients/client-auto-scaling/src/index.ts index e9813980022b..2377b071cf87 100644 --- a/clients/client-auto-scaling/src/index.ts +++ b/clients/client-auto-scaling/src/index.ts @@ -16,4 +16,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { AutoScalingServiceException } from "./models/AutoScalingServiceException"; diff --git a/clients/client-backup-gateway/package.json b/clients/client-backup-gateway/package.json index bd859b18301e..e5da39eb70eb 100644 --- a/clients/client-backup-gateway/package.json +++ b/clients/client-backup-gateway/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-backup-gateway/src/endpoint/endpointResolver.ts b/clients/client-backup-gateway/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-backup-gateway/src/endpoint/endpointResolver.ts +++ b/clients/client-backup-gateway/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-backup-gateway/src/endpointFunctions.ts b/clients/client-backup-gateway/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-backup-gateway/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-backup-gateway/src/index.ts b/clients/client-backup-gateway/src/index.ts index 27b2f7ff19cd..7105e55bcefa 100644 --- a/clients/client-backup-gateway/src/index.ts +++ b/clients/client-backup-gateway/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BackupGatewayServiceException } from "./models/BackupGatewayServiceException"; diff --git a/clients/client-backup/package.json b/clients/client-backup/package.json index e7282e646495..c2f6db9d8bdf 100644 --- a/clients/client-backup/package.json +++ b/clients/client-backup/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-backup/src/endpoint/endpointResolver.ts b/clients/client-backup/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-backup/src/endpoint/endpointResolver.ts +++ b/clients/client-backup/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-backup/src/endpointFunctions.ts b/clients/client-backup/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-backup/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-backup/src/index.ts b/clients/client-backup/src/index.ts index 029c15bdf4a7..3172b48b33b1 100644 --- a/clients/client-backup/src/index.ts +++ b/clients/client-backup/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BackupServiceException } from "./models/BackupServiceException"; diff --git a/clients/client-backupstorage/package.json b/clients/client-backupstorage/package.json index 58b257bbbab6..7626b561ef41 100644 --- a/clients/client-backupstorage/package.json +++ b/clients/client-backupstorage/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-backupstorage/src/endpoint/endpointResolver.ts b/clients/client-backupstorage/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-backupstorage/src/endpoint/endpointResolver.ts +++ b/clients/client-backupstorage/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-backupstorage/src/endpointFunctions.ts b/clients/client-backupstorage/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-backupstorage/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-backupstorage/src/index.ts b/clients/client-backupstorage/src/index.ts index 92e9d446694c..8cdb632a9938 100644 --- a/clients/client-backupstorage/src/index.ts +++ b/clients/client-backupstorage/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BackupStorageServiceException } from "./models/BackupStorageServiceException"; diff --git a/clients/client-batch/package.json b/clients/client-batch/package.json index 252bad166699..1702f96e3264 100644 --- a/clients/client-batch/package.json +++ b/clients/client-batch/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-batch/src/endpoint/endpointResolver.ts b/clients/client-batch/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-batch/src/endpoint/endpointResolver.ts +++ b/clients/client-batch/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-batch/src/endpointFunctions.ts b/clients/client-batch/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-batch/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-batch/src/index.ts b/clients/client-batch/src/index.ts index 8f9e7c2cf5fd..d90263175fba 100644 --- a/clients/client-batch/src/index.ts +++ b/clients/client-batch/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BatchServiceException } from "./models/BatchServiceException"; diff --git a/clients/client-bedrock-runtime/package.json b/clients/client-bedrock-runtime/package.json index 5d60ba633e5b..699bbf71419a 100644 --- a/clients/client-bedrock-runtime/package.json +++ b/clients/client-bedrock-runtime/package.json @@ -56,6 +56,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-bedrock-runtime/src/endpoint/endpointResolver.ts b/clients/client-bedrock-runtime/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-bedrock-runtime/src/endpoint/endpointResolver.ts +++ b/clients/client-bedrock-runtime/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-bedrock-runtime/src/endpointFunctions.ts b/clients/client-bedrock-runtime/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-bedrock-runtime/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-bedrock-runtime/src/index.ts b/clients/client-bedrock-runtime/src/index.ts index b1ca0ac953ac..b925047dd97f 100644 --- a/clients/client-bedrock-runtime/src/index.ts +++ b/clients/client-bedrock-runtime/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { BedrockRuntimeServiceException } from "./models/BedrockRuntimeServiceException"; diff --git a/clients/client-bedrock/package.json b/clients/client-bedrock/package.json index 9ebb413ccf60..ed6bf525afe9 100644 --- a/clients/client-bedrock/package.json +++ b/clients/client-bedrock/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-bedrock/src/endpoint/endpointResolver.ts b/clients/client-bedrock/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-bedrock/src/endpoint/endpointResolver.ts +++ b/clients/client-bedrock/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-bedrock/src/endpointFunctions.ts b/clients/client-bedrock/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-bedrock/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-bedrock/src/index.ts b/clients/client-bedrock/src/index.ts index 90e7a8c2be17..4a96ddfd599c 100644 --- a/clients/client-bedrock/src/index.ts +++ b/clients/client-bedrock/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BedrockServiceException } from "./models/BedrockServiceException"; diff --git a/clients/client-billingconductor/package.json b/clients/client-billingconductor/package.json index 65c710d806db..8f02c3385b90 100644 --- a/clients/client-billingconductor/package.json +++ b/clients/client-billingconductor/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-billingconductor/src/endpoint/endpointResolver.ts b/clients/client-billingconductor/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-billingconductor/src/endpoint/endpointResolver.ts +++ b/clients/client-billingconductor/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-billingconductor/src/endpointFunctions.ts b/clients/client-billingconductor/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-billingconductor/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-billingconductor/src/index.ts b/clients/client-billingconductor/src/index.ts index 21640a73c778..ccab2d190ad9 100644 --- a/clients/client-billingconductor/src/index.ts +++ b/clients/client-billingconductor/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BillingconductorServiceException } from "./models/BillingconductorServiceException"; diff --git a/clients/client-braket/package.json b/clients/client-braket/package.json index 14f403b4f313..77e8f35e26fa 100644 --- a/clients/client-braket/package.json +++ b/clients/client-braket/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-braket/src/endpoint/endpointResolver.ts b/clients/client-braket/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-braket/src/endpoint/endpointResolver.ts +++ b/clients/client-braket/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-braket/src/endpointFunctions.ts b/clients/client-braket/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-braket/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-braket/src/index.ts b/clients/client-braket/src/index.ts index aa39c70436c2..356b50acf9fd 100644 --- a/clients/client-braket/src/index.ts +++ b/clients/client-braket/src/index.ts @@ -21,4 +21,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BraketServiceException } from "./models/BraketServiceException"; diff --git a/clients/client-budgets/package.json b/clients/client-budgets/package.json index 01e08a529e71..34c1af9f9fbf 100644 --- a/clients/client-budgets/package.json +++ b/clients/client-budgets/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-budgets/src/endpoint/endpointResolver.ts b/clients/client-budgets/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-budgets/src/endpoint/endpointResolver.ts +++ b/clients/client-budgets/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-budgets/src/endpointFunctions.ts b/clients/client-budgets/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-budgets/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-budgets/src/index.ts b/clients/client-budgets/src/index.ts index ef37ae9bb782..ce84b80f1246 100644 --- a/clients/client-budgets/src/index.ts +++ b/clients/client-budgets/src/index.ts @@ -54,4 +54,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { BudgetsServiceException } from "./models/BudgetsServiceException"; diff --git a/clients/client-chime-sdk-identity/package.json b/clients/client-chime-sdk-identity/package.json index 980bbcbcb456..28b3ab1a90c5 100644 --- a/clients/client-chime-sdk-identity/package.json +++ b/clients/client-chime-sdk-identity/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-chime-sdk-identity/src/endpoint/endpointResolver.ts b/clients/client-chime-sdk-identity/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-chime-sdk-identity/src/endpoint/endpointResolver.ts +++ b/clients/client-chime-sdk-identity/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-chime-sdk-identity/src/endpointFunctions.ts b/clients/client-chime-sdk-identity/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-chime-sdk-identity/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-chime-sdk-identity/src/index.ts b/clients/client-chime-sdk-identity/src/index.ts index a35d5ee7828c..70df248aa957 100644 --- a/clients/client-chime-sdk-identity/src/index.ts +++ b/clients/client-chime-sdk-identity/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ChimeSDKIdentityServiceException } from "./models/ChimeSDKIdentityServiceException"; diff --git a/clients/client-chime-sdk-media-pipelines/package.json b/clients/client-chime-sdk-media-pipelines/package.json index ad2c95447d6c..a10b536c8a13 100644 --- a/clients/client-chime-sdk-media-pipelines/package.json +++ b/clients/client-chime-sdk-media-pipelines/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-chime-sdk-media-pipelines/src/endpoint/endpointResolver.ts b/clients/client-chime-sdk-media-pipelines/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-chime-sdk-media-pipelines/src/endpoint/endpointResolver.ts +++ b/clients/client-chime-sdk-media-pipelines/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-chime-sdk-media-pipelines/src/endpointFunctions.ts b/clients/client-chime-sdk-media-pipelines/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-chime-sdk-media-pipelines/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-chime-sdk-media-pipelines/src/index.ts b/clients/client-chime-sdk-media-pipelines/src/index.ts index 16252772af47..8d808f830003 100644 --- a/clients/client-chime-sdk-media-pipelines/src/index.ts +++ b/clients/client-chime-sdk-media-pipelines/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ChimeSDKMediaPipelinesServiceException } from "./models/ChimeSDKMediaPipelinesServiceException"; diff --git a/clients/client-chime-sdk-meetings/package.json b/clients/client-chime-sdk-meetings/package.json index 0925c449b17d..708cdf5e8f8f 100644 --- a/clients/client-chime-sdk-meetings/package.json +++ b/clients/client-chime-sdk-meetings/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-chime-sdk-meetings/src/endpoint/endpointResolver.ts b/clients/client-chime-sdk-meetings/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-chime-sdk-meetings/src/endpoint/endpointResolver.ts +++ b/clients/client-chime-sdk-meetings/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-chime-sdk-meetings/src/endpointFunctions.ts b/clients/client-chime-sdk-meetings/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-chime-sdk-meetings/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-chime-sdk-meetings/src/index.ts b/clients/client-chime-sdk-meetings/src/index.ts index 7f12bc6fd6fa..07f5d331c3bf 100644 --- a/clients/client-chime-sdk-meetings/src/index.ts +++ b/clients/client-chime-sdk-meetings/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ChimeSDKMeetingsServiceException } from "./models/ChimeSDKMeetingsServiceException"; diff --git a/clients/client-chime-sdk-messaging/package.json b/clients/client-chime-sdk-messaging/package.json index 3cc97dd85aa8..ebc39c5e597b 100644 --- a/clients/client-chime-sdk-messaging/package.json +++ b/clients/client-chime-sdk-messaging/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-chime-sdk-messaging/src/endpoint/endpointResolver.ts b/clients/client-chime-sdk-messaging/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-chime-sdk-messaging/src/endpoint/endpointResolver.ts +++ b/clients/client-chime-sdk-messaging/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-chime-sdk-messaging/src/endpointFunctions.ts b/clients/client-chime-sdk-messaging/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-chime-sdk-messaging/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-chime-sdk-messaging/src/index.ts b/clients/client-chime-sdk-messaging/src/index.ts index 4b32b0345a34..23432a91e3ad 100644 --- a/clients/client-chime-sdk-messaging/src/index.ts +++ b/clients/client-chime-sdk-messaging/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ChimeSDKMessagingServiceException } from "./models/ChimeSDKMessagingServiceException"; diff --git a/clients/client-chime-sdk-voice/package.json b/clients/client-chime-sdk-voice/package.json index f2fa96c4ceb0..554320275393 100644 --- a/clients/client-chime-sdk-voice/package.json +++ b/clients/client-chime-sdk-voice/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-chime-sdk-voice/src/endpoint/endpointResolver.ts b/clients/client-chime-sdk-voice/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-chime-sdk-voice/src/endpoint/endpointResolver.ts +++ b/clients/client-chime-sdk-voice/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-chime-sdk-voice/src/endpointFunctions.ts b/clients/client-chime-sdk-voice/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-chime-sdk-voice/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-chime-sdk-voice/src/index.ts b/clients/client-chime-sdk-voice/src/index.ts index 7d0bd9ed31d0..c61cfd5070d6 100644 --- a/clients/client-chime-sdk-voice/src/index.ts +++ b/clients/client-chime-sdk-voice/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ChimeSDKVoiceServiceException } from "./models/ChimeSDKVoiceServiceException"; diff --git a/clients/client-chime/package.json b/clients/client-chime/package.json index e4e038d73abb..777573ea785b 100644 --- a/clients/client-chime/package.json +++ b/clients/client-chime/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-chime/src/endpoint/endpointResolver.ts b/clients/client-chime/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-chime/src/endpoint/endpointResolver.ts +++ b/clients/client-chime/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-chime/src/endpointFunctions.ts b/clients/client-chime/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-chime/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-chime/src/index.ts b/clients/client-chime/src/index.ts index f96411a37ac2..8dcb72d71940 100644 --- a/clients/client-chime/src/index.ts +++ b/clients/client-chime/src/index.ts @@ -54,4 +54,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ChimeServiceException } from "./models/ChimeServiceException"; diff --git a/clients/client-cleanrooms/package.json b/clients/client-cleanrooms/package.json index b246c4c37a85..db5020cedf03 100644 --- a/clients/client-cleanrooms/package.json +++ b/clients/client-cleanrooms/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cleanrooms/src/endpoint/endpointResolver.ts b/clients/client-cleanrooms/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cleanrooms/src/endpoint/endpointResolver.ts +++ b/clients/client-cleanrooms/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cleanrooms/src/endpointFunctions.ts b/clients/client-cleanrooms/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cleanrooms/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cleanrooms/src/index.ts b/clients/client-cleanrooms/src/index.ts index f9ce703443d0..380538a3b5a3 100644 --- a/clients/client-cleanrooms/src/index.ts +++ b/clients/client-cleanrooms/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CleanRoomsServiceException } from "./models/CleanRoomsServiceException"; diff --git a/clients/client-cloud9/package.json b/clients/client-cloud9/package.json index 9971c393dbcc..7e5494acad08 100644 --- a/clients/client-cloud9/package.json +++ b/clients/client-cloud9/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cloud9/src/endpoint/endpointResolver.ts b/clients/client-cloud9/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloud9/src/endpoint/endpointResolver.ts +++ b/clients/client-cloud9/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloud9/src/endpointFunctions.ts b/clients/client-cloud9/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloud9/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloud9/src/index.ts b/clients/client-cloud9/src/index.ts index bc5e263700f0..2eafc4f6b974 100644 --- a/clients/client-cloud9/src/index.ts +++ b/clients/client-cloud9/src/index.ts @@ -78,4 +78,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { Cloud9ServiceException } from "./models/Cloud9ServiceException"; diff --git a/clients/client-cloudcontrol/package.json b/clients/client-cloudcontrol/package.json index 2362e4c4ce80..2150c537f3b2 100644 --- a/clients/client-cloudcontrol/package.json +++ b/clients/client-cloudcontrol/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-cloudcontrol/src/endpoint/endpointResolver.ts b/clients/client-cloudcontrol/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudcontrol/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudcontrol/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudcontrol/src/endpointFunctions.ts b/clients/client-cloudcontrol/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudcontrol/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudcontrol/src/index.ts b/clients/client-cloudcontrol/src/index.ts index 05836748b4e7..5780fcd33812 100644 --- a/clients/client-cloudcontrol/src/index.ts +++ b/clients/client-cloudcontrol/src/index.ts @@ -14,4 +14,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudControlServiceException } from "./models/CloudControlServiceException"; diff --git a/clients/client-clouddirectory/package.json b/clients/client-clouddirectory/package.json index b5d48a51918a..43b7abf557d5 100644 --- a/clients/client-clouddirectory/package.json +++ b/clients/client-clouddirectory/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-clouddirectory/src/endpoint/endpointResolver.ts b/clients/client-clouddirectory/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-clouddirectory/src/endpoint/endpointResolver.ts +++ b/clients/client-clouddirectory/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-clouddirectory/src/endpointFunctions.ts b/clients/client-clouddirectory/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-clouddirectory/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-clouddirectory/src/index.ts b/clients/client-clouddirectory/src/index.ts index 710b1b3de049..7eeb630c1911 100644 --- a/clients/client-clouddirectory/src/index.ts +++ b/clients/client-clouddirectory/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudDirectoryServiceException } from "./models/CloudDirectoryServiceException"; diff --git a/clients/client-cloudformation/package.json b/clients/client-cloudformation/package.json index b249bbb5cc37..49cfbde3b2a9 100644 --- a/clients/client-cloudformation/package.json +++ b/clients/client-cloudformation/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-cloudformation/src/endpoint/endpointResolver.ts b/clients/client-cloudformation/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudformation/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudformation/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudformation/src/endpointFunctions.ts b/clients/client-cloudformation/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudformation/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudformation/src/index.ts b/clients/client-cloudformation/src/index.ts index c2117874929d..80a76b20f7fc 100644 --- a/clients/client-cloudformation/src/index.ts +++ b/clients/client-cloudformation/src/index.ts @@ -22,4 +22,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudFormationServiceException } from "./models/CloudFormationServiceException"; diff --git a/clients/client-cloudfront/package.json b/clients/client-cloudfront/package.json index 11e8e27725d1..83c9326639c4 100644 --- a/clients/client-cloudfront/package.json +++ b/clients/client-cloudfront/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-cloudfront/src/endpoint/endpointResolver.ts b/clients/client-cloudfront/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudfront/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudfront/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudfront/src/endpointFunctions.ts b/clients/client-cloudfront/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudfront/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudfront/src/index.ts b/clients/client-cloudfront/src/index.ts index 311c245aa81c..0ad42e0e3173 100644 --- a/clients/client-cloudfront/src/index.ts +++ b/clients/client-cloudfront/src/index.ts @@ -17,4 +17,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudFrontServiceException } from "./models/CloudFrontServiceException"; diff --git a/clients/client-cloudhsm-v2/package.json b/clients/client-cloudhsm-v2/package.json index 75a25e2ca527..2f96182ca7dc 100644 --- a/clients/client-cloudhsm-v2/package.json +++ b/clients/client-cloudhsm-v2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cloudhsm-v2/src/endpoint/endpointResolver.ts b/clients/client-cloudhsm-v2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudhsm-v2/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudhsm-v2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudhsm-v2/src/endpointFunctions.ts b/clients/client-cloudhsm-v2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudhsm-v2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudhsm-v2/src/index.ts b/clients/client-cloudhsm-v2/src/index.ts index 9b125bd13633..4928312b52e6 100644 --- a/clients/client-cloudhsm-v2/src/index.ts +++ b/clients/client-cloudhsm-v2/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudHSMV2ServiceException } from "./models/CloudHSMV2ServiceException"; diff --git a/clients/client-cloudhsm/package.json b/clients/client-cloudhsm/package.json index 2af5097c25e5..6b01addea172 100644 --- a/clients/client-cloudhsm/package.json +++ b/clients/client-cloudhsm/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cloudhsm/src/endpoint/endpointResolver.ts b/clients/client-cloudhsm/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudhsm/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudhsm/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudhsm/src/endpointFunctions.ts b/clients/client-cloudhsm/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudhsm/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudhsm/src/index.ts b/clients/client-cloudhsm/src/index.ts index 609d8380cc48..fbb15df2de80 100644 --- a/clients/client-cloudhsm/src/index.ts +++ b/clients/client-cloudhsm/src/index.ts @@ -21,4 +21,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudHSMServiceException } from "./models/CloudHSMServiceException"; diff --git a/clients/client-cloudsearch-domain/package.json b/clients/client-cloudsearch-domain/package.json index a6a2cf842a68..41445f4a54e1 100644 --- a/clients/client-cloudsearch-domain/package.json +++ b/clients/client-cloudsearch-domain/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cloudsearch-domain/src/endpoint/endpointResolver.ts b/clients/client-cloudsearch-domain/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudsearch-domain/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudsearch-domain/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudsearch-domain/src/endpointFunctions.ts b/clients/client-cloudsearch-domain/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudsearch-domain/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudsearch-domain/src/index.ts b/clients/client-cloudsearch-domain/src/index.ts index c1142ac7478f..ac1ac9eae196 100644 --- a/clients/client-cloudsearch-domain/src/index.ts +++ b/clients/client-cloudsearch-domain/src/index.ts @@ -14,4 +14,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudSearchDomainServiceException } from "./models/CloudSearchDomainServiceException"; diff --git a/clients/client-cloudsearch/package.json b/clients/client-cloudsearch/package.json index e0329e7a41ea..f03c853d2938 100644 --- a/clients/client-cloudsearch/package.json +++ b/clients/client-cloudsearch/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "fast-xml-parser": "4.2.5", diff --git a/clients/client-cloudsearch/src/endpoint/endpointResolver.ts b/clients/client-cloudsearch/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudsearch/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudsearch/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudsearch/src/endpointFunctions.ts b/clients/client-cloudsearch/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudsearch/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudsearch/src/index.ts b/clients/client-cloudsearch/src/index.ts index 26d73a55c212..ff420d369321 100644 --- a/clients/client-cloudsearch/src/index.ts +++ b/clients/client-cloudsearch/src/index.ts @@ -17,4 +17,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudSearchServiceException } from "./models/CloudSearchServiceException"; diff --git a/clients/client-cloudtrail-data/package.json b/clients/client-cloudtrail-data/package.json index 02211310f381..6ca9ddbb5771 100644 --- a/clients/client-cloudtrail-data/package.json +++ b/clients/client-cloudtrail-data/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cloudtrail-data/src/endpoint/endpointResolver.ts b/clients/client-cloudtrail-data/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudtrail-data/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudtrail-data/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudtrail-data/src/endpointFunctions.ts b/clients/client-cloudtrail-data/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudtrail-data/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudtrail-data/src/index.ts b/clients/client-cloudtrail-data/src/index.ts index 279e7dbf4e4f..238f50c8a70f 100644 --- a/clients/client-cloudtrail-data/src/index.ts +++ b/clients/client-cloudtrail-data/src/index.ts @@ -16,4 +16,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException"; diff --git a/clients/client-cloudtrail/package.json b/clients/client-cloudtrail/package.json index 31f50605ce54..db27044b754b 100644 --- a/clients/client-cloudtrail/package.json +++ b/clients/client-cloudtrail/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cloudtrail/src/endpoint/endpointResolver.ts b/clients/client-cloudtrail/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudtrail/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudtrail/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudtrail/src/endpointFunctions.ts b/clients/client-cloudtrail/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudtrail/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudtrail/src/index.ts b/clients/client-cloudtrail/src/index.ts index 24c1a746d5d7..15638ae3b04e 100644 --- a/clients/client-cloudtrail/src/index.ts +++ b/clients/client-cloudtrail/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudTrailServiceException } from "./models/CloudTrailServiceException"; diff --git a/clients/client-cloudwatch-events/package.json b/clients/client-cloudwatch-events/package.json index f279b2699919..819fd89788cf 100644 --- a/clients/client-cloudwatch-events/package.json +++ b/clients/client-cloudwatch-events/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cloudwatch-events/src/endpoint/endpointResolver.ts b/clients/client-cloudwatch-events/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudwatch-events/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudwatch-events/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudwatch-events/src/endpointFunctions.ts b/clients/client-cloudwatch-events/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudwatch-events/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudwatch-events/src/index.ts b/clients/client-cloudwatch-events/src/index.ts index b162f5d4b9cd..5e8fc5bc3d26 100644 --- a/clients/client-cloudwatch-events/src/index.ts +++ b/clients/client-cloudwatch-events/src/index.ts @@ -31,4 +31,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudWatchEventsServiceException } from "./models/CloudWatchEventsServiceException"; diff --git a/clients/client-cloudwatch-logs/package.json b/clients/client-cloudwatch-logs/package.json index 11d267716583..e8b50b96f98e 100644 --- a/clients/client-cloudwatch-logs/package.json +++ b/clients/client-cloudwatch-logs/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-cloudwatch-logs/src/endpoint/endpointResolver.ts b/clients/client-cloudwatch-logs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudwatch-logs/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudwatch-logs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudwatch-logs/src/endpointFunctions.ts b/clients/client-cloudwatch-logs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudwatch-logs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudwatch-logs/src/index.ts b/clients/client-cloudwatch-logs/src/index.ts index 8a28fd1c6977..73c6c2b87bfa 100644 --- a/clients/client-cloudwatch-logs/src/index.ts +++ b/clients/client-cloudwatch-logs/src/index.ts @@ -46,4 +46,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudWatchLogsServiceException } from "./models/CloudWatchLogsServiceException"; diff --git a/clients/client-cloudwatch/package.json b/clients/client-cloudwatch/package.json index ca9736bcf5aa..7340139862f1 100644 --- a/clients/client-cloudwatch/package.json +++ b/clients/client-cloudwatch/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-cloudwatch/src/endpoint/endpointResolver.ts b/clients/client-cloudwatch/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cloudwatch/src/endpoint/endpointResolver.ts +++ b/clients/client-cloudwatch/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cloudwatch/src/endpointFunctions.ts b/clients/client-cloudwatch/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cloudwatch/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cloudwatch/src/index.ts b/clients/client-cloudwatch/src/index.ts index c932fb05a198..a6a2b6e86f83 100644 --- a/clients/client-cloudwatch/src/index.ts +++ b/clients/client-cloudwatch/src/index.ts @@ -25,4 +25,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { CloudWatchServiceException } from "./models/CloudWatchServiceException"; diff --git a/clients/client-codeartifact/package.json b/clients/client-codeartifact/package.json index 415c98b0a6f6..059a1ef7eb39 100644 --- a/clients/client-codeartifact/package.json +++ b/clients/client-codeartifact/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-codeartifact/src/endpoint/endpointResolver.ts b/clients/client-codeartifact/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codeartifact/src/endpoint/endpointResolver.ts +++ b/clients/client-codeartifact/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codeartifact/src/endpointFunctions.ts b/clients/client-codeartifact/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codeartifact/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codeartifact/src/index.ts b/clients/client-codeartifact/src/index.ts index 93473ee737a2..4410d2403b12 100644 --- a/clients/client-codeartifact/src/index.ts +++ b/clients/client-codeartifact/src/index.ts @@ -285,4 +285,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeartifactServiceException } from "./models/CodeartifactServiceException"; diff --git a/clients/client-codebuild/package.json b/clients/client-codebuild/package.json index e28b931bcfd3..dde24b2e8d05 100644 --- a/clients/client-codebuild/package.json +++ b/clients/client-codebuild/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-codebuild/src/endpoint/endpointResolver.ts b/clients/client-codebuild/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codebuild/src/endpoint/endpointResolver.ts +++ b/clients/client-codebuild/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codebuild/src/endpointFunctions.ts b/clients/client-codebuild/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codebuild/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codebuild/src/index.ts b/clients/client-codebuild/src/index.ts index 6d3919f56e03..8d4b8d10dce9 100644 --- a/clients/client-codebuild/src/index.ts +++ b/clients/client-codebuild/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeBuildServiceException } from "./models/CodeBuildServiceException"; diff --git a/clients/client-codecatalyst/package.json b/clients/client-codecatalyst/package.json index e78fab44dba6..a3986dbf749c 100644 --- a/clients/client-codecatalyst/package.json +++ b/clients/client-codecatalyst/package.json @@ -51,6 +51,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-codecatalyst/src/endpoint/endpointResolver.ts b/clients/client-codecatalyst/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codecatalyst/src/endpoint/endpointResolver.ts +++ b/clients/client-codecatalyst/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codecatalyst/src/endpointFunctions.ts b/clients/client-codecatalyst/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codecatalyst/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codecatalyst/src/index.ts b/clients/client-codecatalyst/src/index.ts index 985e2501f27a..f9f96ff5e3c6 100644 --- a/clients/client-codecatalyst/src/index.ts +++ b/clients/client-codecatalyst/src/index.ts @@ -163,4 +163,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeCatalystServiceException } from "./models/CodeCatalystServiceException"; diff --git a/clients/client-codecommit/package.json b/clients/client-codecommit/package.json index f74b5da88a29..fff3de8b763b 100644 --- a/clients/client-codecommit/package.json +++ b/clients/client-codecommit/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-codecommit/src/endpoint/endpointResolver.ts b/clients/client-codecommit/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codecommit/src/endpoint/endpointResolver.ts +++ b/clients/client-codecommit/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codecommit/src/endpointFunctions.ts b/clients/client-codecommit/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codecommit/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codecommit/src/index.ts b/clients/client-codecommit/src/index.ts index 19fe4a4ed55c..cbbc06d35bb1 100644 --- a/clients/client-codecommit/src/index.ts +++ b/clients/client-codecommit/src/index.ts @@ -392,4 +392,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeCommitServiceException } from "./models/CodeCommitServiceException"; diff --git a/clients/client-codedeploy/package.json b/clients/client-codedeploy/package.json index 28bd69f5fb25..11e32d3c993c 100644 --- a/clients/client-codedeploy/package.json +++ b/clients/client-codedeploy/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-codedeploy/src/endpoint/endpointResolver.ts b/clients/client-codedeploy/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codedeploy/src/endpoint/endpointResolver.ts +++ b/clients/client-codedeploy/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codedeploy/src/endpointFunctions.ts b/clients/client-codedeploy/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codedeploy/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codedeploy/src/index.ts b/clients/client-codedeploy/src/index.ts index 310e45c72f3f..8cf007fcc45f 100644 --- a/clients/client-codedeploy/src/index.ts +++ b/clients/client-codedeploy/src/index.ts @@ -105,4 +105,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeDeployServiceException } from "./models/CodeDeployServiceException"; diff --git a/clients/client-codeguru-reviewer/package.json b/clients/client-codeguru-reviewer/package.json index a3f4c41c7b97..93c044682a95 100644 --- a/clients/client-codeguru-reviewer/package.json +++ b/clients/client-codeguru-reviewer/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-codeguru-reviewer/src/endpoint/endpointResolver.ts b/clients/client-codeguru-reviewer/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codeguru-reviewer/src/endpoint/endpointResolver.ts +++ b/clients/client-codeguru-reviewer/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codeguru-reviewer/src/endpointFunctions.ts b/clients/client-codeguru-reviewer/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codeguru-reviewer/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codeguru-reviewer/src/index.ts b/clients/client-codeguru-reviewer/src/index.ts index 1fb4a9a12e0b..676875a63a41 100644 --- a/clients/client-codeguru-reviewer/src/index.ts +++ b/clients/client-codeguru-reviewer/src/index.ts @@ -27,4 +27,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeGuruReviewerServiceException } from "./models/CodeGuruReviewerServiceException"; diff --git a/clients/client-codeguru-security/package.json b/clients/client-codeguru-security/package.json index 755eb9fd69fa..544680cfa537 100644 --- a/clients/client-codeguru-security/package.json +++ b/clients/client-codeguru-security/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-codeguru-security/src/endpoint/endpointResolver.ts b/clients/client-codeguru-security/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codeguru-security/src/endpoint/endpointResolver.ts +++ b/clients/client-codeguru-security/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codeguru-security/src/endpointFunctions.ts b/clients/client-codeguru-security/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codeguru-security/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codeguru-security/src/index.ts b/clients/client-codeguru-security/src/index.ts index 5d6bcee3d78d..5ee954cecbb5 100644 --- a/clients/client-codeguru-security/src/index.ts +++ b/clients/client-codeguru-security/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeGuruSecurityServiceException } from "./models/CodeGuruSecurityServiceException"; diff --git a/clients/client-codeguruprofiler/package.json b/clients/client-codeguruprofiler/package.json index 9df6fc959045..02c66b0f8683 100644 --- a/clients/client-codeguruprofiler/package.json +++ b/clients/client-codeguruprofiler/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-codeguruprofiler/src/endpoint/endpointResolver.ts b/clients/client-codeguruprofiler/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codeguruprofiler/src/endpoint/endpointResolver.ts +++ b/clients/client-codeguruprofiler/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codeguruprofiler/src/endpointFunctions.ts b/clients/client-codeguruprofiler/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codeguruprofiler/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codeguruprofiler/src/index.ts b/clients/client-codeguruprofiler/src/index.ts index 6fac153b4bef..70a705440d31 100644 --- a/clients/client-codeguruprofiler/src/index.ts +++ b/clients/client-codeguruprofiler/src/index.ts @@ -34,4 +34,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeGuruProfilerServiceException } from "./models/CodeGuruProfilerServiceException"; diff --git a/clients/client-codepipeline/package.json b/clients/client-codepipeline/package.json index ee3884e1cdcc..f1370b0909ff 100644 --- a/clients/client-codepipeline/package.json +++ b/clients/client-codepipeline/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-codepipeline/src/endpoint/endpointResolver.ts b/clients/client-codepipeline/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codepipeline/src/endpoint/endpointResolver.ts +++ b/clients/client-codepipeline/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codepipeline/src/endpointFunctions.ts b/clients/client-codepipeline/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codepipeline/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codepipeline/src/index.ts b/clients/client-codepipeline/src/index.ts index e444aabc1ecb..adc94b31f43f 100644 --- a/clients/client-codepipeline/src/index.ts +++ b/clients/client-codepipeline/src/index.ts @@ -205,4 +205,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodePipelineServiceException } from "./models/CodePipelineServiceException"; diff --git a/clients/client-codestar-connections/package.json b/clients/client-codestar-connections/package.json index 2eae2a48ae15..072aefc02bb2 100644 --- a/clients/client-codestar-connections/package.json +++ b/clients/client-codestar-connections/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-codestar-connections/src/endpoint/endpointResolver.ts b/clients/client-codestar-connections/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codestar-connections/src/endpoint/endpointResolver.ts +++ b/clients/client-codestar-connections/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codestar-connections/src/endpointFunctions.ts b/clients/client-codestar-connections/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codestar-connections/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codestar-connections/src/index.ts b/clients/client-codestar-connections/src/index.ts index 115564564911..5832cc3fdf2f 100644 --- a/clients/client-codestar-connections/src/index.ts +++ b/clients/client-codestar-connections/src/index.ts @@ -91,4 +91,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeStarConnectionsServiceException } from "./models/CodeStarConnectionsServiceException"; diff --git a/clients/client-codestar-notifications/package.json b/clients/client-codestar-notifications/package.json index 576668ab1f54..4b7212add68f 100644 --- a/clients/client-codestar-notifications/package.json +++ b/clients/client-codestar-notifications/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-codestar-notifications/src/endpoint/endpointResolver.ts b/clients/client-codestar-notifications/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codestar-notifications/src/endpoint/endpointResolver.ts +++ b/clients/client-codestar-notifications/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codestar-notifications/src/endpointFunctions.ts b/clients/client-codestar-notifications/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codestar-notifications/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codestar-notifications/src/index.ts b/clients/client-codestar-notifications/src/index.ts index 176c6e89b5c9..5cbe8fd8187a 100644 --- a/clients/client-codestar-notifications/src/index.ts +++ b/clients/client-codestar-notifications/src/index.ts @@ -89,4 +89,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodestarNotificationsServiceException } from "./models/CodestarNotificationsServiceException"; diff --git a/clients/client-codestar/package.json b/clients/client-codestar/package.json index e55b2be25f79..d785ecd178e4 100644 --- a/clients/client-codestar/package.json +++ b/clients/client-codestar/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-codestar/src/endpoint/endpointResolver.ts b/clients/client-codestar/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-codestar/src/endpoint/endpointResolver.ts +++ b/clients/client-codestar/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-codestar/src/endpointFunctions.ts b/clients/client-codestar/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-codestar/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-codestar/src/index.ts b/clients/client-codestar/src/index.ts index 5263a0b22b1e..4fbaf5695bab 100644 --- a/clients/client-codestar/src/index.ts +++ b/clients/client-codestar/src/index.ts @@ -100,4 +100,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { CodeStarServiceException } from "./models/CodeStarServiceException"; diff --git a/clients/client-cognito-identity-provider/package.json b/clients/client-cognito-identity-provider/package.json index ae6b6e3515ed..4ebfb5b3c8cf 100644 --- a/clients/client-cognito-identity-provider/package.json +++ b/clients/client-cognito-identity-provider/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cognito-identity-provider/src/endpoint/endpointResolver.ts b/clients/client-cognito-identity-provider/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cognito-identity-provider/src/endpoint/endpointResolver.ts +++ b/clients/client-cognito-identity-provider/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cognito-identity-provider/src/endpointFunctions.ts b/clients/client-cognito-identity-provider/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cognito-identity-provider/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cognito-identity-provider/src/index.ts b/clients/client-cognito-identity-provider/src/index.ts index 2938839ab74d..24e355d3d4b6 100644 --- a/clients/client-cognito-identity-provider/src/index.ts +++ b/clients/client-cognito-identity-provider/src/index.ts @@ -78,4 +78,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CognitoIdentityProviderServiceException } from "./models/CognitoIdentityProviderServiceException"; diff --git a/clients/client-cognito-identity/package.json b/clients/client-cognito-identity/package.json index 8a6ab41fef57..9720e88e55d6 100644 --- a/clients/client-cognito-identity/package.json +++ b/clients/client-cognito-identity/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cognito-identity/src/endpoint/endpointResolver.ts b/clients/client-cognito-identity/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cognito-identity/src/endpoint/endpointResolver.ts +++ b/clients/client-cognito-identity/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cognito-identity/src/endpointFunctions.ts b/clients/client-cognito-identity/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cognito-identity/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cognito-identity/src/index.ts b/clients/client-cognito-identity/src/index.ts index 2e6ab691eca1..59707c41e551 100644 --- a/clients/client-cognito-identity/src/index.ts +++ b/clients/client-cognito-identity/src/index.ts @@ -25,4 +25,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CognitoIdentityServiceException } from "./models/CognitoIdentityServiceException"; diff --git a/clients/client-cognito-sync/package.json b/clients/client-cognito-sync/package.json index 6e4be967f0c6..b0665f0d1c65 100644 --- a/clients/client-cognito-sync/package.json +++ b/clients/client-cognito-sync/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cognito-sync/src/endpoint/endpointResolver.ts b/clients/client-cognito-sync/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cognito-sync/src/endpoint/endpointResolver.ts +++ b/clients/client-cognito-sync/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cognito-sync/src/endpointFunctions.ts b/clients/client-cognito-sync/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cognito-sync/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cognito-sync/src/index.ts b/clients/client-cognito-sync/src/index.ts index 4097dc8bf0cf..cdefe26afea5 100644 --- a/clients/client-cognito-sync/src/index.ts +++ b/clients/client-cognito-sync/src/index.ts @@ -23,4 +23,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { CognitoSyncServiceException } from "./models/CognitoSyncServiceException"; diff --git a/clients/client-comprehend/package.json b/clients/client-comprehend/package.json index 6dd7c9e46a15..7231b95c6f35 100644 --- a/clients/client-comprehend/package.json +++ b/clients/client-comprehend/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-comprehend/src/endpoint/endpointResolver.ts b/clients/client-comprehend/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-comprehend/src/endpoint/endpointResolver.ts +++ b/clients/client-comprehend/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-comprehend/src/endpointFunctions.ts b/clients/client-comprehend/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-comprehend/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-comprehend/src/index.ts b/clients/client-comprehend/src/index.ts index 96d2ac092e28..57ffd8ceb391 100644 --- a/clients/client-comprehend/src/index.ts +++ b/clients/client-comprehend/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ComprehendServiceException } from "./models/ComprehendServiceException"; diff --git a/clients/client-comprehendmedical/package.json b/clients/client-comprehendmedical/package.json index 1070d982707c..a9b0981b422f 100644 --- a/clients/client-comprehendmedical/package.json +++ b/clients/client-comprehendmedical/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-comprehendmedical/src/endpoint/endpointResolver.ts b/clients/client-comprehendmedical/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-comprehendmedical/src/endpoint/endpointResolver.ts +++ b/clients/client-comprehendmedical/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-comprehendmedical/src/endpointFunctions.ts b/clients/client-comprehendmedical/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-comprehendmedical/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-comprehendmedical/src/index.ts b/clients/client-comprehendmedical/src/index.ts index 127f4ae49a1f..5b14dc5bae8c 100644 --- a/clients/client-comprehendmedical/src/index.ts +++ b/clients/client-comprehendmedical/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { ComprehendMedicalServiceException } from "./models/ComprehendMedicalServiceException"; diff --git a/clients/client-compute-optimizer/package.json b/clients/client-compute-optimizer/package.json index 82e4b3a98de7..b43f60deceb8 100644 --- a/clients/client-compute-optimizer/package.json +++ b/clients/client-compute-optimizer/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-compute-optimizer/src/endpoint/endpointResolver.ts b/clients/client-compute-optimizer/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-compute-optimizer/src/endpoint/endpointResolver.ts +++ b/clients/client-compute-optimizer/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-compute-optimizer/src/endpointFunctions.ts b/clients/client-compute-optimizer/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-compute-optimizer/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-compute-optimizer/src/index.ts b/clients/client-compute-optimizer/src/index.ts index 50defe3c2197..34d12ead80ff 100644 --- a/clients/client-compute-optimizer/src/index.ts +++ b/clients/client-compute-optimizer/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ComputeOptimizerServiceException } from "./models/ComputeOptimizerServiceException"; diff --git a/clients/client-config-service/package.json b/clients/client-config-service/package.json index 64882fbcf224..1acf2f690cfa 100644 --- a/clients/client-config-service/package.json +++ b/clients/client-config-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-config-service/src/endpoint/endpointResolver.ts b/clients/client-config-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-config-service/src/endpoint/endpointResolver.ts +++ b/clients/client-config-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-config-service/src/endpointFunctions.ts b/clients/client-config-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-config-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-config-service/src/index.ts b/clients/client-config-service/src/index.ts index 55de5be6f17c..3a489a123140 100644 --- a/clients/client-config-service/src/index.ts +++ b/clients/client-config-service/src/index.ts @@ -32,4 +32,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ConfigServiceServiceException } from "./models/ConfigServiceServiceException"; diff --git a/clients/client-connect-contact-lens/package.json b/clients/client-connect-contact-lens/package.json index e72912e13b6a..9bc0d0271aff 100644 --- a/clients/client-connect-contact-lens/package.json +++ b/clients/client-connect-contact-lens/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-connect-contact-lens/src/endpoint/endpointResolver.ts b/clients/client-connect-contact-lens/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-connect-contact-lens/src/endpoint/endpointResolver.ts +++ b/clients/client-connect-contact-lens/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-connect-contact-lens/src/endpointFunctions.ts b/clients/client-connect-contact-lens/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-connect-contact-lens/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-connect-contact-lens/src/index.ts b/clients/client-connect-contact-lens/src/index.ts index a8ea7b334adf..a2a9bd26a5b9 100644 --- a/clients/client-connect-contact-lens/src/index.ts +++ b/clients/client-connect-contact-lens/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ConnectContactLensServiceException } from "./models/ConnectContactLensServiceException"; diff --git a/clients/client-connect/package.json b/clients/client-connect/package.json index 80ff81cc4c9f..9ae3b54fb161 100644 --- a/clients/client-connect/package.json +++ b/clients/client-connect/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-connect/src/endpoint/endpointResolver.ts b/clients/client-connect/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-connect/src/endpoint/endpointResolver.ts +++ b/clients/client-connect/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-connect/src/endpointFunctions.ts b/clients/client-connect/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-connect/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-connect/src/index.ts b/clients/client-connect/src/index.ts index abfdd05ca756..07009dca3e34 100644 --- a/clients/client-connect/src/index.ts +++ b/clients/client-connect/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ConnectServiceException } from "./models/ConnectServiceException"; diff --git a/clients/client-connectcampaigns/package.json b/clients/client-connectcampaigns/package.json index 963cfc64b48b..cfe6f9041b04 100644 --- a/clients/client-connectcampaigns/package.json +++ b/clients/client-connectcampaigns/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-connectcampaigns/src/endpoint/endpointResolver.ts b/clients/client-connectcampaigns/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-connectcampaigns/src/endpoint/endpointResolver.ts +++ b/clients/client-connectcampaigns/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-connectcampaigns/src/endpointFunctions.ts b/clients/client-connectcampaigns/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-connectcampaigns/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-connectcampaigns/src/index.ts b/clients/client-connectcampaigns/src/index.ts index d55960c6ea39..b9b38f8fd073 100644 --- a/clients/client-connectcampaigns/src/index.ts +++ b/clients/client-connectcampaigns/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ConnectCampaignsServiceException } from "./models/ConnectCampaignsServiceException"; diff --git a/clients/client-connectcases/package.json b/clients/client-connectcases/package.json index f8c047035d17..cad0189299a7 100644 --- a/clients/client-connectcases/package.json +++ b/clients/client-connectcases/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-connectcases/src/endpoint/endpointResolver.ts b/clients/client-connectcases/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-connectcases/src/endpoint/endpointResolver.ts +++ b/clients/client-connectcases/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-connectcases/src/endpointFunctions.ts b/clients/client-connectcases/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-connectcases/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-connectcases/src/index.ts b/clients/client-connectcases/src/index.ts index b45a3a8385b1..0cac64ba0890 100644 --- a/clients/client-connectcases/src/index.ts +++ b/clients/client-connectcases/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ConnectCasesServiceException } from "./models/ConnectCasesServiceException"; diff --git a/clients/client-connectparticipant/package.json b/clients/client-connectparticipant/package.json index 02105491f380..096a3438f249 100644 --- a/clients/client-connectparticipant/package.json +++ b/clients/client-connectparticipant/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-connectparticipant/src/endpoint/endpointResolver.ts b/clients/client-connectparticipant/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-connectparticipant/src/endpoint/endpointResolver.ts +++ b/clients/client-connectparticipant/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-connectparticipant/src/endpointFunctions.ts b/clients/client-connectparticipant/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-connectparticipant/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-connectparticipant/src/index.ts b/clients/client-connectparticipant/src/index.ts index dc30de19cf44..0d4a60a9c934 100644 --- a/clients/client-connectparticipant/src/index.ts +++ b/clients/client-connectparticipant/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ConnectParticipantServiceException } from "./models/ConnectParticipantServiceException"; diff --git a/clients/client-controltower/package.json b/clients/client-controltower/package.json index bf93b57989a5..79bbde631524 100644 --- a/clients/client-controltower/package.json +++ b/clients/client-controltower/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-controltower/src/endpoint/endpointResolver.ts b/clients/client-controltower/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-controltower/src/endpoint/endpointResolver.ts +++ b/clients/client-controltower/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-controltower/src/endpointFunctions.ts b/clients/client-controltower/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-controltower/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-controltower/src/index.ts b/clients/client-controltower/src/index.ts index c1cab32fe018..ed123a394574 100644 --- a/clients/client-controltower/src/index.ts +++ b/clients/client-controltower/src/index.ts @@ -114,4 +114,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ControlTowerServiceException } from "./models/ControlTowerServiceException"; diff --git a/clients/client-cost-and-usage-report-service/package.json b/clients/client-cost-and-usage-report-service/package.json index 59bcf278169b..d0f767f69321 100644 --- a/clients/client-cost-and-usage-report-service/package.json +++ b/clients/client-cost-and-usage-report-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cost-and-usage-report-service/src/endpoint/endpointResolver.ts b/clients/client-cost-and-usage-report-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cost-and-usage-report-service/src/endpoint/endpointResolver.ts +++ b/clients/client-cost-and-usage-report-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cost-and-usage-report-service/src/endpointFunctions.ts b/clients/client-cost-and-usage-report-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cost-and-usage-report-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cost-and-usage-report-service/src/index.ts b/clients/client-cost-and-usage-report-service/src/index.ts index 0bac0cddd102..9c4348835894 100644 --- a/clients/client-cost-and-usage-report-service/src/index.ts +++ b/clients/client-cost-and-usage-report-service/src/index.ts @@ -29,4 +29,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CostAndUsageReportServiceServiceException } from "./models/CostAndUsageReportServiceServiceException"; diff --git a/clients/client-cost-explorer/package.json b/clients/client-cost-explorer/package.json index 8c80767e3276..51669e472bb2 100644 --- a/clients/client-cost-explorer/package.json +++ b/clients/client-cost-explorer/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-cost-explorer/src/endpoint/endpointResolver.ts b/clients/client-cost-explorer/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-cost-explorer/src/endpoint/endpointResolver.ts +++ b/clients/client-cost-explorer/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-cost-explorer/src/endpointFunctions.ts b/clients/client-cost-explorer/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-cost-explorer/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-cost-explorer/src/index.ts b/clients/client-cost-explorer/src/index.ts index 3110b10e0eac..3d9df5b7371d 100644 --- a/clients/client-cost-explorer/src/index.ts +++ b/clients/client-cost-explorer/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CostExplorerServiceException } from "./models/CostExplorerServiceException"; diff --git a/clients/client-customer-profiles/package.json b/clients/client-customer-profiles/package.json index 1d9885a76114..4f371920661a 100644 --- a/clients/client-customer-profiles/package.json +++ b/clients/client-customer-profiles/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-customer-profiles/src/endpoint/endpointResolver.ts b/clients/client-customer-profiles/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-customer-profiles/src/endpoint/endpointResolver.ts +++ b/clients/client-customer-profiles/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-customer-profiles/src/endpointFunctions.ts b/clients/client-customer-profiles/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-customer-profiles/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-customer-profiles/src/index.ts b/clients/client-customer-profiles/src/index.ts index 05a9b0e59a89..ea8e9f1e389f 100644 --- a/clients/client-customer-profiles/src/index.ts +++ b/clients/client-customer-profiles/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { CustomerProfilesServiceException } from "./models/CustomerProfilesServiceException"; diff --git a/clients/client-data-pipeline/package.json b/clients/client-data-pipeline/package.json index 77cc92404349..9ae0877ba476 100644 --- a/clients/client-data-pipeline/package.json +++ b/clients/client-data-pipeline/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-data-pipeline/src/endpoint/endpointResolver.ts b/clients/client-data-pipeline/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-data-pipeline/src/endpoint/endpointResolver.ts +++ b/clients/client-data-pipeline/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-data-pipeline/src/endpointFunctions.ts b/clients/client-data-pipeline/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-data-pipeline/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-data-pipeline/src/index.ts b/clients/client-data-pipeline/src/index.ts index f14a81f7e6b4..176a53d6cecd 100644 --- a/clients/client-data-pipeline/src/index.ts +++ b/clients/client-data-pipeline/src/index.ts @@ -28,4 +28,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DataPipelineServiceException } from "./models/DataPipelineServiceException"; diff --git a/clients/client-database-migration-service/package.json b/clients/client-database-migration-service/package.json index 927d404474cc..234e49c98706 100644 --- a/clients/client-database-migration-service/package.json +++ b/clients/client-database-migration-service/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-database-migration-service/src/endpoint/endpointResolver.ts b/clients/client-database-migration-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-database-migration-service/src/endpoint/endpointResolver.ts +++ b/clients/client-database-migration-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-database-migration-service/src/endpointFunctions.ts b/clients/client-database-migration-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-database-migration-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-database-migration-service/src/index.ts b/clients/client-database-migration-service/src/index.ts index aa7a13126bc2..6d1ebaca9293 100644 --- a/clients/client-database-migration-service/src/index.ts +++ b/clients/client-database-migration-service/src/index.ts @@ -22,4 +22,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { DatabaseMigrationServiceServiceException } from "./models/DatabaseMigrationServiceServiceException"; diff --git a/clients/client-databrew/package.json b/clients/client-databrew/package.json index 0a1e7e7aab4e..b3567d79aeb1 100644 --- a/clients/client-databrew/package.json +++ b/clients/client-databrew/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-databrew/src/endpoint/endpointResolver.ts b/clients/client-databrew/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-databrew/src/endpoint/endpointResolver.ts +++ b/clients/client-databrew/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-databrew/src/endpointFunctions.ts b/clients/client-databrew/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-databrew/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-databrew/src/index.ts b/clients/client-databrew/src/index.ts index acb3aee5d146..f15077d4f1ef 100644 --- a/clients/client-databrew/src/index.ts +++ b/clients/client-databrew/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DataBrewServiceException } from "./models/DataBrewServiceException"; diff --git a/clients/client-dataexchange/package.json b/clients/client-dataexchange/package.json index 46a81515059d..8d1fa4920fd2 100644 --- a/clients/client-dataexchange/package.json +++ b/clients/client-dataexchange/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-dataexchange/src/endpoint/endpointResolver.ts b/clients/client-dataexchange/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-dataexchange/src/endpoint/endpointResolver.ts +++ b/clients/client-dataexchange/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-dataexchange/src/endpointFunctions.ts b/clients/client-dataexchange/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-dataexchange/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-dataexchange/src/index.ts b/clients/client-dataexchange/src/index.ts index 13890c65f92c..1c5f5d484e10 100644 --- a/clients/client-dataexchange/src/index.ts +++ b/clients/client-dataexchange/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DataExchangeServiceException } from "./models/DataExchangeServiceException"; diff --git a/clients/client-datasync/package.json b/clients/client-datasync/package.json index e204b59281f6..6cb4890920ba 100644 --- a/clients/client-datasync/package.json +++ b/clients/client-datasync/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-datasync/src/endpoint/endpointResolver.ts b/clients/client-datasync/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-datasync/src/endpoint/endpointResolver.ts +++ b/clients/client-datasync/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-datasync/src/endpointFunctions.ts b/clients/client-datasync/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-datasync/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-datasync/src/index.ts b/clients/client-datasync/src/index.ts index a6173ea006cf..bb57ad738e90 100644 --- a/clients/client-datasync/src/index.ts +++ b/clients/client-datasync/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DataSyncServiceException } from "./models/DataSyncServiceException"; diff --git a/clients/client-datazone/package.json b/clients/client-datazone/package.json index a3ac26220f81..cb802b095aef 100644 --- a/clients/client-datazone/package.json +++ b/clients/client-datazone/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-datazone/src/endpoint/endpointResolver.ts b/clients/client-datazone/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-datazone/src/endpoint/endpointResolver.ts +++ b/clients/client-datazone/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-datazone/src/endpointFunctions.ts b/clients/client-datazone/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-datazone/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-datazone/src/index.ts b/clients/client-datazone/src/index.ts index c814c32b7c44..d3ea88a61c67 100644 --- a/clients/client-datazone/src/index.ts +++ b/clients/client-datazone/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DataZoneServiceException } from "./models/DataZoneServiceException"; diff --git a/clients/client-dax/package.json b/clients/client-dax/package.json index 04462b23deb6..c12c9118584b 100644 --- a/clients/client-dax/package.json +++ b/clients/client-dax/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-dax/src/endpoint/endpointResolver.ts b/clients/client-dax/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-dax/src/endpoint/endpointResolver.ts +++ b/clients/client-dax/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-dax/src/endpointFunctions.ts b/clients/client-dax/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-dax/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-dax/src/index.ts b/clients/client-dax/src/index.ts index 472f0fe52fed..2718e251207e 100644 --- a/clients/client-dax/src/index.ts +++ b/clients/client-dax/src/index.ts @@ -16,4 +16,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { DAXServiceException } from "./models/DAXServiceException"; diff --git a/clients/client-detective/package.json b/clients/client-detective/package.json index de67ae35c43f..0c2927249027 100644 --- a/clients/client-detective/package.json +++ b/clients/client-detective/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-detective/src/endpoint/endpointResolver.ts b/clients/client-detective/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-detective/src/endpoint/endpointResolver.ts +++ b/clients/client-detective/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-detective/src/endpointFunctions.ts b/clients/client-detective/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-detective/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-detective/src/index.ts b/clients/client-detective/src/index.ts index 083d77a4d871..fd10b697aa37 100644 --- a/clients/client-detective/src/index.ts +++ b/clients/client-detective/src/index.ts @@ -87,4 +87,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DetectiveServiceException } from "./models/DetectiveServiceException"; diff --git a/clients/client-device-farm/package.json b/clients/client-device-farm/package.json index 0633f85731ec..2053ff39e5a5 100644 --- a/clients/client-device-farm/package.json +++ b/clients/client-device-farm/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-device-farm/src/endpoint/endpointResolver.ts b/clients/client-device-farm/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-device-farm/src/endpoint/endpointResolver.ts +++ b/clients/client-device-farm/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-device-farm/src/endpointFunctions.ts b/clients/client-device-farm/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-device-farm/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-device-farm/src/index.ts b/clients/client-device-farm/src/index.ts index 8bf6926190e9..dbbc2041d809 100644 --- a/clients/client-device-farm/src/index.ts +++ b/clients/client-device-farm/src/index.ts @@ -26,4 +26,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DeviceFarmServiceException } from "./models/DeviceFarmServiceException"; diff --git a/clients/client-devops-guru/package.json b/clients/client-devops-guru/package.json index 1f8567725e58..ceedb7999eae 100644 --- a/clients/client-devops-guru/package.json +++ b/clients/client-devops-guru/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-devops-guru/src/endpoint/endpointResolver.ts b/clients/client-devops-guru/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-devops-guru/src/endpoint/endpointResolver.ts +++ b/clients/client-devops-guru/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-devops-guru/src/endpointFunctions.ts b/clients/client-devops-guru/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-devops-guru/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-devops-guru/src/index.ts b/clients/client-devops-guru/src/index.ts index 8794f2f2a03f..c0890bb96404 100644 --- a/clients/client-devops-guru/src/index.ts +++ b/clients/client-devops-guru/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DevOpsGuruServiceException } from "./models/DevOpsGuruServiceException"; diff --git a/clients/client-direct-connect/package.json b/clients/client-direct-connect/package.json index 48a0fa1a4b81..39ec415e3b6d 100644 --- a/clients/client-direct-connect/package.json +++ b/clients/client-direct-connect/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-direct-connect/src/endpoint/endpointResolver.ts b/clients/client-direct-connect/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-direct-connect/src/endpoint/endpointResolver.ts +++ b/clients/client-direct-connect/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-direct-connect/src/endpointFunctions.ts b/clients/client-direct-connect/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-direct-connect/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-direct-connect/src/index.ts b/clients/client-direct-connect/src/index.ts index 093d07c2cb9c..1d273667e2d3 100644 --- a/clients/client-direct-connect/src/index.ts +++ b/clients/client-direct-connect/src/index.ts @@ -16,4 +16,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { DirectConnectServiceException } from "./models/DirectConnectServiceException"; diff --git a/clients/client-directory-service/package.json b/clients/client-directory-service/package.json index 703660e46fa8..88f117b2e85e 100644 --- a/clients/client-directory-service/package.json +++ b/clients/client-directory-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-directory-service/src/endpoint/endpointResolver.ts b/clients/client-directory-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-directory-service/src/endpoint/endpointResolver.ts +++ b/clients/client-directory-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-directory-service/src/endpointFunctions.ts b/clients/client-directory-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-directory-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-directory-service/src/index.ts b/clients/client-directory-service/src/index.ts index b68a8f1a2984..4bdecb0997f2 100644 --- a/clients/client-directory-service/src/index.ts +++ b/clients/client-directory-service/src/index.ts @@ -25,4 +25,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DirectoryServiceServiceException } from "./models/DirectoryServiceServiceException"; diff --git a/clients/client-dlm/package.json b/clients/client-dlm/package.json index c581e32b7526..501d68ba5e30 100644 --- a/clients/client-dlm/package.json +++ b/clients/client-dlm/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-dlm/src/endpoint/endpointResolver.ts b/clients/client-dlm/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-dlm/src/endpoint/endpointResolver.ts +++ b/clients/client-dlm/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-dlm/src/endpointFunctions.ts b/clients/client-dlm/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-dlm/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-dlm/src/index.ts b/clients/client-dlm/src/index.ts index 72480da12fc9..a3a384ad48dc 100644 --- a/clients/client-dlm/src/index.ts +++ b/clients/client-dlm/src/index.ts @@ -17,4 +17,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { DLMServiceException } from "./models/DLMServiceException"; diff --git a/clients/client-docdb-elastic/package.json b/clients/client-docdb-elastic/package.json index daec09477f08..298f1a720793 100644 --- a/clients/client-docdb-elastic/package.json +++ b/clients/client-docdb-elastic/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-docdb-elastic/src/endpoint/endpointResolver.ts b/clients/client-docdb-elastic/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-docdb-elastic/src/endpoint/endpointResolver.ts +++ b/clients/client-docdb-elastic/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-docdb-elastic/src/endpointFunctions.ts b/clients/client-docdb-elastic/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-docdb-elastic/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-docdb-elastic/src/index.ts b/clients/client-docdb-elastic/src/index.ts index 6bde4aac1eb0..a5801ffa6821 100644 --- a/clients/client-docdb-elastic/src/index.ts +++ b/clients/client-docdb-elastic/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DocDBElasticServiceException } from "./models/DocDBElasticServiceException"; diff --git a/clients/client-docdb/package.json b/clients/client-docdb/package.json index bce3707ac1dd..4b849390cb04 100644 --- a/clients/client-docdb/package.json +++ b/clients/client-docdb/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-docdb/src/endpoint/endpointResolver.ts b/clients/client-docdb/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-docdb/src/endpoint/endpointResolver.ts +++ b/clients/client-docdb/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-docdb/src/endpointFunctions.ts b/clients/client-docdb/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-docdb/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-docdb/src/index.ts b/clients/client-docdb/src/index.ts index f402bea2fa09..179a714dfa51 100644 --- a/clients/client-docdb/src/index.ts +++ b/clients/client-docdb/src/index.ts @@ -15,4 +15,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { DocDBServiceException } from "./models/DocDBServiceException"; diff --git a/clients/client-drs/package.json b/clients/client-drs/package.json index d612502045ea..176865a2535b 100644 --- a/clients/client-drs/package.json +++ b/clients/client-drs/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-drs/src/endpoint/endpointResolver.ts b/clients/client-drs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-drs/src/endpoint/endpointResolver.ts +++ b/clients/client-drs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-drs/src/endpointFunctions.ts b/clients/client-drs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-drs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-drs/src/index.ts b/clients/client-drs/src/index.ts index 931cc334b07b..7ab66afd3e03 100644 --- a/clients/client-drs/src/index.ts +++ b/clients/client-drs/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { DrsServiceException } from "./models/DrsServiceException"; diff --git a/clients/client-dynamodb-streams/package.json b/clients/client-dynamodb-streams/package.json index 68a67fc37dcd..1fd6a0800864 100644 --- a/clients/client-dynamodb-streams/package.json +++ b/clients/client-dynamodb-streams/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-dynamodb-streams/src/endpoint/endpointResolver.ts b/clients/client-dynamodb-streams/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-dynamodb-streams/src/endpoint/endpointResolver.ts +++ b/clients/client-dynamodb-streams/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-dynamodb-streams/src/endpointFunctions.ts b/clients/client-dynamodb-streams/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-dynamodb-streams/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-dynamodb-streams/src/index.ts b/clients/client-dynamodb-streams/src/index.ts index c75327397527..fdaf19c382d2 100644 --- a/clients/client-dynamodb-streams/src/index.ts +++ b/clients/client-dynamodb-streams/src/index.ts @@ -15,4 +15,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { DynamoDBStreamsServiceException } from "./models/DynamoDBStreamsServiceException"; diff --git a/clients/client-dynamodb/package.json b/clients/client-dynamodb/package.json index e947314c90c5..c3021db889b6 100644 --- a/clients/client-dynamodb/package.json +++ b/clients/client-dynamodb/package.json @@ -55,6 +55,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-dynamodb/src/endpoint/endpointResolver.ts b/clients/client-dynamodb/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-dynamodb/src/endpoint/endpointResolver.ts +++ b/clients/client-dynamodb/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-dynamodb/src/endpointFunctions.ts b/clients/client-dynamodb/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-dynamodb/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-dynamodb/src/index.ts b/clients/client-dynamodb/src/index.ts index c8adee51b878..d556339a0961 100644 --- a/clients/client-dynamodb/src/index.ts +++ b/clients/client-dynamodb/src/index.ts @@ -29,4 +29,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { DynamoDBServiceException } from "./models/DynamoDBServiceException"; diff --git a/clients/client-ebs/package.json b/clients/client-ebs/package.json index 3f4a6ed5efd9..467ecbe6e886 100644 --- a/clients/client-ebs/package.json +++ b/clients/client-ebs/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-ebs/src/endpoint/endpointResolver.ts b/clients/client-ebs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ebs/src/endpoint/endpointResolver.ts +++ b/clients/client-ebs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ebs/src/endpointFunctions.ts b/clients/client-ebs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ebs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ebs/src/index.ts b/clients/client-ebs/src/index.ts index 0da4d87110cc..5df2727927ae 100644 --- a/clients/client-ebs/src/index.ts +++ b/clients/client-ebs/src/index.ts @@ -28,4 +28,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { EBSServiceException } from "./models/EBSServiceException"; diff --git a/clients/client-ec2-instance-connect/package.json b/clients/client-ec2-instance-connect/package.json index 39ed372b39d3..24097cff51ee 100644 --- a/clients/client-ec2-instance-connect/package.json +++ b/clients/client-ec2-instance-connect/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-ec2-instance-connect/src/endpoint/endpointResolver.ts b/clients/client-ec2-instance-connect/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ec2-instance-connect/src/endpoint/endpointResolver.ts +++ b/clients/client-ec2-instance-connect/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ec2-instance-connect/src/endpointFunctions.ts b/clients/client-ec2-instance-connect/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ec2-instance-connect/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ec2-instance-connect/src/index.ts b/clients/client-ec2-instance-connect/src/index.ts index f30e1374596d..d1224d694efb 100644 --- a/clients/client-ec2-instance-connect/src/index.ts +++ b/clients/client-ec2-instance-connect/src/index.ts @@ -13,4 +13,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { EC2InstanceConnectServiceException } from "./models/EC2InstanceConnectServiceException"; diff --git a/clients/client-ec2/package.json b/clients/client-ec2/package.json index c4d7a7f1eac4..98ce996d1426 100644 --- a/clients/client-ec2/package.json +++ b/clients/client-ec2/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-ec2/src/endpoint/endpointResolver.ts b/clients/client-ec2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ec2/src/endpoint/endpointResolver.ts +++ b/clients/client-ec2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ec2/src/endpointFunctions.ts b/clients/client-ec2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ec2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ec2/src/index.ts b/clients/client-ec2/src/index.ts index ae5dbb43e569..baf78a5e3b99 100644 --- a/clients/client-ec2/src/index.ts +++ b/clients/client-ec2/src/index.ts @@ -38,4 +38,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { EC2ServiceException } from "./models/EC2ServiceException"; diff --git a/clients/client-ecr-public/package.json b/clients/client-ecr-public/package.json index a4c24de5046b..5aef90135537 100644 --- a/clients/client-ecr-public/package.json +++ b/clients/client-ecr-public/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-ecr-public/src/endpoint/endpointResolver.ts b/clients/client-ecr-public/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ecr-public/src/endpoint/endpointResolver.ts +++ b/clients/client-ecr-public/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ecr-public/src/endpointFunctions.ts b/clients/client-ecr-public/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ecr-public/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ecr-public/src/index.ts b/clients/client-ecr-public/src/index.ts index 221da1fa55a9..ae15598c0d1e 100644 --- a/clients/client-ecr-public/src/index.ts +++ b/clients/client-ecr-public/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ECRPUBLICServiceException } from "./models/ECRPUBLICServiceException"; diff --git a/clients/client-ecr/package.json b/clients/client-ecr/package.json index 9376b54d1f48..c7c2340a7063 100644 --- a/clients/client-ecr/package.json +++ b/clients/client-ecr/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-ecr/src/endpoint/endpointResolver.ts b/clients/client-ecr/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ecr/src/endpoint/endpointResolver.ts +++ b/clients/client-ecr/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ecr/src/endpointFunctions.ts b/clients/client-ecr/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ecr/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ecr/src/index.ts b/clients/client-ecr/src/index.ts index 30ca0157d815..145b3b5f041b 100644 --- a/clients/client-ecr/src/index.ts +++ b/clients/client-ecr/src/index.ts @@ -21,4 +21,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ECRServiceException } from "./models/ECRServiceException"; diff --git a/clients/client-ecs/package.json b/clients/client-ecs/package.json index dd0052e81b13..4b2e518dc2cc 100644 --- a/clients/client-ecs/package.json +++ b/clients/client-ecs/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-ecs/src/endpoint/endpointResolver.ts b/clients/client-ecs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ecs/src/endpoint/endpointResolver.ts +++ b/clients/client-ecs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ecs/src/endpointFunctions.ts b/clients/client-ecs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ecs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ecs/src/index.ts b/clients/client-ecs/src/index.ts index 2c8bf21da289..3e512aa159ac 100644 --- a/clients/client-ecs/src/index.ts +++ b/clients/client-ecs/src/index.ts @@ -25,4 +25,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ECSServiceException } from "./models/ECSServiceException"; diff --git a/clients/client-efs/package.json b/clients/client-efs/package.json index 8219454cdad5..746e5609c536 100644 --- a/clients/client-efs/package.json +++ b/clients/client-efs/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-efs/src/endpoint/endpointResolver.ts b/clients/client-efs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-efs/src/endpoint/endpointResolver.ts +++ b/clients/client-efs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-efs/src/endpointFunctions.ts b/clients/client-efs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-efs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-efs/src/index.ts b/clients/client-efs/src/index.ts index 7b9c0940be9e..0514b8547d32 100644 --- a/clients/client-efs/src/index.ts +++ b/clients/client-efs/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { EFSServiceException } from "./models/EFSServiceException"; diff --git a/clients/client-eks/package.json b/clients/client-eks/package.json index 278f1d44d917..a6e727eb017b 100644 --- a/clients/client-eks/package.json +++ b/clients/client-eks/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-eks/src/endpoint/endpointResolver.ts b/clients/client-eks/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-eks/src/endpoint/endpointResolver.ts +++ b/clients/client-eks/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-eks/src/endpointFunctions.ts b/clients/client-eks/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-eks/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-eks/src/index.ts b/clients/client-eks/src/index.ts index 924fae51fca6..af8914327383 100644 --- a/clients/client-eks/src/index.ts +++ b/clients/client-eks/src/index.ts @@ -22,4 +22,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { EKSServiceException } from "./models/EKSServiceException"; diff --git a/clients/client-elastic-beanstalk/package.json b/clients/client-elastic-beanstalk/package.json index c0fd9237b62a..81ac862c3a7b 100644 --- a/clients/client-elastic-beanstalk/package.json +++ b/clients/client-elastic-beanstalk/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-elastic-beanstalk/src/endpoint/endpointResolver.ts b/clients/client-elastic-beanstalk/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-elastic-beanstalk/src/endpoint/endpointResolver.ts +++ b/clients/client-elastic-beanstalk/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-elastic-beanstalk/src/endpointFunctions.ts b/clients/client-elastic-beanstalk/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-elastic-beanstalk/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-elastic-beanstalk/src/index.ts b/clients/client-elastic-beanstalk/src/index.ts index 00d54d55ae7e..5bbf5c23e8d0 100644 --- a/clients/client-elastic-beanstalk/src/index.ts +++ b/clients/client-elastic-beanstalk/src/index.ts @@ -25,4 +25,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ElasticBeanstalkServiceException } from "./models/ElasticBeanstalkServiceException"; diff --git a/clients/client-elastic-inference/package.json b/clients/client-elastic-inference/package.json index b65cf8d8d0fc..5e59d959cf16 100644 --- a/clients/client-elastic-inference/package.json +++ b/clients/client-elastic-inference/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-elastic-inference/src/endpoint/endpointResolver.ts b/clients/client-elastic-inference/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-elastic-inference/src/endpoint/endpointResolver.ts +++ b/clients/client-elastic-inference/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-elastic-inference/src/endpointFunctions.ts b/clients/client-elastic-inference/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-elastic-inference/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-elastic-inference/src/index.ts b/clients/client-elastic-inference/src/index.ts index ae0a47ca8161..e94d8c982172 100644 --- a/clients/client-elastic-inference/src/index.ts +++ b/clients/client-elastic-inference/src/index.ts @@ -19,4 +19,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ElasticInferenceServiceException } from "./models/ElasticInferenceServiceException"; diff --git a/clients/client-elastic-load-balancing-v2/package.json b/clients/client-elastic-load-balancing-v2/package.json index 0d8c96e03735..5669fca4248e 100644 --- a/clients/client-elastic-load-balancing-v2/package.json +++ b/clients/client-elastic-load-balancing-v2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-elastic-load-balancing-v2/src/endpoint/endpointResolver.ts b/clients/client-elastic-load-balancing-v2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-elastic-load-balancing-v2/src/endpoint/endpointResolver.ts +++ b/clients/client-elastic-load-balancing-v2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-elastic-load-balancing-v2/src/endpointFunctions.ts b/clients/client-elastic-load-balancing-v2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-elastic-load-balancing-v2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-elastic-load-balancing-v2/src/index.ts b/clients/client-elastic-load-balancing-v2/src/index.ts index 5788dc7d6fb0..80e80848305d 100644 --- a/clients/client-elastic-load-balancing-v2/src/index.ts +++ b/clients/client-elastic-load-balancing-v2/src/index.ts @@ -41,4 +41,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ElasticLoadBalancingV2ServiceException } from "./models/ElasticLoadBalancingV2ServiceException"; diff --git a/clients/client-elastic-load-balancing/package.json b/clients/client-elastic-load-balancing/package.json index 695205a45cc2..aa1d2f993b44 100644 --- a/clients/client-elastic-load-balancing/package.json +++ b/clients/client-elastic-load-balancing/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-elastic-load-balancing/src/endpoint/endpointResolver.ts b/clients/client-elastic-load-balancing/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-elastic-load-balancing/src/endpoint/endpointResolver.ts +++ b/clients/client-elastic-load-balancing/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-elastic-load-balancing/src/endpointFunctions.ts b/clients/client-elastic-load-balancing/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-elastic-load-balancing/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-elastic-load-balancing/src/index.ts b/clients/client-elastic-load-balancing/src/index.ts index affd00f092e9..489579dc0afa 100644 --- a/clients/client-elastic-load-balancing/src/index.ts +++ b/clients/client-elastic-load-balancing/src/index.ts @@ -33,4 +33,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ElasticLoadBalancingServiceException } from "./models/ElasticLoadBalancingServiceException"; diff --git a/clients/client-elastic-transcoder/package.json b/clients/client-elastic-transcoder/package.json index d012e565793b..40e2f2989f90 100644 --- a/clients/client-elastic-transcoder/package.json +++ b/clients/client-elastic-transcoder/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-elastic-transcoder/src/endpoint/endpointResolver.ts b/clients/client-elastic-transcoder/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-elastic-transcoder/src/endpoint/endpointResolver.ts +++ b/clients/client-elastic-transcoder/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-elastic-transcoder/src/endpointFunctions.ts b/clients/client-elastic-transcoder/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-elastic-transcoder/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-elastic-transcoder/src/index.ts b/clients/client-elastic-transcoder/src/index.ts index 41a7947f8909..81453f8215e8 100644 --- a/clients/client-elastic-transcoder/src/index.ts +++ b/clients/client-elastic-transcoder/src/index.ts @@ -14,4 +14,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ElasticTranscoderServiceException } from "./models/ElasticTranscoderServiceException"; diff --git a/clients/client-elasticache/package.json b/clients/client-elasticache/package.json index 8ee00924006a..bb0d79a0138d 100644 --- a/clients/client-elasticache/package.json +++ b/clients/client-elasticache/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-elasticache/src/endpoint/endpointResolver.ts b/clients/client-elasticache/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-elasticache/src/endpoint/endpointResolver.ts +++ b/clients/client-elasticache/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-elasticache/src/endpointFunctions.ts b/clients/client-elasticache/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-elasticache/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-elasticache/src/index.ts b/clients/client-elasticache/src/index.ts index b73e07428832..9a0e68b40bd8 100644 --- a/clients/client-elasticache/src/index.ts +++ b/clients/client-elasticache/src/index.ts @@ -22,4 +22,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ElastiCacheServiceException } from "./models/ElastiCacheServiceException"; diff --git a/clients/client-elasticsearch-service/package.json b/clients/client-elasticsearch-service/package.json index b1ec973cc389..e5452a26afa2 100644 --- a/clients/client-elasticsearch-service/package.json +++ b/clients/client-elasticsearch-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-elasticsearch-service/src/endpoint/endpointResolver.ts b/clients/client-elasticsearch-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-elasticsearch-service/src/endpoint/endpointResolver.ts +++ b/clients/client-elasticsearch-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-elasticsearch-service/src/endpointFunctions.ts b/clients/client-elasticsearch-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-elasticsearch-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-elasticsearch-service/src/index.ts b/clients/client-elasticsearch-service/src/index.ts index 2aea7052127a..0bbbc4deac18 100644 --- a/clients/client-elasticsearch-service/src/index.ts +++ b/clients/client-elasticsearch-service/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ElasticsearchServiceServiceException } from "./models/ElasticsearchServiceServiceException"; diff --git a/clients/client-emr-containers/package.json b/clients/client-emr-containers/package.json index ebfd9ff6c90c..f2ef97656e52 100644 --- a/clients/client-emr-containers/package.json +++ b/clients/client-emr-containers/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-emr-containers/src/endpoint/endpointResolver.ts b/clients/client-emr-containers/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-emr-containers/src/endpoint/endpointResolver.ts +++ b/clients/client-emr-containers/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-emr-containers/src/endpointFunctions.ts b/clients/client-emr-containers/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-emr-containers/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-emr-containers/src/index.ts b/clients/client-emr-containers/src/index.ts index 63e5c4a0f3cd..08ab6d956653 100644 --- a/clients/client-emr-containers/src/index.ts +++ b/clients/client-emr-containers/src/index.ts @@ -35,4 +35,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { EMRContainersServiceException } from "./models/EMRContainersServiceException"; diff --git a/clients/client-emr-serverless/package.json b/clients/client-emr-serverless/package.json index c2d2e3be051d..064691349d28 100644 --- a/clients/client-emr-serverless/package.json +++ b/clients/client-emr-serverless/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-emr-serverless/src/endpoint/endpointResolver.ts b/clients/client-emr-serverless/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-emr-serverless/src/endpoint/endpointResolver.ts +++ b/clients/client-emr-serverless/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-emr-serverless/src/endpointFunctions.ts b/clients/client-emr-serverless/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-emr-serverless/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-emr-serverless/src/index.ts b/clients/client-emr-serverless/src/index.ts index 89cb1f512491..0d8059561254 100644 --- a/clients/client-emr-serverless/src/index.ts +++ b/clients/client-emr-serverless/src/index.ts @@ -32,4 +32,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { EMRServerlessServiceException } from "./models/EMRServerlessServiceException"; diff --git a/clients/client-emr/package.json b/clients/client-emr/package.json index 689fed8c65d6..37ca0a39f599 100644 --- a/clients/client-emr/package.json +++ b/clients/client-emr/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-emr/src/endpoint/endpointResolver.ts b/clients/client-emr/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-emr/src/endpoint/endpointResolver.ts +++ b/clients/client-emr/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-emr/src/endpointFunctions.ts b/clients/client-emr/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-emr/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-emr/src/index.ts b/clients/client-emr/src/index.ts index e39d471d0709..e14694abb604 100644 --- a/clients/client-emr/src/index.ts +++ b/clients/client-emr/src/index.ts @@ -15,4 +15,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { EMRServiceException } from "./models/EMRServiceException"; diff --git a/clients/client-entityresolution/package.json b/clients/client-entityresolution/package.json index d1a6b54bc24e..9c7f56b2dca2 100644 --- a/clients/client-entityresolution/package.json +++ b/clients/client-entityresolution/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-entityresolution/src/endpoint/endpointResolver.ts b/clients/client-entityresolution/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-entityresolution/src/endpoint/endpointResolver.ts +++ b/clients/client-entityresolution/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-entityresolution/src/endpointFunctions.ts b/clients/client-entityresolution/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-entityresolution/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-entityresolution/src/index.ts b/clients/client-entityresolution/src/index.ts index 7d4686c28d22..2e08aa911fa6 100644 --- a/clients/client-entityresolution/src/index.ts +++ b/clients/client-entityresolution/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { EntityResolutionServiceException } from "./models/EntityResolutionServiceException"; diff --git a/clients/client-eventbridge/package.json b/clients/client-eventbridge/package.json index f1ea4000567d..827c6c566e2f 100644 --- a/clients/client-eventbridge/package.json +++ b/clients/client-eventbridge/package.json @@ -56,6 +56,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-eventbridge/src/endpoint/endpointResolver.ts b/clients/client-eventbridge/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-eventbridge/src/endpoint/endpointResolver.ts +++ b/clients/client-eventbridge/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-eventbridge/src/endpointFunctions.ts b/clients/client-eventbridge/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-eventbridge/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-eventbridge/src/index.ts b/clients/client-eventbridge/src/index.ts index 297783e7c179..08884406b0e1 100644 --- a/clients/client-eventbridge/src/index.ts +++ b/clients/client-eventbridge/src/index.ts @@ -31,4 +31,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { EventBridgeServiceException } from "./models/EventBridgeServiceException"; diff --git a/clients/client-evidently/package.json b/clients/client-evidently/package.json index a894a56a2486..8ad34669f962 100644 --- a/clients/client-evidently/package.json +++ b/clients/client-evidently/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-evidently/src/endpoint/endpointResolver.ts b/clients/client-evidently/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-evidently/src/endpoint/endpointResolver.ts +++ b/clients/client-evidently/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-evidently/src/endpointFunctions.ts b/clients/client-evidently/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-evidently/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-evidently/src/index.ts b/clients/client-evidently/src/index.ts index 490a051b4ba7..22b3be5fc66c 100644 --- a/clients/client-evidently/src/index.ts +++ b/clients/client-evidently/src/index.ts @@ -21,4 +21,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { EvidentlyServiceException } from "./models/EvidentlyServiceException"; diff --git a/clients/client-finspace-data/package.json b/clients/client-finspace-data/package.json index 978771cd4fa2..5aeb2485522f 100644 --- a/clients/client-finspace-data/package.json +++ b/clients/client-finspace-data/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-finspace-data/src/endpoint/endpointResolver.ts b/clients/client-finspace-data/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-finspace-data/src/endpoint/endpointResolver.ts +++ b/clients/client-finspace-data/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-finspace-data/src/endpointFunctions.ts b/clients/client-finspace-data/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-finspace-data/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-finspace-data/src/index.ts b/clients/client-finspace-data/src/index.ts index 2f71ebf08b94..89f843c127a7 100644 --- a/clients/client-finspace-data/src/index.ts +++ b/clients/client-finspace-data/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { FinspaceDataServiceException } from "./models/FinspaceDataServiceException"; diff --git a/clients/client-finspace/package.json b/clients/client-finspace/package.json index b79f270b7784..156654a5fcda 100644 --- a/clients/client-finspace/package.json +++ b/clients/client-finspace/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-finspace/src/endpoint/endpointResolver.ts b/clients/client-finspace/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-finspace/src/endpoint/endpointResolver.ts +++ b/clients/client-finspace/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-finspace/src/endpointFunctions.ts b/clients/client-finspace/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-finspace/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-finspace/src/index.ts b/clients/client-finspace/src/index.ts index e3d2f248cd6b..030d03f3580c 100644 --- a/clients/client-finspace/src/index.ts +++ b/clients/client-finspace/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { FinspaceServiceException } from "./models/FinspaceServiceException"; diff --git a/clients/client-firehose/package.json b/clients/client-firehose/package.json index bea293a724e6..4eea12c25b7e 100644 --- a/clients/client-firehose/package.json +++ b/clients/client-firehose/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-firehose/src/endpoint/endpointResolver.ts b/clients/client-firehose/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-firehose/src/endpoint/endpointResolver.ts +++ b/clients/client-firehose/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-firehose/src/endpointFunctions.ts b/clients/client-firehose/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-firehose/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-firehose/src/index.ts b/clients/client-firehose/src/index.ts index f4bab73a870e..8de0802441fd 100644 --- a/clients/client-firehose/src/index.ts +++ b/clients/client-firehose/src/index.ts @@ -15,4 +15,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { FirehoseServiceException } from "./models/FirehoseServiceException"; diff --git a/clients/client-fis/package.json b/clients/client-fis/package.json index 611c7ff9e438..1946573eee93 100644 --- a/clients/client-fis/package.json +++ b/clients/client-fis/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-fis/src/endpoint/endpointResolver.ts b/clients/client-fis/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-fis/src/endpoint/endpointResolver.ts +++ b/clients/client-fis/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-fis/src/endpointFunctions.ts b/clients/client-fis/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-fis/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-fis/src/index.ts b/clients/client-fis/src/index.ts index 7e521954e6f6..8946a779270c 100644 --- a/clients/client-fis/src/index.ts +++ b/clients/client-fis/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { FisServiceException } from "./models/FisServiceException"; diff --git a/clients/client-fms/package.json b/clients/client-fms/package.json index f30977bbaded..2fa31ea0e57c 100644 --- a/clients/client-fms/package.json +++ b/clients/client-fms/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-fms/src/endpoint/endpointResolver.ts b/clients/client-fms/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-fms/src/endpoint/endpointResolver.ts +++ b/clients/client-fms/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-fms/src/endpointFunctions.ts b/clients/client-fms/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-fms/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-fms/src/index.ts b/clients/client-fms/src/index.ts index 92231b9a90e9..56db16540daa 100644 --- a/clients/client-fms/src/index.ts +++ b/clients/client-fms/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { FMSServiceException } from "./models/FMSServiceException"; diff --git a/clients/client-forecast/package.json b/clients/client-forecast/package.json index 3e9e72676c49..85cc0a33ff57 100644 --- a/clients/client-forecast/package.json +++ b/clients/client-forecast/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-forecast/src/endpoint/endpointResolver.ts b/clients/client-forecast/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-forecast/src/endpoint/endpointResolver.ts +++ b/clients/client-forecast/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-forecast/src/endpointFunctions.ts b/clients/client-forecast/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-forecast/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-forecast/src/index.ts b/clients/client-forecast/src/index.ts index b02b434bcc5b..1326ebf1f70d 100644 --- a/clients/client-forecast/src/index.ts +++ b/clients/client-forecast/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ForecastServiceException } from "./models/ForecastServiceException"; diff --git a/clients/client-forecastquery/package.json b/clients/client-forecastquery/package.json index 15376f66f7ff..9371dcc0e73c 100644 --- a/clients/client-forecastquery/package.json +++ b/clients/client-forecastquery/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-forecastquery/src/endpoint/endpointResolver.ts b/clients/client-forecastquery/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-forecastquery/src/endpoint/endpointResolver.ts +++ b/clients/client-forecastquery/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-forecastquery/src/endpointFunctions.ts b/clients/client-forecastquery/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-forecastquery/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-forecastquery/src/index.ts b/clients/client-forecastquery/src/index.ts index 6272bfe66a75..a3838c3ed2e9 100644 --- a/clients/client-forecastquery/src/index.ts +++ b/clients/client-forecastquery/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { ForecastqueryServiceException } from "./models/ForecastqueryServiceException"; diff --git a/clients/client-frauddetector/package.json b/clients/client-frauddetector/package.json index 71f9f36a1fbb..62c6b7ca2375 100644 --- a/clients/client-frauddetector/package.json +++ b/clients/client-frauddetector/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-frauddetector/src/endpoint/endpointResolver.ts b/clients/client-frauddetector/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-frauddetector/src/endpoint/endpointResolver.ts +++ b/clients/client-frauddetector/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-frauddetector/src/endpointFunctions.ts b/clients/client-frauddetector/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-frauddetector/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-frauddetector/src/index.ts b/clients/client-frauddetector/src/index.ts index 217085cd862f..5642714cf28d 100644 --- a/clients/client-frauddetector/src/index.ts +++ b/clients/client-frauddetector/src/index.ts @@ -21,4 +21,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { FraudDetectorServiceException } from "./models/FraudDetectorServiceException"; diff --git a/clients/client-fsx/package.json b/clients/client-fsx/package.json index c8be654df340..35689f5b8689 100644 --- a/clients/client-fsx/package.json +++ b/clients/client-fsx/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-fsx/src/endpoint/endpointResolver.ts b/clients/client-fsx/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-fsx/src/endpoint/endpointResolver.ts +++ b/clients/client-fsx/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-fsx/src/endpointFunctions.ts b/clients/client-fsx/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-fsx/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-fsx/src/index.ts b/clients/client-fsx/src/index.ts index d2d74e4e88cc..6e9aa3d4dc5c 100644 --- a/clients/client-fsx/src/index.ts +++ b/clients/client-fsx/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { FSxServiceException } from "./models/FSxServiceException"; diff --git a/clients/client-gamelift/package.json b/clients/client-gamelift/package.json index d3b36a56cc15..55f7737b6778 100644 --- a/clients/client-gamelift/package.json +++ b/clients/client-gamelift/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-gamelift/src/endpoint/endpointResolver.ts b/clients/client-gamelift/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-gamelift/src/endpoint/endpointResolver.ts +++ b/clients/client-gamelift/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-gamelift/src/endpointFunctions.ts b/clients/client-gamelift/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-gamelift/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-gamelift/src/index.ts b/clients/client-gamelift/src/index.ts index f3a7e5ebf681..9934b58ceb3c 100644 --- a/clients/client-gamelift/src/index.ts +++ b/clients/client-gamelift/src/index.ts @@ -69,4 +69,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { GameLiftServiceException } from "./models/GameLiftServiceException"; diff --git a/clients/client-gamesparks/package.json b/clients/client-gamesparks/package.json index 2d51df4979b6..eca8b3e56a5a 100644 --- a/clients/client-gamesparks/package.json +++ b/clients/client-gamesparks/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-gamesparks/src/endpoint/endpointResolver.ts b/clients/client-gamesparks/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-gamesparks/src/endpoint/endpointResolver.ts +++ b/clients/client-gamesparks/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-gamesparks/src/endpointFunctions.ts b/clients/client-gamesparks/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-gamesparks/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-gamesparks/src/index.ts b/clients/client-gamesparks/src/index.ts index 23a104f1670a..3fe76672826d 100644 --- a/clients/client-gamesparks/src/index.ts +++ b/clients/client-gamesparks/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { GameSparksServiceException } from "./models/GameSparksServiceException"; diff --git a/clients/client-glacier/package.json b/clients/client-glacier/package.json index 3e1a2d4c8ac3..14c8bc7b8438 100644 --- a/clients/client-glacier/package.json +++ b/clients/client-glacier/package.json @@ -56,6 +56,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-glacier/src/endpoint/endpointResolver.ts b/clients/client-glacier/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-glacier/src/endpoint/endpointResolver.ts +++ b/clients/client-glacier/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-glacier/src/endpointFunctions.ts b/clients/client-glacier/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-glacier/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-glacier/src/index.ts b/clients/client-glacier/src/index.ts index 2841a8d09dac..94058b544bc0 100644 --- a/clients/client-glacier/src/index.ts +++ b/clients/client-glacier/src/index.ts @@ -50,4 +50,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { GlacierServiceException } from "./models/GlacierServiceException"; diff --git a/clients/client-global-accelerator/package.json b/clients/client-global-accelerator/package.json index 0472e3aa4c58..c2e43990aaf9 100644 --- a/clients/client-global-accelerator/package.json +++ b/clients/client-global-accelerator/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-global-accelerator/src/endpoint/endpointResolver.ts b/clients/client-global-accelerator/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-global-accelerator/src/endpoint/endpointResolver.ts +++ b/clients/client-global-accelerator/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-global-accelerator/src/endpointFunctions.ts b/clients/client-global-accelerator/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-global-accelerator/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-global-accelerator/src/index.ts b/clients/client-global-accelerator/src/index.ts index b63c8d71a938..5cf8ea0d802b 100644 --- a/clients/client-global-accelerator/src/index.ts +++ b/clients/client-global-accelerator/src/index.ts @@ -59,4 +59,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { GlobalAcceleratorServiceException } from "./models/GlobalAcceleratorServiceException"; diff --git a/clients/client-glue/package.json b/clients/client-glue/package.json index d52eb5186807..f91ea3a06de2 100644 --- a/clients/client-glue/package.json +++ b/clients/client-glue/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-glue/src/endpoint/endpointResolver.ts b/clients/client-glue/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-glue/src/endpoint/endpointResolver.ts +++ b/clients/client-glue/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-glue/src/endpointFunctions.ts b/clients/client-glue/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-glue/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-glue/src/index.ts b/clients/client-glue/src/index.ts index 59351567ae89..d576b55046ad 100644 --- a/clients/client-glue/src/index.ts +++ b/clients/client-glue/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { GlueServiceException } from "./models/GlueServiceException"; diff --git a/clients/client-grafana/package.json b/clients/client-grafana/package.json index ec2b5279f173..588bec092e1e 100644 --- a/clients/client-grafana/package.json +++ b/clients/client-grafana/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-grafana/src/endpoint/endpointResolver.ts b/clients/client-grafana/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-grafana/src/endpoint/endpointResolver.ts +++ b/clients/client-grafana/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-grafana/src/endpointFunctions.ts b/clients/client-grafana/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-grafana/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-grafana/src/index.ts b/clients/client-grafana/src/index.ts index 2ae8afb29a6a..5d44ff795278 100644 --- a/clients/client-grafana/src/index.ts +++ b/clients/client-grafana/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { GrafanaServiceException } from "./models/GrafanaServiceException"; diff --git a/clients/client-greengrass/package.json b/clients/client-greengrass/package.json index f92cf6aa216f..c06493cbbbdc 100644 --- a/clients/client-greengrass/package.json +++ b/clients/client-greengrass/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-greengrass/src/endpoint/endpointResolver.ts b/clients/client-greengrass/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-greengrass/src/endpoint/endpointResolver.ts +++ b/clients/client-greengrass/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-greengrass/src/endpointFunctions.ts b/clients/client-greengrass/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-greengrass/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-greengrass/src/index.ts b/clients/client-greengrass/src/index.ts index d0eca9e531db..4efc40bf81f6 100644 --- a/clients/client-greengrass/src/index.ts +++ b/clients/client-greengrass/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { GreengrassServiceException } from "./models/GreengrassServiceException"; diff --git a/clients/client-greengrassv2/package.json b/clients/client-greengrassv2/package.json index 117f831e233b..803d225750bd 100644 --- a/clients/client-greengrassv2/package.json +++ b/clients/client-greengrassv2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-greengrassv2/src/endpoint/endpointResolver.ts b/clients/client-greengrassv2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-greengrassv2/src/endpoint/endpointResolver.ts +++ b/clients/client-greengrassv2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-greengrassv2/src/endpointFunctions.ts b/clients/client-greengrassv2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-greengrassv2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-greengrassv2/src/index.ts b/clients/client-greengrassv2/src/index.ts index 5c4b56e23811..df5107474f98 100644 --- a/clients/client-greengrassv2/src/index.ts +++ b/clients/client-greengrassv2/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { GreengrassV2ServiceException } from "./models/GreengrassV2ServiceException"; diff --git a/clients/client-groundstation/package.json b/clients/client-groundstation/package.json index 0395cd588a5c..bb7d3d56b58e 100644 --- a/clients/client-groundstation/package.json +++ b/clients/client-groundstation/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-groundstation/src/endpoint/endpointResolver.ts b/clients/client-groundstation/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-groundstation/src/endpoint/endpointResolver.ts +++ b/clients/client-groundstation/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-groundstation/src/endpointFunctions.ts b/clients/client-groundstation/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-groundstation/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-groundstation/src/index.ts b/clients/client-groundstation/src/index.ts index 1f2e3f779b01..896f3edb1635 100644 --- a/clients/client-groundstation/src/index.ts +++ b/clients/client-groundstation/src/index.ts @@ -16,4 +16,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { GroundStationServiceException } from "./models/GroundStationServiceException"; diff --git a/clients/client-guardduty/package.json b/clients/client-guardduty/package.json index 1f3581c7719f..898581c661de 100644 --- a/clients/client-guardduty/package.json +++ b/clients/client-guardduty/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-guardduty/src/endpoint/endpointResolver.ts b/clients/client-guardduty/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-guardduty/src/endpoint/endpointResolver.ts +++ b/clients/client-guardduty/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-guardduty/src/endpointFunctions.ts b/clients/client-guardduty/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-guardduty/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-guardduty/src/index.ts b/clients/client-guardduty/src/index.ts index 8e7b2d32fc1f..e312349c44f9 100644 --- a/clients/client-guardduty/src/index.ts +++ b/clients/client-guardduty/src/index.ts @@ -30,4 +30,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { GuardDutyServiceException } from "./models/GuardDutyServiceException"; diff --git a/clients/client-health/package.json b/clients/client-health/package.json index bdad0e6c8a91..7bc6063e3fb4 100644 --- a/clients/client-health/package.json +++ b/clients/client-health/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-health/src/endpoint/endpointResolver.ts b/clients/client-health/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-health/src/endpoint/endpointResolver.ts +++ b/clients/client-health/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-health/src/endpointFunctions.ts b/clients/client-health/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-health/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-health/src/index.ts b/clients/client-health/src/index.ts index a02757677be4..27b8083752bc 100644 --- a/clients/client-health/src/index.ts +++ b/clients/client-health/src/index.ts @@ -54,4 +54,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { HealthServiceException } from "./models/HealthServiceException"; diff --git a/clients/client-healthlake/package.json b/clients/client-healthlake/package.json index 10216c09e261..135d9681212f 100644 --- a/clients/client-healthlake/package.json +++ b/clients/client-healthlake/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-healthlake/src/endpoint/endpointResolver.ts b/clients/client-healthlake/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-healthlake/src/endpoint/endpointResolver.ts +++ b/clients/client-healthlake/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-healthlake/src/endpointFunctions.ts b/clients/client-healthlake/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-healthlake/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-healthlake/src/index.ts b/clients/client-healthlake/src/index.ts index db596de3038f..921809fc2fcb 100644 --- a/clients/client-healthlake/src/index.ts +++ b/clients/client-healthlake/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { HealthLakeServiceException } from "./models/HealthLakeServiceException"; diff --git a/clients/client-honeycode/package.json b/clients/client-honeycode/package.json index 0bdb9ad035e2..6fbd2c56fd71 100644 --- a/clients/client-honeycode/package.json +++ b/clients/client-honeycode/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-honeycode/src/endpoint/endpointResolver.ts b/clients/client-honeycode/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-honeycode/src/endpoint/endpointResolver.ts +++ b/clients/client-honeycode/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-honeycode/src/endpointFunctions.ts b/clients/client-honeycode/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-honeycode/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-honeycode/src/index.ts b/clients/client-honeycode/src/index.ts index f8611daae3cc..dc8f3cdade3d 100644 --- a/clients/client-honeycode/src/index.ts +++ b/clients/client-honeycode/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { HoneycodeServiceException } from "./models/HoneycodeServiceException"; diff --git a/clients/client-iam/package.json b/clients/client-iam/package.json index cb416ebd4c8a..4eb43671230e 100644 --- a/clients/client-iam/package.json +++ b/clients/client-iam/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-iam/src/endpoint/endpointResolver.ts b/clients/client-iam/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iam/src/endpoint/endpointResolver.ts +++ b/clients/client-iam/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iam/src/endpointFunctions.ts b/clients/client-iam/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iam/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iam/src/index.ts b/clients/client-iam/src/index.ts index a94c88519288..94d4b12a8ea4 100644 --- a/clients/client-iam/src/index.ts +++ b/clients/client-iam/src/index.ts @@ -17,4 +17,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { IAMServiceException } from "./models/IAMServiceException"; diff --git a/clients/client-identitystore/package.json b/clients/client-identitystore/package.json index a8b09579fab5..4f2f1ee0272e 100644 --- a/clients/client-identitystore/package.json +++ b/clients/client-identitystore/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-identitystore/src/endpoint/endpointResolver.ts b/clients/client-identitystore/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-identitystore/src/endpoint/endpointResolver.ts +++ b/clients/client-identitystore/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-identitystore/src/endpointFunctions.ts b/clients/client-identitystore/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-identitystore/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-identitystore/src/index.ts b/clients/client-identitystore/src/index.ts index 878b02d5a669..028bc2a409d3 100644 --- a/clients/client-identitystore/src/index.ts +++ b/clients/client-identitystore/src/index.ts @@ -19,4 +19,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IdentitystoreServiceException } from "./models/IdentitystoreServiceException"; diff --git a/clients/client-imagebuilder/package.json b/clients/client-imagebuilder/package.json index 490f4774ef44..2b68c95fa01d 100644 --- a/clients/client-imagebuilder/package.json +++ b/clients/client-imagebuilder/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-imagebuilder/src/endpoint/endpointResolver.ts b/clients/client-imagebuilder/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-imagebuilder/src/endpoint/endpointResolver.ts +++ b/clients/client-imagebuilder/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-imagebuilder/src/endpointFunctions.ts b/clients/client-imagebuilder/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-imagebuilder/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-imagebuilder/src/index.ts b/clients/client-imagebuilder/src/index.ts index 400927f91690..8d25f2f18b0b 100644 --- a/clients/client-imagebuilder/src/index.ts +++ b/clients/client-imagebuilder/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ImagebuilderServiceException } from "./models/ImagebuilderServiceException"; diff --git a/clients/client-inspector/package.json b/clients/client-inspector/package.json index da271a290213..398c30a6179c 100644 --- a/clients/client-inspector/package.json +++ b/clients/client-inspector/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-inspector/src/endpoint/endpointResolver.ts b/clients/client-inspector/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-inspector/src/endpoint/endpointResolver.ts +++ b/clients/client-inspector/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-inspector/src/endpointFunctions.ts b/clients/client-inspector/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-inspector/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-inspector/src/index.ts b/clients/client-inspector/src/index.ts index a0f3733608bf..442250f72631 100644 --- a/clients/client-inspector/src/index.ts +++ b/clients/client-inspector/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { InspectorServiceException } from "./models/InspectorServiceException"; diff --git a/clients/client-inspector2/package.json b/clients/client-inspector2/package.json index c49aab52d590..1a6b4260b1dc 100644 --- a/clients/client-inspector2/package.json +++ b/clients/client-inspector2/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-inspector2/src/endpoint/endpointResolver.ts b/clients/client-inspector2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-inspector2/src/endpoint/endpointResolver.ts +++ b/clients/client-inspector2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-inspector2/src/endpointFunctions.ts b/clients/client-inspector2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-inspector2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-inspector2/src/index.ts b/clients/client-inspector2/src/index.ts index ef18af548d63..c414f8ba11e3 100644 --- a/clients/client-inspector2/src/index.ts +++ b/clients/client-inspector2/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { Inspector2ServiceException } from "./models/Inspector2ServiceException"; diff --git a/clients/client-internetmonitor/package.json b/clients/client-internetmonitor/package.json index e4ecdb92d49a..fe86069aa101 100644 --- a/clients/client-internetmonitor/package.json +++ b/clients/client-internetmonitor/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-internetmonitor/src/endpoint/endpointResolver.ts b/clients/client-internetmonitor/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-internetmonitor/src/endpoint/endpointResolver.ts +++ b/clients/client-internetmonitor/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-internetmonitor/src/endpointFunctions.ts b/clients/client-internetmonitor/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-internetmonitor/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-internetmonitor/src/index.ts b/clients/client-internetmonitor/src/index.ts index d24b94206cc1..31235eee596f 100644 --- a/clients/client-internetmonitor/src/index.ts +++ b/clients/client-internetmonitor/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { InternetMonitorServiceException } from "./models/InternetMonitorServiceException"; diff --git a/clients/client-iot-1click-devices-service/package.json b/clients/client-iot-1click-devices-service/package.json index 8057be2ae8bd..de8f639905b2 100644 --- a/clients/client-iot-1click-devices-service/package.json +++ b/clients/client-iot-1click-devices-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iot-1click-devices-service/src/endpoint/endpointResolver.ts b/clients/client-iot-1click-devices-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-1click-devices-service/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-1click-devices-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-1click-devices-service/src/endpointFunctions.ts b/clients/client-iot-1click-devices-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-1click-devices-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-1click-devices-service/src/index.ts b/clients/client-iot-1click-devices-service/src/index.ts index 88bbc8d15877..cf63380994ee 100644 --- a/clients/client-iot-1click-devices-service/src/index.ts +++ b/clients/client-iot-1click-devices-service/src/index.ts @@ -13,4 +13,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoT1ClickDevicesServiceServiceException } from "./models/IoT1ClickDevicesServiceServiceException"; diff --git a/clients/client-iot-1click-projects/package.json b/clients/client-iot-1click-projects/package.json index 9af90da2dede..b76f3344f1ec 100644 --- a/clients/client-iot-1click-projects/package.json +++ b/clients/client-iot-1click-projects/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iot-1click-projects/src/endpoint/endpointResolver.ts b/clients/client-iot-1click-projects/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-1click-projects/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-1click-projects/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-1click-projects/src/endpointFunctions.ts b/clients/client-iot-1click-projects/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-1click-projects/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-1click-projects/src/index.ts b/clients/client-iot-1click-projects/src/index.ts index 69114da4e0bc..f63bb5a2daa1 100644 --- a/clients/client-iot-1click-projects/src/index.ts +++ b/clients/client-iot-1click-projects/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoT1ClickProjectsServiceException } from "./models/IoT1ClickProjectsServiceException"; diff --git a/clients/client-iot-data-plane/package.json b/clients/client-iot-data-plane/package.json index 109bb65ba372..c5a7b23356ab 100644 --- a/clients/client-iot-data-plane/package.json +++ b/clients/client-iot-data-plane/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-iot-data-plane/src/endpoint/endpointResolver.ts b/clients/client-iot-data-plane/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-data-plane/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-data-plane/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-data-plane/src/endpointFunctions.ts b/clients/client-iot-data-plane/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-data-plane/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-data-plane/src/index.ts b/clients/client-iot-data-plane/src/index.ts index 3e33d85ed252..d3dc5e7b108c 100644 --- a/clients/client-iot-data-plane/src/index.ts +++ b/clients/client-iot-data-plane/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTDataPlaneServiceException } from "./models/IoTDataPlaneServiceException"; diff --git a/clients/client-iot-events-data/package.json b/clients/client-iot-events-data/package.json index 2d374dfdf06b..acf67b4d68b2 100644 --- a/clients/client-iot-events-data/package.json +++ b/clients/client-iot-events-data/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iot-events-data/src/endpoint/endpointResolver.ts b/clients/client-iot-events-data/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-events-data/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-events-data/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-events-data/src/endpointFunctions.ts b/clients/client-iot-events-data/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-events-data/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-events-data/src/index.ts b/clients/client-iot-events-data/src/index.ts index a0f0540f8d70..7ac1e12993a6 100644 --- a/clients/client-iot-events-data/src/index.ts +++ b/clients/client-iot-events-data/src/index.ts @@ -15,4 +15,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTEventsDataServiceException } from "./models/IoTEventsDataServiceException"; diff --git a/clients/client-iot-events/package.json b/clients/client-iot-events/package.json index 2614dbbd239d..39a63a6178d6 100644 --- a/clients/client-iot-events/package.json +++ b/clients/client-iot-events/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iot-events/src/endpoint/endpointResolver.ts b/clients/client-iot-events/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-events/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-events/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-events/src/endpointFunctions.ts b/clients/client-iot-events/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-events/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-events/src/index.ts b/clients/client-iot-events/src/index.ts index fd532894a9e9..fe0570a868c9 100644 --- a/clients/client-iot-events/src/index.ts +++ b/clients/client-iot-events/src/index.ts @@ -13,4 +13,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTEventsServiceException } from "./models/IoTEventsServiceException"; diff --git a/clients/client-iot-jobs-data-plane/package.json b/clients/client-iot-jobs-data-plane/package.json index fe3cbc31cb2e..b5cbf832e31f 100644 --- a/clients/client-iot-jobs-data-plane/package.json +++ b/clients/client-iot-jobs-data-plane/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iot-jobs-data-plane/src/endpoint/endpointResolver.ts b/clients/client-iot-jobs-data-plane/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-jobs-data-plane/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-jobs-data-plane/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-jobs-data-plane/src/endpointFunctions.ts b/clients/client-iot-jobs-data-plane/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-jobs-data-plane/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-jobs-data-plane/src/index.ts b/clients/client-iot-jobs-data-plane/src/index.ts index 98f6e17d4a8e..0f80002dc995 100644 --- a/clients/client-iot-jobs-data-plane/src/index.ts +++ b/clients/client-iot-jobs-data-plane/src/index.ts @@ -21,4 +21,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTJobsDataPlaneServiceException } from "./models/IoTJobsDataPlaneServiceException"; diff --git a/clients/client-iot-roborunner/package.json b/clients/client-iot-roborunner/package.json index eca97a27108f..26d59eb2f165 100644 --- a/clients/client-iot-roborunner/package.json +++ b/clients/client-iot-roborunner/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-iot-roborunner/src/endpoint/endpointResolver.ts b/clients/client-iot-roborunner/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-roborunner/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-roborunner/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-roborunner/src/endpointFunctions.ts b/clients/client-iot-roborunner/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-roborunner/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-roborunner/src/index.ts b/clients/client-iot-roborunner/src/index.ts index dd41e7dd2aa3..6fad9f5116fc 100644 --- a/clients/client-iot-roborunner/src/index.ts +++ b/clients/client-iot-roborunner/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTRoboRunnerServiceException } from "./models/IoTRoboRunnerServiceException"; diff --git a/clients/client-iot-wireless/package.json b/clients/client-iot-wireless/package.json index f763bd079d43..3af68fbf0a68 100644 --- a/clients/client-iot-wireless/package.json +++ b/clients/client-iot-wireless/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-iot-wireless/src/endpoint/endpointResolver.ts b/clients/client-iot-wireless/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot-wireless/src/endpoint/endpointResolver.ts +++ b/clients/client-iot-wireless/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot-wireless/src/endpointFunctions.ts b/clients/client-iot-wireless/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot-wireless/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot-wireless/src/index.ts b/clients/client-iot-wireless/src/index.ts index 3a9c1422fc54..e6058328973e 100644 --- a/clients/client-iot-wireless/src/index.ts +++ b/clients/client-iot-wireless/src/index.ts @@ -24,4 +24,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTWirelessServiceException } from "./models/IoTWirelessServiceException"; diff --git a/clients/client-iot/package.json b/clients/client-iot/package.json index 22d28071e4aa..e16d88718860 100644 --- a/clients/client-iot/package.json +++ b/clients/client-iot/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-iot/src/endpoint/endpointResolver.ts b/clients/client-iot/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iot/src/endpoint/endpointResolver.ts +++ b/clients/client-iot/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iot/src/endpointFunctions.ts b/clients/client-iot/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iot/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iot/src/index.ts b/clients/client-iot/src/index.ts index 0bbac15330ea..c71403be5dc0 100644 --- a/clients/client-iot/src/index.ts +++ b/clients/client-iot/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTServiceException } from "./models/IoTServiceException"; diff --git a/clients/client-iotanalytics/package.json b/clients/client-iotanalytics/package.json index 239b912395eb..0b1fd106ed80 100644 --- a/clients/client-iotanalytics/package.json +++ b/clients/client-iotanalytics/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iotanalytics/src/endpoint/endpointResolver.ts b/clients/client-iotanalytics/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iotanalytics/src/endpoint/endpointResolver.ts +++ b/clients/client-iotanalytics/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iotanalytics/src/endpointFunctions.ts b/clients/client-iotanalytics/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iotanalytics/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iotanalytics/src/index.ts b/clients/client-iotanalytics/src/index.ts index d35cbceebead..bdd2596e0ea1 100644 --- a/clients/client-iotanalytics/src/index.ts +++ b/clients/client-iotanalytics/src/index.ts @@ -28,4 +28,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTAnalyticsServiceException } from "./models/IoTAnalyticsServiceException"; diff --git a/clients/client-iotdeviceadvisor/package.json b/clients/client-iotdeviceadvisor/package.json index 86936c111be0..5a2035d48bb4 100644 --- a/clients/client-iotdeviceadvisor/package.json +++ b/clients/client-iotdeviceadvisor/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iotdeviceadvisor/src/endpoint/endpointResolver.ts b/clients/client-iotdeviceadvisor/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iotdeviceadvisor/src/endpoint/endpointResolver.ts +++ b/clients/client-iotdeviceadvisor/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iotdeviceadvisor/src/endpointFunctions.ts b/clients/client-iotdeviceadvisor/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iotdeviceadvisor/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iotdeviceadvisor/src/index.ts b/clients/client-iotdeviceadvisor/src/index.ts index 85646640e317..1f91c07a63aa 100644 --- a/clients/client-iotdeviceadvisor/src/index.ts +++ b/clients/client-iotdeviceadvisor/src/index.ts @@ -20,4 +20,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IotDeviceAdvisorServiceException } from "./models/IotDeviceAdvisorServiceException"; diff --git a/clients/client-iotfleethub/package.json b/clients/client-iotfleethub/package.json index 256eb87f1a4e..b85db0d17a08 100644 --- a/clients/client-iotfleethub/package.json +++ b/clients/client-iotfleethub/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-iotfleethub/src/endpoint/endpointResolver.ts b/clients/client-iotfleethub/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iotfleethub/src/endpoint/endpointResolver.ts +++ b/clients/client-iotfleethub/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iotfleethub/src/endpointFunctions.ts b/clients/client-iotfleethub/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iotfleethub/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iotfleethub/src/index.ts b/clients/client-iotfleethub/src/index.ts index 5d2cab7cc126..c6c45666302a 100644 --- a/clients/client-iotfleethub/src/index.ts +++ b/clients/client-iotfleethub/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTFleetHubServiceException } from "./models/IoTFleetHubServiceException"; diff --git a/clients/client-iotfleetwise/package.json b/clients/client-iotfleetwise/package.json index 36edd8d947c6..a168e51065f6 100644 --- a/clients/client-iotfleetwise/package.json +++ b/clients/client-iotfleetwise/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iotfleetwise/src/endpoint/endpointResolver.ts b/clients/client-iotfleetwise/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iotfleetwise/src/endpoint/endpointResolver.ts +++ b/clients/client-iotfleetwise/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iotfleetwise/src/endpointFunctions.ts b/clients/client-iotfleetwise/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iotfleetwise/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iotfleetwise/src/index.ts b/clients/client-iotfleetwise/src/index.ts index c73264c2abb6..45e229f4299a 100644 --- a/clients/client-iotfleetwise/src/index.ts +++ b/clients/client-iotfleetwise/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTFleetWiseServiceException } from "./models/IoTFleetWiseServiceException"; diff --git a/clients/client-iotsecuretunneling/package.json b/clients/client-iotsecuretunneling/package.json index 4100b361cd2e..9a58a6da3243 100644 --- a/clients/client-iotsecuretunneling/package.json +++ b/clients/client-iotsecuretunneling/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iotsecuretunneling/src/endpoint/endpointResolver.ts b/clients/client-iotsecuretunneling/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iotsecuretunneling/src/endpoint/endpointResolver.ts +++ b/clients/client-iotsecuretunneling/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iotsecuretunneling/src/endpointFunctions.ts b/clients/client-iotsecuretunneling/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iotsecuretunneling/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iotsecuretunneling/src/index.ts b/clients/client-iotsecuretunneling/src/index.ts index 130a748159d5..5e2d2a5e7cc3 100644 --- a/clients/client-iotsecuretunneling/src/index.ts +++ b/clients/client-iotsecuretunneling/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTSecureTunnelingServiceException } from "./models/IoTSecureTunnelingServiceException"; diff --git a/clients/client-iotsitewise/package.json b/clients/client-iotsitewise/package.json index d70f6a85ae88..2e96a12bb4de 100644 --- a/clients/client-iotsitewise/package.json +++ b/clients/client-iotsitewise/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-iotsitewise/src/endpoint/endpointResolver.ts b/clients/client-iotsitewise/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iotsitewise/src/endpoint/endpointResolver.ts +++ b/clients/client-iotsitewise/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iotsitewise/src/endpointFunctions.ts b/clients/client-iotsitewise/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iotsitewise/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iotsitewise/src/index.ts b/clients/client-iotsitewise/src/index.ts index b0a4bb8b9f1f..43f2d8b2889f 100644 --- a/clients/client-iotsitewise/src/index.ts +++ b/clients/client-iotsitewise/src/index.ts @@ -14,4 +14,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTSiteWiseServiceException } from "./models/IoTSiteWiseServiceException"; diff --git a/clients/client-iotthingsgraph/package.json b/clients/client-iotthingsgraph/package.json index ee3fec8d8dc2..2a6a69d513d5 100644 --- a/clients/client-iotthingsgraph/package.json +++ b/clients/client-iotthingsgraph/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iotthingsgraph/src/endpoint/endpointResolver.ts b/clients/client-iotthingsgraph/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iotthingsgraph/src/endpoint/endpointResolver.ts +++ b/clients/client-iotthingsgraph/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iotthingsgraph/src/endpointFunctions.ts b/clients/client-iotthingsgraph/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iotthingsgraph/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iotthingsgraph/src/index.ts b/clients/client-iotthingsgraph/src/index.ts index 6253d61723e4..059ce24777ec 100644 --- a/clients/client-iotthingsgraph/src/index.ts +++ b/clients/client-iotthingsgraph/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTThingsGraphServiceException } from "./models/IoTThingsGraphServiceException"; diff --git a/clients/client-iottwinmaker/package.json b/clients/client-iottwinmaker/package.json index 5bc87cc50a27..3c10ec3cc2ba 100644 --- a/clients/client-iottwinmaker/package.json +++ b/clients/client-iottwinmaker/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-iottwinmaker/src/endpoint/endpointResolver.ts b/clients/client-iottwinmaker/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-iottwinmaker/src/endpoint/endpointResolver.ts +++ b/clients/client-iottwinmaker/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-iottwinmaker/src/endpointFunctions.ts b/clients/client-iottwinmaker/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-iottwinmaker/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-iottwinmaker/src/index.ts b/clients/client-iottwinmaker/src/index.ts index f2481f348b20..6f5e9f75a3f6 100644 --- a/clients/client-iottwinmaker/src/index.ts +++ b/clients/client-iottwinmaker/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IoTTwinMakerServiceException } from "./models/IoTTwinMakerServiceException"; diff --git a/clients/client-ivs-realtime/package.json b/clients/client-ivs-realtime/package.json index 95faa3b22bf1..1df0a2542bcc 100644 --- a/clients/client-ivs-realtime/package.json +++ b/clients/client-ivs-realtime/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-ivs-realtime/src/endpoint/endpointResolver.ts b/clients/client-ivs-realtime/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ivs-realtime/src/endpoint/endpointResolver.ts +++ b/clients/client-ivs-realtime/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ivs-realtime/src/endpointFunctions.ts b/clients/client-ivs-realtime/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ivs-realtime/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ivs-realtime/src/index.ts b/clients/client-ivs-realtime/src/index.ts index 2fadd2466146..f838ae1c5649 100644 --- a/clients/client-ivs-realtime/src/index.ts +++ b/clients/client-ivs-realtime/src/index.ts @@ -136,4 +136,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IVSRealTimeServiceException } from "./models/IVSRealTimeServiceException"; diff --git a/clients/client-ivs/package.json b/clients/client-ivs/package.json index c817c73045f1..bff98652bf02 100644 --- a/clients/client-ivs/package.json +++ b/clients/client-ivs/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-ivs/src/endpoint/endpointResolver.ts b/clients/client-ivs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ivs/src/endpoint/endpointResolver.ts +++ b/clients/client-ivs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ivs/src/endpointFunctions.ts b/clients/client-ivs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ivs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ivs/src/index.ts b/clients/client-ivs/src/index.ts index 8fafce74b08e..50630f6953c5 100644 --- a/clients/client-ivs/src/index.ts +++ b/clients/client-ivs/src/index.ts @@ -350,4 +350,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IvsServiceException } from "./models/IvsServiceException"; diff --git a/clients/client-ivschat/package.json b/clients/client-ivschat/package.json index 537bfdc03e48..429a56f7caec 100644 --- a/clients/client-ivschat/package.json +++ b/clients/client-ivschat/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-ivschat/src/endpoint/endpointResolver.ts b/clients/client-ivschat/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ivschat/src/endpoint/endpointResolver.ts +++ b/clients/client-ivschat/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ivschat/src/endpointFunctions.ts b/clients/client-ivschat/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ivschat/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ivschat/src/index.ts b/clients/client-ivschat/src/index.ts index 603c55359f2f..4a03bc9dfb34 100644 --- a/clients/client-ivschat/src/index.ts +++ b/clients/client-ivschat/src/index.ts @@ -230,4 +230,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { IvschatServiceException } from "./models/IvschatServiceException"; diff --git a/clients/client-kafka/package.json b/clients/client-kafka/package.json index 12e1b10920d5..34a9a8009fbc 100644 --- a/clients/client-kafka/package.json +++ b/clients/client-kafka/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kafka/src/endpoint/endpointResolver.ts b/clients/client-kafka/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kafka/src/endpoint/endpointResolver.ts +++ b/clients/client-kafka/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kafka/src/endpointFunctions.ts b/clients/client-kafka/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kafka/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kafka/src/index.ts b/clients/client-kafka/src/index.ts index ba9a91979449..af647929cfff 100644 --- a/clients/client-kafka/src/index.ts +++ b/clients/client-kafka/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { KafkaServiceException } from "./models/KafkaServiceException"; diff --git a/clients/client-kafkaconnect/package.json b/clients/client-kafkaconnect/package.json index 755352920f5e..4e52a5a29624 100644 --- a/clients/client-kafkaconnect/package.json +++ b/clients/client-kafkaconnect/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kafkaconnect/src/endpoint/endpointResolver.ts b/clients/client-kafkaconnect/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kafkaconnect/src/endpoint/endpointResolver.ts +++ b/clients/client-kafkaconnect/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kafkaconnect/src/endpointFunctions.ts b/clients/client-kafkaconnect/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kafkaconnect/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kafkaconnect/src/index.ts b/clients/client-kafkaconnect/src/index.ts index 7bfe962975f1..642db8555050 100644 --- a/clients/client-kafkaconnect/src/index.ts +++ b/clients/client-kafkaconnect/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { KafkaConnectServiceException } from "./models/KafkaConnectServiceException"; diff --git a/clients/client-kendra-ranking/package.json b/clients/client-kendra-ranking/package.json index f9e43bc6f283..55c7552925d7 100644 --- a/clients/client-kendra-ranking/package.json +++ b/clients/client-kendra-ranking/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-kendra-ranking/src/endpoint/endpointResolver.ts b/clients/client-kendra-ranking/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kendra-ranking/src/endpoint/endpointResolver.ts +++ b/clients/client-kendra-ranking/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kendra-ranking/src/endpointFunctions.ts b/clients/client-kendra-ranking/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kendra-ranking/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kendra-ranking/src/index.ts b/clients/client-kendra-ranking/src/index.ts index edabf7f83fbd..e2d92dd246b0 100644 --- a/clients/client-kendra-ranking/src/index.ts +++ b/clients/client-kendra-ranking/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { KendraRankingServiceException } from "./models/KendraRankingServiceException"; diff --git a/clients/client-kendra/package.json b/clients/client-kendra/package.json index 21a193015c6d..ade2f0759709 100644 --- a/clients/client-kendra/package.json +++ b/clients/client-kendra/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-kendra/src/endpoint/endpointResolver.ts b/clients/client-kendra/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kendra/src/endpoint/endpointResolver.ts +++ b/clients/client-kendra/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kendra/src/endpointFunctions.ts b/clients/client-kendra/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kendra/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kendra/src/index.ts b/clients/client-kendra/src/index.ts index 27b3ab9afa62..a08552785231 100644 --- a/clients/client-kendra/src/index.ts +++ b/clients/client-kendra/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { KendraServiceException } from "./models/KendraServiceException"; diff --git a/clients/client-keyspaces/package.json b/clients/client-keyspaces/package.json index 7fa1e6375c01..47e814470382 100644 --- a/clients/client-keyspaces/package.json +++ b/clients/client-keyspaces/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-keyspaces/src/endpoint/endpointResolver.ts b/clients/client-keyspaces/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-keyspaces/src/endpoint/endpointResolver.ts +++ b/clients/client-keyspaces/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-keyspaces/src/endpointFunctions.ts b/clients/client-keyspaces/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-keyspaces/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-keyspaces/src/index.ts b/clients/client-keyspaces/src/index.ts index cb6a12c125bd..cc83fa15d17f 100644 --- a/clients/client-keyspaces/src/index.ts +++ b/clients/client-keyspaces/src/index.ts @@ -25,4 +25,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { KeyspacesServiceException } from "./models/KeyspacesServiceException"; diff --git a/clients/client-kinesis-analytics-v2/package.json b/clients/client-kinesis-analytics-v2/package.json index c34902d0e799..225f646d52cc 100644 --- a/clients/client-kinesis-analytics-v2/package.json +++ b/clients/client-kinesis-analytics-v2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kinesis-analytics-v2/src/endpoint/endpointResolver.ts b/clients/client-kinesis-analytics-v2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis-analytics-v2/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis-analytics-v2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis-analytics-v2/src/endpointFunctions.ts b/clients/client-kinesis-analytics-v2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis-analytics-v2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis-analytics-v2/src/index.ts b/clients/client-kinesis-analytics-v2/src/index.ts index a59b95622cec..c0dbd6310a8c 100644 --- a/clients/client-kinesis-analytics-v2/src/index.ts +++ b/clients/client-kinesis-analytics-v2/src/index.ts @@ -13,4 +13,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisAnalyticsV2ServiceException } from "./models/KinesisAnalyticsV2ServiceException"; diff --git a/clients/client-kinesis-analytics/package.json b/clients/client-kinesis-analytics/package.json index e8ddbb0a7cbe..6323ca9dd7ea 100644 --- a/clients/client-kinesis-analytics/package.json +++ b/clients/client-kinesis-analytics/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kinesis-analytics/src/endpoint/endpointResolver.ts b/clients/client-kinesis-analytics/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis-analytics/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis-analytics/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis-analytics/src/endpointFunctions.ts b/clients/client-kinesis-analytics/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis-analytics/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis-analytics/src/index.ts b/clients/client-kinesis-analytics/src/index.ts index 12eee3409062..0409c0d08cdb 100644 --- a/clients/client-kinesis-analytics/src/index.ts +++ b/clients/client-kinesis-analytics/src/index.ts @@ -20,4 +20,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisAnalyticsServiceException } from "./models/KinesisAnalyticsServiceException"; diff --git a/clients/client-kinesis-video-archived-media/package.json b/clients/client-kinesis-video-archived-media/package.json index d213fd71a958..be0f818a8cea 100644 --- a/clients/client-kinesis-video-archived-media/package.json +++ b/clients/client-kinesis-video-archived-media/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-kinesis-video-archived-media/src/endpoint/endpointResolver.ts b/clients/client-kinesis-video-archived-media/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis-video-archived-media/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis-video-archived-media/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis-video-archived-media/src/endpointFunctions.ts b/clients/client-kinesis-video-archived-media/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis-video-archived-media/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis-video-archived-media/src/index.ts b/clients/client-kinesis-video-archived-media/src/index.ts index 4c6a9db43bc6..92a01d5f0ddd 100644 --- a/clients/client-kinesis-video-archived-media/src/index.ts +++ b/clients/client-kinesis-video-archived-media/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisVideoArchivedMediaServiceException } from "./models/KinesisVideoArchivedMediaServiceException"; diff --git a/clients/client-kinesis-video-media/package.json b/clients/client-kinesis-video-media/package.json index c0fd0cf9d269..e42f03affc70 100644 --- a/clients/client-kinesis-video-media/package.json +++ b/clients/client-kinesis-video-media/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-kinesis-video-media/src/endpoint/endpointResolver.ts b/clients/client-kinesis-video-media/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis-video-media/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis-video-media/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis-video-media/src/endpointFunctions.ts b/clients/client-kinesis-video-media/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis-video-media/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis-video-media/src/index.ts b/clients/client-kinesis-video-media/src/index.ts index cf9294a6a885..2493d631cfdb 100644 --- a/clients/client-kinesis-video-media/src/index.ts +++ b/clients/client-kinesis-video-media/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisVideoMediaServiceException } from "./models/KinesisVideoMediaServiceException"; diff --git a/clients/client-kinesis-video-signaling/package.json b/clients/client-kinesis-video-signaling/package.json index 11a138fabbec..cf60438019be 100644 --- a/clients/client-kinesis-video-signaling/package.json +++ b/clients/client-kinesis-video-signaling/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kinesis-video-signaling/src/endpoint/endpointResolver.ts b/clients/client-kinesis-video-signaling/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis-video-signaling/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis-video-signaling/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis-video-signaling/src/endpointFunctions.ts b/clients/client-kinesis-video-signaling/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis-video-signaling/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis-video-signaling/src/index.ts b/clients/client-kinesis-video-signaling/src/index.ts index 99b0ff66b26a..ec80223c7e39 100644 --- a/clients/client-kinesis-video-signaling/src/index.ts +++ b/clients/client-kinesis-video-signaling/src/index.ts @@ -13,4 +13,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisVideoSignalingServiceException } from "./models/KinesisVideoSignalingServiceException"; diff --git a/clients/client-kinesis-video-webrtc-storage/package.json b/clients/client-kinesis-video-webrtc-storage/package.json index 003de38e4446..03037e2dcadc 100644 --- a/clients/client-kinesis-video-webrtc-storage/package.json +++ b/clients/client-kinesis-video-webrtc-storage/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kinesis-video-webrtc-storage/src/endpoint/endpointResolver.ts b/clients/client-kinesis-video-webrtc-storage/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis-video-webrtc-storage/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis-video-webrtc-storage/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis-video-webrtc-storage/src/endpointFunctions.ts b/clients/client-kinesis-video-webrtc-storage/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis-video-webrtc-storage/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis-video-webrtc-storage/src/index.ts b/clients/client-kinesis-video-webrtc-storage/src/index.ts index 1990c2cb6bfe..ed778af8135a 100644 --- a/clients/client-kinesis-video-webrtc-storage/src/index.ts +++ b/clients/client-kinesis-video-webrtc-storage/src/index.ts @@ -12,4 +12,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisVideoWebRTCStorageServiceException } from "./models/KinesisVideoWebRTCStorageServiceException"; diff --git a/clients/client-kinesis-video/package.json b/clients/client-kinesis-video/package.json index f45f3aaee615..f9b43a3ac70e 100644 --- a/clients/client-kinesis-video/package.json +++ b/clients/client-kinesis-video/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kinesis-video/src/endpoint/endpointResolver.ts b/clients/client-kinesis-video/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis-video/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis-video/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis-video/src/endpointFunctions.ts b/clients/client-kinesis-video/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis-video/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis-video/src/index.ts b/clients/client-kinesis-video/src/index.ts index 8e6607752918..58218db4ef13 100644 --- a/clients/client-kinesis-video/src/index.ts +++ b/clients/client-kinesis-video/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisVideoServiceException } from "./models/KinesisVideoServiceException"; diff --git a/clients/client-kinesis/package.json b/clients/client-kinesis/package.json index b948b535ff53..42d77c87bdc4 100644 --- a/clients/client-kinesis/package.json +++ b/clients/client-kinesis/package.json @@ -57,6 +57,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-kinesis/src/endpoint/endpointResolver.ts b/clients/client-kinesis/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kinesis/src/endpoint/endpointResolver.ts +++ b/clients/client-kinesis/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kinesis/src/endpointFunctions.ts b/clients/client-kinesis/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kinesis/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kinesis/src/index.ts b/clients/client-kinesis/src/index.ts index c96e720aa7f9..f245199243af 100644 --- a/clients/client-kinesis/src/index.ts +++ b/clients/client-kinesis/src/index.ts @@ -15,4 +15,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { KinesisServiceException } from "./models/KinesisServiceException"; diff --git a/clients/client-kms/package.json b/clients/client-kms/package.json index 535657750206..6c29614de676 100644 --- a/clients/client-kms/package.json +++ b/clients/client-kms/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-kms/src/endpoint/endpointResolver.ts b/clients/client-kms/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-kms/src/endpoint/endpointResolver.ts +++ b/clients/client-kms/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-kms/src/endpointFunctions.ts b/clients/client-kms/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-kms/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-kms/src/index.ts b/clients/client-kms/src/index.ts index 70246ccf0410..b1047b558431 100644 --- a/clients/client-kms/src/index.ts +++ b/clients/client-kms/src/index.ts @@ -106,4 +106,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { KMSServiceException } from "./models/KMSServiceException"; diff --git a/clients/client-lakeformation/package.json b/clients/client-lakeformation/package.json index 90365081308a..164d1cd83fbb 100644 --- a/clients/client-lakeformation/package.json +++ b/clients/client-lakeformation/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-lakeformation/src/endpoint/endpointResolver.ts b/clients/client-lakeformation/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lakeformation/src/endpoint/endpointResolver.ts +++ b/clients/client-lakeformation/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lakeformation/src/endpointFunctions.ts b/clients/client-lakeformation/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lakeformation/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lakeformation/src/index.ts b/clients/client-lakeformation/src/index.ts index b2cdc45ee279..b65399b275a9 100644 --- a/clients/client-lakeformation/src/index.ts +++ b/clients/client-lakeformation/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LakeFormationServiceException } from "./models/LakeFormationServiceException"; diff --git a/clients/client-lambda/package.json b/clients/client-lambda/package.json index 7069d6ab9959..88e54aaa431a 100644 --- a/clients/client-lambda/package.json +++ b/clients/client-lambda/package.json @@ -56,6 +56,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-lambda/src/endpoint/endpointResolver.ts b/clients/client-lambda/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lambda/src/endpoint/endpointResolver.ts +++ b/clients/client-lambda/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lambda/src/endpointFunctions.ts b/clients/client-lambda/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lambda/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lambda/src/index.ts b/clients/client-lambda/src/index.ts index de4735afff2c..714c032feb1f 100644 --- a/clients/client-lambda/src/index.ts +++ b/clients/client-lambda/src/index.ts @@ -77,4 +77,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { LambdaServiceException } from "./models/LambdaServiceException"; diff --git a/clients/client-lex-model-building-service/package.json b/clients/client-lex-model-building-service/package.json index f6ac1a51a49f..fccfb5da861f 100644 --- a/clients/client-lex-model-building-service/package.json +++ b/clients/client-lex-model-building-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-lex-model-building-service/src/endpoint/endpointResolver.ts b/clients/client-lex-model-building-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lex-model-building-service/src/endpoint/endpointResolver.ts +++ b/clients/client-lex-model-building-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lex-model-building-service/src/endpointFunctions.ts b/clients/client-lex-model-building-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lex-model-building-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lex-model-building-service/src/index.ts b/clients/client-lex-model-building-service/src/index.ts index 3939c9afd69e..8a518b4754fa 100644 --- a/clients/client-lex-model-building-service/src/index.ts +++ b/clients/client-lex-model-building-service/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LexModelBuildingServiceServiceException } from "./models/LexModelBuildingServiceServiceException"; diff --git a/clients/client-lex-models-v2/package.json b/clients/client-lex-models-v2/package.json index 7108f0a5e94a..dabebb132bbc 100644 --- a/clients/client-lex-models-v2/package.json +++ b/clients/client-lex-models-v2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-lex-models-v2/src/endpoint/endpointResolver.ts b/clients/client-lex-models-v2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lex-models-v2/src/endpoint/endpointResolver.ts +++ b/clients/client-lex-models-v2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lex-models-v2/src/endpointFunctions.ts b/clients/client-lex-models-v2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lex-models-v2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lex-models-v2/src/index.ts b/clients/client-lex-models-v2/src/index.ts index e23967b7cc2d..dce9bbf6926e 100644 --- a/clients/client-lex-models-v2/src/index.ts +++ b/clients/client-lex-models-v2/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { LexModelsV2ServiceException } from "./models/LexModelsV2ServiceException"; diff --git a/clients/client-lex-runtime-service/package.json b/clients/client-lex-runtime-service/package.json index 870f7a757ae2..7a5faf5aefa1 100644 --- a/clients/client-lex-runtime-service/package.json +++ b/clients/client-lex-runtime-service/package.json @@ -55,6 +55,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-lex-runtime-service/src/endpoint/endpointResolver.ts b/clients/client-lex-runtime-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lex-runtime-service/src/endpoint/endpointResolver.ts +++ b/clients/client-lex-runtime-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lex-runtime-service/src/endpointFunctions.ts b/clients/client-lex-runtime-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lex-runtime-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lex-runtime-service/src/index.ts b/clients/client-lex-runtime-service/src/index.ts index a35e79192743..4f30ec926a9d 100644 --- a/clients/client-lex-runtime-service/src/index.ts +++ b/clients/client-lex-runtime-service/src/index.ts @@ -22,4 +22,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException"; diff --git a/clients/client-lex-runtime-v2/package.json b/clients/client-lex-runtime-v2/package.json index 5f60cc854e4b..33124ec79317 100644 --- a/clients/client-lex-runtime-v2/package.json +++ b/clients/client-lex-runtime-v2/package.json @@ -58,6 +58,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-lex-runtime-v2/src/endpoint/endpointResolver.ts b/clients/client-lex-runtime-v2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lex-runtime-v2/src/endpoint/endpointResolver.ts +++ b/clients/client-lex-runtime-v2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lex-runtime-v2/src/endpointFunctions.ts b/clients/client-lex-runtime-v2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lex-runtime-v2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lex-runtime-v2/src/index.ts b/clients/client-lex-runtime-v2/src/index.ts index 4a789317208f..7eea7911410b 100644 --- a/clients/client-lex-runtime-v2/src/index.ts +++ b/clients/client-lex-runtime-v2/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { LexRuntimeV2ServiceException } from "./models/LexRuntimeV2ServiceException"; diff --git a/clients/client-license-manager-linux-subscriptions/package.json b/clients/client-license-manager-linux-subscriptions/package.json index d4d3bd33ddbd..bada8a0f5c9d 100644 --- a/clients/client-license-manager-linux-subscriptions/package.json +++ b/clients/client-license-manager-linux-subscriptions/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-license-manager-linux-subscriptions/src/endpoint/endpointResolver.ts b/clients/client-license-manager-linux-subscriptions/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-license-manager-linux-subscriptions/src/endpoint/endpointResolver.ts +++ b/clients/client-license-manager-linux-subscriptions/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-license-manager-linux-subscriptions/src/endpointFunctions.ts b/clients/client-license-manager-linux-subscriptions/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-license-manager-linux-subscriptions/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-license-manager-linux-subscriptions/src/index.ts b/clients/client-license-manager-linux-subscriptions/src/index.ts index 05ea245084e3..ab50350ec593 100644 --- a/clients/client-license-manager-linux-subscriptions/src/index.ts +++ b/clients/client-license-manager-linux-subscriptions/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LicenseManagerLinuxSubscriptionsServiceException } from "./models/LicenseManagerLinuxSubscriptionsServiceException"; diff --git a/clients/client-license-manager-user-subscriptions/package.json b/clients/client-license-manager-user-subscriptions/package.json index 03b3ab633918..d4c0723e7a8d 100644 --- a/clients/client-license-manager-user-subscriptions/package.json +++ b/clients/client-license-manager-user-subscriptions/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-license-manager-user-subscriptions/src/endpoint/endpointResolver.ts b/clients/client-license-manager-user-subscriptions/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-license-manager-user-subscriptions/src/endpoint/endpointResolver.ts +++ b/clients/client-license-manager-user-subscriptions/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-license-manager-user-subscriptions/src/endpointFunctions.ts b/clients/client-license-manager-user-subscriptions/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-license-manager-user-subscriptions/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-license-manager-user-subscriptions/src/index.ts b/clients/client-license-manager-user-subscriptions/src/index.ts index f11ee5b495ed..fa50d6eaa07d 100644 --- a/clients/client-license-manager-user-subscriptions/src/index.ts +++ b/clients/client-license-manager-user-subscriptions/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LicenseManagerUserSubscriptionsServiceException } from "./models/LicenseManagerUserSubscriptionsServiceException"; diff --git a/clients/client-license-manager/package.json b/clients/client-license-manager/package.json index 2f41ce35cf80..6ccb1608adbc 100644 --- a/clients/client-license-manager/package.json +++ b/clients/client-license-manager/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-license-manager/src/endpoint/endpointResolver.ts b/clients/client-license-manager/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-license-manager/src/endpoint/endpointResolver.ts +++ b/clients/client-license-manager/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-license-manager/src/endpointFunctions.ts b/clients/client-license-manager/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-license-manager/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-license-manager/src/index.ts b/clients/client-license-manager/src/index.ts index ab1474c458e1..014b4e160fb4 100644 --- a/clients/client-license-manager/src/index.ts +++ b/clients/client-license-manager/src/index.ts @@ -12,4 +12,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { LicenseManagerServiceException } from "./models/LicenseManagerServiceException"; diff --git a/clients/client-lightsail/package.json b/clients/client-lightsail/package.json index a5fe04a1bb67..ab224c51c8d1 100644 --- a/clients/client-lightsail/package.json +++ b/clients/client-lightsail/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-lightsail/src/endpoint/endpointResolver.ts b/clients/client-lightsail/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lightsail/src/endpoint/endpointResolver.ts +++ b/clients/client-lightsail/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lightsail/src/endpointFunctions.ts b/clients/client-lightsail/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lightsail/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lightsail/src/index.ts b/clients/client-lightsail/src/index.ts index 747eb220e626..8bc10a55165e 100644 --- a/clients/client-lightsail/src/index.ts +++ b/clients/client-lightsail/src/index.ts @@ -24,4 +24,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { LightsailServiceException } from "./models/LightsailServiceException"; diff --git a/clients/client-location/package.json b/clients/client-location/package.json index 446826d3e645..81218d2ab1ef 100644 --- a/clients/client-location/package.json +++ b/clients/client-location/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-location/src/endpoint/endpointResolver.ts b/clients/client-location/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-location/src/endpoint/endpointResolver.ts +++ b/clients/client-location/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-location/src/endpointFunctions.ts b/clients/client-location/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-location/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-location/src/index.ts b/clients/client-location/src/index.ts index a7ec1ba8f99c..feb56a7f0b6d 100644 --- a/clients/client-location/src/index.ts +++ b/clients/client-location/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LocationServiceException } from "./models/LocationServiceException"; diff --git a/clients/client-lookoutequipment/package.json b/clients/client-lookoutequipment/package.json index ca32112d8b21..5bead142ee23 100644 --- a/clients/client-lookoutequipment/package.json +++ b/clients/client-lookoutequipment/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-lookoutequipment/src/endpoint/endpointResolver.ts b/clients/client-lookoutequipment/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lookoutequipment/src/endpoint/endpointResolver.ts +++ b/clients/client-lookoutequipment/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lookoutequipment/src/endpointFunctions.ts b/clients/client-lookoutequipment/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lookoutequipment/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lookoutequipment/src/index.ts b/clients/client-lookoutequipment/src/index.ts index 3a3672ad527b..8283f74bb89f 100644 --- a/clients/client-lookoutequipment/src/index.ts +++ b/clients/client-lookoutequipment/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LookoutEquipmentServiceException } from "./models/LookoutEquipmentServiceException"; diff --git a/clients/client-lookoutmetrics/package.json b/clients/client-lookoutmetrics/package.json index 67698ebda40e..ad9c3bf97f68 100644 --- a/clients/client-lookoutmetrics/package.json +++ b/clients/client-lookoutmetrics/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-lookoutmetrics/src/endpoint/endpointResolver.ts b/clients/client-lookoutmetrics/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lookoutmetrics/src/endpoint/endpointResolver.ts +++ b/clients/client-lookoutmetrics/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lookoutmetrics/src/endpointFunctions.ts b/clients/client-lookoutmetrics/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lookoutmetrics/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lookoutmetrics/src/index.ts b/clients/client-lookoutmetrics/src/index.ts index fc7c018133e4..1ac6af13975f 100644 --- a/clients/client-lookoutmetrics/src/index.ts +++ b/clients/client-lookoutmetrics/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LookoutMetricsServiceException } from "./models/LookoutMetricsServiceException"; diff --git a/clients/client-lookoutvision/package.json b/clients/client-lookoutvision/package.json index e1fb5228f34a..59a912858d1e 100644 --- a/clients/client-lookoutvision/package.json +++ b/clients/client-lookoutvision/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-lookoutvision/src/endpoint/endpointResolver.ts b/clients/client-lookoutvision/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-lookoutvision/src/endpoint/endpointResolver.ts +++ b/clients/client-lookoutvision/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-lookoutvision/src/endpointFunctions.ts b/clients/client-lookoutvision/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-lookoutvision/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-lookoutvision/src/index.ts b/clients/client-lookoutvision/src/index.ts index 9b2a6d20b3ed..fb58320e029b 100644 --- a/clients/client-lookoutvision/src/index.ts +++ b/clients/client-lookoutvision/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { LookoutVisionServiceException } from "./models/LookoutVisionServiceException"; diff --git a/clients/client-m2/package.json b/clients/client-m2/package.json index fe473561751b..c22498a73200 100644 --- a/clients/client-m2/package.json +++ b/clients/client-m2/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-m2/src/endpoint/endpointResolver.ts b/clients/client-m2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-m2/src/endpoint/endpointResolver.ts +++ b/clients/client-m2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-m2/src/endpointFunctions.ts b/clients/client-m2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-m2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-m2/src/index.ts b/clients/client-m2/src/index.ts index 0842fce20c2a..784b79c95009 100644 --- a/clients/client-m2/src/index.ts +++ b/clients/client-m2/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { M2ServiceException } from "./models/M2ServiceException"; diff --git a/clients/client-machine-learning/package.json b/clients/client-machine-learning/package.json index 129e62b54fb8..72ccf197b0c1 100644 --- a/clients/client-machine-learning/package.json +++ b/clients/client-machine-learning/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-machine-learning/src/endpoint/endpointResolver.ts b/clients/client-machine-learning/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-machine-learning/src/endpoint/endpointResolver.ts +++ b/clients/client-machine-learning/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-machine-learning/src/endpointFunctions.ts b/clients/client-machine-learning/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-machine-learning/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-machine-learning/src/index.ts b/clients/client-machine-learning/src/index.ts index 2b88d0942591..164ba844e712 100644 --- a/clients/client-machine-learning/src/index.ts +++ b/clients/client-machine-learning/src/index.ts @@ -14,4 +14,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { MachineLearningServiceException } from "./models/MachineLearningServiceException"; diff --git a/clients/client-macie/package.json b/clients/client-macie/package.json index a0e4d504870a..b0017c6d1ec9 100644 --- a/clients/client-macie/package.json +++ b/clients/client-macie/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-macie/src/endpoint/endpointResolver.ts b/clients/client-macie/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-macie/src/endpoint/endpointResolver.ts +++ b/clients/client-macie/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-macie/src/endpointFunctions.ts b/clients/client-macie/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-macie/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-macie/src/index.ts b/clients/client-macie/src/index.ts index 797edca5208e..2fbb7b8e9bd7 100644 --- a/clients/client-macie/src/index.ts +++ b/clients/client-macie/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MacieServiceException } from "./models/MacieServiceException"; diff --git a/clients/client-macie2/package.json b/clients/client-macie2/package.json index 05a000e912a5..81b335a7b050 100644 --- a/clients/client-macie2/package.json +++ b/clients/client-macie2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-macie2/src/endpoint/endpointResolver.ts b/clients/client-macie2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-macie2/src/endpoint/endpointResolver.ts +++ b/clients/client-macie2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-macie2/src/endpointFunctions.ts b/clients/client-macie2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-macie2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-macie2/src/index.ts b/clients/client-macie2/src/index.ts index d9bad2bb87a3..971a47ba6d3d 100644 --- a/clients/client-macie2/src/index.ts +++ b/clients/client-macie2/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { Macie2ServiceException } from "./models/Macie2ServiceException"; diff --git a/clients/client-managedblockchain-query/package.json b/clients/client-managedblockchain-query/package.json index 651a6c9ee465..d5310805baab 100644 --- a/clients/client-managedblockchain-query/package.json +++ b/clients/client-managedblockchain-query/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-managedblockchain-query/src/endpoint/endpointResolver.ts b/clients/client-managedblockchain-query/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-managedblockchain-query/src/endpoint/endpointResolver.ts +++ b/clients/client-managedblockchain-query/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-managedblockchain-query/src/endpointFunctions.ts b/clients/client-managedblockchain-query/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-managedblockchain-query/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-managedblockchain-query/src/index.ts b/clients/client-managedblockchain-query/src/index.ts index 11dafcae1794..1d4a1214820d 100644 --- a/clients/client-managedblockchain-query/src/index.ts +++ b/clients/client-managedblockchain-query/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ManagedBlockchainQueryServiceException } from "./models/ManagedBlockchainQueryServiceException"; diff --git a/clients/client-managedblockchain/package.json b/clients/client-managedblockchain/package.json index 98f026182cd2..7d2301833887 100644 --- a/clients/client-managedblockchain/package.json +++ b/clients/client-managedblockchain/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-managedblockchain/src/endpoint/endpointResolver.ts b/clients/client-managedblockchain/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-managedblockchain/src/endpoint/endpointResolver.ts +++ b/clients/client-managedblockchain/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-managedblockchain/src/endpointFunctions.ts b/clients/client-managedblockchain/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-managedblockchain/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-managedblockchain/src/index.ts b/clients/client-managedblockchain/src/index.ts index 07c9061c54a7..047838260e4a 100644 --- a/clients/client-managedblockchain/src/index.ts +++ b/clients/client-managedblockchain/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ManagedBlockchainServiceException } from "./models/ManagedBlockchainServiceException"; diff --git a/clients/client-marketplace-catalog/package.json b/clients/client-marketplace-catalog/package.json index e3bd01e85980..f7ded86c766d 100644 --- a/clients/client-marketplace-catalog/package.json +++ b/clients/client-marketplace-catalog/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-marketplace-catalog/src/endpoint/endpointResolver.ts b/clients/client-marketplace-catalog/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-marketplace-catalog/src/endpoint/endpointResolver.ts +++ b/clients/client-marketplace-catalog/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-marketplace-catalog/src/endpointFunctions.ts b/clients/client-marketplace-catalog/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-marketplace-catalog/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-marketplace-catalog/src/index.ts b/clients/client-marketplace-catalog/src/index.ts index 3ad1824cd06b..dbb4b2355fda 100644 --- a/clients/client-marketplace-catalog/src/index.ts +++ b/clients/client-marketplace-catalog/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MarketplaceCatalogServiceException } from "./models/MarketplaceCatalogServiceException"; diff --git a/clients/client-marketplace-commerce-analytics/package.json b/clients/client-marketplace-commerce-analytics/package.json index eb9583f79075..b47f39865dfe 100644 --- a/clients/client-marketplace-commerce-analytics/package.json +++ b/clients/client-marketplace-commerce-analytics/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-marketplace-commerce-analytics/src/endpoint/endpointResolver.ts b/clients/client-marketplace-commerce-analytics/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-marketplace-commerce-analytics/src/endpoint/endpointResolver.ts +++ b/clients/client-marketplace-commerce-analytics/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-marketplace-commerce-analytics/src/endpointFunctions.ts b/clients/client-marketplace-commerce-analytics/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-marketplace-commerce-analytics/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-marketplace-commerce-analytics/src/index.ts b/clients/client-marketplace-commerce-analytics/src/index.ts index e720cc97045e..7fd1df0e0647 100644 --- a/clients/client-marketplace-commerce-analytics/src/index.ts +++ b/clients/client-marketplace-commerce-analytics/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { MarketplaceCommerceAnalyticsServiceException } from "./models/MarketplaceCommerceAnalyticsServiceException"; diff --git a/clients/client-marketplace-entitlement-service/package.json b/clients/client-marketplace-entitlement-service/package.json index 140ee6ef9d5d..94e999bf789f 100644 --- a/clients/client-marketplace-entitlement-service/package.json +++ b/clients/client-marketplace-entitlement-service/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-marketplace-entitlement-service/src/endpoint/endpointResolver.ts b/clients/client-marketplace-entitlement-service/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-marketplace-entitlement-service/src/endpoint/endpointResolver.ts +++ b/clients/client-marketplace-entitlement-service/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-marketplace-entitlement-service/src/endpointFunctions.ts b/clients/client-marketplace-entitlement-service/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-marketplace-entitlement-service/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-marketplace-entitlement-service/src/index.ts b/clients/client-marketplace-entitlement-service/src/index.ts index 38c629257408..ce3256c34046 100644 --- a/clients/client-marketplace-entitlement-service/src/index.ts +++ b/clients/client-marketplace-entitlement-service/src/index.ts @@ -27,4 +27,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { MarketplaceEntitlementServiceServiceException } from "./models/MarketplaceEntitlementServiceServiceException"; diff --git a/clients/client-marketplace-metering/package.json b/clients/client-marketplace-metering/package.json index 05ff409332e8..301a687d50cb 100644 --- a/clients/client-marketplace-metering/package.json +++ b/clients/client-marketplace-metering/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-marketplace-metering/src/endpoint/endpointResolver.ts b/clients/client-marketplace-metering/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-marketplace-metering/src/endpoint/endpointResolver.ts +++ b/clients/client-marketplace-metering/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-marketplace-metering/src/endpointFunctions.ts b/clients/client-marketplace-metering/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-marketplace-metering/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-marketplace-metering/src/index.ts b/clients/client-marketplace-metering/src/index.ts index 46ed68683772..ab73c4fbcbfb 100644 --- a/clients/client-marketplace-metering/src/index.ts +++ b/clients/client-marketplace-metering/src/index.ts @@ -73,4 +73,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { MarketplaceMeteringServiceException } from "./models/MarketplaceMeteringServiceException"; diff --git a/clients/client-mediaconnect/package.json b/clients/client-mediaconnect/package.json index 843763d1cfc1..14d62e8a8851 100644 --- a/clients/client-mediaconnect/package.json +++ b/clients/client-mediaconnect/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-mediaconnect/src/endpoint/endpointResolver.ts b/clients/client-mediaconnect/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediaconnect/src/endpoint/endpointResolver.ts +++ b/clients/client-mediaconnect/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediaconnect/src/endpointFunctions.ts b/clients/client-mediaconnect/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediaconnect/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediaconnect/src/index.ts b/clients/client-mediaconnect/src/index.ts index 2a10a49fafee..ece9253c227f 100644 --- a/clients/client-mediaconnect/src/index.ts +++ b/clients/client-mediaconnect/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaConnectServiceException } from "./models/MediaConnectServiceException"; diff --git a/clients/client-mediaconvert/package.json b/clients/client-mediaconvert/package.json index 0e5049fc1c9e..b8d4f2ecbdf3 100644 --- a/clients/client-mediaconvert/package.json +++ b/clients/client-mediaconvert/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-mediaconvert/src/endpoint/endpointResolver.ts b/clients/client-mediaconvert/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediaconvert/src/endpoint/endpointResolver.ts +++ b/clients/client-mediaconvert/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediaconvert/src/endpointFunctions.ts b/clients/client-mediaconvert/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediaconvert/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediaconvert/src/index.ts b/clients/client-mediaconvert/src/index.ts index 62c9bdb37e19..c577ba9a3ac4 100644 --- a/clients/client-mediaconvert/src/index.ts +++ b/clients/client-mediaconvert/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaConvertServiceException } from "./models/MediaConvertServiceException"; diff --git a/clients/client-medialive/package.json b/clients/client-medialive/package.json index 22f3c5d983c1..a441bbcc790a 100644 --- a/clients/client-medialive/package.json +++ b/clients/client-medialive/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-medialive/src/endpoint/endpointResolver.ts b/clients/client-medialive/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-medialive/src/endpoint/endpointResolver.ts +++ b/clients/client-medialive/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-medialive/src/endpointFunctions.ts b/clients/client-medialive/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-medialive/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-medialive/src/index.ts b/clients/client-medialive/src/index.ts index efb3f9d030d4..565ff9260a11 100644 --- a/clients/client-medialive/src/index.ts +++ b/clients/client-medialive/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaLiveServiceException } from "./models/MediaLiveServiceException"; diff --git a/clients/client-mediapackage-vod/package.json b/clients/client-mediapackage-vod/package.json index e13551530a4b..eb48f261480a 100644 --- a/clients/client-mediapackage-vod/package.json +++ b/clients/client-mediapackage-vod/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-mediapackage-vod/src/endpoint/endpointResolver.ts b/clients/client-mediapackage-vod/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediapackage-vod/src/endpoint/endpointResolver.ts +++ b/clients/client-mediapackage-vod/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediapackage-vod/src/endpointFunctions.ts b/clients/client-mediapackage-vod/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediapackage-vod/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediapackage-vod/src/index.ts b/clients/client-mediapackage-vod/src/index.ts index 4135d6b5fe21..e2010e17f048 100644 --- a/clients/client-mediapackage-vod/src/index.ts +++ b/clients/client-mediapackage-vod/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaPackageVodServiceException } from "./models/MediaPackageVodServiceException"; diff --git a/clients/client-mediapackage/package.json b/clients/client-mediapackage/package.json index 50a02cc2442d..27935e299af9 100644 --- a/clients/client-mediapackage/package.json +++ b/clients/client-mediapackage/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-mediapackage/src/endpoint/endpointResolver.ts b/clients/client-mediapackage/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediapackage/src/endpoint/endpointResolver.ts +++ b/clients/client-mediapackage/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediapackage/src/endpointFunctions.ts b/clients/client-mediapackage/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediapackage/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediapackage/src/index.ts b/clients/client-mediapackage/src/index.ts index eef65b62793d..1191176f28ab 100644 --- a/clients/client-mediapackage/src/index.ts +++ b/clients/client-mediapackage/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaPackageServiceException } from "./models/MediaPackageServiceException"; diff --git a/clients/client-mediapackagev2/package.json b/clients/client-mediapackagev2/package.json index 6de3cbea0aed..54e1f0a31283 100644 --- a/clients/client-mediapackagev2/package.json +++ b/clients/client-mediapackagev2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-mediapackagev2/src/endpoint/endpointResolver.ts b/clients/client-mediapackagev2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediapackagev2/src/endpoint/endpointResolver.ts +++ b/clients/client-mediapackagev2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediapackagev2/src/endpointFunctions.ts b/clients/client-mediapackagev2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediapackagev2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediapackagev2/src/index.ts b/clients/client-mediapackagev2/src/index.ts index 0eeba5aca356..898cb3736639 100644 --- a/clients/client-mediapackagev2/src/index.ts +++ b/clients/client-mediapackagev2/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaPackageV2ServiceException } from "./models/MediaPackageV2ServiceException"; diff --git a/clients/client-mediastore-data/package.json b/clients/client-mediastore-data/package.json index e4329ada2c06..5c8ac5e21f1a 100644 --- a/clients/client-mediastore-data/package.json +++ b/clients/client-mediastore-data/package.json @@ -55,6 +55,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-mediastore-data/src/endpoint/endpointResolver.ts b/clients/client-mediastore-data/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediastore-data/src/endpoint/endpointResolver.ts +++ b/clients/client-mediastore-data/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediastore-data/src/endpointFunctions.ts b/clients/client-mediastore-data/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediastore-data/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediastore-data/src/index.ts b/clients/client-mediastore-data/src/index.ts index c22ac83bc455..fbf4d624e2aa 100644 --- a/clients/client-mediastore-data/src/index.ts +++ b/clients/client-mediastore-data/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaStoreDataServiceException } from "./models/MediaStoreDataServiceException"; diff --git a/clients/client-mediastore/package.json b/clients/client-mediastore/package.json index 2f7e1781fdab..cdd9e17b6fb1 100644 --- a/clients/client-mediastore/package.json +++ b/clients/client-mediastore/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-mediastore/src/endpoint/endpointResolver.ts b/clients/client-mediastore/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediastore/src/endpoint/endpointResolver.ts +++ b/clients/client-mediastore/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediastore/src/endpointFunctions.ts b/clients/client-mediastore/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediastore/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediastore/src/index.ts b/clients/client-mediastore/src/index.ts index dc000a19dbb4..8090500d4628 100644 --- a/clients/client-mediastore/src/index.ts +++ b/clients/client-mediastore/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaStoreServiceException } from "./models/MediaStoreServiceException"; diff --git a/clients/client-mediatailor/package.json b/clients/client-mediatailor/package.json index a60729635b35..fdf4925f3d16 100644 --- a/clients/client-mediatailor/package.json +++ b/clients/client-mediatailor/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-mediatailor/src/endpoint/endpointResolver.ts b/clients/client-mediatailor/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mediatailor/src/endpoint/endpointResolver.ts +++ b/clients/client-mediatailor/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mediatailor/src/endpointFunctions.ts b/clients/client-mediatailor/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mediatailor/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mediatailor/src/index.ts b/clients/client-mediatailor/src/index.ts index a51ba5014133..31312f490bbf 100644 --- a/clients/client-mediatailor/src/index.ts +++ b/clients/client-mediatailor/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MediaTailorServiceException } from "./models/MediaTailorServiceException"; diff --git a/clients/client-medical-imaging/package.json b/clients/client-medical-imaging/package.json index 32f5190ae9b5..a7ac4d8c65e9 100644 --- a/clients/client-medical-imaging/package.json +++ b/clients/client-medical-imaging/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-medical-imaging/src/endpoint/endpointResolver.ts b/clients/client-medical-imaging/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-medical-imaging/src/endpoint/endpointResolver.ts +++ b/clients/client-medical-imaging/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-medical-imaging/src/endpointFunctions.ts b/clients/client-medical-imaging/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-medical-imaging/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-medical-imaging/src/index.ts b/clients/client-medical-imaging/src/index.ts index f29c1d8bf602..625cf59d0394 100644 --- a/clients/client-medical-imaging/src/index.ts +++ b/clients/client-medical-imaging/src/index.ts @@ -161,4 +161,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MedicalImagingServiceException } from "./models/MedicalImagingServiceException"; diff --git a/clients/client-memorydb/package.json b/clients/client-memorydb/package.json index 6f92b1980c13..9328b2ad71df 100644 --- a/clients/client-memorydb/package.json +++ b/clients/client-memorydb/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-memorydb/src/endpoint/endpointResolver.ts b/clients/client-memorydb/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-memorydb/src/endpoint/endpointResolver.ts +++ b/clients/client-memorydb/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-memorydb/src/endpointFunctions.ts b/clients/client-memorydb/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-memorydb/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-memorydb/src/index.ts b/clients/client-memorydb/src/index.ts index cd960f8172ce..750cf9c2c8dc 100644 --- a/clients/client-memorydb/src/index.ts +++ b/clients/client-memorydb/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MemoryDBServiceException } from "./models/MemoryDBServiceException"; diff --git a/clients/client-mgn/package.json b/clients/client-mgn/package.json index 41091820280a..db3796f8a10a 100644 --- a/clients/client-mgn/package.json +++ b/clients/client-mgn/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-mgn/src/endpoint/endpointResolver.ts b/clients/client-mgn/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mgn/src/endpoint/endpointResolver.ts +++ b/clients/client-mgn/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mgn/src/endpointFunctions.ts b/clients/client-mgn/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mgn/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mgn/src/index.ts b/clients/client-mgn/src/index.ts index 39d366a26745..5f22f972146b 100644 --- a/clients/client-mgn/src/index.ts +++ b/clients/client-mgn/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MgnServiceException } from "./models/MgnServiceException"; diff --git a/clients/client-migration-hub-refactor-spaces/package.json b/clients/client-migration-hub-refactor-spaces/package.json index 15698d25bd48..cfa64a0d89a0 100644 --- a/clients/client-migration-hub-refactor-spaces/package.json +++ b/clients/client-migration-hub-refactor-spaces/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-migration-hub-refactor-spaces/src/endpoint/endpointResolver.ts b/clients/client-migration-hub-refactor-spaces/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-migration-hub-refactor-spaces/src/endpoint/endpointResolver.ts +++ b/clients/client-migration-hub-refactor-spaces/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-migration-hub-refactor-spaces/src/endpointFunctions.ts b/clients/client-migration-hub-refactor-spaces/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-migration-hub-refactor-spaces/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-migration-hub-refactor-spaces/src/index.ts b/clients/client-migration-hub-refactor-spaces/src/index.ts index c90b1a279cd8..5adb3c1d95f3 100644 --- a/clients/client-migration-hub-refactor-spaces/src/index.ts +++ b/clients/client-migration-hub-refactor-spaces/src/index.ts @@ -19,4 +19,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MigrationHubRefactorSpacesServiceException } from "./models/MigrationHubRefactorSpacesServiceException"; diff --git a/clients/client-migration-hub/package.json b/clients/client-migration-hub/package.json index 2f6ecd1cb09f..216f73e4d877 100644 --- a/clients/client-migration-hub/package.json +++ b/clients/client-migration-hub/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-migration-hub/src/endpoint/endpointResolver.ts b/clients/client-migration-hub/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-migration-hub/src/endpoint/endpointResolver.ts +++ b/clients/client-migration-hub/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-migration-hub/src/endpointFunctions.ts b/clients/client-migration-hub/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-migration-hub/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-migration-hub/src/index.ts b/clients/client-migration-hub/src/index.ts index b1941fd88f13..21e9974d598b 100644 --- a/clients/client-migration-hub/src/index.ts +++ b/clients/client-migration-hub/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MigrationHubServiceException } from "./models/MigrationHubServiceException"; diff --git a/clients/client-migrationhub-config/package.json b/clients/client-migrationhub-config/package.json index 6ece486fd508..57ede3747bd1 100644 --- a/clients/client-migrationhub-config/package.json +++ b/clients/client-migrationhub-config/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-migrationhub-config/src/endpoint/endpointResolver.ts b/clients/client-migrationhub-config/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-migrationhub-config/src/endpoint/endpointResolver.ts +++ b/clients/client-migrationhub-config/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-migrationhub-config/src/endpointFunctions.ts b/clients/client-migrationhub-config/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-migrationhub-config/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-migrationhub-config/src/index.ts b/clients/client-migrationhub-config/src/index.ts index 5b4b58228458..ba87966b49eb 100644 --- a/clients/client-migrationhub-config/src/index.ts +++ b/clients/client-migrationhub-config/src/index.ts @@ -37,4 +37,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MigrationHubConfigServiceException } from "./models/MigrationHubConfigServiceException"; diff --git a/clients/client-migrationhuborchestrator/package.json b/clients/client-migrationhuborchestrator/package.json index f687487219d4..49d76e0564c2 100644 --- a/clients/client-migrationhuborchestrator/package.json +++ b/clients/client-migrationhuborchestrator/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-migrationhuborchestrator/src/endpoint/endpointResolver.ts b/clients/client-migrationhuborchestrator/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-migrationhuborchestrator/src/endpoint/endpointResolver.ts +++ b/clients/client-migrationhuborchestrator/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-migrationhuborchestrator/src/endpointFunctions.ts b/clients/client-migrationhuborchestrator/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-migrationhuborchestrator/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-migrationhuborchestrator/src/index.ts b/clients/client-migrationhuborchestrator/src/index.ts index 91d94168ad4b..b7f5d8b00391 100644 --- a/clients/client-migrationhuborchestrator/src/index.ts +++ b/clients/client-migrationhuborchestrator/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MigrationHubOrchestratorServiceException } from "./models/MigrationHubOrchestratorServiceException"; diff --git a/clients/client-migrationhubstrategy/package.json b/clients/client-migrationhubstrategy/package.json index 26e193a35a72..978be366094e 100644 --- a/clients/client-migrationhubstrategy/package.json +++ b/clients/client-migrationhubstrategy/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-migrationhubstrategy/src/endpoint/endpointResolver.ts b/clients/client-migrationhubstrategy/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-migrationhubstrategy/src/endpoint/endpointResolver.ts +++ b/clients/client-migrationhubstrategy/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-migrationhubstrategy/src/endpointFunctions.ts b/clients/client-migrationhubstrategy/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-migrationhubstrategy/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-migrationhubstrategy/src/index.ts b/clients/client-migrationhubstrategy/src/index.ts index 40a532e3ca5d..1708ac2519b2 100644 --- a/clients/client-migrationhubstrategy/src/index.ts +++ b/clients/client-migrationhubstrategy/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MigrationHubStrategyServiceException } from "./models/MigrationHubStrategyServiceException"; diff --git a/clients/client-mobile/package.json b/clients/client-mobile/package.json index 91715c12cb48..651315a9aab9 100644 --- a/clients/client-mobile/package.json +++ b/clients/client-mobile/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-mobile/src/endpoint/endpointResolver.ts b/clients/client-mobile/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mobile/src/endpoint/endpointResolver.ts +++ b/clients/client-mobile/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mobile/src/endpointFunctions.ts b/clients/client-mobile/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mobile/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mobile/src/index.ts b/clients/client-mobile/src/index.ts index 08fe9c0b146b..850955c07c09 100644 --- a/clients/client-mobile/src/index.ts +++ b/clients/client-mobile/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MobileServiceException } from "./models/MobileServiceException"; diff --git a/clients/client-mq/package.json b/clients/client-mq/package.json index 5e2bf75a4ca6..c7ddf06a21b3 100644 --- a/clients/client-mq/package.json +++ b/clients/client-mq/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-mq/src/endpoint/endpointResolver.ts b/clients/client-mq/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mq/src/endpoint/endpointResolver.ts +++ b/clients/client-mq/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mq/src/endpointFunctions.ts b/clients/client-mq/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mq/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mq/src/index.ts b/clients/client-mq/src/index.ts index fa4c09b94813..ec87ab1bda8e 100644 --- a/clients/client-mq/src/index.ts +++ b/clients/client-mq/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MqServiceException } from "./models/MqServiceException"; diff --git a/clients/client-mturk/package.json b/clients/client-mturk/package.json index ecf6dae8b52b..05af3f5b63d8 100644 --- a/clients/client-mturk/package.json +++ b/clients/client-mturk/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-mturk/src/endpoint/endpointResolver.ts b/clients/client-mturk/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mturk/src/endpoint/endpointResolver.ts +++ b/clients/client-mturk/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mturk/src/endpointFunctions.ts b/clients/client-mturk/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mturk/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mturk/src/index.ts b/clients/client-mturk/src/index.ts index 304a7e41bbe6..d535d46a8d9f 100644 --- a/clients/client-mturk/src/index.ts +++ b/clients/client-mturk/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MTurkServiceException } from "./models/MTurkServiceException"; diff --git a/clients/client-mwaa/package.json b/clients/client-mwaa/package.json index da7393419830..d051b907d9cc 100644 --- a/clients/client-mwaa/package.json +++ b/clients/client-mwaa/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-mwaa/src/endpoint/endpointResolver.ts b/clients/client-mwaa/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-mwaa/src/endpoint/endpointResolver.ts +++ b/clients/client-mwaa/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-mwaa/src/endpointFunctions.ts b/clients/client-mwaa/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-mwaa/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-mwaa/src/index.ts b/clients/client-mwaa/src/index.ts index d833bf82e399..d6389800ba93 100644 --- a/clients/client-mwaa/src/index.ts +++ b/clients/client-mwaa/src/index.ts @@ -95,4 +95,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { MWAAServiceException } from "./models/MWAAServiceException"; diff --git a/clients/client-neptune/package.json b/clients/client-neptune/package.json index 122311567e57..a1a5e920b860 100644 --- a/clients/client-neptune/package.json +++ b/clients/client-neptune/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-neptune/src/endpoint/endpointResolver.ts b/clients/client-neptune/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-neptune/src/endpoint/endpointResolver.ts +++ b/clients/client-neptune/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-neptune/src/endpointFunctions.ts b/clients/client-neptune/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-neptune/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-neptune/src/index.ts b/clients/client-neptune/src/index.ts index 6f4a79002fdc..6f0a298b32f8 100644 --- a/clients/client-neptune/src/index.ts +++ b/clients/client-neptune/src/index.ts @@ -29,4 +29,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { NeptuneServiceException } from "./models/NeptuneServiceException"; diff --git a/clients/client-neptunedata/package.json b/clients/client-neptunedata/package.json index da170df74ca0..ac1571df2bae 100644 --- a/clients/client-neptunedata/package.json +++ b/clients/client-neptunedata/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-neptunedata/src/endpoint/endpointResolver.ts b/clients/client-neptunedata/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-neptunedata/src/endpoint/endpointResolver.ts +++ b/clients/client-neptunedata/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-neptunedata/src/endpointFunctions.ts b/clients/client-neptunedata/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-neptunedata/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-neptunedata/src/index.ts b/clients/client-neptunedata/src/index.ts index efa3ff8ca544..4acaf7a835b3 100644 --- a/clients/client-neptunedata/src/index.ts +++ b/clients/client-neptunedata/src/index.ts @@ -16,4 +16,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { NeptunedataServiceException } from "./models/NeptunedataServiceException"; diff --git a/clients/client-network-firewall/package.json b/clients/client-network-firewall/package.json index f58ebdad59bd..153dbeac75ee 100644 --- a/clients/client-network-firewall/package.json +++ b/clients/client-network-firewall/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-network-firewall/src/endpoint/endpointResolver.ts b/clients/client-network-firewall/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-network-firewall/src/endpoint/endpointResolver.ts +++ b/clients/client-network-firewall/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-network-firewall/src/endpointFunctions.ts b/clients/client-network-firewall/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-network-firewall/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-network-firewall/src/index.ts b/clients/client-network-firewall/src/index.ts index 62b15cf2a940..df839c137c10 100644 --- a/clients/client-network-firewall/src/index.ts +++ b/clients/client-network-firewall/src/index.ts @@ -89,4 +89,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { NetworkFirewallServiceException } from "./models/NetworkFirewallServiceException"; diff --git a/clients/client-networkmanager/package.json b/clients/client-networkmanager/package.json index ddbd28aaadc3..aa6269e1fdd0 100644 --- a/clients/client-networkmanager/package.json +++ b/clients/client-networkmanager/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-networkmanager/src/endpoint/endpointResolver.ts b/clients/client-networkmanager/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-networkmanager/src/endpoint/endpointResolver.ts +++ b/clients/client-networkmanager/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-networkmanager/src/endpointFunctions.ts b/clients/client-networkmanager/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-networkmanager/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-networkmanager/src/index.ts b/clients/client-networkmanager/src/index.ts index 3653f49bddc9..80b0adaa3065 100644 --- a/clients/client-networkmanager/src/index.ts +++ b/clients/client-networkmanager/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { NetworkManagerServiceException } from "./models/NetworkManagerServiceException"; diff --git a/clients/client-nimble/package.json b/clients/client-nimble/package.json index f08c45dc7763..39dcb4c5f1a5 100644 --- a/clients/client-nimble/package.json +++ b/clients/client-nimble/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-nimble/src/endpoint/endpointResolver.ts b/clients/client-nimble/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-nimble/src/endpoint/endpointResolver.ts +++ b/clients/client-nimble/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-nimble/src/endpointFunctions.ts b/clients/client-nimble/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-nimble/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-nimble/src/index.ts b/clients/client-nimble/src/index.ts index 7be98c3d59ab..72ea75c8e63f 100644 --- a/clients/client-nimble/src/index.ts +++ b/clients/client-nimble/src/index.ts @@ -18,4 +18,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { NimbleServiceException } from "./models/NimbleServiceException"; diff --git a/clients/client-oam/package.json b/clients/client-oam/package.json index d6e89f2521ec..8c2231b3d6ca 100644 --- a/clients/client-oam/package.json +++ b/clients/client-oam/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-oam/src/endpoint/endpointResolver.ts b/clients/client-oam/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-oam/src/endpoint/endpointResolver.ts +++ b/clients/client-oam/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-oam/src/endpointFunctions.ts b/clients/client-oam/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-oam/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-oam/src/index.ts b/clients/client-oam/src/index.ts index 7547b5c67829..5ab5f4689721 100644 --- a/clients/client-oam/src/index.ts +++ b/clients/client-oam/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { OAMServiceException } from "./models/OAMServiceException"; diff --git a/clients/client-omics/package.json b/clients/client-omics/package.json index c25120eab834..57d39c8ccb91 100644 --- a/clients/client-omics/package.json +++ b/clients/client-omics/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-omics/src/endpoint/endpointResolver.ts b/clients/client-omics/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-omics/src/endpoint/endpointResolver.ts +++ b/clients/client-omics/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-omics/src/endpointFunctions.ts b/clients/client-omics/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-omics/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-omics/src/index.ts b/clients/client-omics/src/index.ts index 084ed9ab920d..ab83e65dab11 100644 --- a/clients/client-omics/src/index.ts +++ b/clients/client-omics/src/index.ts @@ -14,4 +14,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { OmicsServiceException } from "./models/OmicsServiceException"; diff --git a/clients/client-opensearch/package.json b/clients/client-opensearch/package.json index 4639c9c98f29..c024631cf3ae 100644 --- a/clients/client-opensearch/package.json +++ b/clients/client-opensearch/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-opensearch/src/endpoint/endpointResolver.ts b/clients/client-opensearch/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-opensearch/src/endpoint/endpointResolver.ts +++ b/clients/client-opensearch/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-opensearch/src/endpointFunctions.ts b/clients/client-opensearch/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-opensearch/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-opensearch/src/index.ts b/clients/client-opensearch/src/index.ts index 19ed8c4ffb28..91db6e393b2d 100644 --- a/clients/client-opensearch/src/index.ts +++ b/clients/client-opensearch/src/index.ts @@ -21,4 +21,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { OpenSearchServiceException } from "./models/OpenSearchServiceException"; diff --git a/clients/client-opensearchserverless/package.json b/clients/client-opensearchserverless/package.json index 54f6934759cc..0a0c51a2240a 100644 --- a/clients/client-opensearchserverless/package.json +++ b/clients/client-opensearchserverless/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-opensearchserverless/src/endpoint/endpointResolver.ts b/clients/client-opensearchserverless/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-opensearchserverless/src/endpoint/endpointResolver.ts +++ b/clients/client-opensearchserverless/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-opensearchserverless/src/endpointFunctions.ts b/clients/client-opensearchserverless/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-opensearchserverless/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-opensearchserverless/src/index.ts b/clients/client-opensearchserverless/src/index.ts index bd2a4c378026..3b2aa5d69d8e 100644 --- a/clients/client-opensearchserverless/src/index.ts +++ b/clients/client-opensearchserverless/src/index.ts @@ -21,4 +21,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { OpenSearchServerlessServiceException } from "./models/OpenSearchServerlessServiceException"; diff --git a/clients/client-opsworks/package.json b/clients/client-opsworks/package.json index 911ff338b609..207fd74b25d1 100644 --- a/clients/client-opsworks/package.json +++ b/clients/client-opsworks/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-opsworks/src/endpoint/endpointResolver.ts b/clients/client-opsworks/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-opsworks/src/endpoint/endpointResolver.ts +++ b/clients/client-opsworks/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-opsworks/src/endpointFunctions.ts b/clients/client-opsworks/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-opsworks/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-opsworks/src/index.ts b/clients/client-opsworks/src/index.ts index ff97ed7e4773..301d10675007 100644 --- a/clients/client-opsworks/src/index.ts +++ b/clients/client-opsworks/src/index.ts @@ -127,4 +127,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { OpsWorksServiceException } from "./models/OpsWorksServiceException"; diff --git a/clients/client-opsworkscm/package.json b/clients/client-opsworkscm/package.json index 36b2a79427cd..593f0f4f6a07 100644 --- a/clients/client-opsworkscm/package.json +++ b/clients/client-opsworkscm/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-opsworkscm/src/endpoint/endpointResolver.ts b/clients/client-opsworkscm/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-opsworkscm/src/endpoint/endpointResolver.ts +++ b/clients/client-opsworkscm/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-opsworkscm/src/endpointFunctions.ts b/clients/client-opsworkscm/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-opsworkscm/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-opsworkscm/src/index.ts b/clients/client-opsworkscm/src/index.ts index 501f318e5ea4..fb8429c1229c 100644 --- a/clients/client-opsworkscm/src/index.ts +++ b/clients/client-opsworkscm/src/index.ts @@ -100,4 +100,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { OpsWorksCMServiceException } from "./models/OpsWorksCMServiceException"; diff --git a/clients/client-organizations/package.json b/clients/client-organizations/package.json index c9e5943a6a85..adadbb7d2c4c 100644 --- a/clients/client-organizations/package.json +++ b/clients/client-organizations/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-organizations/src/endpoint/endpointResolver.ts b/clients/client-organizations/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-organizations/src/endpoint/endpointResolver.ts +++ b/clients/client-organizations/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-organizations/src/endpointFunctions.ts b/clients/client-organizations/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-organizations/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-organizations/src/index.ts b/clients/client-organizations/src/index.ts index 1c6d29cae7af..1c1d603077f1 100644 --- a/clients/client-organizations/src/index.ts +++ b/clients/client-organizations/src/index.ts @@ -83,4 +83,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { OrganizationsServiceException } from "./models/OrganizationsServiceException"; diff --git a/clients/client-osis/package.json b/clients/client-osis/package.json index 155bb65b3c16..d8a75b201a0d 100644 --- a/clients/client-osis/package.json +++ b/clients/client-osis/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-osis/src/endpoint/endpointResolver.ts b/clients/client-osis/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-osis/src/endpoint/endpointResolver.ts +++ b/clients/client-osis/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-osis/src/endpointFunctions.ts b/clients/client-osis/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-osis/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-osis/src/index.ts b/clients/client-osis/src/index.ts index 4a8835cd2bfb..25d48e157a01 100644 --- a/clients/client-osis/src/index.ts +++ b/clients/client-osis/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { OSISServiceException } from "./models/OSISServiceException"; diff --git a/clients/client-outposts/package.json b/clients/client-outposts/package.json index 78511d2f071d..75fbc44a4fce 100644 --- a/clients/client-outposts/package.json +++ b/clients/client-outposts/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-outposts/src/endpoint/endpointResolver.ts b/clients/client-outposts/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-outposts/src/endpoint/endpointResolver.ts +++ b/clients/client-outposts/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-outposts/src/endpointFunctions.ts b/clients/client-outposts/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-outposts/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-outposts/src/index.ts b/clients/client-outposts/src/index.ts index d3ac9b625606..d4c2ac92c5b7 100644 --- a/clients/client-outposts/src/index.ts +++ b/clients/client-outposts/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { OutpostsServiceException } from "./models/OutpostsServiceException"; diff --git a/clients/client-panorama/package.json b/clients/client-panorama/package.json index 302e625ec2b7..edf21823bf55 100644 --- a/clients/client-panorama/package.json +++ b/clients/client-panorama/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-panorama/src/endpoint/endpointResolver.ts b/clients/client-panorama/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-panorama/src/endpoint/endpointResolver.ts +++ b/clients/client-panorama/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-panorama/src/endpointFunctions.ts b/clients/client-panorama/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-panorama/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-panorama/src/index.ts b/clients/client-panorama/src/index.ts index 708805a2f520..171aa39465db 100644 --- a/clients/client-panorama/src/index.ts +++ b/clients/client-panorama/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PanoramaServiceException } from "./models/PanoramaServiceException"; diff --git a/clients/client-payment-cryptography-data/package.json b/clients/client-payment-cryptography-data/package.json index ce7ed56835b2..a3ae9fe85912 100644 --- a/clients/client-payment-cryptography-data/package.json +++ b/clients/client-payment-cryptography-data/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-payment-cryptography-data/src/endpoint/endpointResolver.ts b/clients/client-payment-cryptography-data/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-payment-cryptography-data/src/endpoint/endpointResolver.ts +++ b/clients/client-payment-cryptography-data/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-payment-cryptography-data/src/endpointFunctions.ts b/clients/client-payment-cryptography-data/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-payment-cryptography-data/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-payment-cryptography-data/src/index.ts b/clients/client-payment-cryptography-data/src/index.ts index 2703a8780672..ed7b1af1844f 100644 --- a/clients/client-payment-cryptography-data/src/index.ts +++ b/clients/client-payment-cryptography-data/src/index.ts @@ -12,4 +12,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { PaymentCryptographyDataServiceException } from "./models/PaymentCryptographyDataServiceException"; diff --git a/clients/client-payment-cryptography/package.json b/clients/client-payment-cryptography/package.json index 4fed93efd5a1..c249beb3a15b 100644 --- a/clients/client-payment-cryptography/package.json +++ b/clients/client-payment-cryptography/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-payment-cryptography/src/endpoint/endpointResolver.ts b/clients/client-payment-cryptography/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-payment-cryptography/src/endpoint/endpointResolver.ts +++ b/clients/client-payment-cryptography/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-payment-cryptography/src/endpointFunctions.ts b/clients/client-payment-cryptography/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-payment-cryptography/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-payment-cryptography/src/index.ts b/clients/client-payment-cryptography/src/index.ts index fa0e5db202c5..40b2f3a8fa41 100644 --- a/clients/client-payment-cryptography/src/index.ts +++ b/clients/client-payment-cryptography/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PaymentCryptographyServiceException } from "./models/PaymentCryptographyServiceException"; diff --git a/clients/client-pca-connector-ad/package.json b/clients/client-pca-connector-ad/package.json index c56ac3b8f7e7..9d4e3f6f7434 100644 --- a/clients/client-pca-connector-ad/package.json +++ b/clients/client-pca-connector-ad/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-pca-connector-ad/src/endpoint/endpointResolver.ts b/clients/client-pca-connector-ad/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pca-connector-ad/src/endpoint/endpointResolver.ts +++ b/clients/client-pca-connector-ad/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pca-connector-ad/src/endpointFunctions.ts b/clients/client-pca-connector-ad/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pca-connector-ad/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pca-connector-ad/src/index.ts b/clients/client-pca-connector-ad/src/index.ts index f4bf7128064b..80d8f44351d2 100644 --- a/clients/client-pca-connector-ad/src/index.ts +++ b/clients/client-pca-connector-ad/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PcaConnectorAdServiceException } from "./models/PcaConnectorAdServiceException"; diff --git a/clients/client-personalize-events/package.json b/clients/client-personalize-events/package.json index 8ae73c8496b4..7a227131969c 100644 --- a/clients/client-personalize-events/package.json +++ b/clients/client-personalize-events/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-personalize-events/src/endpoint/endpointResolver.ts b/clients/client-personalize-events/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-personalize-events/src/endpoint/endpointResolver.ts +++ b/clients/client-personalize-events/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-personalize-events/src/endpointFunctions.ts b/clients/client-personalize-events/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-personalize-events/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-personalize-events/src/index.ts b/clients/client-personalize-events/src/index.ts index 079d6d8d7b6d..4929f8433197 100644 --- a/clients/client-personalize-events/src/index.ts +++ b/clients/client-personalize-events/src/index.ts @@ -13,4 +13,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { PersonalizeEventsServiceException } from "./models/PersonalizeEventsServiceException"; diff --git a/clients/client-personalize-runtime/package.json b/clients/client-personalize-runtime/package.json index ff0ac11680f0..3aa13eb7b4cd 100644 --- a/clients/client-personalize-runtime/package.json +++ b/clients/client-personalize-runtime/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-personalize-runtime/src/endpoint/endpointResolver.ts b/clients/client-personalize-runtime/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-personalize-runtime/src/endpoint/endpointResolver.ts +++ b/clients/client-personalize-runtime/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-personalize-runtime/src/endpointFunctions.ts b/clients/client-personalize-runtime/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-personalize-runtime/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-personalize-runtime/src/index.ts b/clients/client-personalize-runtime/src/index.ts index fe90c781b0c2..6a6397147169 100644 --- a/clients/client-personalize-runtime/src/index.ts +++ b/clients/client-personalize-runtime/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { PersonalizeRuntimeServiceException } from "./models/PersonalizeRuntimeServiceException"; diff --git a/clients/client-personalize/package.json b/clients/client-personalize/package.json index dc7569b44469..df1512793cae 100644 --- a/clients/client-personalize/package.json +++ b/clients/client-personalize/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-personalize/src/endpoint/endpointResolver.ts b/clients/client-personalize/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-personalize/src/endpoint/endpointResolver.ts +++ b/clients/client-personalize/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-personalize/src/endpointFunctions.ts b/clients/client-personalize/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-personalize/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-personalize/src/index.ts b/clients/client-personalize/src/index.ts index d40e7cecf10c..e4b220f7779d 100644 --- a/clients/client-personalize/src/index.ts +++ b/clients/client-personalize/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PersonalizeServiceException } from "./models/PersonalizeServiceException"; diff --git a/clients/client-pi/package.json b/clients/client-pi/package.json index e51f4fde6e5f..45e7021f0dfd 100644 --- a/clients/client-pi/package.json +++ b/clients/client-pi/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-pi/src/endpoint/endpointResolver.ts b/clients/client-pi/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pi/src/endpoint/endpointResolver.ts +++ b/clients/client-pi/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pi/src/endpointFunctions.ts b/clients/client-pi/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pi/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pi/src/index.ts b/clients/client-pi/src/index.ts index 94d3a344b711..428166234300 100644 --- a/clients/client-pi/src/index.ts +++ b/clients/client-pi/src/index.ts @@ -36,4 +36,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PIServiceException } from "./models/PIServiceException"; diff --git a/clients/client-pinpoint-email/package.json b/clients/client-pinpoint-email/package.json index ae115906974e..14c8668b51a6 100644 --- a/clients/client-pinpoint-email/package.json +++ b/clients/client-pinpoint-email/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-pinpoint-email/src/endpoint/endpointResolver.ts b/clients/client-pinpoint-email/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pinpoint-email/src/endpoint/endpointResolver.ts +++ b/clients/client-pinpoint-email/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pinpoint-email/src/endpointFunctions.ts b/clients/client-pinpoint-email/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pinpoint-email/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pinpoint-email/src/index.ts b/clients/client-pinpoint-email/src/index.ts index 95d1ee51b8ad..bb769d501f0d 100644 --- a/clients/client-pinpoint-email/src/index.ts +++ b/clients/client-pinpoint-email/src/index.ts @@ -40,4 +40,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PinpointEmailServiceException } from "./models/PinpointEmailServiceException"; diff --git a/clients/client-pinpoint-sms-voice-v2/package.json b/clients/client-pinpoint-sms-voice-v2/package.json index b5b1df2cb202..9c06e21fcecc 100644 --- a/clients/client-pinpoint-sms-voice-v2/package.json +++ b/clients/client-pinpoint-sms-voice-v2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-pinpoint-sms-voice-v2/src/endpoint/endpointResolver.ts b/clients/client-pinpoint-sms-voice-v2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/endpoint/endpointResolver.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pinpoint-sms-voice-v2/src/endpointFunctions.ts b/clients/client-pinpoint-sms-voice-v2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pinpoint-sms-voice-v2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pinpoint-sms-voice-v2/src/index.ts b/clients/client-pinpoint-sms-voice-v2/src/index.ts index 4d42b11fb988..9bd96425ac00 100644 --- a/clients/client-pinpoint-sms-voice-v2/src/index.ts +++ b/clients/client-pinpoint-sms-voice-v2/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PinpointSMSVoiceV2ServiceException } from "./models/PinpointSMSVoiceV2ServiceException"; diff --git a/clients/client-pinpoint-sms-voice/package.json b/clients/client-pinpoint-sms-voice/package.json index 9e04a476bed5..6962cc4426d6 100644 --- a/clients/client-pinpoint-sms-voice/package.json +++ b/clients/client-pinpoint-sms-voice/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-pinpoint-sms-voice/src/endpoint/endpointResolver.ts b/clients/client-pinpoint-sms-voice/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pinpoint-sms-voice/src/endpoint/endpointResolver.ts +++ b/clients/client-pinpoint-sms-voice/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pinpoint-sms-voice/src/endpointFunctions.ts b/clients/client-pinpoint-sms-voice/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pinpoint-sms-voice/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pinpoint-sms-voice/src/index.ts b/clients/client-pinpoint-sms-voice/src/index.ts index 0367dd8db6b7..dde1ac8fd1ce 100644 --- a/clients/client-pinpoint-sms-voice/src/index.ts +++ b/clients/client-pinpoint-sms-voice/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { PinpointSMSVoiceServiceException } from "./models/PinpointSMSVoiceServiceException"; diff --git a/clients/client-pinpoint/package.json b/clients/client-pinpoint/package.json index ce8bbe962c71..6e9d188ff6b1 100644 --- a/clients/client-pinpoint/package.json +++ b/clients/client-pinpoint/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-pinpoint/src/endpoint/endpointResolver.ts b/clients/client-pinpoint/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pinpoint/src/endpoint/endpointResolver.ts +++ b/clients/client-pinpoint/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pinpoint/src/endpointFunctions.ts b/clients/client-pinpoint/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pinpoint/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pinpoint/src/index.ts b/clients/client-pinpoint/src/index.ts index 00e7c5c23e22..f76f276da1d3 100644 --- a/clients/client-pinpoint/src/index.ts +++ b/clients/client-pinpoint/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { PinpointServiceException } from "./models/PinpointServiceException"; diff --git a/clients/client-pipes/package.json b/clients/client-pipes/package.json index 0185f54aecfa..18b140cc83e8 100644 --- a/clients/client-pipes/package.json +++ b/clients/client-pipes/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-pipes/src/endpoint/endpointResolver.ts b/clients/client-pipes/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pipes/src/endpoint/endpointResolver.ts +++ b/clients/client-pipes/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pipes/src/endpointFunctions.ts b/clients/client-pipes/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pipes/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pipes/src/index.ts b/clients/client-pipes/src/index.ts index 4cf47d65eb2e..58804f1c3a26 100644 --- a/clients/client-pipes/src/index.ts +++ b/clients/client-pipes/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PipesServiceException } from "./models/PipesServiceException"; diff --git a/clients/client-polly/package.json b/clients/client-polly/package.json index ac5d9ed1316e..76f732daf8b6 100644 --- a/clients/client-polly/package.json +++ b/clients/client-polly/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-polly/src/endpoint/endpointResolver.ts b/clients/client-polly/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-polly/src/endpoint/endpointResolver.ts +++ b/clients/client-polly/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-polly/src/endpointFunctions.ts b/clients/client-polly/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-polly/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-polly/src/index.ts b/clients/client-polly/src/index.ts index 528de8ee5c7e..19e55b6cd5b0 100644 --- a/clients/client-polly/src/index.ts +++ b/clients/client-polly/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PollyServiceException } from "./models/PollyServiceException"; diff --git a/clients/client-pricing/package.json b/clients/client-pricing/package.json index eec98c927ea0..799c5223559c 100644 --- a/clients/client-pricing/package.json +++ b/clients/client-pricing/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-pricing/src/endpoint/endpointResolver.ts b/clients/client-pricing/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-pricing/src/endpoint/endpointResolver.ts +++ b/clients/client-pricing/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-pricing/src/endpointFunctions.ts b/clients/client-pricing/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-pricing/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-pricing/src/index.ts b/clients/client-pricing/src/index.ts index 2df1658f92cf..1990046ce6aa 100644 --- a/clients/client-pricing/src/index.ts +++ b/clients/client-pricing/src/index.ts @@ -40,4 +40,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PricingServiceException } from "./models/PricingServiceException"; diff --git a/clients/client-privatenetworks/package.json b/clients/client-privatenetworks/package.json index 447af9a5ef86..6372c1c7923d 100644 --- a/clients/client-privatenetworks/package.json +++ b/clients/client-privatenetworks/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-privatenetworks/src/endpoint/endpointResolver.ts b/clients/client-privatenetworks/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-privatenetworks/src/endpoint/endpointResolver.ts +++ b/clients/client-privatenetworks/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-privatenetworks/src/endpointFunctions.ts b/clients/client-privatenetworks/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-privatenetworks/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-privatenetworks/src/index.ts b/clients/client-privatenetworks/src/index.ts index be8eceabc286..7a439dacf42d 100644 --- a/clients/client-privatenetworks/src/index.ts +++ b/clients/client-privatenetworks/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { PrivateNetworksServiceException } from "./models/PrivateNetworksServiceException"; diff --git a/clients/client-proton/package.json b/clients/client-proton/package.json index 5572188f5a16..9157bc4ff6e1 100644 --- a/clients/client-proton/package.json +++ b/clients/client-proton/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-proton/src/endpoint/endpointResolver.ts b/clients/client-proton/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-proton/src/endpoint/endpointResolver.ts +++ b/clients/client-proton/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-proton/src/endpointFunctions.ts b/clients/client-proton/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-proton/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-proton/src/index.ts b/clients/client-proton/src/index.ts index ea98dfeaea61..5f8a9fa5fb06 100644 --- a/clients/client-proton/src/index.ts +++ b/clients/client-proton/src/index.ts @@ -141,4 +141,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { ProtonServiceException } from "./models/ProtonServiceException"; diff --git a/clients/client-qldb-session/package.json b/clients/client-qldb-session/package.json index e48e82756798..53495c45a053 100644 --- a/clients/client-qldb-session/package.json +++ b/clients/client-qldb-session/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-qldb-session/src/endpoint/endpointResolver.ts b/clients/client-qldb-session/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-qldb-session/src/endpoint/endpointResolver.ts +++ b/clients/client-qldb-session/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-qldb-session/src/endpointFunctions.ts b/clients/client-qldb-session/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-qldb-session/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-qldb-session/src/index.ts b/clients/client-qldb-session/src/index.ts index 52f70719213d..c138207a9795 100644 --- a/clients/client-qldb-session/src/index.ts +++ b/clients/client-qldb-session/src/index.ts @@ -31,4 +31,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { QLDBSessionServiceException } from "./models/QLDBSessionServiceException"; diff --git a/clients/client-qldb/package.json b/clients/client-qldb/package.json index 093ddf4ac158..4221755a487f 100644 --- a/clients/client-qldb/package.json +++ b/clients/client-qldb/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-qldb/src/endpoint/endpointResolver.ts b/clients/client-qldb/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-qldb/src/endpoint/endpointResolver.ts +++ b/clients/client-qldb/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-qldb/src/endpointFunctions.ts b/clients/client-qldb/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-qldb/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-qldb/src/index.ts b/clients/client-qldb/src/index.ts index 99b30f39a051..91548fde7b31 100644 --- a/clients/client-qldb/src/index.ts +++ b/clients/client-qldb/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { QLDBServiceException } from "./models/QLDBServiceException"; diff --git a/clients/client-quicksight/package.json b/clients/client-quicksight/package.json index 7d83a4c8b9a4..01dde2c7fffd 100644 --- a/clients/client-quicksight/package.json +++ b/clients/client-quicksight/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-quicksight/src/endpoint/endpointResolver.ts b/clients/client-quicksight/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-quicksight/src/endpoint/endpointResolver.ts +++ b/clients/client-quicksight/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-quicksight/src/endpointFunctions.ts b/clients/client-quicksight/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-quicksight/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-quicksight/src/index.ts b/clients/client-quicksight/src/index.ts index b784b3cd7bdb..b7fb76f011ae 100644 --- a/clients/client-quicksight/src/index.ts +++ b/clients/client-quicksight/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { QuickSightServiceException } from "./models/QuickSightServiceException"; diff --git a/clients/client-ram/package.json b/clients/client-ram/package.json index 678a1674c4a7..abc81caba360 100644 --- a/clients/client-ram/package.json +++ b/clients/client-ram/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-ram/src/endpoint/endpointResolver.ts b/clients/client-ram/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ram/src/endpoint/endpointResolver.ts +++ b/clients/client-ram/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ram/src/endpointFunctions.ts b/clients/client-ram/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ram/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ram/src/index.ts b/clients/client-ram/src/index.ts index b21f08076d23..60321af59d7c 100644 --- a/clients/client-ram/src/index.ts +++ b/clients/client-ram/src/index.ts @@ -31,4 +31,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { RAMServiceException } from "./models/RAMServiceException"; diff --git a/clients/client-rbin/package.json b/clients/client-rbin/package.json index e1945f4f92b4..2fc5dc36311b 100644 --- a/clients/client-rbin/package.json +++ b/clients/client-rbin/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-rbin/src/endpoint/endpointResolver.ts b/clients/client-rbin/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-rbin/src/endpoint/endpointResolver.ts +++ b/clients/client-rbin/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-rbin/src/endpointFunctions.ts b/clients/client-rbin/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-rbin/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-rbin/src/index.ts b/clients/client-rbin/src/index.ts index e7b5a3ed566e..a6ef50f55a09 100644 --- a/clients/client-rbin/src/index.ts +++ b/clients/client-rbin/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { RbinServiceException } from "./models/RbinServiceException"; diff --git a/clients/client-rds-data/package.json b/clients/client-rds-data/package.json index 627282544807..e4fe550e7943 100644 --- a/clients/client-rds-data/package.json +++ b/clients/client-rds-data/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-rds-data/src/endpoint/endpointResolver.ts b/clients/client-rds-data/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-rds-data/src/endpoint/endpointResolver.ts +++ b/clients/client-rds-data/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-rds-data/src/endpointFunctions.ts b/clients/client-rds-data/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-rds-data/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-rds-data/src/index.ts b/clients/client-rds-data/src/index.ts index 139b7ea158cd..de73b03319a2 100644 --- a/clients/client-rds-data/src/index.ts +++ b/clients/client-rds-data/src/index.ts @@ -19,4 +19,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { RDSDataServiceException } from "./models/RDSDataServiceException"; diff --git a/clients/client-rds/package.json b/clients/client-rds/package.json index aa7f0686f031..420d2fd79152 100644 --- a/clients/client-rds/package.json +++ b/clients/client-rds/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-rds/src/endpoint/endpointResolver.ts b/clients/client-rds/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-rds/src/endpoint/endpointResolver.ts +++ b/clients/client-rds/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-rds/src/endpointFunctions.ts b/clients/client-rds/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-rds/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-rds/src/index.ts b/clients/client-rds/src/index.ts index 7beaec29f1e8..236983c5aea8 100644 --- a/clients/client-rds/src/index.ts +++ b/clients/client-rds/src/index.ts @@ -65,4 +65,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { RDSServiceException } from "./models/RDSServiceException"; diff --git a/clients/client-redshift-data/package.json b/clients/client-redshift-data/package.json index a746932f5727..53cc161564c4 100644 --- a/clients/client-redshift-data/package.json +++ b/clients/client-redshift-data/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-redshift-data/src/endpoint/endpointResolver.ts b/clients/client-redshift-data/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-redshift-data/src/endpoint/endpointResolver.ts +++ b/clients/client-redshift-data/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-redshift-data/src/endpointFunctions.ts b/clients/client-redshift-data/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-redshift-data/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-redshift-data/src/index.ts b/clients/client-redshift-data/src/index.ts index 3ef59c5df928..550255d71f9b 100644 --- a/clients/client-redshift-data/src/index.ts +++ b/clients/client-redshift-data/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { RedshiftDataServiceException } from "./models/RedshiftDataServiceException"; diff --git a/clients/client-redshift-serverless/package.json b/clients/client-redshift-serverless/package.json index 0226539aa5bd..71260c88c07a 100644 --- a/clients/client-redshift-serverless/package.json +++ b/clients/client-redshift-serverless/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-redshift-serverless/src/endpoint/endpointResolver.ts b/clients/client-redshift-serverless/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-redshift-serverless/src/endpoint/endpointResolver.ts +++ b/clients/client-redshift-serverless/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-redshift-serverless/src/endpointFunctions.ts b/clients/client-redshift-serverless/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-redshift-serverless/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-redshift-serverless/src/index.ts b/clients/client-redshift-serverless/src/index.ts index b9cdc6f9e2d5..54befdc32c83 100644 --- a/clients/client-redshift-serverless/src/index.ts +++ b/clients/client-redshift-serverless/src/index.ts @@ -23,4 +23,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { RedshiftServerlessServiceException } from "./models/RedshiftServerlessServiceException"; diff --git a/clients/client-redshift/package.json b/clients/client-redshift/package.json index 5e73f12b0d11..5da4356451e1 100644 --- a/clients/client-redshift/package.json +++ b/clients/client-redshift/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-redshift/src/endpoint/endpointResolver.ts b/clients/client-redshift/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-redshift/src/endpoint/endpointResolver.ts +++ b/clients/client-redshift/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-redshift/src/endpointFunctions.ts b/clients/client-redshift/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-redshift/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-redshift/src/index.ts b/clients/client-redshift/src/index.ts index cf190e0e89d8..564451c5fc27 100644 --- a/clients/client-redshift/src/index.ts +++ b/clients/client-redshift/src/index.ts @@ -33,4 +33,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { RedshiftServiceException } from "./models/RedshiftServiceException"; diff --git a/clients/client-rekognition/package.json b/clients/client-rekognition/package.json index 038857cf4e1e..a7c63f527302 100644 --- a/clients/client-rekognition/package.json +++ b/clients/client-rekognition/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-rekognition/src/endpoint/endpointResolver.ts b/clients/client-rekognition/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-rekognition/src/endpoint/endpointResolver.ts +++ b/clients/client-rekognition/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-rekognition/src/endpointFunctions.ts b/clients/client-rekognition/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-rekognition/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-rekognition/src/index.ts b/clients/client-rekognition/src/index.ts index 549d8a96120d..9c151567d220 100644 --- a/clients/client-rekognition/src/index.ts +++ b/clients/client-rekognition/src/index.ts @@ -371,4 +371,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { RekognitionServiceException } from "./models/RekognitionServiceException"; diff --git a/clients/client-rekognitionstreaming/package.json b/clients/client-rekognitionstreaming/package.json index bb8b645c09aa..4a27e52fca31 100644 --- a/clients/client-rekognitionstreaming/package.json +++ b/clients/client-rekognitionstreaming/package.json @@ -60,6 +60,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-rekognitionstreaming/src/endpoint/endpointResolver.ts b/clients/client-rekognitionstreaming/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-rekognitionstreaming/src/endpoint/endpointResolver.ts +++ b/clients/client-rekognitionstreaming/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-rekognitionstreaming/src/endpointFunctions.ts b/clients/client-rekognitionstreaming/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-rekognitionstreaming/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-rekognitionstreaming/src/index.ts b/clients/client-rekognitionstreaming/src/index.ts index 4671bde86d35..2e48ec44b441 100644 --- a/clients/client-rekognitionstreaming/src/index.ts +++ b/clients/client-rekognitionstreaming/src/index.ts @@ -32,4 +32,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { RekognitionStreamingServiceException } from "./models/RekognitionStreamingServiceException"; diff --git a/clients/client-resiliencehub/package.json b/clients/client-resiliencehub/package.json index 801b8991d817..6f42c4beb0f9 100644 --- a/clients/client-resiliencehub/package.json +++ b/clients/client-resiliencehub/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-resiliencehub/src/endpoint/endpointResolver.ts b/clients/client-resiliencehub/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-resiliencehub/src/endpoint/endpointResolver.ts +++ b/clients/client-resiliencehub/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-resiliencehub/src/endpointFunctions.ts b/clients/client-resiliencehub/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-resiliencehub/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-resiliencehub/src/index.ts b/clients/client-resiliencehub/src/index.ts index 0ebe32f3de7f..10f94731b9b1 100644 --- a/clients/client-resiliencehub/src/index.ts +++ b/clients/client-resiliencehub/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ResiliencehubServiceException } from "./models/ResiliencehubServiceException"; diff --git a/clients/client-resource-explorer-2/package.json b/clients/client-resource-explorer-2/package.json index 03f36beb171c..d52ddf2f7a9f 100644 --- a/clients/client-resource-explorer-2/package.json +++ b/clients/client-resource-explorer-2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-resource-explorer-2/src/endpoint/endpointResolver.ts b/clients/client-resource-explorer-2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-resource-explorer-2/src/endpoint/endpointResolver.ts +++ b/clients/client-resource-explorer-2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-resource-explorer-2/src/endpointFunctions.ts b/clients/client-resource-explorer-2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-resource-explorer-2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-resource-explorer-2/src/index.ts b/clients/client-resource-explorer-2/src/index.ts index c81323469bd5..13390df372ba 100644 --- a/clients/client-resource-explorer-2/src/index.ts +++ b/clients/client-resource-explorer-2/src/index.ts @@ -32,4 +32,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ResourceExplorer2ServiceException } from "./models/ResourceExplorer2ServiceException"; diff --git a/clients/client-resource-groups-tagging-api/package.json b/clients/client-resource-groups-tagging-api/package.json index fd839c306dae..9a420b2f83fb 100644 --- a/clients/client-resource-groups-tagging-api/package.json +++ b/clients/client-resource-groups-tagging-api/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-resource-groups-tagging-api/src/endpoint/endpointResolver.ts b/clients/client-resource-groups-tagging-api/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-resource-groups-tagging-api/src/endpoint/endpointResolver.ts +++ b/clients/client-resource-groups-tagging-api/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-resource-groups-tagging-api/src/endpointFunctions.ts b/clients/client-resource-groups-tagging-api/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-resource-groups-tagging-api/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-resource-groups-tagging-api/src/index.ts b/clients/client-resource-groups-tagging-api/src/index.ts index 165cdd24e2ca..2b4a964dce6e 100644 --- a/clients/client-resource-groups-tagging-api/src/index.ts +++ b/clients/client-resource-groups-tagging-api/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ResourceGroupsTaggingAPIServiceException } from "./models/ResourceGroupsTaggingAPIServiceException"; diff --git a/clients/client-resource-groups/package.json b/clients/client-resource-groups/package.json index 4ba65a7a9fdf..d2ea03a6504d 100644 --- a/clients/client-resource-groups/package.json +++ b/clients/client-resource-groups/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-resource-groups/src/endpoint/endpointResolver.ts b/clients/client-resource-groups/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-resource-groups/src/endpoint/endpointResolver.ts +++ b/clients/client-resource-groups/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-resource-groups/src/endpointFunctions.ts b/clients/client-resource-groups/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-resource-groups/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-resource-groups/src/index.ts b/clients/client-resource-groups/src/index.ts index e07cdaea78e8..d45248be4ca8 100644 --- a/clients/client-resource-groups/src/index.ts +++ b/clients/client-resource-groups/src/index.ts @@ -45,4 +45,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ResourceGroupsServiceException } from "./models/ResourceGroupsServiceException"; diff --git a/clients/client-robomaker/package.json b/clients/client-robomaker/package.json index 749fbb0fa0e6..c40ad1003314 100644 --- a/clients/client-robomaker/package.json +++ b/clients/client-robomaker/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-robomaker/src/endpoint/endpointResolver.ts b/clients/client-robomaker/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-robomaker/src/endpoint/endpointResolver.ts +++ b/clients/client-robomaker/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-robomaker/src/endpointFunctions.ts b/clients/client-robomaker/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-robomaker/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-robomaker/src/index.ts b/clients/client-robomaker/src/index.ts index 5f0e0bbe80ab..4591df5b68cd 100644 --- a/clients/client-robomaker/src/index.ts +++ b/clients/client-robomaker/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { RoboMakerServiceException } from "./models/RoboMakerServiceException"; diff --git a/clients/client-rolesanywhere/package.json b/clients/client-rolesanywhere/package.json index 6bd5efbd171c..ce8f138f8047 100644 --- a/clients/client-rolesanywhere/package.json +++ b/clients/client-rolesanywhere/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-rolesanywhere/src/endpoint/endpointResolver.ts b/clients/client-rolesanywhere/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-rolesanywhere/src/endpoint/endpointResolver.ts +++ b/clients/client-rolesanywhere/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-rolesanywhere/src/endpointFunctions.ts b/clients/client-rolesanywhere/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-rolesanywhere/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-rolesanywhere/src/index.ts b/clients/client-rolesanywhere/src/index.ts index 7d36b55cbf41..34280121301c 100644 --- a/clients/client-rolesanywhere/src/index.ts +++ b/clients/client-rolesanywhere/src/index.ts @@ -26,4 +26,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { RolesAnywhereServiceException } from "./models/RolesAnywhereServiceException"; diff --git a/clients/client-route-53-domains/package.json b/clients/client-route-53-domains/package.json index 37664022afe6..1c51ea259f28 100644 --- a/clients/client-route-53-domains/package.json +++ b/clients/client-route-53-domains/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-route-53-domains/src/endpoint/endpointResolver.ts b/clients/client-route-53-domains/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-route-53-domains/src/endpoint/endpointResolver.ts +++ b/clients/client-route-53-domains/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-route-53-domains/src/endpointFunctions.ts b/clients/client-route-53-domains/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-route-53-domains/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-route-53-domains/src/index.ts b/clients/client-route-53-domains/src/index.ts index 96cb8d28595f..61476e048996 100644 --- a/clients/client-route-53-domains/src/index.ts +++ b/clients/client-route-53-domains/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { Route53DomainsServiceException } from "./models/Route53DomainsServiceException"; diff --git a/clients/client-route-53/package.json b/clients/client-route-53/package.json index 32c5cdddfab0..a94369899a4d 100644 --- a/clients/client-route-53/package.json +++ b/clients/client-route-53/package.json @@ -55,6 +55,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-route-53/src/endpoint/endpointResolver.ts b/clients/client-route-53/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-route-53/src/endpoint/endpointResolver.ts +++ b/clients/client-route-53/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-route-53/src/endpointFunctions.ts b/clients/client-route-53/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-route-53/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-route-53/src/index.ts b/clients/client-route-53/src/index.ts index d9853e71d456..d24068f4a870 100644 --- a/clients/client-route-53/src/index.ts +++ b/clients/client-route-53/src/index.ts @@ -29,4 +29,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { Route53ServiceException } from "./models/Route53ServiceException"; diff --git a/clients/client-route53-recovery-cluster/package.json b/clients/client-route53-recovery-cluster/package.json index 3afced201390..9fa2e8469d26 100644 --- a/clients/client-route53-recovery-cluster/package.json +++ b/clients/client-route53-recovery-cluster/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-route53-recovery-cluster/src/endpoint/endpointResolver.ts b/clients/client-route53-recovery-cluster/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-route53-recovery-cluster/src/endpoint/endpointResolver.ts +++ b/clients/client-route53-recovery-cluster/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-route53-recovery-cluster/src/endpointFunctions.ts b/clients/client-route53-recovery-cluster/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-route53-recovery-cluster/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-route53-recovery-cluster/src/index.ts b/clients/client-route53-recovery-cluster/src/index.ts index 4ac4fcf9a028..61d94cb5222f 100644 --- a/clients/client-route53-recovery-cluster/src/index.ts +++ b/clients/client-route53-recovery-cluster/src/index.ts @@ -51,4 +51,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { Route53RecoveryClusterServiceException } from "./models/Route53RecoveryClusterServiceException"; diff --git a/clients/client-route53-recovery-control-config/package.json b/clients/client-route53-recovery-control-config/package.json index 1b484565912d..7e547617e8c3 100644 --- a/clients/client-route53-recovery-control-config/package.json +++ b/clients/client-route53-recovery-control-config/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-route53-recovery-control-config/src/endpoint/endpointResolver.ts b/clients/client-route53-recovery-control-config/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-route53-recovery-control-config/src/endpoint/endpointResolver.ts +++ b/clients/client-route53-recovery-control-config/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-route53-recovery-control-config/src/endpointFunctions.ts b/clients/client-route53-recovery-control-config/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-route53-recovery-control-config/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-route53-recovery-control-config/src/index.ts b/clients/client-route53-recovery-control-config/src/index.ts index bd6d992a7573..a546268a9dcf 100644 --- a/clients/client-route53-recovery-control-config/src/index.ts +++ b/clients/client-route53-recovery-control-config/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { Route53RecoveryControlConfigServiceException } from "./models/Route53RecoveryControlConfigServiceException"; diff --git a/clients/client-route53-recovery-readiness/package.json b/clients/client-route53-recovery-readiness/package.json index 3e7a19d2f0f5..bb83ac61b670 100644 --- a/clients/client-route53-recovery-readiness/package.json +++ b/clients/client-route53-recovery-readiness/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-route53-recovery-readiness/src/endpoint/endpointResolver.ts b/clients/client-route53-recovery-readiness/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-route53-recovery-readiness/src/endpoint/endpointResolver.ts +++ b/clients/client-route53-recovery-readiness/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-route53-recovery-readiness/src/endpointFunctions.ts b/clients/client-route53-recovery-readiness/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-route53-recovery-readiness/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-route53-recovery-readiness/src/index.ts b/clients/client-route53-recovery-readiness/src/index.ts index 9583f5232f80..03d4ff1f3eab 100644 --- a/clients/client-route53-recovery-readiness/src/index.ts +++ b/clients/client-route53-recovery-readiness/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { Route53RecoveryReadinessServiceException } from "./models/Route53RecoveryReadinessServiceException"; diff --git a/clients/client-route53resolver/package.json b/clients/client-route53resolver/package.json index 5634d3e14289..b712eeef7bf7 100644 --- a/clients/client-route53resolver/package.json +++ b/clients/client-route53resolver/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-route53resolver/src/endpoint/endpointResolver.ts b/clients/client-route53resolver/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-route53resolver/src/endpoint/endpointResolver.ts +++ b/clients/client-route53resolver/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-route53resolver/src/endpointFunctions.ts b/clients/client-route53resolver/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-route53resolver/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-route53resolver/src/index.ts b/clients/client-route53resolver/src/index.ts index 95b0a20694ea..cf2dcc7790f7 100644 --- a/clients/client-route53resolver/src/index.ts +++ b/clients/client-route53resolver/src/index.ts @@ -38,4 +38,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { Route53ResolverServiceException } from "./models/Route53ResolverServiceException"; diff --git a/clients/client-rum/package.json b/clients/client-rum/package.json index a8b5a0df6a87..08c41a9712f9 100644 --- a/clients/client-rum/package.json +++ b/clients/client-rum/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-rum/src/endpoint/endpointResolver.ts b/clients/client-rum/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-rum/src/endpoint/endpointResolver.ts +++ b/clients/client-rum/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-rum/src/endpointFunctions.ts b/clients/client-rum/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-rum/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-rum/src/index.ts b/clients/client-rum/src/index.ts index 967c6a11dc64..c71f775159ca 100644 --- a/clients/client-rum/src/index.ts +++ b/clients/client-rum/src/index.ts @@ -19,4 +19,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { RUMServiceException } from "./models/RUMServiceException"; diff --git a/clients/client-s3-control/package.json b/clients/client-s3-control/package.json index 21c220eec75f..fcb7b0e9fe32 100644 --- a/clients/client-s3-control/package.json +++ b/clients/client-s3-control/package.json @@ -61,6 +61,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "fast-xml-parser": "4.2.5", diff --git a/clients/client-s3-control/src/endpoint/endpointResolver.ts b/clients/client-s3-control/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-s3-control/src/endpoint/endpointResolver.ts +++ b/clients/client-s3-control/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-s3-control/src/endpointFunctions.ts b/clients/client-s3-control/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-s3-control/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-s3-control/src/index.ts b/clients/client-s3-control/src/index.ts index 5dacedebc005..d40be9f665c4 100644 --- a/clients/client-s3-control/src/index.ts +++ b/clients/client-s3-control/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { S3ControlServiceException } from "./models/S3ControlServiceException"; diff --git a/clients/client-s3/package.json b/clients/client-s3/package.json index 96fd454591ad..ad90f96513ad 100644 --- a/clients/client-s3/package.json +++ b/clients/client-s3/package.json @@ -71,6 +71,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-s3/src/endpoint/endpointResolver.ts b/clients/client-s3/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-s3/src/endpoint/endpointResolver.ts +++ b/clients/client-s3/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-s3/src/endpointFunctions.ts b/clients/client-s3/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-s3/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-s3/src/index.ts b/clients/client-s3/src/index.ts index 24b87eee3553..642c0a4652f6 100644 --- a/clients/client-s3/src/index.ts +++ b/clients/client-s3/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { S3ServiceException } from "./models/S3ServiceException"; diff --git a/clients/client-s3outposts/package.json b/clients/client-s3outposts/package.json index 73db26265bd5..f62a439ca334 100644 --- a/clients/client-s3outposts/package.json +++ b/clients/client-s3outposts/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-s3outposts/src/endpoint/endpointResolver.ts b/clients/client-s3outposts/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-s3outposts/src/endpoint/endpointResolver.ts +++ b/clients/client-s3outposts/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-s3outposts/src/endpointFunctions.ts b/clients/client-s3outposts/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-s3outposts/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-s3outposts/src/index.ts b/clients/client-s3outposts/src/index.ts index 1fe35fd212b4..e777a9d6376e 100644 --- a/clients/client-s3outposts/src/index.ts +++ b/clients/client-s3outposts/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { S3OutpostsServiceException } from "./models/S3OutpostsServiceException"; diff --git a/clients/client-sagemaker-a2i-runtime/package.json b/clients/client-sagemaker-a2i-runtime/package.json index edd550855efd..f6d629767956 100644 --- a/clients/client-sagemaker-a2i-runtime/package.json +++ b/clients/client-sagemaker-a2i-runtime/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sagemaker-a2i-runtime/src/endpoint/endpointResolver.ts b/clients/client-sagemaker-a2i-runtime/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sagemaker-a2i-runtime/src/endpoint/endpointResolver.ts +++ b/clients/client-sagemaker-a2i-runtime/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sagemaker-a2i-runtime/src/endpointFunctions.ts b/clients/client-sagemaker-a2i-runtime/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sagemaker-a2i-runtime/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sagemaker-a2i-runtime/src/index.ts b/clients/client-sagemaker-a2i-runtime/src/index.ts index e9b701a8c3ea..07b67f8f0b5d 100644 --- a/clients/client-sagemaker-a2i-runtime/src/index.ts +++ b/clients/client-sagemaker-a2i-runtime/src/index.ts @@ -37,4 +37,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SageMakerA2IRuntimeServiceException } from "./models/SageMakerA2IRuntimeServiceException"; diff --git a/clients/client-sagemaker-edge/package.json b/clients/client-sagemaker-edge/package.json index fa73451433c2..2e3059bc3aea 100644 --- a/clients/client-sagemaker-edge/package.json +++ b/clients/client-sagemaker-edge/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sagemaker-edge/src/endpoint/endpointResolver.ts b/clients/client-sagemaker-edge/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sagemaker-edge/src/endpoint/endpointResolver.ts +++ b/clients/client-sagemaker-edge/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sagemaker-edge/src/endpointFunctions.ts b/clients/client-sagemaker-edge/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sagemaker-edge/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sagemaker-edge/src/index.ts b/clients/client-sagemaker-edge/src/index.ts index 8a878df6bbff..f862300a87ff 100644 --- a/clients/client-sagemaker-edge/src/index.ts +++ b/clients/client-sagemaker-edge/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { SagemakerEdgeServiceException } from "./models/SagemakerEdgeServiceException"; diff --git a/clients/client-sagemaker-featurestore-runtime/package.json b/clients/client-sagemaker-featurestore-runtime/package.json index d5f9ffd053a3..ff87cec2a24b 100644 --- a/clients/client-sagemaker-featurestore-runtime/package.json +++ b/clients/client-sagemaker-featurestore-runtime/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sagemaker-featurestore-runtime/src/endpoint/endpointResolver.ts b/clients/client-sagemaker-featurestore-runtime/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/endpoint/endpointResolver.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sagemaker-featurestore-runtime/src/endpointFunctions.ts b/clients/client-sagemaker-featurestore-runtime/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sagemaker-featurestore-runtime/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sagemaker-featurestore-runtime/src/index.ts b/clients/client-sagemaker-featurestore-runtime/src/index.ts index 95f4ad99c43b..0a7665a675b8 100644 --- a/clients/client-sagemaker-featurestore-runtime/src/index.ts +++ b/clients/client-sagemaker-featurestore-runtime/src/index.ts @@ -37,4 +37,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { SageMakerFeatureStoreRuntimeServiceException } from "./models/SageMakerFeatureStoreRuntimeServiceException"; diff --git a/clients/client-sagemaker-geospatial/package.json b/clients/client-sagemaker-geospatial/package.json index 7e03cbc9d865..f3c8199f8b8a 100644 --- a/clients/client-sagemaker-geospatial/package.json +++ b/clients/client-sagemaker-geospatial/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-sagemaker-geospatial/src/endpoint/endpointResolver.ts b/clients/client-sagemaker-geospatial/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sagemaker-geospatial/src/endpoint/endpointResolver.ts +++ b/clients/client-sagemaker-geospatial/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sagemaker-geospatial/src/endpointFunctions.ts b/clients/client-sagemaker-geospatial/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sagemaker-geospatial/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sagemaker-geospatial/src/index.ts b/clients/client-sagemaker-geospatial/src/index.ts index 01fdcd64a63e..737282c4c7fd 100644 --- a/clients/client-sagemaker-geospatial/src/index.ts +++ b/clients/client-sagemaker-geospatial/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SageMakerGeospatialServiceException } from "./models/SageMakerGeospatialServiceException"; diff --git a/clients/client-sagemaker-metrics/package.json b/clients/client-sagemaker-metrics/package.json index 3b3d6ebe4500..e29252d7e95c 100644 --- a/clients/client-sagemaker-metrics/package.json +++ b/clients/client-sagemaker-metrics/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sagemaker-metrics/src/endpoint/endpointResolver.ts b/clients/client-sagemaker-metrics/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sagemaker-metrics/src/endpoint/endpointResolver.ts +++ b/clients/client-sagemaker-metrics/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sagemaker-metrics/src/endpointFunctions.ts b/clients/client-sagemaker-metrics/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sagemaker-metrics/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sagemaker-metrics/src/index.ts b/clients/client-sagemaker-metrics/src/index.ts index 4dbb5537d1a8..10f7a59eb339 100644 --- a/clients/client-sagemaker-metrics/src/index.ts +++ b/clients/client-sagemaker-metrics/src/index.ts @@ -19,4 +19,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { SageMakerMetricsServiceException } from "./models/SageMakerMetricsServiceException"; diff --git a/clients/client-sagemaker-runtime/package.json b/clients/client-sagemaker-runtime/package.json index 0b8b7cb2f76a..abf886463b28 100644 --- a/clients/client-sagemaker-runtime/package.json +++ b/clients/client-sagemaker-runtime/package.json @@ -56,6 +56,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-sagemaker-runtime/src/endpoint/endpointResolver.ts b/clients/client-sagemaker-runtime/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sagemaker-runtime/src/endpoint/endpointResolver.ts +++ b/clients/client-sagemaker-runtime/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sagemaker-runtime/src/endpointFunctions.ts b/clients/client-sagemaker-runtime/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sagemaker-runtime/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sagemaker-runtime/src/index.ts b/clients/client-sagemaker-runtime/src/index.ts index 285f75fa7d3a..ba77887903c7 100644 --- a/clients/client-sagemaker-runtime/src/index.ts +++ b/clients/client-sagemaker-runtime/src/index.ts @@ -11,4 +11,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { SageMakerRuntimeServiceException } from "./models/SageMakerRuntimeServiceException"; diff --git a/clients/client-sagemaker/package.json b/clients/client-sagemaker/package.json index abeeb6141844..482c0b3896be 100644 --- a/clients/client-sagemaker/package.json +++ b/clients/client-sagemaker/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-sagemaker/src/endpoint/endpointResolver.ts b/clients/client-sagemaker/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sagemaker/src/endpoint/endpointResolver.ts +++ b/clients/client-sagemaker/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sagemaker/src/endpointFunctions.ts b/clients/client-sagemaker/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sagemaker/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sagemaker/src/index.ts b/clients/client-sagemaker/src/index.ts index 5f02f6eeb40a..4fe6725666b2 100644 --- a/clients/client-sagemaker/src/index.ts +++ b/clients/client-sagemaker/src/index.ts @@ -28,4 +28,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { SageMakerServiceException } from "./models/SageMakerServiceException"; diff --git a/clients/client-savingsplans/package.json b/clients/client-savingsplans/package.json index 6ede32aceded..d28742c4f1a7 100644 --- a/clients/client-savingsplans/package.json +++ b/clients/client-savingsplans/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-savingsplans/src/endpoint/endpointResolver.ts b/clients/client-savingsplans/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-savingsplans/src/endpoint/endpointResolver.ts +++ b/clients/client-savingsplans/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-savingsplans/src/endpointFunctions.ts b/clients/client-savingsplans/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-savingsplans/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-savingsplans/src/index.ts b/clients/client-savingsplans/src/index.ts index 02142daec89d..1bbd49f88680 100644 --- a/clients/client-savingsplans/src/index.ts +++ b/clients/client-savingsplans/src/index.ts @@ -14,4 +14,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { SavingsplansServiceException } from "./models/SavingsplansServiceException"; diff --git a/clients/client-scheduler/package.json b/clients/client-scheduler/package.json index ca7d04c6bb26..846b0cc7a5fd 100644 --- a/clients/client-scheduler/package.json +++ b/clients/client-scheduler/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-scheduler/src/endpoint/endpointResolver.ts b/clients/client-scheduler/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-scheduler/src/endpoint/endpointResolver.ts +++ b/clients/client-scheduler/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-scheduler/src/endpointFunctions.ts b/clients/client-scheduler/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-scheduler/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-scheduler/src/index.ts b/clients/client-scheduler/src/index.ts index ba67fbaff808..f1594a540ff4 100644 --- a/clients/client-scheduler/src/index.ts +++ b/clients/client-scheduler/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SchedulerServiceException } from "./models/SchedulerServiceException"; diff --git a/clients/client-schemas/package.json b/clients/client-schemas/package.json index 77dccffb26a1..c42b9f645bda 100644 --- a/clients/client-schemas/package.json +++ b/clients/client-schemas/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-schemas/src/endpoint/endpointResolver.ts b/clients/client-schemas/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-schemas/src/endpoint/endpointResolver.ts +++ b/clients/client-schemas/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-schemas/src/endpointFunctions.ts b/clients/client-schemas/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-schemas/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-schemas/src/index.ts b/clients/client-schemas/src/index.ts index 917faff4e0bf..a1e3431f8951 100644 --- a/clients/client-schemas/src/index.ts +++ b/clients/client-schemas/src/index.ts @@ -13,4 +13,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { SchemasServiceException } from "./models/SchemasServiceException"; diff --git a/clients/client-secrets-manager/package.json b/clients/client-secrets-manager/package.json index 4a3ce8397357..d9251542b4ab 100644 --- a/clients/client-secrets-manager/package.json +++ b/clients/client-secrets-manager/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-secrets-manager/src/endpoint/endpointResolver.ts b/clients/client-secrets-manager/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-secrets-manager/src/endpoint/endpointResolver.ts +++ b/clients/client-secrets-manager/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-secrets-manager/src/endpointFunctions.ts b/clients/client-secrets-manager/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-secrets-manager/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-secrets-manager/src/index.ts b/clients/client-secrets-manager/src/index.ts index c338a5d873aa..fc8f22215f9f 100644 --- a/clients/client-secrets-manager/src/index.ts +++ b/clients/client-secrets-manager/src/index.ts @@ -37,4 +37,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SecretsManagerServiceException } from "./models/SecretsManagerServiceException"; diff --git a/clients/client-securityhub/package.json b/clients/client-securityhub/package.json index 479d6da15a7d..98f880c9e129 100644 --- a/clients/client-securityhub/package.json +++ b/clients/client-securityhub/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-securityhub/src/endpoint/endpointResolver.ts b/clients/client-securityhub/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-securityhub/src/endpoint/endpointResolver.ts +++ b/clients/client-securityhub/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-securityhub/src/endpointFunctions.ts b/clients/client-securityhub/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-securityhub/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-securityhub/src/index.ts b/clients/client-securityhub/src/index.ts index 88acea45fdf5..dfdca1115335 100644 --- a/clients/client-securityhub/src/index.ts +++ b/clients/client-securityhub/src/index.ts @@ -59,4 +59,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SecurityHubServiceException } from "./models/SecurityHubServiceException"; diff --git a/clients/client-securitylake/package.json b/clients/client-securitylake/package.json index 4b5740aadfbf..66f038900c72 100644 --- a/clients/client-securitylake/package.json +++ b/clients/client-securitylake/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-securitylake/src/endpoint/endpointResolver.ts b/clients/client-securitylake/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-securitylake/src/endpoint/endpointResolver.ts +++ b/clients/client-securitylake/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-securitylake/src/endpointFunctions.ts b/clients/client-securitylake/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-securitylake/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-securitylake/src/index.ts b/clients/client-securitylake/src/index.ts index 0d79386e0221..0f09b6353b14 100644 --- a/clients/client-securitylake/src/index.ts +++ b/clients/client-securitylake/src/index.ts @@ -37,4 +37,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SecurityLakeServiceException } from "./models/SecurityLakeServiceException"; diff --git a/clients/client-serverlessapplicationrepository/package.json b/clients/client-serverlessapplicationrepository/package.json index 5899e2a1a42e..60214696c1a7 100644 --- a/clients/client-serverlessapplicationrepository/package.json +++ b/clients/client-serverlessapplicationrepository/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-serverlessapplicationrepository/src/endpoint/endpointResolver.ts b/clients/client-serverlessapplicationrepository/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-serverlessapplicationrepository/src/endpoint/endpointResolver.ts +++ b/clients/client-serverlessapplicationrepository/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-serverlessapplicationrepository/src/endpointFunctions.ts b/clients/client-serverlessapplicationrepository/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-serverlessapplicationrepository/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-serverlessapplicationrepository/src/index.ts b/clients/client-serverlessapplicationrepository/src/index.ts index 61b531590c16..59aeb7dda7c5 100644 --- a/clients/client-serverlessapplicationrepository/src/index.ts +++ b/clients/client-serverlessapplicationrepository/src/index.ts @@ -31,4 +31,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ServerlessApplicationRepositoryServiceException } from "./models/ServerlessApplicationRepositoryServiceException"; diff --git a/clients/client-service-catalog-appregistry/package.json b/clients/client-service-catalog-appregistry/package.json index 8f7ed28eb048..afefab700c73 100644 --- a/clients/client-service-catalog-appregistry/package.json +++ b/clients/client-service-catalog-appregistry/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-service-catalog-appregistry/src/endpoint/endpointResolver.ts b/clients/client-service-catalog-appregistry/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-service-catalog-appregistry/src/endpoint/endpointResolver.ts +++ b/clients/client-service-catalog-appregistry/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-service-catalog-appregistry/src/endpointFunctions.ts b/clients/client-service-catalog-appregistry/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-service-catalog-appregistry/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-service-catalog-appregistry/src/index.ts b/clients/client-service-catalog-appregistry/src/index.ts index e8cd60d435c0..4ffd037f4058 100644 --- a/clients/client-service-catalog-appregistry/src/index.ts +++ b/clients/client-service-catalog-appregistry/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ServiceCatalogAppRegistryServiceException } from "./models/ServiceCatalogAppRegistryServiceException"; diff --git a/clients/client-service-catalog/package.json b/clients/client-service-catalog/package.json index a557fabd3937..8ca9e045b44c 100644 --- a/clients/client-service-catalog/package.json +++ b/clients/client-service-catalog/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-service-catalog/src/endpoint/endpointResolver.ts b/clients/client-service-catalog/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-service-catalog/src/endpoint/endpointResolver.ts +++ b/clients/client-service-catalog/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-service-catalog/src/endpointFunctions.ts b/clients/client-service-catalog/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-service-catalog/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-service-catalog/src/index.ts b/clients/client-service-catalog/src/index.ts index 0f5144e3b920..555203c3cd24 100644 --- a/clients/client-service-catalog/src/index.ts +++ b/clients/client-service-catalog/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ServiceCatalogServiceException } from "./models/ServiceCatalogServiceException"; diff --git a/clients/client-service-quotas/package.json b/clients/client-service-quotas/package.json index 7ba76abd425c..7a096fe04649 100644 --- a/clients/client-service-quotas/package.json +++ b/clients/client-service-quotas/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-service-quotas/src/endpoint/endpointResolver.ts b/clients/client-service-quotas/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-service-quotas/src/endpoint/endpointResolver.ts +++ b/clients/client-service-quotas/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-service-quotas/src/endpointFunctions.ts b/clients/client-service-quotas/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-service-quotas/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-service-quotas/src/index.ts b/clients/client-service-quotas/src/index.ts index f81715b5871e..eb6ce6ae7d34 100644 --- a/clients/client-service-quotas/src/index.ts +++ b/clients/client-service-quotas/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ServiceQuotasServiceException } from "./models/ServiceQuotasServiceException"; diff --git a/clients/client-servicediscovery/package.json b/clients/client-servicediscovery/package.json index e7e8d2f42abe..77e641178278 100644 --- a/clients/client-servicediscovery/package.json +++ b/clients/client-servicediscovery/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-servicediscovery/src/endpoint/endpointResolver.ts b/clients/client-servicediscovery/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-servicediscovery/src/endpoint/endpointResolver.ts +++ b/clients/client-servicediscovery/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-servicediscovery/src/endpointFunctions.ts b/clients/client-servicediscovery/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-servicediscovery/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-servicediscovery/src/index.ts b/clients/client-servicediscovery/src/index.ts index 7cb798447c37..62c0f108dbba 100644 --- a/clients/client-servicediscovery/src/index.ts +++ b/clients/client-servicediscovery/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ServiceDiscoveryServiceException } from "./models/ServiceDiscoveryServiceException"; diff --git a/clients/client-ses/package.json b/clients/client-ses/package.json index 28a65d62385c..28f69e89bb2a 100644 --- a/clients/client-ses/package.json +++ b/clients/client-ses/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-ses/src/endpoint/endpointResolver.ts b/clients/client-ses/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ses/src/endpoint/endpointResolver.ts +++ b/clients/client-ses/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ses/src/endpointFunctions.ts b/clients/client-ses/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ses/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ses/src/index.ts b/clients/client-ses/src/index.ts index bb92b599bf92..2bfcc4fd8391 100644 --- a/clients/client-ses/src/index.ts +++ b/clients/client-ses/src/index.ts @@ -46,4 +46,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { SESServiceException } from "./models/SESServiceException"; diff --git a/clients/client-sesv2/package.json b/clients/client-sesv2/package.json index 36aba40b9f25..aeb93b486f31 100644 --- a/clients/client-sesv2/package.json +++ b/clients/client-sesv2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sesv2/src/endpoint/endpointResolver.ts b/clients/client-sesv2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sesv2/src/endpoint/endpointResolver.ts +++ b/clients/client-sesv2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sesv2/src/endpointFunctions.ts b/clients/client-sesv2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sesv2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sesv2/src/index.ts b/clients/client-sesv2/src/index.ts index 0e08f8af902e..12b15901c98d 100644 --- a/clients/client-sesv2/src/index.ts +++ b/clients/client-sesv2/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SESv2ServiceException } from "./models/SESv2ServiceException"; diff --git a/clients/client-sfn/package.json b/clients/client-sfn/package.json index 318f29a988e6..f2c8d08e5543 100644 --- a/clients/client-sfn/package.json +++ b/clients/client-sfn/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sfn/src/endpoint/endpointResolver.ts b/clients/client-sfn/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sfn/src/endpoint/endpointResolver.ts +++ b/clients/client-sfn/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sfn/src/endpointFunctions.ts b/clients/client-sfn/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sfn/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sfn/src/index.ts b/clients/client-sfn/src/index.ts index 9b9bc9ad6ff2..82ed248386a2 100644 --- a/clients/client-sfn/src/index.ts +++ b/clients/client-sfn/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SFNServiceException } from "./models/SFNServiceException"; diff --git a/clients/client-shield/package.json b/clients/client-shield/package.json index 5437302419f0..6e4da4f6cbd2 100644 --- a/clients/client-shield/package.json +++ b/clients/client-shield/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-shield/src/endpoint/endpointResolver.ts b/clients/client-shield/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-shield/src/endpoint/endpointResolver.ts +++ b/clients/client-shield/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-shield/src/endpointFunctions.ts b/clients/client-shield/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-shield/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-shield/src/index.ts b/clients/client-shield/src/index.ts index 0eba1543a862..932eb47c5a10 100644 --- a/clients/client-shield/src/index.ts +++ b/clients/client-shield/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { ShieldServiceException } from "./models/ShieldServiceException"; diff --git a/clients/client-signer/package.json b/clients/client-signer/package.json index aa99c9f7dc70..60a24eea9685 100644 --- a/clients/client-signer/package.json +++ b/clients/client-signer/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-signer/src/endpoint/endpointResolver.ts b/clients/client-signer/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-signer/src/endpoint/endpointResolver.ts +++ b/clients/client-signer/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-signer/src/endpointFunctions.ts b/clients/client-signer/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-signer/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-signer/src/index.ts b/clients/client-signer/src/index.ts index 26db94b01601..dec0ddd89fde 100644 --- a/clients/client-signer/src/index.ts +++ b/clients/client-signer/src/index.ts @@ -27,4 +27,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { SignerServiceException } from "./models/SignerServiceException"; diff --git a/clients/client-simspaceweaver/package.json b/clients/client-simspaceweaver/package.json index c2d762fb8c43..ddb88a17771a 100644 --- a/clients/client-simspaceweaver/package.json +++ b/clients/client-simspaceweaver/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-simspaceweaver/src/endpoint/endpointResolver.ts b/clients/client-simspaceweaver/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-simspaceweaver/src/endpoint/endpointResolver.ts +++ b/clients/client-simspaceweaver/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-simspaceweaver/src/endpointFunctions.ts b/clients/client-simspaceweaver/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-simspaceweaver/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-simspaceweaver/src/index.ts b/clients/client-simspaceweaver/src/index.ts index 5b9e81b45834..b52aa6a2199d 100644 --- a/clients/client-simspaceweaver/src/index.ts +++ b/clients/client-simspaceweaver/src/index.ts @@ -22,4 +22,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SimSpaceWeaverServiceException } from "./models/SimSpaceWeaverServiceException"; diff --git a/clients/client-sms/package.json b/clients/client-sms/package.json index 00a2ffedc11c..f1c86b4ebdcd 100644 --- a/clients/client-sms/package.json +++ b/clients/client-sms/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sms/src/endpoint/endpointResolver.ts b/clients/client-sms/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sms/src/endpoint/endpointResolver.ts +++ b/clients/client-sms/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sms/src/endpointFunctions.ts b/clients/client-sms/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sms/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sms/src/index.ts b/clients/client-sms/src/index.ts index 901af0755ebb..47d3ee7d8583 100644 --- a/clients/client-sms/src/index.ts +++ b/clients/client-sms/src/index.ts @@ -36,4 +36,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SMSServiceException } from "./models/SMSServiceException"; diff --git a/clients/client-snow-device-management/package.json b/clients/client-snow-device-management/package.json index f0fce9f17cf8..4a004d5ed4d5 100644 --- a/clients/client-snow-device-management/package.json +++ b/clients/client-snow-device-management/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-snow-device-management/src/endpoint/endpointResolver.ts b/clients/client-snow-device-management/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-snow-device-management/src/endpoint/endpointResolver.ts +++ b/clients/client-snow-device-management/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-snow-device-management/src/endpointFunctions.ts b/clients/client-snow-device-management/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-snow-device-management/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-snow-device-management/src/index.ts b/clients/client-snow-device-management/src/index.ts index a5c651021955..291bb46f0e90 100644 --- a/clients/client-snow-device-management/src/index.ts +++ b/clients/client-snow-device-management/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SnowDeviceManagementServiceException } from "./models/SnowDeviceManagementServiceException"; diff --git a/clients/client-snowball/package.json b/clients/client-snowball/package.json index 9bd8615e77c2..0e2d9cae752c 100644 --- a/clients/client-snowball/package.json +++ b/clients/client-snowball/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-snowball/src/endpoint/endpointResolver.ts b/clients/client-snowball/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-snowball/src/endpoint/endpointResolver.ts +++ b/clients/client-snowball/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-snowball/src/endpointFunctions.ts b/clients/client-snowball/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-snowball/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-snowball/src/index.ts b/clients/client-snowball/src/index.ts index 591767ae89af..1c6ff3d6a2d0 100644 --- a/clients/client-snowball/src/index.ts +++ b/clients/client-snowball/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SnowballServiceException } from "./models/SnowballServiceException"; diff --git a/clients/client-sns/package.json b/clients/client-sns/package.json index a35628472cf9..6b96917b4b77 100644 --- a/clients/client-sns/package.json +++ b/clients/client-sns/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "fast-xml-parser": "4.2.5", diff --git a/clients/client-sns/src/endpoint/endpointResolver.ts b/clients/client-sns/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sns/src/endpoint/endpointResolver.ts +++ b/clients/client-sns/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sns/src/endpointFunctions.ts b/clients/client-sns/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sns/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sns/src/index.ts b/clients/client-sns/src/index.ts index ba3e2c55a03a..a9a1616e4943 100644 --- a/clients/client-sns/src/index.ts +++ b/clients/client-sns/src/index.ts @@ -24,4 +24,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SNSServiceException } from "./models/SNSServiceException"; diff --git a/clients/client-sqs/package.json b/clients/client-sqs/package.json index 6b48dc353515..6773d287e69a 100644 --- a/clients/client-sqs/package.json +++ b/clients/client-sqs/package.json @@ -55,6 +55,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "fast-xml-parser": "4.2.5", diff --git a/clients/client-sqs/src/endpoint/endpointResolver.ts b/clients/client-sqs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sqs/src/endpoint/endpointResolver.ts +++ b/clients/client-sqs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sqs/src/endpointFunctions.ts b/clients/client-sqs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sqs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sqs/src/index.ts b/clients/client-sqs/src/index.ts index d02c5a0ad349..b98a76d8da65 100644 --- a/clients/client-sqs/src/index.ts +++ b/clients/client-sqs/src/index.ts @@ -83,4 +83,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SQSServiceException } from "./models/SQSServiceException"; diff --git a/clients/client-ssm-contacts/package.json b/clients/client-ssm-contacts/package.json index 92227a346dd2..d5c4189c1bb3 100644 --- a/clients/client-ssm-contacts/package.json +++ b/clients/client-ssm-contacts/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-ssm-contacts/src/endpoint/endpointResolver.ts b/clients/client-ssm-contacts/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ssm-contacts/src/endpoint/endpointResolver.ts +++ b/clients/client-ssm-contacts/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ssm-contacts/src/endpointFunctions.ts b/clients/client-ssm-contacts/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ssm-contacts/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ssm-contacts/src/index.ts b/clients/client-ssm-contacts/src/index.ts index 2cb647297126..ece2ea96b679 100644 --- a/clients/client-ssm-contacts/src/index.ts +++ b/clients/client-ssm-contacts/src/index.ts @@ -19,4 +19,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SSMContactsServiceException } from "./models/SSMContactsServiceException"; diff --git a/clients/client-ssm-incidents/package.json b/clients/client-ssm-incidents/package.json index 2d8994127d49..30ce06c39e1d 100644 --- a/clients/client-ssm-incidents/package.json +++ b/clients/client-ssm-incidents/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-ssm-incidents/src/endpoint/endpointResolver.ts b/clients/client-ssm-incidents/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ssm-incidents/src/endpoint/endpointResolver.ts +++ b/clients/client-ssm-incidents/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ssm-incidents/src/endpointFunctions.ts b/clients/client-ssm-incidents/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ssm-incidents/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ssm-incidents/src/index.ts b/clients/client-ssm-incidents/src/index.ts index 8f14e98998cb..e89dbd750ad9 100644 --- a/clients/client-ssm-incidents/src/index.ts +++ b/clients/client-ssm-incidents/src/index.ts @@ -20,4 +20,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { SSMIncidentsServiceException } from "./models/SSMIncidentsServiceException"; diff --git a/clients/client-ssm-sap/package.json b/clients/client-ssm-sap/package.json index e2da2b260fb5..0731a9d44bb8 100644 --- a/clients/client-ssm-sap/package.json +++ b/clients/client-ssm-sap/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-ssm-sap/src/endpoint/endpointResolver.ts b/clients/client-ssm-sap/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ssm-sap/src/endpoint/endpointResolver.ts +++ b/clients/client-ssm-sap/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ssm-sap/src/endpointFunctions.ts b/clients/client-ssm-sap/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ssm-sap/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ssm-sap/src/index.ts b/clients/client-ssm-sap/src/index.ts index c9015a766d6f..5185442643de 100644 --- a/clients/client-ssm-sap/src/index.ts +++ b/clients/client-ssm-sap/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SsmSapServiceException } from "./models/SsmSapServiceException"; diff --git a/clients/client-ssm/package.json b/clients/client-ssm/package.json index 2320f9eecddb..ba2b970bcb77 100644 --- a/clients/client-ssm/package.json +++ b/clients/client-ssm/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-ssm/src/endpoint/endpointResolver.ts b/clients/client-ssm/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-ssm/src/endpoint/endpointResolver.ts +++ b/clients/client-ssm/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-ssm/src/endpointFunctions.ts b/clients/client-ssm/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-ssm/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-ssm/src/index.ts b/clients/client-ssm/src/index.ts index 0cd890699ae1..8d305cf3ba9f 100644 --- a/clients/client-ssm/src/index.ts +++ b/clients/client-ssm/src/index.ts @@ -48,4 +48,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { SSMServiceException } from "./models/SSMServiceException"; diff --git a/clients/client-sso-admin/package.json b/clients/client-sso-admin/package.json index dcd39f2e18df..9d0553eac758 100644 --- a/clients/client-sso-admin/package.json +++ b/clients/client-sso-admin/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sso-admin/src/endpoint/endpointResolver.ts b/clients/client-sso-admin/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sso-admin/src/endpoint/endpointResolver.ts +++ b/clients/client-sso-admin/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sso-admin/src/endpointFunctions.ts b/clients/client-sso-admin/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sso-admin/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sso-admin/src/index.ts b/clients/client-sso-admin/src/index.ts index 9464e637e9ce..c09c0f6353b5 100644 --- a/clients/client-sso-admin/src/index.ts +++ b/clients/client-sso-admin/src/index.ts @@ -31,4 +31,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SSOAdminServiceException } from "./models/SSOAdminServiceException"; diff --git a/clients/client-sso-oidc/package.json b/clients/client-sso-oidc/package.json index a352741547c5..0ddb55aac6c5 100644 --- a/clients/client-sso-oidc/package.json +++ b/clients/client-sso-oidc/package.json @@ -50,6 +50,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sso-oidc/src/endpoint/endpointResolver.ts b/clients/client-sso-oidc/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sso-oidc/src/endpoint/endpointResolver.ts +++ b/clients/client-sso-oidc/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sso-oidc/src/endpointFunctions.ts b/clients/client-sso-oidc/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sso-oidc/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sso-oidc/src/index.ts b/clients/client-sso-oidc/src/index.ts index 35e1ecc20923..389890293b7e 100644 --- a/clients/client-sso-oidc/src/index.ts +++ b/clients/client-sso-oidc/src/index.ts @@ -49,4 +49,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { SSOOIDCServiceException } from "./models/SSOOIDCServiceException"; diff --git a/clients/client-sso/package.json b/clients/client-sso/package.json index 3163585dda1e..bb347d1fd78c 100644 --- a/clients/client-sso/package.json +++ b/clients/client-sso/package.json @@ -50,6 +50,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-sso/src/endpoint/endpointResolver.ts b/clients/client-sso/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sso/src/endpoint/endpointResolver.ts +++ b/clients/client-sso/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sso/src/endpointFunctions.ts b/clients/client-sso/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sso/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sso/src/index.ts b/clients/client-sso/src/index.ts index 9cb218404f84..c0f9eab1235d 100644 --- a/clients/client-sso/src/index.ts +++ b/clients/client-sso/src/index.ts @@ -27,4 +27,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SSOServiceException } from "./models/SSOServiceException"; diff --git a/clients/client-storage-gateway/package.json b/clients/client-storage-gateway/package.json index 523dd0ed5b6c..45006096ce60 100644 --- a/clients/client-storage-gateway/package.json +++ b/clients/client-storage-gateway/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-storage-gateway/src/endpoint/endpointResolver.ts b/clients/client-storage-gateway/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-storage-gateway/src/endpoint/endpointResolver.ts +++ b/clients/client-storage-gateway/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-storage-gateway/src/endpointFunctions.ts b/clients/client-storage-gateway/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-storage-gateway/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-storage-gateway/src/index.ts b/clients/client-storage-gateway/src/index.ts index faf334fc5f65..7a483fd0d19b 100644 --- a/clients/client-storage-gateway/src/index.ts +++ b/clients/client-storage-gateway/src/index.ts @@ -70,4 +70,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { StorageGatewayServiceException } from "./models/StorageGatewayServiceException"; diff --git a/clients/client-sts/package.json b/clients/client-sts/package.json index 385da2501eaa..908817cc0ce8 100644 --- a/clients/client-sts/package.json +++ b/clients/client-sts/package.json @@ -55,6 +55,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "fast-xml-parser": "4.2.5", diff --git a/clients/client-sts/src/endpoint/endpointResolver.ts b/clients/client-sts/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-sts/src/endpoint/endpointResolver.ts +++ b/clients/client-sts/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-sts/src/endpointFunctions.ts b/clients/client-sts/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-sts/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-sts/src/index.ts b/clients/client-sts/src/index.ts index 0e0f57eeeaf9..8c400887c6a9 100644 --- a/clients/client-sts/src/index.ts +++ b/clients/client-sts/src/index.ts @@ -16,4 +16,6 @@ export * from "./models"; export * from "./defaultRoleAssumers"; +export * from "./endpointFunctions"; + export { STSServiceException } from "./models/STSServiceException"; diff --git a/clients/client-support-app/package.json b/clients/client-support-app/package.json index 996fcce93545..eb0911abc5f9 100644 --- a/clients/client-support-app/package.json +++ b/clients/client-support-app/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-support-app/src/endpoint/endpointResolver.ts b/clients/client-support-app/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-support-app/src/endpoint/endpointResolver.ts +++ b/clients/client-support-app/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-support-app/src/endpointFunctions.ts b/clients/client-support-app/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-support-app/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-support-app/src/index.ts b/clients/client-support-app/src/index.ts index c0b4ae42c1f6..bd8791899dea 100644 --- a/clients/client-support-app/src/index.ts +++ b/clients/client-support-app/src/index.ts @@ -65,4 +65,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SupportAppServiceException } from "./models/SupportAppServiceException"; diff --git a/clients/client-support/package.json b/clients/client-support/package.json index d9ed05aa73c2..9b633645e377 100644 --- a/clients/client-support/package.json +++ b/clients/client-support/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-support/src/endpoint/endpointResolver.ts b/clients/client-support/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-support/src/endpoint/endpointResolver.ts +++ b/clients/client-support/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-support/src/endpointFunctions.ts b/clients/client-support/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-support/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-support/src/index.ts b/clients/client-support/src/index.ts index e29daf856748..2224dfe395bc 100644 --- a/clients/client-support/src/index.ts +++ b/clients/client-support/src/index.ts @@ -55,4 +55,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SupportServiceException } from "./models/SupportServiceException"; diff --git a/clients/client-swf/package.json b/clients/client-swf/package.json index 7170f5855794..32f8ea581dba 100644 --- a/clients/client-swf/package.json +++ b/clients/client-swf/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-swf/src/endpoint/endpointResolver.ts b/clients/client-swf/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-swf/src/endpoint/endpointResolver.ts +++ b/clients/client-swf/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-swf/src/endpointFunctions.ts b/clients/client-swf/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-swf/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-swf/src/index.ts b/clients/client-swf/src/index.ts index eac53c37c7e8..bab746cd7556 100644 --- a/clients/client-swf/src/index.ts +++ b/clients/client-swf/src/index.ts @@ -24,4 +24,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SWFServiceException } from "./models/SWFServiceException"; diff --git a/clients/client-synthetics/package.json b/clients/client-synthetics/package.json index 942e86a2a573..621db847add6 100644 --- a/clients/client-synthetics/package.json +++ b/clients/client-synthetics/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-synthetics/src/endpoint/endpointResolver.ts b/clients/client-synthetics/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-synthetics/src/endpoint/endpointResolver.ts +++ b/clients/client-synthetics/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-synthetics/src/endpointFunctions.ts b/clients/client-synthetics/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-synthetics/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-synthetics/src/index.ts b/clients/client-synthetics/src/index.ts index 46b1b623f3f1..81dd00a78d63 100644 --- a/clients/client-synthetics/src/index.ts +++ b/clients/client-synthetics/src/index.ts @@ -26,4 +26,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { SyntheticsServiceException } from "./models/SyntheticsServiceException"; diff --git a/clients/client-textract/package.json b/clients/client-textract/package.json index 41e668faf255..f2d735e85d71 100644 --- a/clients/client-textract/package.json +++ b/clients/client-textract/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-textract/src/endpoint/endpointResolver.ts b/clients/client-textract/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-textract/src/endpoint/endpointResolver.ts +++ b/clients/client-textract/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-textract/src/endpointFunctions.ts b/clients/client-textract/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-textract/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-textract/src/index.ts b/clients/client-textract/src/index.ts index 6a9bba0af9ec..1a7ae3a233d3 100644 --- a/clients/client-textract/src/index.ts +++ b/clients/client-textract/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { TextractServiceException } from "./models/TextractServiceException"; diff --git a/clients/client-timestream-query/package.json b/clients/client-timestream-query/package.json index b36fd71ef25e..7aee3ff76932 100644 --- a/clients/client-timestream-query/package.json +++ b/clients/client-timestream-query/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-timestream-query/src/endpoint/endpointResolver.ts b/clients/client-timestream-query/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-timestream-query/src/endpoint/endpointResolver.ts +++ b/clients/client-timestream-query/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-timestream-query/src/endpointFunctions.ts b/clients/client-timestream-query/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-timestream-query/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-timestream-query/src/index.ts b/clients/client-timestream-query/src/index.ts index 813c0198d937..9a7af3bd34ad 100644 --- a/clients/client-timestream-query/src/index.ts +++ b/clients/client-timestream-query/src/index.ts @@ -14,4 +14,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { TimestreamQueryServiceException } from "./models/TimestreamQueryServiceException"; diff --git a/clients/client-timestream-write/package.json b/clients/client-timestream-write/package.json index bec85a970d63..811ba20a1ee1 100644 --- a/clients/client-timestream-write/package.json +++ b/clients/client-timestream-write/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-timestream-write/src/endpoint/endpointResolver.ts b/clients/client-timestream-write/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-timestream-write/src/endpoint/endpointResolver.ts +++ b/clients/client-timestream-write/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-timestream-write/src/endpointFunctions.ts b/clients/client-timestream-write/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-timestream-write/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-timestream-write/src/index.ts b/clients/client-timestream-write/src/index.ts index 2dfed5310750..e4cbac8e4a5b 100644 --- a/clients/client-timestream-write/src/index.ts +++ b/clients/client-timestream-write/src/index.ts @@ -24,4 +24,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { TimestreamWriteServiceException } from "./models/TimestreamWriteServiceException"; diff --git a/clients/client-tnb/package.json b/clients/client-tnb/package.json index afce651b06a1..51201f8f5f92 100644 --- a/clients/client-tnb/package.json +++ b/clients/client-tnb/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-tnb/src/endpoint/endpointResolver.ts b/clients/client-tnb/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-tnb/src/endpoint/endpointResolver.ts +++ b/clients/client-tnb/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-tnb/src/endpointFunctions.ts b/clients/client-tnb/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-tnb/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-tnb/src/index.ts b/clients/client-tnb/src/index.ts index b30f30149e4a..112b072ca764 100644 --- a/clients/client-tnb/src/index.ts +++ b/clients/client-tnb/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { TnbServiceException } from "./models/TnbServiceException"; diff --git a/clients/client-transcribe-streaming/package.json b/clients/client-transcribe-streaming/package.json index 11f643a51bb5..1faa472e8f5e 100644 --- a/clients/client-transcribe-streaming/package.json +++ b/clients/client-transcribe-streaming/package.json @@ -61,6 +61,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-transcribe-streaming/src/endpoint/endpointResolver.ts b/clients/client-transcribe-streaming/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-transcribe-streaming/src/endpoint/endpointResolver.ts +++ b/clients/client-transcribe-streaming/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-transcribe-streaming/src/endpointFunctions.ts b/clients/client-transcribe-streaming/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-transcribe-streaming/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-transcribe-streaming/src/index.ts b/clients/client-transcribe-streaming/src/index.ts index 0379c12e429f..6ab385e17d04 100644 --- a/clients/client-transcribe-streaming/src/index.ts +++ b/clients/client-transcribe-streaming/src/index.ts @@ -33,4 +33,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { TranscribeStreamingServiceException } from "./models/TranscribeStreamingServiceException"; diff --git a/clients/client-transcribe/package.json b/clients/client-transcribe/package.json index e7ba740de4c3..ad0ae6e19a08 100644 --- a/clients/client-transcribe/package.json +++ b/clients/client-transcribe/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-transcribe/src/endpoint/endpointResolver.ts b/clients/client-transcribe/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-transcribe/src/endpoint/endpointResolver.ts +++ b/clients/client-transcribe/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-transcribe/src/endpointFunctions.ts b/clients/client-transcribe/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-transcribe/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-transcribe/src/index.ts b/clients/client-transcribe/src/index.ts index 4a97256289d4..8bcaee14293e 100644 --- a/clients/client-transcribe/src/index.ts +++ b/clients/client-transcribe/src/index.ts @@ -33,4 +33,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { TranscribeServiceException } from "./models/TranscribeServiceException"; diff --git a/clients/client-transfer/package.json b/clients/client-transfer/package.json index 0774e6f8f8d9..31bff7065352 100644 --- a/clients/client-transfer/package.json +++ b/clients/client-transfer/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "@smithy/util-waiter": "^2.0.11", diff --git a/clients/client-transfer/src/endpoint/endpointResolver.ts b/clients/client-transfer/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-transfer/src/endpoint/endpointResolver.ts +++ b/clients/client-transfer/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-transfer/src/endpointFunctions.ts b/clients/client-transfer/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-transfer/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-transfer/src/index.ts b/clients/client-transfer/src/index.ts index 7b2f94795560..cf9ae5484ca4 100644 --- a/clients/client-transfer/src/index.ts +++ b/clients/client-transfer/src/index.ts @@ -22,4 +22,6 @@ export * from "./pagination"; export * from "./waiters"; export * from "./models"; +export * from "./endpointFunctions"; + export { TransferServiceException } from "./models/TransferServiceException"; diff --git a/clients/client-translate/package.json b/clients/client-translate/package.json index 6f1ec801f909..04a1b68cc744 100644 --- a/clients/client-translate/package.json +++ b/clients/client-translate/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-translate/src/endpoint/endpointResolver.ts b/clients/client-translate/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-translate/src/endpoint/endpointResolver.ts +++ b/clients/client-translate/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-translate/src/endpointFunctions.ts b/clients/client-translate/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-translate/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-translate/src/index.ts b/clients/client-translate/src/index.ts index 79074fdf8f8c..8a0dae5ee1a0 100644 --- a/clients/client-translate/src/index.ts +++ b/clients/client-translate/src/index.ts @@ -12,4 +12,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { TranslateServiceException } from "./models/TranslateServiceException"; diff --git a/clients/client-verifiedpermissions/package.json b/clients/client-verifiedpermissions/package.json index 0a8ae0f1536d..7053b8e1ab35 100644 --- a/clients/client-verifiedpermissions/package.json +++ b/clients/client-verifiedpermissions/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-verifiedpermissions/src/endpoint/endpointResolver.ts b/clients/client-verifiedpermissions/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-verifiedpermissions/src/endpoint/endpointResolver.ts +++ b/clients/client-verifiedpermissions/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-verifiedpermissions/src/endpointFunctions.ts b/clients/client-verifiedpermissions/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-verifiedpermissions/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-verifiedpermissions/src/index.ts b/clients/client-verifiedpermissions/src/index.ts index 83de60a42010..910c3655c9f9 100644 --- a/clients/client-verifiedpermissions/src/index.ts +++ b/clients/client-verifiedpermissions/src/index.ts @@ -76,4 +76,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { VerifiedPermissionsServiceException } from "./models/VerifiedPermissionsServiceException"; diff --git a/clients/client-voice-id/package.json b/clients/client-voice-id/package.json index 2624f4a63be9..ddfa067fb280 100644 --- a/clients/client-voice-id/package.json +++ b/clients/client-voice-id/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-voice-id/src/endpoint/endpointResolver.ts b/clients/client-voice-id/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-voice-id/src/endpoint/endpointResolver.ts +++ b/clients/client-voice-id/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-voice-id/src/endpointFunctions.ts b/clients/client-voice-id/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-voice-id/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-voice-id/src/index.ts b/clients/client-voice-id/src/index.ts index 635a723b59a8..6af603f9a7df 100644 --- a/clients/client-voice-id/src/index.ts +++ b/clients/client-voice-id/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { VoiceIDServiceException } from "./models/VoiceIDServiceException"; diff --git a/clients/client-vpc-lattice/package.json b/clients/client-vpc-lattice/package.json index 557f9d9c7277..e80989a2612a 100644 --- a/clients/client-vpc-lattice/package.json +++ b/clients/client-vpc-lattice/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-vpc-lattice/src/endpoint/endpointResolver.ts b/clients/client-vpc-lattice/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-vpc-lattice/src/endpoint/endpointResolver.ts +++ b/clients/client-vpc-lattice/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-vpc-lattice/src/endpointFunctions.ts b/clients/client-vpc-lattice/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-vpc-lattice/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-vpc-lattice/src/index.ts b/clients/client-vpc-lattice/src/index.ts index 71751e85356d..5063a5b2a40e 100644 --- a/clients/client-vpc-lattice/src/index.ts +++ b/clients/client-vpc-lattice/src/index.ts @@ -16,4 +16,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { VPCLatticeServiceException } from "./models/VPCLatticeServiceException"; diff --git a/clients/client-waf-regional/package.json b/clients/client-waf-regional/package.json index f4b20e47e45d..5729b49d9f30 100644 --- a/clients/client-waf-regional/package.json +++ b/clients/client-waf-regional/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-waf-regional/src/endpoint/endpointResolver.ts b/clients/client-waf-regional/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-waf-regional/src/endpoint/endpointResolver.ts +++ b/clients/client-waf-regional/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-waf-regional/src/endpointFunctions.ts b/clients/client-waf-regional/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-waf-regional/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-waf-regional/src/index.ts b/clients/client-waf-regional/src/index.ts index ba64e0f02378..5b98ab2bf274 100644 --- a/clients/client-waf-regional/src/index.ts +++ b/clients/client-waf-regional/src/index.ts @@ -21,4 +21,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { WAFRegionalServiceException } from "./models/WAFRegionalServiceException"; diff --git a/clients/client-waf/package.json b/clients/client-waf/package.json index 3064b1511194..bb51c58475ce 100644 --- a/clients/client-waf/package.json +++ b/clients/client-waf/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-waf/src/endpoint/endpointResolver.ts b/clients/client-waf/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-waf/src/endpoint/endpointResolver.ts +++ b/clients/client-waf/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-waf/src/endpointFunctions.ts b/clients/client-waf/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-waf/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-waf/src/index.ts b/clients/client-waf/src/index.ts index 0cc146318cd6..a0ad7327c731 100644 --- a/clients/client-waf/src/index.ts +++ b/clients/client-waf/src/index.ts @@ -21,4 +21,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { WAFServiceException } from "./models/WAFServiceException"; diff --git a/clients/client-wafv2/package.json b/clients/client-wafv2/package.json index 4a64b318bb51..a2f0a707bd9f 100644 --- a/clients/client-wafv2/package.json +++ b/clients/client-wafv2/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-wafv2/src/endpoint/endpointResolver.ts b/clients/client-wafv2/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-wafv2/src/endpoint/endpointResolver.ts +++ b/clients/client-wafv2/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-wafv2/src/endpointFunctions.ts b/clients/client-wafv2/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-wafv2/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-wafv2/src/index.ts b/clients/client-wafv2/src/index.ts index 60397c99ad3a..c29ffeb41689 100644 --- a/clients/client-wafv2/src/index.ts +++ b/clients/client-wafv2/src/index.ts @@ -68,4 +68,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { WAFV2ServiceException } from "./models/WAFV2ServiceException"; diff --git a/clients/client-wellarchitected/package.json b/clients/client-wellarchitected/package.json index 7a7d4e7dd3a7..ae3d9ad527e6 100644 --- a/clients/client-wellarchitected/package.json +++ b/clients/client-wellarchitected/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-wellarchitected/src/endpoint/endpointResolver.ts b/clients/client-wellarchitected/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-wellarchitected/src/endpoint/endpointResolver.ts +++ b/clients/client-wellarchitected/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-wellarchitected/src/endpointFunctions.ts b/clients/client-wellarchitected/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-wellarchitected/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-wellarchitected/src/index.ts b/clients/client-wellarchitected/src/index.ts index 433fa2af22c5..c485343d16bc 100644 --- a/clients/client-wellarchitected/src/index.ts +++ b/clients/client-wellarchitected/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { WellArchitectedServiceException } from "./models/WellArchitectedServiceException"; diff --git a/clients/client-wisdom/package.json b/clients/client-wisdom/package.json index 6e6f40e9ce11..ca5f44e4d907 100644 --- a/clients/client-wisdom/package.json +++ b/clients/client-wisdom/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-wisdom/src/endpoint/endpointResolver.ts b/clients/client-wisdom/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-wisdom/src/endpoint/endpointResolver.ts +++ b/clients/client-wisdom/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-wisdom/src/endpointFunctions.ts b/clients/client-wisdom/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-wisdom/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-wisdom/src/index.ts b/clients/client-wisdom/src/index.ts index e53726514f13..33c1d0e52bf4 100644 --- a/clients/client-wisdom/src/index.ts +++ b/clients/client-wisdom/src/index.ts @@ -15,4 +15,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { WisdomServiceException } from "./models/WisdomServiceException"; diff --git a/clients/client-workdocs/package.json b/clients/client-workdocs/package.json index b7aeac804027..d96c7743f3a1 100644 --- a/clients/client-workdocs/package.json +++ b/clients/client-workdocs/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-workdocs/src/endpoint/endpointResolver.ts b/clients/client-workdocs/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-workdocs/src/endpoint/endpointResolver.ts +++ b/clients/client-workdocs/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-workdocs/src/endpointFunctions.ts b/clients/client-workdocs/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-workdocs/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-workdocs/src/index.ts b/clients/client-workdocs/src/index.ts index 955aa98c1e33..3f324b9b7d61 100644 --- a/clients/client-workdocs/src/index.ts +++ b/clients/client-workdocs/src/index.ts @@ -70,4 +70,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { WorkDocsServiceException } from "./models/WorkDocsServiceException"; diff --git a/clients/client-worklink/package.json b/clients/client-worklink/package.json index d3b37e3808aa..328f92940bef 100644 --- a/clients/client-worklink/package.json +++ b/clients/client-worklink/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-worklink/src/endpoint/endpointResolver.ts b/clients/client-worklink/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-worklink/src/endpoint/endpointResolver.ts +++ b/clients/client-worklink/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-worklink/src/endpointFunctions.ts b/clients/client-worklink/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-worklink/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-worklink/src/index.ts b/clients/client-worklink/src/index.ts index b6943138e02c..c2611f6731d4 100644 --- a/clients/client-worklink/src/index.ts +++ b/clients/client-worklink/src/index.ts @@ -18,4 +18,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { WorkLinkServiceException } from "./models/WorkLinkServiceException"; diff --git a/clients/client-workmail/package.json b/clients/client-workmail/package.json index bbb7570b4a22..fff462b60fcb 100644 --- a/clients/client-workmail/package.json +++ b/clients/client-workmail/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-workmail/src/endpoint/endpointResolver.ts b/clients/client-workmail/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-workmail/src/endpoint/endpointResolver.ts +++ b/clients/client-workmail/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-workmail/src/endpointFunctions.ts b/clients/client-workmail/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-workmail/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-workmail/src/index.ts b/clients/client-workmail/src/index.ts index af91d9e4421b..3461665e3bb5 100644 --- a/clients/client-workmail/src/index.ts +++ b/clients/client-workmail/src/index.ts @@ -47,4 +47,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { WorkMailServiceException } from "./models/WorkMailServiceException"; diff --git a/clients/client-workmailmessageflow/package.json b/clients/client-workmailmessageflow/package.json index 0d9b47050fa3..3bdf70d2c4ed 100644 --- a/clients/client-workmailmessageflow/package.json +++ b/clients/client-workmailmessageflow/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-stream": "^2.0.16", "@smithy/util-utf8": "^2.0.0", diff --git a/clients/client-workmailmessageflow/src/endpoint/endpointResolver.ts b/clients/client-workmailmessageflow/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-workmailmessageflow/src/endpoint/endpointResolver.ts +++ b/clients/client-workmailmessageflow/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-workmailmessageflow/src/endpointFunctions.ts b/clients/client-workmailmessageflow/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-workmailmessageflow/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-workmailmessageflow/src/index.ts b/clients/client-workmailmessageflow/src/index.ts index 2af3ef4c42c1..ec9c297a75df 100644 --- a/clients/client-workmailmessageflow/src/index.ts +++ b/clients/client-workmailmessageflow/src/index.ts @@ -15,4 +15,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export * from "./commands"; export * from "./models"; +export * from "./endpointFunctions"; + export { WorkMailMessageFlowServiceException } from "./models/WorkMailMessageFlowServiceException"; diff --git a/clients/client-workspaces-web/package.json b/clients/client-workspaces-web/package.json index c4a5f961d1aa..53f944815041 100644 --- a/clients/client-workspaces-web/package.json +++ b/clients/client-workspaces-web/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0", diff --git a/clients/client-workspaces-web/src/endpoint/endpointResolver.ts b/clients/client-workspaces-web/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-workspaces-web/src/endpoint/endpointResolver.ts +++ b/clients/client-workspaces-web/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-workspaces-web/src/endpointFunctions.ts b/clients/client-workspaces-web/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-workspaces-web/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-workspaces-web/src/index.ts b/clients/client-workspaces-web/src/index.ts index d69a230c0006..3811cfb8521c 100644 --- a/clients/client-workspaces-web/src/index.ts +++ b/clients/client-workspaces-web/src/index.ts @@ -17,4 +17,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { WorkSpacesWebServiceException } from "./models/WorkSpacesWebServiceException"; diff --git a/clients/client-workspaces/package.json b/clients/client-workspaces/package.json index 9bd2142393f9..009bba23ddd6 100644 --- a/clients/client-workspaces/package.json +++ b/clients/client-workspaces/package.json @@ -53,6 +53,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-workspaces/src/endpoint/endpointResolver.ts b/clients/client-workspaces/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-workspaces/src/endpoint/endpointResolver.ts +++ b/clients/client-workspaces/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-workspaces/src/endpointFunctions.ts b/clients/client-workspaces/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-workspaces/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-workspaces/src/index.ts b/clients/client-workspaces/src/index.ts index 2ccfb08af86c..20365df9fc8e 100644 --- a/clients/client-workspaces/src/index.ts +++ b/clients/client-workspaces/src/index.ts @@ -28,4 +28,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { WorkSpacesServiceException } from "./models/WorkSpacesServiceException"; diff --git a/clients/client-xray/package.json b/clients/client-xray/package.json index ba57b6948214..02845fddb101 100644 --- a/clients/client-xray/package.json +++ b/clients/client-xray/package.json @@ -54,6 +54,7 @@ "@smithy/util-body-length-node": "^2.1.0", "@smithy/util-defaults-mode-browser": "^2.0.15", "@smithy/util-defaults-mode-node": "^2.0.20", + "@smithy/util-endpoints": "^1.0.0", "@smithy/util-retry": "^2.0.4", "@smithy/util-utf8": "^2.0.0", "tslib": "^2.5.0" diff --git a/clients/client-xray/src/endpoint/endpointResolver.ts b/clients/client-xray/src/endpoint/endpointResolver.ts index 3fbea60c40b6..5a2f95973187 100644 --- a/clients/client-xray/src/endpoint/endpointResolver.ts +++ b/clients/client-xray/src/endpoint/endpointResolver.ts @@ -1,6 +1,6 @@ // smithy-typescript generated code -import { EndpointParams, resolveEndpoint } from "@aws-sdk/util-endpoints"; import { EndpointV2, Logger } from "@smithy/types"; +import { EndpointParams, resolveEndpoint } from "@smithy/util-endpoints"; import { EndpointParameters } from "./EndpointParameters"; import { ruleSet } from "./ruleset"; diff --git a/clients/client-xray/src/endpointFunctions.ts b/clients/client-xray/src/endpointFunctions.ts new file mode 100644 index 000000000000..d2288fdf454a --- /dev/null +++ b/clients/client-xray/src/endpointFunctions.ts @@ -0,0 +1,5 @@ +// smithy-typescript generated code +import { awsEndpointFunctions } from "@aws-sdk/util-endpoints"; +import { customEndpointFunctions } from "@smithy/util-endpoints"; + +customEndpointFunctions.aws = awsEndpointFunctions; diff --git a/clients/client-xray/src/index.ts b/clients/client-xray/src/index.ts index 1844f5dcd5ca..7102d9d47399 100644 --- a/clients/client-xray/src/index.ts +++ b/clients/client-xray/src/index.ts @@ -13,4 +13,6 @@ export * from "./commands"; export * from "./pagination"; export * from "./models"; +export * from "./endpointFunctions"; + export { XRayServiceException } from "./models/XRayServiceException";