@aws-sdk/client-partnercentral-channel 3.1044.0 → 3.1046.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +7 -7
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +50 -51
  5. package/dist-cjs/models/PartnerCentralChannelServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +12 -14
  7. package/dist-cjs/runtimeConfig.js +19 -23
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/PartnerCentralChannel.js +1 -1
  10. package/dist-es/PartnerCentralChannelClient.js +5 -5
  11. package/dist-es/auth/httpAuthSchemeProvider.js +2 -2
  12. package/dist-es/commands/AcceptChannelHandshakeCommand.js +2 -2
  13. package/dist-es/commands/CancelChannelHandshakeCommand.js +2 -2
  14. package/dist-es/commands/CreateChannelHandshakeCommand.js +2 -2
  15. package/dist-es/commands/CreateProgramManagementAccountCommand.js +2 -2
  16. package/dist-es/commands/CreateRelationshipCommand.js +2 -2
  17. package/dist-es/commands/DeleteProgramManagementAccountCommand.js +2 -2
  18. package/dist-es/commands/DeleteRelationshipCommand.js +2 -2
  19. package/dist-es/commands/GetRelationshipCommand.js +2 -2
  20. package/dist-es/commands/ListChannelHandshakesCommand.js +2 -2
  21. package/dist-es/commands/ListProgramManagementAccountsCommand.js +2 -2
  22. package/dist-es/commands/ListRelationshipsCommand.js +2 -2
  23. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  24. package/dist-es/commands/RejectChannelHandshakeCommand.js +2 -2
  25. package/dist-es/commands/TagResourceCommand.js +2 -2
  26. package/dist-es/commands/UntagResourceCommand.js +2 -2
  27. package/dist-es/commands/UpdateProgramManagementAccountCommand.js +2 -2
  28. package/dist-es/commands/UpdateRelationshipCommand.js +2 -2
  29. package/dist-es/endpoint/bdd.js +1 -1
  30. package/dist-es/endpoint/endpointResolver.js +1 -1
  31. package/dist-es/models/PartnerCentralChannelServiceException.js +1 -1
  32. package/dist-es/runtimeConfig.browser.js +4 -6
  33. package/dist-es/runtimeConfig.js +4 -8
  34. package/dist-es/runtimeConfig.shared.js +3 -4
  35. package/dist-es/runtimeExtensions.js +2 -2
  36. package/dist-types/PartnerCentralChannelClient.d.ts +5 -5
  37. package/dist-types/commands/AcceptChannelHandshakeCommand.d.ts +6 -4
  38. package/dist-types/commands/CancelChannelHandshakeCommand.d.ts +6 -4
  39. package/dist-types/commands/CreateChannelHandshakeCommand.d.ts +6 -4
  40. package/dist-types/commands/CreateProgramManagementAccountCommand.d.ts +6 -4
  41. package/dist-types/commands/CreateRelationshipCommand.d.ts +6 -4
  42. package/dist-types/commands/DeleteProgramManagementAccountCommand.d.ts +6 -4
  43. package/dist-types/commands/DeleteRelationshipCommand.d.ts +6 -4
  44. package/dist-types/commands/GetRelationshipCommand.d.ts +6 -4
  45. package/dist-types/commands/ListChannelHandshakesCommand.d.ts +6 -4
  46. package/dist-types/commands/ListProgramManagementAccountsCommand.d.ts +6 -4
  47. package/dist-types/commands/ListRelationshipsCommand.d.ts +6 -4
  48. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  49. package/dist-types/commands/RejectChannelHandshakeCommand.d.ts +6 -4
  50. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  51. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  52. package/dist-types/commands/UpdateProgramManagementAccountCommand.d.ts +6 -4
  53. package/dist-types/commands/UpdateRelationshipCommand.d.ts +6 -4
  54. package/dist-types/endpoint/bdd.d.ts +1 -1
  55. package/dist-types/extensionConfiguration.d.ts +1 -1
  56. package/dist-types/models/PartnerCentralChannelServiceException.d.ts +1 -1
  57. package/dist-types/models/errors.d.ts +1 -1
  58. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  59. package/dist-types/runtimeConfig.d.ts +2 -2
  60. package/dist-types/runtimeConfig.native.d.ts +2 -2
  61. package/dist-types/ts3.4/PartnerCentralChannelClient.d.ts +8 -14
  62. package/dist-types/ts3.4/commands/AcceptChannelHandshakeCommand.d.ts +6 -4
  63. package/dist-types/ts3.4/commands/CancelChannelHandshakeCommand.d.ts +6 -4
  64. package/dist-types/ts3.4/commands/CreateChannelHandshakeCommand.d.ts +6 -4
  65. package/dist-types/ts3.4/commands/CreateProgramManagementAccountCommand.d.ts +6 -4
  66. package/dist-types/ts3.4/commands/CreateRelationshipCommand.d.ts +6 -4
  67. package/dist-types/ts3.4/commands/DeleteProgramManagementAccountCommand.d.ts +6 -4
  68. package/dist-types/ts3.4/commands/DeleteRelationshipCommand.d.ts +6 -4
  69. package/dist-types/ts3.4/commands/GetRelationshipCommand.d.ts +6 -4
  70. package/dist-types/ts3.4/commands/ListChannelHandshakesCommand.d.ts +6 -4
  71. package/dist-types/ts3.4/commands/ListProgramManagementAccountsCommand.d.ts +6 -4
  72. package/dist-types/ts3.4/commands/ListRelationshipsCommand.d.ts +6 -4
  73. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  74. package/dist-types/ts3.4/commands/RejectChannelHandshakeCommand.d.ts +6 -4
  75. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  76. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  77. package/dist-types/ts3.4/commands/UpdateProgramManagementAccountCommand.d.ts +6 -4
  78. package/dist-types/ts3.4/commands/UpdateRelationshipCommand.d.ts +6 -4
  79. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  80. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  81. package/dist-types/ts3.4/models/PartnerCentralChannelServiceException.d.ts +1 -1
  82. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  86. package/package.json +14 -35
