@aws-sdk/client-b2bi 3.1068.0 → 3.1070.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.
package/dist-cjs/index.js CHANGED
@@ -1,18 +1,21 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var core = require('@smithy/core');
5
- var client = require('@smithy/core/client');
6
- var config = require('@smithy/core/config');
7
- var endpoints = require('@smithy/core/endpoints');
8
- var protocols = require('@smithy/core/protocols');
9
- var retry = require('@smithy/core/retry');
10
- var schema = require('@smithy/core/schema');
11
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
12
- var runtimeConfig = require('./runtimeConfig');
13
- var schemas_0 = require('./schemas/schemas_0');
14
- var errors = require('./models/errors');
15
- var B2biServiceException = require('./models/B2biServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
+ exports.$Command = Command;
6
+ exports.__Client = Client;
7
+ const { resolveRegionConfig } = require("@smithy/core/config");
8
+ const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveHttpAuthSchemeConfig, defaultB2biHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { CreateCapability$, CreatePartnership$, CreateProfile$, CreateStarterMappingTemplate$, CreateTransformer$, DeleteCapability$, DeletePartnership$, DeleteProfile$, DeleteTransformer$, GenerateMapping$, GetCapability$, GetPartnership$, GetProfile$, GetTransformer$, GetTransformerJob$, ListCapabilities$, ListPartnerships$, ListProfiles$, ListTagsForResource$, ListTransformers$, StartTransformerJob$, TagResource$, TestConversion$, TestMapping$, TestParsing$, UntagResource$, UpdateCapability$, UpdatePartnership$, UpdateProfile$, UpdateTransformer$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { B2biServiceException } = require("./models/B2biServiceException");
18
+ exports.B2biServiceException = B2biServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -68,425 +71,425 @@ const resolveHttpAuthRuntimeConfig = (config) => {
68
71
  };
69
72
 
70
73
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
71
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
74
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
75
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
73
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
76
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
77
  };
75
78
 
76
- class B2biClient extends client.Client {
79
+ class B2biClient extends Client {
77
80
  config;
78
81
  constructor(...[configuration]) {
79
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
82
+ const _config_0 = getRuntimeConfig(configuration || {});
80
83
  super(_config_0);
81
84
  this.initConfig = _config_0;
82
85
  const _config_1 = resolveClientEndpointParameters(_config_0);
83
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
84
- const _config_3 = retry.resolveRetryConfig(_config_2);
85
- const _config_4 = config.resolveRegionConfig(_config_3);
86
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
87
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
88
- const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
86
+ const _config_2 = resolveUserAgentConfig(_config_1);
87
+ const _config_3 = resolveRetryConfig(_config_2);
88
+ const _config_4 = resolveRegionConfig(_config_3);
89
+ const _config_5 = resolveHostHeaderConfig(_config_4);
90
+ const _config_6 = resolveEndpointConfig(_config_5);
91
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
89
92
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
90
93
  this.config = _config_8;
91
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
92
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
93
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
94
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
95
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
96
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
97
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
98
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
99
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultB2biHttpAuthSchemeParametersProvider,
100
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
94
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
95
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
96
+ this.middlewareStack.use(getRetryPlugin(this.config));
97
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
98
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
99
+ this.middlewareStack.use(getLoggerPlugin(this.config));
100
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
101
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
102
+ httpAuthSchemeParametersProvider: defaultB2biHttpAuthSchemeParametersProvider,
103
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
101
104
  "aws.auth#sigv4": config.credentials,
102
105
  }),
103
106
  }));
104
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
107
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
105
108
  }
106
109
  destroy() {
107
110
  super.destroy();
108
111
  }
109
112
  }
110
113
 
111
- class CreateCapabilityCommand extends client.Command
114
+ class CreateCapabilityCommand extends Command
112
115
  .classBuilder()
113
116
  .ep(commonParams)
114
117
  .m(function (Command, cs, config, o) {
115
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
118
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
116
119
  })
117
120
  .s("B2BI", "CreateCapability", {})
118
121
  .n("B2biClient", "CreateCapabilityCommand")
119
- .sc(schemas_0.CreateCapability$)
122
+ .sc(CreateCapability$)
120
123
  .build() {
121
124
  }
122
125
 
123
- class CreatePartnershipCommand extends client.Command
126
+ class CreatePartnershipCommand extends Command
124
127
  .classBuilder()
125
128
  .ep(commonParams)
126
129
  .m(function (Command, cs, config, o) {
127
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
130
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
131
  })
129
132
  .s("B2BI", "CreatePartnership", {})
130
133
  .n("B2biClient", "CreatePartnershipCommand")
131
- .sc(schemas_0.CreatePartnership$)
134
+ .sc(CreatePartnership$)
132
135
  .build() {
133
136
  }
134
137
 
135
- class CreateProfileCommand extends client.Command
138
+ class CreateProfileCommand extends Command
136
139
  .classBuilder()
137
140
  .ep(commonParams)
138
141
  .m(function (Command, cs, config, o) {
139
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
142
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
143
  })
141
144
  .s("B2BI", "CreateProfile", {})
142
145
  .n("B2biClient", "CreateProfileCommand")
143
- .sc(schemas_0.CreateProfile$)
146
+ .sc(CreateProfile$)
144
147
  .build() {
145
148
  }
146
149
 
147
- class CreateStarterMappingTemplateCommand extends client.Command
150
+ class CreateStarterMappingTemplateCommand extends Command
148
151
  .classBuilder()
149
152
  .ep(commonParams)
150
153
  .m(function (Command, cs, config, o) {
151
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
154
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
155
  })
153
156
  .s("B2BI", "CreateStarterMappingTemplate", {})
154
157
  .n("B2biClient", "CreateStarterMappingTemplateCommand")
155
- .sc(schemas_0.CreateStarterMappingTemplate$)
158
+ .sc(CreateStarterMappingTemplate$)
156
159
  .build() {
157
160
  }
158
161
 
159
- class CreateTransformerCommand extends client.Command
162
+ class CreateTransformerCommand extends Command
160
163
  .classBuilder()
161
164
  .ep(commonParams)
162
165
  .m(function (Command, cs, config, o) {
163
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
166
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
164
167
  })
165
168
  .s("B2BI", "CreateTransformer", {})
166
169
  .n("B2biClient", "CreateTransformerCommand")
167
- .sc(schemas_0.CreateTransformer$)
170
+ .sc(CreateTransformer$)
168
171
  .build() {
169
172
  }
170
173
 
171
- class DeleteCapabilityCommand extends client.Command
174
+ class DeleteCapabilityCommand extends Command
172
175
  .classBuilder()
173
176
  .ep(commonParams)
174
177
  .m(function (Command, cs, config, o) {
175
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
178
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
176
179
  })
177
180
  .s("B2BI", "DeleteCapability", {})
178
181
  .n("B2biClient", "DeleteCapabilityCommand")
179
- .sc(schemas_0.DeleteCapability$)
182
+ .sc(DeleteCapability$)
180
183
  .build() {
181
184
  }
182
185
 
183
- class DeletePartnershipCommand extends client.Command
186
+ class DeletePartnershipCommand extends Command
184
187
  .classBuilder()
185
188
  .ep(commonParams)
186
189
  .m(function (Command, cs, config, o) {
187
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
190
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
191
  })
189
192
  .s("B2BI", "DeletePartnership", {})
190
193
  .n("B2biClient", "DeletePartnershipCommand")
191
- .sc(schemas_0.DeletePartnership$)
194
+ .sc(DeletePartnership$)
192
195
  .build() {
193
196
  }
194
197
 
195
- class DeleteProfileCommand extends client.Command
198
+ class DeleteProfileCommand extends Command
196
199
  .classBuilder()
197
200
  .ep(commonParams)
198
201
  .m(function (Command, cs, config, o) {
199
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
202
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
203
  })
201
204
  .s("B2BI", "DeleteProfile", {})
202
205
  .n("B2biClient", "DeleteProfileCommand")
203
- .sc(schemas_0.DeleteProfile$)
206
+ .sc(DeleteProfile$)
204
207
  .build() {
205
208
  }
206
209
 
207
- class DeleteTransformerCommand extends client.Command
210
+ class DeleteTransformerCommand extends Command
208
211
  .classBuilder()