@@ -3,26 +3,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveHttpAuthSchemeConfig = exports.defaultPartnerCentralChannelHttpAuthSchemeProvider = exports.defaultPartnerCentralChannelHttpAuthSchemeParametersProvider = void 0;
4
4
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
6
- const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
7
- const util_middleware_1 = require("@smithy/util-middleware");
6
+ const client_1 = require("@smithy/core/client");
7
+ const endpoints_1 = require("@smithy/core/endpoints");
8
8
  const endpointResolver_1 = require("../endpoint/endpointResolver");
9
9
  const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
10
10
  if (!input) {
11
11
  throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
12
12
  }
13
13
  const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
14
- const instructionsFn = (0, util_middleware_1.getSmithyContext)(context)?.commandInstance?.constructor
14
+ const instructionsFn = (0, client_1.getSmithyContext)(context)?.commandInstance?.constructor
15
15
  ?.getEndpointParameterInstructions;
16
16
  if (!instructionsFn) {
17
17
  throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
18
18
  }
19
- const endpointParameters = await (0, middleware_endpoint_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
19
+ const endpointParameters = await (0, endpoints_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
20
20
  return Object.assign(defaultParameters, endpointParameters);
21
21
  };
22
22
  const _defaultPartnerCentralChannelHttpAuthSchemeParametersProvider = async (config, context, input) => {
23
23
  return {
24
- operation: (0, util_middleware_1.getSmithyContext)(context).operation,
25
- region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {
24
+ operation: (0, client_1.getSmithyContext)(context).operation,
25
+ region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
26
26
  throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
27
27
  })(),
28
28
  };
@@ -120,7 +120,7 @@ const resolveHttpAuthSchemeConfig = (config) => {
120
120
  const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
121
121
  const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4AConfig)(config_0);
122
122
  return Object.assign(config_1, {
123
- authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
123
+ authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
124
124
  });
125
125
  };
126
126
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.bdd = void 0;
4
- const util_endpoints_1 = require("@smithy/util-endpoints");
4
+ const endpoints_1 = require("@smithy/core/endpoints");
5
5
  const i = "authSchemes", j = "name", k = "signingRegion";
6
6
  const a = "isSet", b = "PartitionResult", c = "sigv4", d = { "ref": "Endpoint" }, e = { [j]: "sigv4a", "signingRegionSet": ["*"] }, f = { [i]: [e, { [j]: c, [k]: "us-gov-west-1" }] }, g = { [i]: [e, { [j]: c, [k]: "{PartitionResult#implicitGlobalRegion}" }] }, h = [{ "ref": "Region" }];