209
212
  .ep(commonParams)
210
213
  .m(function (Command, cs, config, o) {
211
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
214
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
215
  })
213
216
  .s("B2BI", "DeleteTransformer", {})
214
217
  .n("B2biClient", "DeleteTransformerCommand")
215
- .sc(schemas_0.DeleteTransformer$)
218
+ .sc(DeleteTransformer$)
216
219
  .build() {
217
220
  }
218
221
 
219
- class GenerateMappingCommand extends client.Command
222
+ class GenerateMappingCommand extends Command
220
223
  .classBuilder()
221
224
  .ep(commonParams)
222
225
  .m(function (Command, cs, config, o) {
223
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
226
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
227
  })
225
228
  .s("B2BI", "GenerateMapping", {})
226
229
  .n("B2biClient", "GenerateMappingCommand")
227
- .sc(schemas_0.GenerateMapping$)
230
+ .sc(GenerateMapping$)
228
231
  .build() {
229
232
  }
230
233
 
231
- class GetCapabilityCommand extends client.Command
234
+ class GetCapabilityCommand extends Command
232
235
  .classBuilder()
233
236
  .ep(commonParams)
234
237
  .m(function (Command, cs, config, o) {
235
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
238
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
236
239
  })
237
240
  .s("B2BI", "GetCapability", {})
238
241
  .n("B2biClient", "GetCapabilityCommand")
239
- .sc(schemas_0.GetCapability$)
242
+ .sc(GetCapability$)
240
243
  .build() {
241
244
  }
242
245
 
243
- class GetPartnershipCommand extends client.Command
246
+ class GetPartnershipCommand extends Command
244
247
  .classBuilder()
245
248
  .ep(commonParams)
246
249
  .m(function (Command, cs, config, o) {
247
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
250
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
251
  })
249
252
  .s("B2BI", "GetPartnership", {})
250
253
  .n("B2biClient", "GetPartnershipCommand")
251
- .sc(schemas_0.GetPartnership$)
254
+ .sc(GetPartnership$)
252
255
  .build() {
253
256
  }
254
257
 
255
- class GetProfileCommand extends client.Command
258
+ class GetProfileCommand extends Command
256
259
  .classBuilder()
257
260
  .ep(commonParams)
258
261
  .m(function (Command, cs, config, o) {
259
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
262
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
263
  })
261
264
  .s("B2BI", "GetProfile", {})
262
265
  .n("B2biClient", "GetProfileCommand")
263
- .sc(schemas_0.GetProfile$)
266
+ .sc(GetProfile$)
264
267
  .build() {
265
268
  }
266
269
 
267
- class GetTransformerCommand extends client.Command
270
+ class GetTransformerCommand extends Command
268
271
  .classBuilder()
269
272
  .ep(commonParams)
270
273
  .m(function (Command, cs, config, o) {
271
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
274
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
275
  })
273
276
  .s("B2BI", "GetTransformer", {})
274
277
  .n("B2biClient", "GetTransformerCommand")
275
- .sc(schemas_0.GetTransformer$)
278
+ .sc(GetTransformer$)
276
279
  .build() {
277
280
  }
278
281
 
279
- class GetTransformerJobCommand extends client.Command
282
+ class GetTransformerJobCommand extends Command
280
283
  .classBuilder()
281
284
  .ep(commonParams)
282
285
  .m(function (Command, cs, config, o) {
283
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
286
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
284
287
  })
285
288
  .s("B2BI", "GetTransformerJob", {})
286
289
  .n("B2biClient", "GetTransformerJobCommand")
287
- .sc(schemas_0.GetTransformerJob$)
290
+ .sc(GetTransformerJob$)
288
291
  .build() {
289
292
  }
290
293
 
291
- class ListCapabilitiesCommand extends client.Command
294
+ class ListCapabilitiesCommand extends Command
292
295
  .classBuilder()
293
296
  .ep(commonParams)
294
297
  .m(function (Command, cs, config, o) {
295
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
298
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
296
299
  })
297
300
  .s("B2BI", "ListCapabilities", {})
298
301
  .n("B2biClient", "ListCapabilitiesCommand")