7
7
  const _data = {
@@ -35,4 +35,4 @@ const nodes = new Int32Array([
35
35
  4, r + 4, r + 3,
36
36
  4, r + 1, r + 2,
37
37
  ]);
38
- exports.bdd = util_endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
38
+ exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -2,17 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultEndpointResolver = void 0;
4
4
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
5
- const util_endpoints_2 = require("@smithy/util-endpoints");
5
+ const endpoints_1 = require("@smithy/core/endpoints");
6
6
  const bdd_1 = require("./bdd");
7
- const cache = new util_endpoints_2.EndpointCache({
7
+ const cache = new endpoints_1.EndpointCache({
8
8
  size: 50,
9
9
  params: ["Endpoint", "Region", "UseFIPS"],
10
10
  });
11
11
  const defaultEndpointResolver = (endpointParams, context = {}) => {
12
- return cache.get(endpointParams, () => (0, util_endpoints_2.decideEndpoint)(bdd_1.bdd, {
12
+ return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
13
13
  endpointParams: endpointParams,
14
14
  logger: context.logger,
15
15
  }));
16
16
  };
17
17
  exports.defaultEndpointResolver = defaultEndpointResolver;
18
- util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
18
+ endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
package/dist-cjs/index.js CHANGED
@@ -4,17 +4,16 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var protocols = require('@smithy/core/protocols');
12
+ var retry = require('@smithy/core/retry');
9
13
  var schema = require('@smithy/core/schema');
10
- var middlewareContentLength = require('@smithy/middleware-content-length');
11
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
12
- var middlewareRetry = require('@smithy/middleware-retry');
13
- var smithyClient = require('@smithy/smithy-client');
14
14
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
15
  var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
- var protocolHttp = require('@smithy/protocol-http');
18
17
  var schemas_0 = require('./schemas/schemas_0');
19
18
  var errors = require('./models/errors');
20
19
  var PartnerCentralChannelServiceException = require('./models/PartnerCentralChannelServiceException');
@@ -71,12 +70,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
71
70
  };
72
71
 
73
72
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
74
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
73
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
75
74
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
76
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
75
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
77
76
  };
78
77
 
79
- class PartnerCentralChannelClient extends smithyClient.Client {
78
+ class PartnerCentralChannelClient extends client.Client {
80
79
  config;
81
80
  constructor(...[configuration]) {
82
81
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -84,17 +83,17 @@ class PartnerCentralChannelClient extends smithyClient.Client {
84
83
  this.initConfig = _config_0;
85
84
  const _config_1 = resolveClientEndpointParameters(_config_0);
86
85
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
87
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
88
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
86
+ const _config_3 = retry.resolveRetryConfig(_config_2);
87
+ const _config_4 = config.resolveRegionConfig(_config_3);
89
88
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
90
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
89
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
94
93
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
95
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
96
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
98
97
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
99
98
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
100
99
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -112,11 +111,11 @@ class PartnerCentralChannelClient extends smithyClient.Client {
112
111
  }
113
112
  }
114
113
 
115
- class AcceptChannelHandshakeCommand extends smithyClient.Command
114
+ class AcceptChannelHandshakeCommand extends client.Command
116
115
  .classBuilder()
117
116
  .ep(commonParams)
118
117
  .m(function (Command, cs, config, o) {
119
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
118
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
120
119
  })
121
120
  .s("PartnerCentralChannel", "AcceptChannelHandshake", {})
122
121
  .n("PartnerCentralChannelClient", "AcceptChannelHandshakeCommand")
@@ -124,11 +123,11 @@ class AcceptChannelHandshakeCommand extends smithyClient.Command
124
123
  .build() {
125
124
  }
126
125
 
127
- class CancelChannelHandshakeCommand extends smithyClient.Command
126
+ class CancelChannelHandshakeCommand extends client.Command
128
127
  .classBuilder()
129
128
  .ep(commonParams)
130
129
  .m(function (Command, cs, config, o) {
131
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
130
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
132
131
  })
133
132
  .s("PartnerCentralChannel", "CancelChannelHandshake", {})
134
133
  .n("PartnerCentralChannelClient", "CancelChannelHandshakeCommand")
@@ -136,11 +135,11 @@ class CancelChannelHandshakeCommand extends smithyClient.Command
136
135
  .build() {
137
136
  }
138
137
 
139
- class CreateChannelHandshakeCommand extends smithyClient.Command
138
+ class CreateChannelHandshakeCommand extends client.Command
140
139
  .classBuilder()
141
140
  .ep(commonParams)
142
141
  .m(function (Command, cs, config, o) {
143
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
142
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
144
143
  })
145
144
  .s("PartnerCentralChannel", "CreateChannelHandshake", {})
146
145
  .n("PartnerCentralChannelClient", "CreateChannelHandshakeCommand")
@@ -148,11 +147,11 @@ class CreateChannelHandshakeCommand extends smithyClient.Command
148
147
  .build() {
149
148
  }
150
149
 
151
- class CreateProgramManagementAccountCommand extends smithyClient.Command
150
+ class CreateProgramManagementAccountCommand extends client.Command
152
151
  .classBuilder()
153
152
  .ep(commonParams)
154
153
  .m(function (Command, cs, config, o) {
155
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
154
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
156
155
  })
157
156
  .s("PartnerCentralChannel", "CreateProgramManagementAccount", {})
158
157
  .n("PartnerCentralChannelClient", "CreateProgramManagementAccountCommand")
@@ -160,11 +159,11 @@ class CreateProgramManagementAccountCommand extends smithyClient.Command
160
159
  .build() {
161
160
  }
162
161
 
163
- class CreateRelationshipCommand extends smithyClient.Command
162
+ class CreateRelationshipCommand extends client.Command
164
163
  .classBuilder()
165
164
  .ep(commonParams)
166
165
  .m(function (Command, cs, config, o) {
167
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
166
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
168
167
  })
169
168
  .s("PartnerCentralChannel", "CreateRelationship", {})
170
169
  .n("PartnerCentralChannelClient", "CreateRelationshipCommand")
@@ -172,11 +171,11 @@ class CreateRelationshipCommand extends smithyClient.Command
172
171
  .build() {
173
172
  }
174
173
 
175
- class DeleteProgramManagementAccountCommand extends smithyClient.Command
174
+ class DeleteProgramManagementAccountCommand extends client.Command
176
175
  .classBuilder()
177
176
  .ep(commonParams)
178
177
  .m(function (Command, cs, config, o) {
179
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
178
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
180
179
  })
181
180
  .s("PartnerCentralChannel", "DeleteProgramManagementAccount", {})
182
181
  .n("PartnerCentralChannelClient", "DeleteProgramManagementAccountCommand")
@@ -184,11 +183,11 @@ class DeleteProgramManagementAccountCommand extends smithyClient.Command
184
183
  .build() {
185
184
  }
186
185
 
187
- class DeleteRelationshipCommand extends smithyClient.Command
186
+ class DeleteRelationshipCommand extends client.Command
188
187
  .classBuilder()
189
188
  .ep(commonParams)
190
189
  .m(function (Command, cs, config, o) {
191
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
190
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
192
191
  })
193
192
  .s("PartnerCentralChannel", "DeleteRelationship", {})
194
193
  .n("PartnerCentralChannelClient", "DeleteRelationshipCommand")
@@ -196,11 +195,11 @@ class DeleteRelationshipCommand extends smithyClient.Command
196
195
  .build() {
197
196
  }
198
197
 
199
- class GetRelationshipCommand extends smithyClient.Command
198
+ class GetRelationshipCommand extends client.Command
200
199
  .classBuilder()
201
200
  .ep(commonParams)
202
201
  .m(function (Command, cs, config, o) {
203
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
202
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
204
203
  })
205
204
  .s("PartnerCentralChannel", "GetRelationship", {})
206
205
  .n("PartnerCentralChannelClient", "GetRelationshipCommand")
@@ -208,11 +207,11 @@ class GetRelationshipCommand extends smithyClient.Command
208
207
  .build() {
209
208
  }
210
209
 
211
- class ListChannelHandshakesCommand extends smithyClient.Command
210
+ class ListChannelHandshakesCommand extends client.Command
212
211
  .classBuilder()
213
212
  .ep(commonParams)
214
213
  .m(function (Command, cs, config, o) {
215
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
214
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
216
215
  })
217
216
  .s("PartnerCentralChannel", "ListChannelHandshakes", {})
218
217
  .n("PartnerCentralChannelClient", "ListChannelHandshakesCommand")
@@ -220,11 +219,11 @@ class ListChannelHandshakesCommand extends smithyClient.Command
220
219
  .build() {
221
220
  }
222
221
 
223
- class ListProgramManagementAccountsCommand extends smithyClient.Command
222
+ class ListProgramManagementAccountsCommand extends client.Command
224
223
  .classBuilder()
225
224
  .ep(commonParams)
226
225
  .m(function (Command, cs, config, o) {
227
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
226
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
228
227
  })
229
228
  .s("PartnerCentralChannel", "ListProgramManagementAccounts", {})
230
229
  .n("PartnerCentralChannelClient", "ListProgramManagementAccountsCommand")
@@ -232,11 +231,11 @@ class ListProgramManagementAccountsCommand extends smithyClient.Command
232
231
  .build() {
233
232
  }
234
233
 
235
- class ListRelationshipsCommand extends smithyClient.Command
234
+ class ListRelationshipsCommand extends client.Command
236
235
  .classBuilder()
237
236
  .ep(commonParams)
238
237
  .m(function (Command, cs, config, o) {
239
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
238
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
240
239
  })
241
240
  .s("PartnerCentralChannel", "ListRelationships", {})
242
241
  .n("PartnerCentralChannelClient", "ListRelationshipsCommand")
@@ -244,11 +243,11 @@ class ListRelationshipsCommand extends smithyClient.Command
244
243
  .build() {
245
244
  }
246
245
 
247
- class ListTagsForResourceCommand extends smithyClient.Command
246
+ class ListTagsForResourceCommand extends client.Command
248
247
  .classBuilder()
249
248
  .ep(commonParams)
250
249
  .m(function (Command, cs, config, o) {
251
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
250
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
252
251
  })
253
252
  .s("PartnerCentralChannel", "ListTagsForResource", {})
254
253
  .n("PartnerCentralChannelClient", "ListTagsForResourceCommand")
@@ -256,11 +255,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
256
255
  .build() {
257
256
  }
258
257
 
259
- class RejectChannelHandshakeCommand extends smithyClient.Command
258
+ class RejectChannelHandshakeCommand extends client.Command
260
259
  .classBuilder()
261
260
  .ep(commonParams)
262
261
  .m(function (Command, cs, config, o) {
263
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
262
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
264
263
  })
265
264
  .s("PartnerCentralChannel", "RejectChannelHandshake", {})
266
265
  .n("PartnerCentralChannelClient", "RejectChannelHandshakeCommand")
@@ -268,11 +267,11 @@ class RejectChannelHandshakeCommand extends smithyClient.Command
268
267
  .build() {
269
268
  }
270
269
 
271
- class TagResourceCommand extends smithyClient.Command
270
+ class TagResourceCommand extends client.Command
272
271
  .classBuilder()
273
272
  .ep(commonParams)
274
273
  .m(function (Command, cs, config, o) {
275
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
274
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
276
275
  })
277
276
  .s("PartnerCentralChannel", "TagResource", {})
278
277
  .n("PartnerCentralChannelClient", "TagResourceCommand")
@@ -280,11 +279,11 @@ class TagResourceCommand extends smithyClient.Command
280
279
  .build() {
281
280
  }
282
281
 
283
- class UntagResourceCommand extends smithyClient.Command
282
+ class UntagResourceCommand extends client.Command
284
283
  .classBuilder()
285
284
  .ep(commonParams)
286
285
  .m(function (Command, cs, config, o) {
287
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
286
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
288
287
  })
289
288
  .s("PartnerCentralChannel", "UntagResource", {})
290
289
  .n("PartnerCentralChannelClient", "UntagResourceCommand")
@@ -292,11 +291,11 @@ class UntagResourceCommand extends smithyClient.Command
292
291
  .build() {
293
292
  }
294
293
 
295
- class UpdateProgramManagementAccountCommand extends smithyClient.Command
294
+ class UpdateProgramManagementAccountCommand extends client.Command
296
295
  .classBuilder()
297
296
  .ep(commonParams)
298
297
  .m(function (Command, cs, config, o) {
299
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
298
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
300
299
  })
301
300
  .s("PartnerCentralChannel", "UpdateProgramManagementAccount", {})
302
301
  .n("PartnerCentralChannelClient", "UpdateProgramManagementAccountCommand")
@@ -304,11 +303,11 @@ class UpdateProgramManagementAccountCommand extends smithyClient.Command
304
303
  .build() {
305
304
  }
306
305
 
307
- class UpdateRelationshipCommand extends smithyClient.Command
306
+ class UpdateRelationshipCommand extends client.Command
308
307
  .classBuilder()
309
308
  .ep(commonParams)
310
309
  .m(function (Command, cs, config, o) {
311
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
310
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
312
311
  })
313
312
  .s("PartnerCentralChannel", "UpdateRelationship", {})
314
313
  .n("PartnerCentralChannelClient", "UpdateRelationshipCommand")
@@ -348,7 +347,7 @@ const paginators = {
348
347
  };
349
348
  class PartnerCentralChannel extends PartnerCentralChannelClient {
350
349
  }
351
- smithyClient.createAggregatedClient(commands, PartnerCentralChannel, { paginators });
350
+ client.createAggregatedClient(commands, PartnerCentralChannel, { paginators });
352
351
 
353
352
  const HandshakeStatus = {
354
353
  ACCEPTED: "ACCEPTED",
@@ -427,8 +426,8 @@ const ListRelationshipsSortName = {
427
426
  UPDATED_AT: "UpdatedAt",
428
427
  };
429
428
 
430
- exports.$Command = smithyClient.Command;
431
- exports.__Client = smithyClient.Client;
429
+ exports.$Command = client.Command;
430
+ exports.__Client = client.Client;
432
431
  exports.PartnerCentralChannelServiceException = PartnerCentralChannelServiceException.PartnerCentralChannelServiceException;
433
432
  exports.AcceptChannelHandshakeCommand = AcceptChannelHandshakeCommand;
434
433
  exports.AssociationType = AssociationType;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PartnerCentralChannelServiceException = exports.__ServiceException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
- class PartnerCentralChannelServiceException extends smithy_client_1.ServiceException {
4
+ const client_1 = require("@smithy/core/client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
6
+ class PartnerCentralChannelServiceException extends client_1.ServiceException {
7
7
  constructor(options) {
8
8
  super(options);
9
9
  Object.setPrototypeOf(this, PartnerCentralChannelServiceException.prototype);
@@ -5,34 +5,32 @@ const tslib_1 = require("tslib");
5
5
  const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
- const config_resolver_1 = require("@smithy/config-resolver");
8
+ const client_1 = require("@smithy/core/client");
9
+ const config_1 = require("@smithy/core/config");
10
+ const retry_1 = require("@smithy/core/retry");
11
+ const serde_1 = require("@smithy/core/serde");
9
12
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
- const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
- const smithy_client_1 = require("@smithy/smithy-client");
12
- const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
14
- const util_retry_1 = require("@smithy/util-retry");
15
13
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
14
  const getRuntimeConfig = (config) => {
17
- const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
15
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
16
+ const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
19
17
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
18
  return {
21
19
  ...clientSharedValues,
22
20
  ...config,
23
21
  runtime: "browser",
24
22
  defaultsMode,
25
- bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
23
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
26
24
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
25
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
- maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
29
- region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
26
+ maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
27
+ region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
30
28
  requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
31
- retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
29
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
32
30
  sha256: config?.sha256 ?? sha256_browser_1.Sha256,
33
31
  streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
34
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
35
- useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
32
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
33
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
36
34
  };
37
35
  };
38
36
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -7,20 +7,16 @@ const client_1 = require("@aws-sdk/core/client");
7
7
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
9
9
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
10
- const config_resolver_1 = require("@smithy/config-resolver");
11
- const hash_node_1 = require("@smithy/hash-node");
12
- const middleware_retry_1 = require("@smithy/middleware-retry");
13
- const node_config_provider_1 = require("@smithy/node-config-provider");
10
+ const client_2 = require("@smithy/core/client");
11
+ const config_1 = require("@smithy/core/config");
12
+ const retry_1 = require("@smithy/core/retry");
13
+ const serde_1 = require("@smithy/core/serde");
14
14
  const node_http_handler_1 = require("@smithy/node-http-handler");
15
- const smithy_client_1 = require("@smithy/smithy-client");
16
- const util_body_length_node_1 = require("@smithy/util-body-length-node");
17
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
18
- const util_retry_1 = require("@smithy/util-retry");
19
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
16
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
- const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
- const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
17
+ (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
18
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
19
+ const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
24
20
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
21
  (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
26
22
  const loaderConfig = {
@@ -32,24 +28,24 @@ const getRuntimeConfig = (config) => {
32
28
  ...config,
33
29
  runtime: "node",
34
30
  defaultsMode,
35
- authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
36
- bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
31
+ authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
32
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
37
33
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
38
34
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
- maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
40
- region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
35
+ maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
36
+ region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
41
37
  requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
42
38
  retryMode: config?.retryMode ??
43
- (0, node_config_provider_1.loadConfig)({
44
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
45
- default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
39
+ (0, config_1.loadConfig)({
40
+ ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
+ default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
46
42
  }, config),
47
- sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
48
- sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
43
+ sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
44
+ sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
49
45
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
50
- useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
51
- useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
52
- userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
46
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
47
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
48
+ userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
53
49
  };
54
50
  };
55
51
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -4,18 +4,17 @@ exports.getRuntimeConfig = void 0;
4
4
  const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
5
5
  const protocols_1 = require("@aws-sdk/core/protocols");
6
6
  const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
7
- const smithy_client_1 = require("@smithy/smithy-client");
8
- const url_parser_1 = require("@smithy/url-parser");
9
- const util_base64_1 = require("@smithy/util-base64");
10
- const util_utf8_1 = require("@smithy/util-utf8");
7
+ const client_1 = require("@smithy/core/client");
8
+ const protocols_2 = require("@smithy/core/protocols");
9
+ const serde_1 = require("@smithy/core/serde");
11
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
12
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
13
12
  const schemas_0_1 = require("./schemas/schemas_0");
14
13
  const getRuntimeConfig = (config) => {
15
14
  return {
16
15
  apiVersion: "2024-03-18",
17
- base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
18
- base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
16
+ base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
17
+ base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
19
18
  disableHostPrefix: config?.disableHostPrefix ?? false,
20
19
  endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
21
20
  extensions: config?.extensions ?? [],
@@ -32,7 +31,7 @@ const getRuntimeConfig = (config) => {
32
31
  signer: new httpAuthSchemes_1.AwsSdkSigV4ASigner(),
33
32
  },
34
33
  ],
35
- logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
34
+ logger: config?.logger ?? new client_1.NoOpLogger(),
36
35
  protocol: config?.protocol ?? protocols_1.AwsJson1_0Protocol,
37
36
  protocolSettings: config?.protocolSettings ?? {
38
37
  defaultNamespace: "com.amazonaws.partnercentralchannel",
@@ -42,9 +41,9 @@ const getRuntimeConfig = (config) => {
42
41
  },
43
42
  serviceId: config?.serviceId ?? "PartnerCentral Channel",
44
43
  signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
45
- urlParser: config?.urlParser ?? url_parser_1.parseUrl,
46
- utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
47
- utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
44
+ urlParser: config?.urlParser ?? protocols_2.parseUrl,
45
+ utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
46
+ utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
48
47
  };
49
48
  };
50
49
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -1,4 +1,4 @@
1
- import { createAggregatedClient } from "@smithy/smithy-client";
1
+ import { createAggregatedClient } from "@smithy/core/client";
2
2
  import { AcceptChannelHandshakeCommand, } from "./commands/AcceptChannelHandshakeCommand";
3
3
  import { CancelChannelHandshakeCommand, } from "./commands/CancelChannelHandshakeCommand";
4
4
  import { CreateChannelHandshakeCommand, } from "./commands/CreateChannelHandshakeCommand";
@@ -2,13 +2,13 @@ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middlewa
2
2
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
3
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
- import { resolveRegionConfig } from "@smithy/config-resolver";
6
5
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
6
+ import { Client as __Client, } from "@smithy/core/client";
7
+ import { resolveRegionConfig } from "@smithy/core/config";
8
+ import { resolveEndpointConfig } from "@smithy/core/endpoints";
9
+ import { getContentLengthPlugin } from "@smithy/core/protocols";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
7
11
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
- import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
- import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultPartnerCentralChannelHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
14
14
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
@@ -1,7 +1,7 @@
1
1
  import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
3
- import { resolveParams } from "@smithy/middleware-endpoint";
4
- import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
4
+ import { resolveParams } from "@smithy/core/endpoints";
5
5
  import { defaultEndpointResolver } from "../endpoint/endpointResolver";
6
6
  const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
7
7
  if (!input) {
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { AcceptChannelHandshake$ } from "../schemas/schemas_0";
5
5
  export { $Command };
@@ -1,5 +1,5 @@
1
- import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
4
  import { CancelChannelHandshake$ } from "../schemas/schemas_0";
5
5
  export { $Command };