299
- .sc(schemas_0.ListCapabilities$)
302
+ .sc(ListCapabilities$)
300
303
  .build() {
301
304
  }
302
305
 
303
- class ListPartnershipsCommand extends client.Command
306
+ class ListPartnershipsCommand extends Command
304
307
  .classBuilder()
305
308
  .ep(commonParams)
306
309
  .m(function (Command, cs, config, o) {
307
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
310
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
308
311
  })
309
312
  .s("B2BI", "ListPartnerships", {})
310
313
  .n("B2biClient", "ListPartnershipsCommand")
311
- .sc(schemas_0.ListPartnerships$)
314
+ .sc(ListPartnerships$)
312
315
  .build() {
313
316
  }
314
317
 
315
- class ListProfilesCommand extends client.Command
318
+ class ListProfilesCommand extends Command
316
319
  .classBuilder()
317
320
  .ep(commonParams)
318
321
  .m(function (Command, cs, config, o) {
319
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
322
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
323
  })
321
324
  .s("B2BI", "ListProfiles", {})
322
325
  .n("B2biClient", "ListProfilesCommand")
323
- .sc(schemas_0.ListProfiles$)
326
+ .sc(ListProfiles$)
324
327
  .build() {
325
328
  }
326
329
 
327
- class ListTagsForResourceCommand extends client.Command
330
+ class ListTagsForResourceCommand extends Command
328
331
  .classBuilder()
329
332
  .ep(commonParams)
330
333
  .m(function (Command, cs, config, o) {
331
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
334
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
332
335
  })
333
336
  .s("B2BI", "ListTagsForResource", {})
334
337
  .n("B2biClient", "ListTagsForResourceCommand")
335
- .sc(schemas_0.ListTagsForResource$)
338
+ .sc(ListTagsForResource$)
336
339
  .build() {
337
340
  }
338
341
 
339
- class ListTransformersCommand extends client.Command
342
+ class ListTransformersCommand extends Command
340
343
  .classBuilder()
341
344
  .ep(commonParams)
342
345
  .m(function (Command, cs, config, o) {
343
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
346
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
344
347
  })
345
348
  .s("B2BI", "ListTransformers", {})
346
349
  .n("B2biClient", "ListTransformersCommand")
347
- .sc(schemas_0.ListTransformers$)
350
+ .sc(ListTransformers$)
348
351
  .build() {
349
352
  }
350
353
 
351
- class StartTransformerJobCommand extends client.Command
354
+ class StartTransformerJobCommand extends Command
352
355
  .classBuilder()
353
356
  .ep(commonParams)
354
357
  .m(function (Command, cs, config, o) {
355
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
358
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
356
359
  })
357
360
  .s("B2BI", "StartTransformerJob", {})
358
361
  .n("B2biClient", "StartTransformerJobCommand")
359
- .sc(schemas_0.StartTransformerJob$)
362
+ .sc(StartTransformerJob$)
360
363
  .build() {
361
364
  }
362
365
 
363
- class TagResourceCommand extends client.Command
366
+ class TagResourceCommand extends Command
364
367
  .classBuilder()
365
368
  .ep(commonParams)
366
369
  .m(function (Command, cs, config, o) {
367
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
370
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
368
371
  })
369
372
  .s("B2BI", "TagResource", {})
370
373
  .n("B2biClient", "TagResourceCommand")
371
- .sc(schemas_0.TagResource$)
374
+ .sc(TagResource$)
372
375
  .build() {
373
376
  }
374
377
 
375
- class TestConversionCommand extends client.Command
378
+ class TestConversionCommand extends Command
376
379
  .classBuilder()
377
380
  .ep(commonParams)
378
381
  .m(function (Command, cs, config, o) {
379
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
382
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
380
383
  })
381
384
  .s("B2BI", "TestConversion", {})
382
385
  .n("B2biClient", "TestConversionCommand")
383
- .sc(schemas_0.TestConversion$)
386
+ .sc(TestConversion$)
384
387
  .build() {
385
388
  }
386
389
 
387
- class TestMappingCommand extends client.Command
390
+ class TestMappingCommand extends Command
388
391
  .classBuilder()
389
392
  .ep(commonParams)
390
393
  .m(function (Command, cs, config, o) {
391
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
394
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
392
395
  })
393
396
  .s("B2BI", "TestMapping", {})
394
397
  .n("B2biClient", "TestMappingCommand")
395
- .sc(schemas_0.TestMapping$)
398
+ .sc(TestMapping$)
396
399
  .build() {
397
400
  }
398
401
 
399
- class TestParsingCommand extends client.Command
402
+ class TestParsingCommand extends Command
400
403
  .classBuilder()
401
404
  .ep(commonParams)
402
405
  .m(function (Command, cs, config, o) {
403
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
406
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
404
407
  })
405
408
  .s("B2BI", "TestParsing", {})
406
409
  .n("B2biClient", "TestParsingCommand")
407
- .sc(schemas_0.TestParsing$)
410
+ .sc(TestParsing$)
408
411
  .build() {
409
412
  }
410
413
 
411
- class UntagResourceCommand extends client.Command
414
+ class UntagResourceCommand extends Command
412
415
  .classBuilder()
413
416
  .ep(commonParams)
414
417
  .m(function (Command, cs, config, o) {
415
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
418
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
416
419
  })
417
420
  .s("B2BI", "UntagResource", {})
418
421
  .n("B2biClient", "UntagResourceCommand")
419
- .sc(schemas_0.UntagResource$)
422
+ .sc(UntagResource$)
420
423
  .build() {
421
424
  }
422
425
 
423
- class UpdateCapabilityCommand extends client.Command
426
+ class UpdateCapabilityCommand extends Command
424
427
  .classBuilder()
425
428
  .ep(commonParams)
426
429
  .m(function (Command, cs, config, o) {
427
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
430
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
428
431
  })
429
432
  .s("B2BI", "UpdateCapability", {})
430
433
  .n("B2biClient", "UpdateCapabilityCommand")
431
- .sc(schemas_0.UpdateCapability$)
434
+ .sc(UpdateCapability$)
432
435
  .build() {
433
436
  }
434
437
 
435
- class UpdatePartnershipCommand extends client.Command
438
+ class UpdatePartnershipCommand extends Command
436
439
  .classBuilder()
437
440
  .ep(commonParams)
438
441
  .m(function (Command, cs, config, o) {
439
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
442
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
440
443
  })
441
444
  .s("B2BI", "UpdatePartnership", {})
442
445
  .n("B2biClient", "UpdatePartnershipCommand")
443
- .sc(schemas_0.UpdatePartnership$)
446
+ .sc(UpdatePartnership$)
444
447
  .build() {
445
448
  }
446
449
 
447
- class UpdateProfileCommand extends client.Command
450
+ class UpdateProfileCommand extends Command
448
451
  .classBuilder()
449
452
  .ep(commonParams)
450
453
  .m(function (Command, cs, config, o) {
451
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
454
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
452
455
  })
453
456
  .s("B2BI", "UpdateProfile", {})
454
457
  .n("B2biClient", "UpdateProfileCommand")
455
- .sc(schemas_0.UpdateProfile$)
458
+ .sc(UpdateProfile$)
456
459
  .build() {
457
460
  }
458
461
 
459
- class UpdateTransformerCommand extends client.Command
462
+ class UpdateTransformerCommand extends Command
460
463
  .classBuilder()
461
464
  .ep(commonParams)
462
465
  .m(function (Command, cs, config, o) {
463
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
466
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
464
467
  })
465
468
  .s("B2BI", "UpdateTransformer", {})
466
469
  .n("B2biClient", "UpdateTransformerCommand")
467
- .sc(schemas_0.UpdateTransformer$)
470
+ .sc(UpdateTransformer$)
468
471
  .build() {
469
472
  }
470
473
 
471
- const paginateListCapabilities = core.createPaginator(B2biClient, ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
474
+ const paginateListCapabilities = createPaginator(B2biClient, ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
472
475
 
473
- const paginateListPartnerships = core.createPaginator(B2biClient, ListPartnershipsCommand, "nextToken", "nextToken", "maxResults");
476
+ const paginateListPartnerships = createPaginator(B2biClient, ListPartnershipsCommand, "nextToken", "nextToken", "maxResults");
474
477
 
475
- const paginateListProfiles = core.createPaginator(B2biClient, ListProfilesCommand, "nextToken", "nextToken", "maxResults");
478
+ const paginateListProfiles = createPaginator(B2biClient, ListProfilesCommand, "nextToken", "nextToken", "maxResults");
476
479
 
477
- const paginateListTransformers = core.createPaginator(B2biClient, ListTransformersCommand, "nextToken", "nextToken", "maxResults");
480
+ const paginateListTransformers = createPaginator(B2biClient, ListTransformersCommand, "nextToken", "nextToken", "maxResults");
478
481
 
479
- const checkState = async (client$1, input) => {
482
+ const checkState = async (client, input) => {
480
483
  let reason;
481
484
  try {
482
- let result = await client$1.send(new GetTransformerJobCommand(input));
485
+ let result = await client.send(new GetTransformerJobCommand(input));
483
486
  reason = result;
484
487
  try {
485
488
  const returnComparator = () => {
486
489
  return result.status;
487
490
  };
488
491
  if (returnComparator() === "succeeded") {
489
- return { state: client.WaiterState.SUCCESS, reason };
492
+ return { state: WaiterState.SUCCESS, reason };
490
493
  }
491
494
  }
492
495
  catch (e) { }
@@ -495,7 +498,7 @@ const checkState = async (client$1, input) => {
495
498
  return result.status;
496
499
  };
497
500
  if (returnComparator() === "failed") {
498
- return { state: client.WaiterState.FAILURE, reason };
501
+ return { state: WaiterState.FAILURE, reason };
499
502
  }
500
503
  }
501
504
  catch (e) { }
@@ -503,16 +506,16 @@ const checkState = async (client$1, input) => {
503
506
  catch (exception) {
504
507
  reason = exception;
505
508
  }
506
- return { state: client.WaiterState.RETRY, reason };
509
+ return { state: WaiterState.RETRY, reason };
507
510
  };
508
511
  const waitForTransformerJobSucceeded = async (params, input) => {
509
512
  const serviceDefaults = { minDelay: 10, maxDelay: 120 };
510
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
513
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
511
514
  };
512
515
  const waitUntilTransformerJobSucceeded = async (params, input) => {
513
516
  const serviceDefaults = { minDelay: 10, maxDelay: 120 };
514
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
515
- return client.checkExceptions(result);
517
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
518
+ return checkExceptions(result);
516
519
  };
517
520
 
518
521
  const commands = {
@@ -558,7 +561,7 @@ const waiters = {
558
561
  };
559
562
  class B2bi extends B2biClient {
560
563
  }
561
- client.createAggregatedClient(commands, B2bi, { paginators, waiters });
564
+ createAggregatedClient(commands, B2bi, { paginators, waiters });
562
565
 
563
566
  const X12SplitBy = {
564
567
  NONE: "NONE",
@@ -991,9 +994,6 @@ const TransformerStatus = {
991
994
  INACTIVE: "inactive",
992
995
  };
993
996
 
994
- exports.$Command = client.Command;
995
- exports.__Client = client.Client;
996
- exports.B2biServiceException = B2biServiceException.B2biServiceException;
997
997
  exports.B2bi = B2bi;
998
998
  exports.B2biClient = B2biClient;
999
999
  exports.CapabilityDirection = CapabilityDirection;
@@ -1053,23 +1053,3 @@ exports.paginateListProfiles = paginateListProfiles;
1053
1053
  exports.paginateListTransformers = paginateListTransformers;
1054
1054
  exports.waitForTransformerJobSucceeded = waitForTransformerJobSucceeded;
1055
1055
  exports.waitUntilTransformerJobSucceeded = waitUntilTransformerJobSucceeded;
1056
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
1057
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1058
- Object.defineProperty(exports, '__proto__', {
1059
- enumerable: true,
1060
- value: schemas_0['__proto__']
1061
- });
1062
-
1063
- Object.keys(schemas_0).forEach(function (k) {
1064
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
1065
- });
1066
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
1067
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
1068
- Object.defineProperty(exports, '__proto__', {
1069
- enumerable: true,
1070
- value: errors['__proto__']
1071
- });
1072
-
1073
- Object.keys(errors).forEach(function (k) {
1074
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
1075
- });