@aws-sdk/client-b2bi 3.490.0 → 3.495.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 (50) hide show
  1. package/dist-cjs/B2bi.js +1 -65
  2. package/dist-cjs/B2biClient.js +1 -43
  3. package/dist-cjs/commands/CreateCapabilityCommand.js +1 -28
  4. package/dist-cjs/commands/CreatePartnershipCommand.js +1 -29
  5. package/dist-cjs/commands/CreateProfileCommand.js +1 -29
  6. package/dist-cjs/commands/CreateTransformerCommand.js +1 -28
  7. package/dist-cjs/commands/DeleteCapabilityCommand.js +1 -28
  8. package/dist-cjs/commands/DeletePartnershipCommand.js +1 -28
  9. package/dist-cjs/commands/DeleteProfileCommand.js +1 -28
  10. package/dist-cjs/commands/DeleteTransformerCommand.js +1 -28
  11. package/dist-cjs/commands/GetCapabilityCommand.js +1 -28
  12. package/dist-cjs/commands/GetPartnershipCommand.js +1 -29
  13. package/dist-cjs/commands/GetProfileCommand.js +1 -29
  14. package/dist-cjs/commands/GetTransformerCommand.js +1 -28
  15. package/dist-cjs/commands/GetTransformerJobCommand.js +1 -28
  16. package/dist-cjs/commands/ListCapabilitiesCommand.js +1 -28
  17. package/dist-cjs/commands/ListPartnershipsCommand.js +1 -28
  18. package/dist-cjs/commands/ListProfilesCommand.js +1 -28
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
  20. package/dist-cjs/commands/ListTransformersCommand.js +1 -28
  21. package/dist-cjs/commands/StartTransformerJobCommand.js +1 -28
  22. package/dist-cjs/commands/TagResourceCommand.js +1 -28
  23. package/dist-cjs/commands/TestMappingCommand.js +1 -28
  24. package/dist-cjs/commands/TestParsingCommand.js +1 -28
  25. package/dist-cjs/commands/UntagResourceCommand.js +1 -28
  26. package/dist-cjs/commands/UpdateCapabilityCommand.js +1 -28
  27. package/dist-cjs/commands/UpdatePartnershipCommand.js +1 -29
  28. package/dist-cjs/commands/UpdateProfileCommand.js +1 -29
  29. package/dist-cjs/commands/UpdateTransformerCommand.js +1 -28
  30. package/dist-cjs/commands/index.js +1 -30
  31. package/dist-cjs/endpoint/EndpointParameters.js +1 -18
  32. package/dist-cjs/extensionConfiguration.js +1 -2
  33. package/dist-cjs/index.js +2777 -11
  34. package/dist-cjs/models/B2biServiceException.js +1 -12
  35. package/dist-cjs/models/index.js +1 -4
  36. package/dist-cjs/models/models_0.js +1 -227
  37. package/dist-cjs/pagination/Interfaces.js +1 -2
  38. package/dist-cjs/pagination/ListCapabilitiesPaginator.js +1 -7
  39. package/dist-cjs/pagination/ListPartnershipsPaginator.js +1 -7
  40. package/dist-cjs/pagination/ListProfilesPaginator.js +1 -7
  41. package/dist-cjs/pagination/ListTransformersPaginator.js +1 -7
  42. package/dist-cjs/pagination/index.js +1 -8
  43. package/dist-cjs/protocols/Aws_json1_0.js +1 -1822
  44. package/dist-cjs/runtimeExtensions.js +1 -22
  45. package/dist-es/protocols/Aws_json1_0.js +9 -0
  46. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  47. package/dist-types/commands/TagResourceCommand.d.ts +3 -0
  48. package/dist-types/commands/TestParsingCommand.d.ts +1 -1
  49. package/dist-types/commands/UntagResourceCommand.d.ts +3 -0
  50. package/package.json +40 -40
package/dist-cjs/index.js CHANGED
@@ -1,12 +1,2778 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.B2biServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./B2biClient"), exports);
6
- tslib_1.__exportStar(require("./B2bi"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- require("@aws-sdk/util-endpoints");
11
- var B2biServiceException_1 = require("./models/B2biServiceException");
12
- Object.defineProperty(exports, "B2biServiceException", { enumerable: true, get: function () { return B2biServiceException_1.B2biServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var src_exports = {};
23
+ __export(src_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ B2bi: () => B2bi,
26
+ B2biClient: () => B2biClient,
27
+ B2biServiceException: () => B2biServiceException,
28
+ CapabilityConfiguration: () => CapabilityConfiguration,
29
+ CapabilityType: () => CapabilityType,
30
+ ConflictException: () => ConflictException,
31
+ CreateCapabilityCommand: () => CreateCapabilityCommand,
32
+ CreatePartnershipCommand: () => CreatePartnershipCommand,
33
+ CreatePartnershipRequestFilterSensitiveLog: () => CreatePartnershipRequestFilterSensitiveLog,
34
+ CreatePartnershipResponseFilterSensitiveLog: () => CreatePartnershipResponseFilterSensitiveLog,
35
+ CreateProfileCommand: () => CreateProfileCommand,
36
+ CreateProfileRequestFilterSensitiveLog: () => CreateProfileRequestFilterSensitiveLog,
37
+ CreateProfileResponseFilterSensitiveLog: () => CreateProfileResponseFilterSensitiveLog,
38
+ CreateTransformerCommand: () => CreateTransformerCommand,
39
+ DeleteCapabilityCommand: () => DeleteCapabilityCommand,
40
+ DeletePartnershipCommand: () => DeletePartnershipCommand,
41
+ DeleteProfileCommand: () => DeleteProfileCommand,
42
+ DeleteTransformerCommand: () => DeleteTransformerCommand,
43
+ EdiType: () => EdiType,
44
+ FileFormat: () => FileFormat,
45
+ GetCapabilityCommand: () => GetCapabilityCommand,
46
+ GetPartnershipCommand: () => GetPartnershipCommand,
47
+ GetPartnershipResponseFilterSensitiveLog: () => GetPartnershipResponseFilterSensitiveLog,
48
+ GetProfileCommand: () => GetProfileCommand,
49
+ GetProfileResponseFilterSensitiveLog: () => GetProfileResponseFilterSensitiveLog,
50
+ GetTransformerCommand: () => GetTransformerCommand,
51
+ GetTransformerJobCommand: () => GetTransformerJobCommand,
52
+ InternalServerException: () => InternalServerException,
53
+ ListCapabilitiesCommand: () => ListCapabilitiesCommand,
54
+ ListPartnershipsCommand: () => ListPartnershipsCommand,
55
+ ListProfilesCommand: () => ListProfilesCommand,
56
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
57
+ ListTransformersCommand: () => ListTransformersCommand,
58
+ Logging: () => Logging,
59
+ ResourceNotFoundException: () => ResourceNotFoundException,
60
+ ServiceQuotaExceededException: () => ServiceQuotaExceededException,
61
+ StartTransformerJobCommand: () => StartTransformerJobCommand,
62
+ TagResourceCommand: () => TagResourceCommand,
63
+ TestMappingCommand: () => TestMappingCommand,
64
+ TestParsingCommand: () => TestParsingCommand,
65
+ ThrottlingException: () => ThrottlingException,
66
+ TransformerJobStatus: () => TransformerJobStatus,
67
+ TransformerStatus: () => TransformerStatus,
68
+ UntagResourceCommand: () => UntagResourceCommand,
69
+ UpdateCapabilityCommand: () => UpdateCapabilityCommand,
70
+ UpdatePartnershipCommand: () => UpdatePartnershipCommand,
71
+ UpdatePartnershipResponseFilterSensitiveLog: () => UpdatePartnershipResponseFilterSensitiveLog,
72
+ UpdateProfileCommand: () => UpdateProfileCommand,
73
+ UpdateProfileRequestFilterSensitiveLog: () => UpdateProfileRequestFilterSensitiveLog,
74
+ UpdateProfileResponseFilterSensitiveLog: () => UpdateProfileResponseFilterSensitiveLog,
75
+ UpdateTransformerCommand: () => UpdateTransformerCommand,
76
+ ValidationException: () => ValidationException,
77
+ X12TransactionSet: () => X12TransactionSet,
78
+ X12Version: () => X12Version,
79
+ __Client: () => import_smithy_client.Client,
80
+ paginateListCapabilities: () => paginateListCapabilities,
81
+ paginateListPartnerships: () => paginateListPartnerships,
82
+ paginateListProfiles: () => paginateListProfiles,
83
+ paginateListTransformers: () => paginateListTransformers
84
+ });
85
+ module.exports = __toCommonJS(src_exports);
86
+
87
+ // src/B2biClient.ts
88
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
89
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
90
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
91
+ var import_middleware_signing = require("@aws-sdk/middleware-signing");
92
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
93
+ var import_config_resolver = require("@smithy/config-resolver");
94
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
95
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
96
+ var import_middleware_retry = require("@smithy/middleware-retry");
97
+
98
+
99
+ // src/endpoint/EndpointParameters.ts
100
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
101
+ return {
102
+ ...options,
103
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
104
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
105
+ defaultSigningName: "b2bi"
106
+ };
107
+ }, "resolveClientEndpointParameters");
108
+ var commonParams = {
109
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
110
+ Endpoint: { type: "builtInParams", name: "endpoint" },
111
+ Region: { type: "builtInParams", name: "region" },
112
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
113
+ };
114
+
115
+ // src/B2biClient.ts
116
+ var import_runtimeConfig = require("././runtimeConfig");
117
+
118
+ // src/runtimeExtensions.ts
119
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
120
+ var import_protocol_http = require("@smithy/protocol-http");
121
+ var import_smithy_client = require("@smithy/smithy-client");
122
+ var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
123
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
124
+ const extensionConfiguration = {
125
+ ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
126
+ ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
127
+ ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
128
+ };
129
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
130
+ return {
131
+ ...runtimeConfig,
132
+ ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
133
+ ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
134
+ ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
135
+ };
136
+ }, "resolveRuntimeExtensions");
137
+
138
+ // src/B2biClient.ts
139
+ var _B2biClient = class _B2biClient extends import_smithy_client.Client {
140
+ constructor(...[configuration]) {
141
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
142
+ const _config_1 = resolveClientEndpointParameters(_config_0);
143
+ const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
144
+ const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
145
+ const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
146
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
147
+ const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
148
+ const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
149
+ const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
150
+ super(_config_8);
151
+ this.config = _config_8;
152
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
153
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
154
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
155
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
156
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
157
+ this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
158
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
159
+ }
160
+ /**
161
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
162
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
163
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
164
+ */
165
+ destroy() {
166
+ super.destroy();
167
+ }
168
+ };
169
+ __name(_B2biClient, "B2biClient");
170
+ var B2biClient = _B2biClient;
171
+
172
+ // src/B2bi.ts
173
+
174
+
175
+ // src/commands/CreateCapabilityCommand.ts
176
+
177
+ var import_middleware_serde = require("@smithy/middleware-serde");
178
+
179
+ var import_types = require("@smithy/types");
180
+
181
+ // src/protocols/Aws_json1_0.ts
182
+ var import_core = require("@aws-sdk/core");
183
+
184
+
185
+ var import_uuid = require("uuid");
186
+
187
+ // src/models/B2biServiceException.ts
188
+
189
+ var _B2biServiceException = class _B2biServiceException extends import_smithy_client.ServiceException {
190
+ /**
191
+ * @internal
192
+ */
193
+ constructor(options) {
194
+ super(options);
195
+ Object.setPrototypeOf(this, _B2biServiceException.prototype);
196
+ }
197
+ };
198
+ __name(_B2biServiceException, "B2biServiceException");
199
+ var B2biServiceException = _B2biServiceException;
200
+
201
+ // src/models/models_0.ts
202
+
203
+ var _AccessDeniedException = class _AccessDeniedException extends B2biServiceException {
204
+ /**
205
+ * @internal
206
+ */
207
+ constructor(opts) {
208
+ super({
209
+ name: "AccessDeniedException",
210
+ $fault: "client",
211
+ ...opts
212
+ });
213
+ this.name = "AccessDeniedException";
214
+ this.$fault = "client";
215
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
216
+ }
217
+ };
218
+ __name(_AccessDeniedException, "AccessDeniedException");
219
+ var AccessDeniedException = _AccessDeniedException;
220
+ var _ConflictException = class _ConflictException extends B2biServiceException {
221
+ /**
222
+ * @internal
223
+ */
224
+ constructor(opts) {
225
+ super({
226
+ name: "ConflictException",
227
+ $fault: "client",
228
+ ...opts
229
+ });
230
+ this.name = "ConflictException";
231
+ this.$fault = "client";
232
+ Object.setPrototypeOf(this, _ConflictException.prototype);
233
+ }
234
+ };
235
+ __name(_ConflictException, "ConflictException");
236
+ var ConflictException = _ConflictException;
237
+ var X12TransactionSet = {
238
+ X12_110: "X12_110",
239
+ X12_180: "X12_180",
240
+ X12_204: "X12_204",
241
+ X12_210: "X12_210",
242
+ X12_214: "X12_214",
243
+ X12_215: "X12_215",
244
+ X12_310: "X12_310",
245
+ X12_315: "X12_315",
246
+ X12_322: "X12_322",
247
+ X12_404: "X12_404",
248
+ X12_410: "X12_410",
249
+ X12_820: "X12_820",
250
+ X12_824: "X12_824",
251
+ X12_830: "X12_830",
252
+ X12_846: "X12_846",
253
+ X12_850: "X12_850",
254
+ X12_852: "X12_852",
255
+ X12_855: "X12_855",
256
+ X12_856: "X12_856",
257
+ X12_860: "X12_860",
258
+ X12_861: "X12_861",
259
+ X12_864: "X12_864",
260
+ X12_940: "X12_940",
261
+ X12_990: "X12_990",
262
+ X12_997: "X12_997"
263
+ };
264
+ var X12Version = {
265
+ VERSION_4010: "VERSION_4010",
266
+ VERSION_4030: "VERSION_4030",
267
+ VERSION_5010: "VERSION_5010"
268
+ };
269
+ var EdiType;
270
+ ((EdiType3) => {
271
+ EdiType3.visit = /* @__PURE__ */ __name((value, visitor) => {
272
+ if (value.x12Details !== void 0)
273
+ return visitor.x12Details(value.x12Details);
274
+ return visitor._(value.$unknown[0], value.$unknown[1]);
275
+ }, "visit");
276
+ })(EdiType || (EdiType = {}));
277
+ var CapabilityConfiguration;
278
+ ((CapabilityConfiguration3) => {
279
+ CapabilityConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
280
+ if (value.edi !== void 0)
281
+ return visitor.edi(value.edi);
282
+ return visitor._(value.$unknown[0], value.$unknown[1]);
283
+ }, "visit");
284
+ })(CapabilityConfiguration || (CapabilityConfiguration = {}));
285
+ var CapabilityType = {
286
+ EDI: "edi"
287
+ };
288
+ var _InternalServerException = class _InternalServerException extends B2biServiceException {
289
+ /**
290
+ * @internal
291
+ */
292
+ constructor(opts) {
293
+ super({
294
+ name: "InternalServerException",
295
+ $fault: "server",
296
+ ...opts
297
+ });
298
+ this.name = "InternalServerException";
299
+ this.$fault = "server";
300
+ this.$retryable = {};
301
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
302
+ this.retryAfterSeconds = opts.retryAfterSeconds;
303
+ }
304
+ };
305
+ __name(_InternalServerException, "InternalServerException");
306
+ var InternalServerException = _InternalServerException;
307
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends B2biServiceException {
308
+ /**
309
+ * @internal
310
+ */
311
+ constructor(opts) {
312
+ super({
313
+ name: "ResourceNotFoundException",
314
+ $fault: "client",
315
+ ...opts
316
+ });
317
+ this.name = "ResourceNotFoundException";
318
+ this.$fault = "client";
319
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
320
+ }
321
+ };
322
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
323
+ var ResourceNotFoundException = _ResourceNotFoundException;
324
+ var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends B2biServiceException {
325
+ /**
326
+ * @internal
327
+ */
328
+ constructor(opts) {
329
+ super({
330
+ name: "ServiceQuotaExceededException",
331
+ $fault: "client",
332
+ ...opts
333
+ });
334
+ this.name = "ServiceQuotaExceededException";
335
+ this.$fault = "client";
336
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
337
+ this.resourceId = opts.resourceId;
338
+ this.resourceType = opts.resourceType;
339
+ this.serviceCode = opts.serviceCode;
340
+ this.quotaCode = opts.quotaCode;
341
+ }
342
+ };
343
+ __name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
344
+ var ServiceQuotaExceededException = _ServiceQuotaExceededException;
345
+ var _ThrottlingException = class _ThrottlingException extends B2biServiceException {
346
+ /**
347
+ * @internal
348
+ */
349
+ constructor(opts) {
350
+ super({
351
+ name: "ThrottlingException",
352
+ $fault: "client",
353
+ ...opts
354
+ });
355
+ this.name = "ThrottlingException";
356
+ this.$fault = "client";
357
+ this.$retryable = {};
358
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
359
+ this.retryAfterSeconds = opts.retryAfterSeconds;
360
+ }
361
+ };
362
+ __name(_ThrottlingException, "ThrottlingException");
363
+ var ThrottlingException = _ThrottlingException;
364
+ var _ValidationException = class _ValidationException extends B2biServiceException {
365
+ /**
366
+ * @internal
367
+ */
368
+ constructor(opts) {
369
+ super({
370
+ name: "ValidationException",
371
+ $fault: "client",
372
+ ...opts
373
+ });
374
+ this.name = "ValidationException";
375
+ this.$fault = "client";
376
+ Object.setPrototypeOf(this, _ValidationException.prototype);
377
+ this.Message = opts.Message;
378
+ }
379
+ };
380
+ __name(_ValidationException, "ValidationException");
381
+ var ValidationException = _ValidationException;
382
+ var TransformerJobStatus = {
383
+ FAILED: "failed",
384
+ RUNNING: "running",
385
+ SUCCEEDED: "succeeded"
386
+ };
387
+ var Logging = {
388
+ DISABLED: "DISABLED",
389
+ ENABLED: "ENABLED"
390
+ };
391
+ var FileFormat = {
392
+ JSON: "JSON",
393
+ XML: "XML"
394
+ };
395
+ var TransformerStatus = {
396
+ ACTIVE: "active",
397
+ INACTIVE: "inactive"
398
+ };
399
+ var CreatePartnershipRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
400
+ ...obj,
401
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
402
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
403
+ }), "CreatePartnershipRequestFilterSensitiveLog");
404
+ var CreatePartnershipResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
405
+ ...obj,
406
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
407
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
408
+ }), "CreatePartnershipResponseFilterSensitiveLog");
409
+ var GetPartnershipResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
410
+ ...obj,
411
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
412
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
413
+ }), "GetPartnershipResponseFilterSensitiveLog");
414
+ var UpdatePartnershipResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
415
+ ...obj,
416
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
417
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
418
+ }), "UpdatePartnershipResponseFilterSensitiveLog");
419
+ var CreateProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
420
+ ...obj,
421
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
422
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
423
+ }), "CreateProfileRequestFilterSensitiveLog");
424
+ var CreateProfileResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
425
+ ...obj,
426
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING },
427
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING }
428
+ }), "CreateProfileResponseFilterSensitiveLog");
429
+ var GetProfileResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
430
+ ...obj,
431
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
432
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
433
+ }), "GetProfileResponseFilterSensitiveLog");
434
+ var UpdateProfileRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
435
+ ...obj,
436
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
437
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
438
+ }), "UpdateProfileRequestFilterSensitiveLog");
439
+ var UpdateProfileResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
440
+ ...obj,
441
+ ...obj.email && { email: import_smithy_client.SENSITIVE_STRING },
442
+ ...obj.phone && { phone: import_smithy_client.SENSITIVE_STRING }
443
+ }), "UpdateProfileResponseFilterSensitiveLog");
444
+
445
+ // src/protocols/Aws_json1_0.ts
446
+ var se_CreateCapabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
447
+ const headers = sharedHeaders("CreateCapability");
448
+ let body;
449
+ body = JSON.stringify(se_CreateCapabilityRequest(input, context));
450
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
451
+ }, "se_CreateCapabilityCommand");
452
+ var se_CreatePartnershipCommand = /* @__PURE__ */ __name(async (input, context) => {
453
+ const headers = sharedHeaders("CreatePartnership");
454
+ let body;
455
+ body = JSON.stringify(se_CreatePartnershipRequest(input, context));
456
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
457
+ }, "se_CreatePartnershipCommand");
458
+ var se_CreateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
459
+ const headers = sharedHeaders("CreateProfile");
460
+ let body;
461
+ body = JSON.stringify(se_CreateProfileRequest(input, context));
462
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
463
+ }, "se_CreateProfileCommand");
464
+ var se_CreateTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {
465
+ const headers = sharedHeaders("CreateTransformer");
466
+ let body;
467
+ body = JSON.stringify(se_CreateTransformerRequest(input, context));
468
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
469
+ }, "se_CreateTransformerCommand");
470
+ var se_DeleteCapabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
471
+ const headers = sharedHeaders("DeleteCapability");
472
+ let body;
473
+ body = JSON.stringify((0, import_smithy_client._json)(input));
474
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
475
+ }, "se_DeleteCapabilityCommand");
476
+ var se_DeletePartnershipCommand = /* @__PURE__ */ __name(async (input, context) => {
477
+ const headers = sharedHeaders("DeletePartnership");
478
+ let body;
479
+ body = JSON.stringify((0, import_smithy_client._json)(input));
480
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
481
+ }, "se_DeletePartnershipCommand");
482
+ var se_DeleteProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
483
+ const headers = sharedHeaders("DeleteProfile");
484
+ let body;
485
+ body = JSON.stringify((0, import_smithy_client._json)(input));
486
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
487
+ }, "se_DeleteProfileCommand");
488
+ var se_DeleteTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {
489
+ const headers = sharedHeaders("DeleteTransformer");
490
+ let body;
491
+ body = JSON.stringify((0, import_smithy_client._json)(input));
492
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
493
+ }, "se_DeleteTransformerCommand");
494
+ var se_GetCapabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
495
+ const headers = sharedHeaders("GetCapability");
496
+ let body;
497
+ body = JSON.stringify((0, import_smithy_client._json)(input));
498
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
499
+ }, "se_GetCapabilityCommand");
500
+ var se_GetPartnershipCommand = /* @__PURE__ */ __name(async (input, context) => {
501
+ const headers = sharedHeaders("GetPartnership");
502
+ let body;
503
+ body = JSON.stringify((0, import_smithy_client._json)(input));
504
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
505
+ }, "se_GetPartnershipCommand");
506
+ var se_GetProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
507
+ const headers = sharedHeaders("GetProfile");
508
+ let body;
509
+ body = JSON.stringify((0, import_smithy_client._json)(input));
510
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
511
+ }, "se_GetProfileCommand");
512
+ var se_GetTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {
513
+ const headers = sharedHeaders("GetTransformer");
514
+ let body;
515
+ body = JSON.stringify((0, import_smithy_client._json)(input));
516
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
517
+ }, "se_GetTransformerCommand");
518
+ var se_GetTransformerJobCommand = /* @__PURE__ */ __name(async (input, context) => {
519
+ const headers = sharedHeaders("GetTransformerJob");
520
+ let body;
521
+ body = JSON.stringify((0, import_smithy_client._json)(input));
522
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
523
+ }, "se_GetTransformerJobCommand");
524
+ var se_ListCapabilitiesCommand = /* @__PURE__ */ __name(async (input, context) => {
525
+ const headers = sharedHeaders("ListCapabilities");
526
+ let body;
527
+ body = JSON.stringify((0, import_smithy_client._json)(input));
528
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
529
+ }, "se_ListCapabilitiesCommand");
530
+ var se_ListPartnershipsCommand = /* @__PURE__ */ __name(async (input, context) => {
531
+ const headers = sharedHeaders("ListPartnerships");
532
+ let body;
533
+ body = JSON.stringify((0, import_smithy_client._json)(input));
534
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
535
+ }, "se_ListPartnershipsCommand");
536
+ var se_ListProfilesCommand = /* @__PURE__ */ __name(async (input, context) => {
537
+ const headers = sharedHeaders("ListProfiles");
538
+ let body;
539
+ body = JSON.stringify((0, import_smithy_client._json)(input));
540
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
541
+ }, "se_ListProfilesCommand");
542
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
543
+ const headers = sharedHeaders("ListTagsForResource");
544
+ let body;
545
+ body = JSON.stringify((0, import_smithy_client._json)(input));
546
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
547
+ }, "se_ListTagsForResourceCommand");
548
+ var se_ListTransformersCommand = /* @__PURE__ */ __name(async (input, context) => {
549
+ const headers = sharedHeaders("ListTransformers");
550
+ let body;
551
+ body = JSON.stringify((0, import_smithy_client._json)(input));
552
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
553
+ }, "se_ListTransformersCommand");
554
+ var se_StartTransformerJobCommand = /* @__PURE__ */ __name(async (input, context) => {
555
+ const headers = sharedHeaders("StartTransformerJob");
556
+ let body;
557
+ body = JSON.stringify(se_StartTransformerJobRequest(input, context));
558
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
559
+ }, "se_StartTransformerJobCommand");
560
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
561
+ const headers = sharedHeaders("TagResource");
562
+ let body;
563
+ body = JSON.stringify((0, import_smithy_client._json)(input));
564
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
565
+ }, "se_TagResourceCommand");
566
+ var se_TestMappingCommand = /* @__PURE__ */ __name(async (input, context) => {
567
+ const headers = sharedHeaders("TestMapping");
568
+ let body;
569
+ body = JSON.stringify((0, import_smithy_client._json)(input));
570
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
571
+ }, "se_TestMappingCommand");
572
+ var se_TestParsingCommand = /* @__PURE__ */ __name(async (input, context) => {
573
+ const headers = sharedHeaders("TestParsing");
574
+ let body;
575
+ body = JSON.stringify((0, import_smithy_client._json)(input));
576
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
577
+ }, "se_TestParsingCommand");
578
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
579
+ const headers = sharedHeaders("UntagResource");
580
+ let body;
581
+ body = JSON.stringify((0, import_smithy_client._json)(input));
582
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
583
+ }, "se_UntagResourceCommand");
584
+ var se_UpdateCapabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
585
+ const headers = sharedHeaders("UpdateCapability");
586
+ let body;
587
+ body = JSON.stringify((0, import_smithy_client._json)(input));
588
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
589
+ }, "se_UpdateCapabilityCommand");
590
+ var se_UpdatePartnershipCommand = /* @__PURE__ */ __name(async (input, context) => {
591
+ const headers = sharedHeaders("UpdatePartnership");
592
+ let body;
593
+ body = JSON.stringify((0, import_smithy_client._json)(input));
594
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
595
+ }, "se_UpdatePartnershipCommand");
596
+ var se_UpdateProfileCommand = /* @__PURE__ */ __name(async (input, context) => {
597
+ const headers = sharedHeaders("UpdateProfile");
598
+ let body;
599
+ body = JSON.stringify((0, import_smithy_client._json)(input));
600
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
601
+ }, "se_UpdateProfileCommand");
602
+ var se_UpdateTransformerCommand = /* @__PURE__ */ __name(async (input, context) => {
603
+ const headers = sharedHeaders("UpdateTransformer");
604
+ let body;
605
+ body = JSON.stringify((0, import_smithy_client._json)(input));
606
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
607
+ }, "se_UpdateTransformerCommand");
608
+ var de_CreateCapabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
609
+ if (output.statusCode >= 300) {
610
+ return de_CreateCapabilityCommandError(output, context);
611
+ }
612
+ const data = await parseBody(output.body, context);
613
+ let contents = {};
614
+ contents = de_CreateCapabilityResponse(data, context);
615
+ const response = {
616
+ $metadata: deserializeMetadata(output),
617
+ ...contents
618
+ };
619
+ return response;
620
+ }, "de_CreateCapabilityCommand");
621
+ var de_CreateCapabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
622
+ const parsedOutput = {
623
+ ...output,
624
+ body: await parseErrorBody(output.body, context)
625
+ };
626
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
627
+ switch (errorCode) {
628
+ case "AccessDeniedException":
629
+ case "com.amazonaws.b2bi#AccessDeniedException":
630
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
631
+ case "ConflictException":
632
+ case "com.amazonaws.b2bi#ConflictException":
633
+ throw await de_ConflictExceptionRes(parsedOutput, context);
634
+ case "InternalServerException":
635
+ case "com.amazonaws.b2bi#InternalServerException":
636
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
637
+ case "ResourceNotFoundException":
638
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
639
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
640
+ case "ServiceQuotaExceededException":
641
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
642
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
643
+ case "ThrottlingException":
644
+ case "com.amazonaws.b2bi#ThrottlingException":
645
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
646
+ case "ValidationException":
647
+ case "com.amazonaws.b2bi#ValidationException":
648
+ throw await de_ValidationExceptionRes(parsedOutput, context);
649
+ default:
650
+ const parsedBody = parsedOutput.body;
651
+ return throwDefaultError({
652
+ output,
653
+ parsedBody,
654
+ errorCode
655
+ });
656
+ }
657
+ }, "de_CreateCapabilityCommandError");
658
+ var de_CreatePartnershipCommand = /* @__PURE__ */ __name(async (output, context) => {
659
+ if (output.statusCode >= 300) {
660
+ return de_CreatePartnershipCommandError(output, context);
661
+ }
662
+ const data = await parseBody(output.body, context);
663
+ let contents = {};
664
+ contents = de_CreatePartnershipResponse(data, context);
665
+ const response = {
666
+ $metadata: deserializeMetadata(output),
667
+ ...contents
668
+ };
669
+ return response;
670
+ }, "de_CreatePartnershipCommand");
671
+ var de_CreatePartnershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
672
+ const parsedOutput = {
673
+ ...output,
674
+ body: await parseErrorBody(output.body, context)
675
+ };
676
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
677
+ switch (errorCode) {
678
+ case "AccessDeniedException":
679
+ case "com.amazonaws.b2bi#AccessDeniedException":
680
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
681
+ case "ConflictException":
682
+ case "com.amazonaws.b2bi#ConflictException":
683
+ throw await de_ConflictExceptionRes(parsedOutput, context);
684
+ case "InternalServerException":
685
+ case "com.amazonaws.b2bi#InternalServerException":
686
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
687
+ case "ResourceNotFoundException":
688
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
689
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
690
+ case "ServiceQuotaExceededException":
691
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
692
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
693
+ case "ThrottlingException":
694
+ case "com.amazonaws.b2bi#ThrottlingException":
695
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
696
+ case "ValidationException":
697
+ case "com.amazonaws.b2bi#ValidationException":
698
+ throw await de_ValidationExceptionRes(parsedOutput, context);
699
+ default:
700
+ const parsedBody = parsedOutput.body;
701
+ return throwDefaultError({
702
+ output,
703
+ parsedBody,
704
+ errorCode
705
+ });
706
+ }
707
+ }, "de_CreatePartnershipCommandError");
708
+ var de_CreateProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
709
+ if (output.statusCode >= 300) {
710
+ return de_CreateProfileCommandError(output, context);
711
+ }
712
+ const data = await parseBody(output.body, context);
713
+ let contents = {};
714
+ contents = de_CreateProfileResponse(data, context);
715
+ const response = {
716
+ $metadata: deserializeMetadata(output),
717
+ ...contents
718
+ };
719
+ return response;
720
+ }, "de_CreateProfileCommand");
721
+ var de_CreateProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
722
+ const parsedOutput = {
723
+ ...output,
724
+ body: await parseErrorBody(output.body, context)
725
+ };
726
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
727
+ switch (errorCode) {
728
+ case "AccessDeniedException":
729
+ case "com.amazonaws.b2bi#AccessDeniedException":
730
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
731
+ case "ConflictException":
732
+ case "com.amazonaws.b2bi#ConflictException":
733
+ throw await de_ConflictExceptionRes(parsedOutput, context);
734
+ case "InternalServerException":
735
+ case "com.amazonaws.b2bi#InternalServerException":
736
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
737
+ case "ResourceNotFoundException":
738
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
739
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
740
+ case "ServiceQuotaExceededException":
741
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
742
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
743
+ case "ThrottlingException":
744
+ case "com.amazonaws.b2bi#ThrottlingException":
745
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
746
+ case "ValidationException":
747
+ case "com.amazonaws.b2bi#ValidationException":
748
+ throw await de_ValidationExceptionRes(parsedOutput, context);
749
+ default:
750
+ const parsedBody = parsedOutput.body;
751
+ return throwDefaultError({
752
+ output,
753
+ parsedBody,
754
+ errorCode
755
+ });
756
+ }
757
+ }, "de_CreateProfileCommandError");
758
+ var de_CreateTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {
759
+ if (output.statusCode >= 300) {
760
+ return de_CreateTransformerCommandError(output, context);
761
+ }
762
+ const data = await parseBody(output.body, context);
763
+ let contents = {};
764
+ contents = de_CreateTransformerResponse(data, context);
765
+ const response = {
766
+ $metadata: deserializeMetadata(output),
767
+ ...contents
768
+ };
769
+ return response;
770
+ }, "de_CreateTransformerCommand");
771
+ var de_CreateTransformerCommandError = /* @__PURE__ */ __name(async (output, context) => {
772
+ const parsedOutput = {
773
+ ...output,
774
+ body: await parseErrorBody(output.body, context)
775
+ };
776
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
777
+ switch (errorCode) {
778
+ case "AccessDeniedException":
779
+ case "com.amazonaws.b2bi#AccessDeniedException":
780
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
781
+ case "ConflictException":
782
+ case "com.amazonaws.b2bi#ConflictException":
783
+ throw await de_ConflictExceptionRes(parsedOutput, context);
784
+ case "InternalServerException":
785
+ case "com.amazonaws.b2bi#InternalServerException":
786
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
787
+ case "ResourceNotFoundException":
788
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
789
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
790
+ case "ServiceQuotaExceededException":
791
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
792
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
793
+ case "ThrottlingException":
794
+ case "com.amazonaws.b2bi#ThrottlingException":
795
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
796
+ case "ValidationException":
797
+ case "com.amazonaws.b2bi#ValidationException":
798
+ throw await de_ValidationExceptionRes(parsedOutput, context);
799
+ default:
800
+ const parsedBody = parsedOutput.body;
801
+ return throwDefaultError({
802
+ output,
803
+ parsedBody,
804
+ errorCode
805
+ });
806
+ }
807
+ }, "de_CreateTransformerCommandError");
808
+ var de_DeleteCapabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
809
+ if (output.statusCode >= 300) {
810
+ return de_DeleteCapabilityCommandError(output, context);
811
+ }
812
+ await (0, import_smithy_client.collectBody)(output.body, context);
813
+ const response = {
814
+ $metadata: deserializeMetadata(output)
815
+ };
816
+ return response;
817
+ }, "de_DeleteCapabilityCommand");
818
+ var de_DeleteCapabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
819
+ const parsedOutput = {
820
+ ...output,
821
+ body: await parseErrorBody(output.body, context)
822
+ };
823
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
824
+ switch (errorCode) {
825
+ case "AccessDeniedException":
826
+ case "com.amazonaws.b2bi#AccessDeniedException":
827
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
828
+ case "ConflictException":
829
+ case "com.amazonaws.b2bi#ConflictException":
830
+ throw await de_ConflictExceptionRes(parsedOutput, context);
831
+ case "InternalServerException":
832
+ case "com.amazonaws.b2bi#InternalServerException":
833
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
834
+ case "ResourceNotFoundException":
835
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
836
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
837
+ case "ThrottlingException":
838
+ case "com.amazonaws.b2bi#ThrottlingException":
839
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
840
+ case "ValidationException":
841
+ case "com.amazonaws.b2bi#ValidationException":
842
+ throw await de_ValidationExceptionRes(parsedOutput, context);
843
+ default:
844
+ const parsedBody = parsedOutput.body;
845
+ return throwDefaultError({
846
+ output,
847
+ parsedBody,
848
+ errorCode
849
+ });
850
+ }
851
+ }, "de_DeleteCapabilityCommandError");
852
+ var de_DeletePartnershipCommand = /* @__PURE__ */ __name(async (output, context) => {
853
+ if (output.statusCode >= 300) {
854
+ return de_DeletePartnershipCommandError(output, context);
855
+ }
856
+ await (0, import_smithy_client.collectBody)(output.body, context);
857
+ const response = {
858
+ $metadata: deserializeMetadata(output)
859
+ };
860
+ return response;
861
+ }, "de_DeletePartnershipCommand");
862
+ var de_DeletePartnershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
863
+ const parsedOutput = {
864
+ ...output,
865
+ body: await parseErrorBody(output.body, context)
866
+ };
867
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
868
+ switch (errorCode) {
869
+ case "AccessDeniedException":
870
+ case "com.amazonaws.b2bi#AccessDeniedException":
871
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
872
+ case "ConflictException":
873
+ case "com.amazonaws.b2bi#ConflictException":
874
+ throw await de_ConflictExceptionRes(parsedOutput, context);
875
+ case "InternalServerException":
876
+ case "com.amazonaws.b2bi#InternalServerException":
877
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
878
+ case "ResourceNotFoundException":
879
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
880
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
881
+ case "ThrottlingException":
882
+ case "com.amazonaws.b2bi#ThrottlingException":
883
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
884
+ case "ValidationException":
885
+ case "com.amazonaws.b2bi#ValidationException":
886
+ throw await de_ValidationExceptionRes(parsedOutput, context);
887
+ default:
888
+ const parsedBody = parsedOutput.body;
889
+ return throwDefaultError({
890
+ output,
891
+ parsedBody,
892
+ errorCode
893
+ });
894
+ }
895
+ }, "de_DeletePartnershipCommandError");
896
+ var de_DeleteProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
897
+ if (output.statusCode >= 300) {
898
+ return de_DeleteProfileCommandError(output, context);
899
+ }
900
+ await (0, import_smithy_client.collectBody)(output.body, context);
901
+ const response = {
902
+ $metadata: deserializeMetadata(output)
903
+ };
904
+ return response;
905
+ }, "de_DeleteProfileCommand");
906
+ var de_DeleteProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
907
+ const parsedOutput = {
908
+ ...output,
909
+ body: await parseErrorBody(output.body, context)
910
+ };
911
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
912
+ switch (errorCode) {
913
+ case "AccessDeniedException":
914
+ case "com.amazonaws.b2bi#AccessDeniedException":
915
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
916
+ case "ConflictException":
917
+ case "com.amazonaws.b2bi#ConflictException":
918
+ throw await de_ConflictExceptionRes(parsedOutput, context);
919
+ case "InternalServerException":
920
+ case "com.amazonaws.b2bi#InternalServerException":
921
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
922
+ case "ResourceNotFoundException":
923
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
924
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
925
+ case "ThrottlingException":
926
+ case "com.amazonaws.b2bi#ThrottlingException":
927
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
928
+ case "ValidationException":
929
+ case "com.amazonaws.b2bi#ValidationException":
930
+ throw await de_ValidationExceptionRes(parsedOutput, context);
931
+ default:
932
+ const parsedBody = parsedOutput.body;
933
+ return throwDefaultError({
934
+ output,
935
+ parsedBody,
936
+ errorCode
937
+ });
938
+ }
939
+ }, "de_DeleteProfileCommandError");
940
+ var de_DeleteTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {
941
+ if (output.statusCode >= 300) {
942
+ return de_DeleteTransformerCommandError(output, context);
943
+ }
944
+ await (0, import_smithy_client.collectBody)(output.body, context);
945
+ const response = {
946
+ $metadata: deserializeMetadata(output)
947
+ };
948
+ return response;
949
+ }, "de_DeleteTransformerCommand");
950
+ var de_DeleteTransformerCommandError = /* @__PURE__ */ __name(async (output, context) => {
951
+ const parsedOutput = {
952
+ ...output,
953
+ body: await parseErrorBody(output.body, context)
954
+ };
955
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
956
+ switch (errorCode) {
957
+ case "AccessDeniedException":
958
+ case "com.amazonaws.b2bi#AccessDeniedException":
959
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
960
+ case "ConflictException":
961
+ case "com.amazonaws.b2bi#ConflictException":
962
+ throw await de_ConflictExceptionRes(parsedOutput, context);
963
+ case "InternalServerException":
964
+ case "com.amazonaws.b2bi#InternalServerException":
965
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
966
+ case "ResourceNotFoundException":
967
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
968
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
969
+ case "ThrottlingException":
970
+ case "com.amazonaws.b2bi#ThrottlingException":
971
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
972
+ case "ValidationException":
973
+ case "com.amazonaws.b2bi#ValidationException":
974
+ throw await de_ValidationExceptionRes(parsedOutput, context);
975
+ default:
976
+ const parsedBody = parsedOutput.body;
977
+ return throwDefaultError({
978
+ output,
979
+ parsedBody,
980
+ errorCode
981
+ });
982
+ }
983
+ }, "de_DeleteTransformerCommandError");
984
+ var de_GetCapabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
985
+ if (output.statusCode >= 300) {
986
+ return de_GetCapabilityCommandError(output, context);
987
+ }
988
+ const data = await parseBody(output.body, context);
989
+ let contents = {};
990
+ contents = de_GetCapabilityResponse(data, context);
991
+ const response = {
992
+ $metadata: deserializeMetadata(output),
993
+ ...contents
994
+ };
995
+ return response;
996
+ }, "de_GetCapabilityCommand");
997
+ var de_GetCapabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
998
+ const parsedOutput = {
999
+ ...output,
1000
+ body: await parseErrorBody(output.body, context)
1001
+ };
1002
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1003
+ switch (errorCode) {
1004
+ case "AccessDeniedException":
1005
+ case "com.amazonaws.b2bi#AccessDeniedException":
1006
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1007
+ case "InternalServerException":
1008
+ case "com.amazonaws.b2bi#InternalServerException":
1009
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1010
+ case "ResourceNotFoundException":
1011
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1012
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1013
+ case "ThrottlingException":
1014
+ case "com.amazonaws.b2bi#ThrottlingException":
1015
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1016
+ case "ValidationException":
1017
+ case "com.amazonaws.b2bi#ValidationException":
1018
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1019
+ default:
1020
+ const parsedBody = parsedOutput.body;
1021
+ return throwDefaultError({
1022
+ output,
1023
+ parsedBody,
1024
+ errorCode
1025
+ });
1026
+ }
1027
+ }, "de_GetCapabilityCommandError");
1028
+ var de_GetPartnershipCommand = /* @__PURE__ */ __name(async (output, context) => {
1029
+ if (output.statusCode >= 300) {
1030
+ return de_GetPartnershipCommandError(output, context);
1031
+ }
1032
+ const data = await parseBody(output.body, context);
1033
+ let contents = {};
1034
+ contents = de_GetPartnershipResponse(data, context);
1035
+ const response = {
1036
+ $metadata: deserializeMetadata(output),
1037
+ ...contents
1038
+ };
1039
+ return response;
1040
+ }, "de_GetPartnershipCommand");
1041
+ var de_GetPartnershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
1042
+ const parsedOutput = {
1043
+ ...output,
1044
+ body: await parseErrorBody(output.body, context)
1045
+ };
1046
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1047
+ switch (errorCode) {
1048
+ case "AccessDeniedException":
1049
+ case "com.amazonaws.b2bi#AccessDeniedException":
1050
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1051
+ case "InternalServerException":
1052
+ case "com.amazonaws.b2bi#InternalServerException":
1053
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1054
+ case "ResourceNotFoundException":
1055
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1056
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1057
+ case "ThrottlingException":
1058
+ case "com.amazonaws.b2bi#ThrottlingException":
1059
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1060
+ case "ValidationException":
1061
+ case "com.amazonaws.b2bi#ValidationException":
1062
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1063
+ default:
1064
+ const parsedBody = parsedOutput.body;
1065
+ return throwDefaultError({
1066
+ output,
1067
+ parsedBody,
1068
+ errorCode
1069
+ });
1070
+ }
1071
+ }, "de_GetPartnershipCommandError");
1072
+ var de_GetProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1073
+ if (output.statusCode >= 300) {
1074
+ return de_GetProfileCommandError(output, context);
1075
+ }
1076
+ const data = await parseBody(output.body, context);
1077
+ let contents = {};
1078
+ contents = de_GetProfileResponse(data, context);
1079
+ const response = {
1080
+ $metadata: deserializeMetadata(output),
1081
+ ...contents
1082
+ };
1083
+ return response;
1084
+ }, "de_GetProfileCommand");
1085
+ var de_GetProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
1086
+ const parsedOutput = {
1087
+ ...output,
1088
+ body: await parseErrorBody(output.body, context)
1089
+ };
1090
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1091
+ switch (errorCode) {
1092
+ case "AccessDeniedException":
1093
+ case "com.amazonaws.b2bi#AccessDeniedException":
1094
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1095
+ case "InternalServerException":
1096
+ case "com.amazonaws.b2bi#InternalServerException":
1097
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1098
+ case "ResourceNotFoundException":
1099
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1100
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1101
+ case "ThrottlingException":
1102
+ case "com.amazonaws.b2bi#ThrottlingException":
1103
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1104
+ case "ValidationException":
1105
+ case "com.amazonaws.b2bi#ValidationException":
1106
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1107
+ default:
1108
+ const parsedBody = parsedOutput.body;
1109
+ return throwDefaultError({
1110
+ output,
1111
+ parsedBody,
1112
+ errorCode
1113
+ });
1114
+ }
1115
+ }, "de_GetProfileCommandError");
1116
+ var de_GetTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {
1117
+ if (output.statusCode >= 300) {
1118
+ return de_GetTransformerCommandError(output, context);
1119
+ }
1120
+ const data = await parseBody(output.body, context);
1121
+ let contents = {};
1122
+ contents = de_GetTransformerResponse(data, context);
1123
+ const response = {
1124
+ $metadata: deserializeMetadata(output),
1125
+ ...contents
1126
+ };
1127
+ return response;
1128
+ }, "de_GetTransformerCommand");
1129
+ var de_GetTransformerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1130
+ const parsedOutput = {
1131
+ ...output,
1132
+ body: await parseErrorBody(output.body, context)
1133
+ };
1134
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1135
+ switch (errorCode) {
1136
+ case "AccessDeniedException":
1137
+ case "com.amazonaws.b2bi#AccessDeniedException":
1138
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1139
+ case "InternalServerException":
1140
+ case "com.amazonaws.b2bi#InternalServerException":
1141
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1142
+ case "ResourceNotFoundException":
1143
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1144
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1145
+ case "ThrottlingException":
1146
+ case "com.amazonaws.b2bi#ThrottlingException":
1147
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1148
+ case "ValidationException":
1149
+ case "com.amazonaws.b2bi#ValidationException":
1150
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1151
+ default:
1152
+ const parsedBody = parsedOutput.body;
1153
+ return throwDefaultError({
1154
+ output,
1155
+ parsedBody,
1156
+ errorCode
1157
+ });
1158
+ }
1159
+ }, "de_GetTransformerCommandError");
1160
+ var de_GetTransformerJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1161
+ if (output.statusCode >= 300) {
1162
+ return de_GetTransformerJobCommandError(output, context);
1163
+ }
1164
+ const data = await parseBody(output.body, context);
1165
+ let contents = {};
1166
+ contents = (0, import_smithy_client._json)(data);
1167
+ const response = {
1168
+ $metadata: deserializeMetadata(output),
1169
+ ...contents
1170
+ };
1171
+ return response;
1172
+ }, "de_GetTransformerJobCommand");
1173
+ var de_GetTransformerJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1174
+ const parsedOutput = {
1175
+ ...output,
1176
+ body: await parseErrorBody(output.body, context)
1177
+ };
1178
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1179
+ switch (errorCode) {
1180
+ case "AccessDeniedException":
1181
+ case "com.amazonaws.b2bi#AccessDeniedException":
1182
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1183
+ case "InternalServerException":
1184
+ case "com.amazonaws.b2bi#InternalServerException":
1185
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1186
+ case "ResourceNotFoundException":
1187
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1188
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1189
+ case "ThrottlingException":
1190
+ case "com.amazonaws.b2bi#ThrottlingException":
1191
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1192
+ case "ValidationException":
1193
+ case "com.amazonaws.b2bi#ValidationException":
1194
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1195
+ default:
1196
+ const parsedBody = parsedOutput.body;
1197
+ return throwDefaultError({
1198
+ output,
1199
+ parsedBody,
1200
+ errorCode
1201
+ });
1202
+ }
1203
+ }, "de_GetTransformerJobCommandError");
1204
+ var de_ListCapabilitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
1205
+ if (output.statusCode >= 300) {
1206
+ return de_ListCapabilitiesCommandError(output, context);
1207
+ }
1208
+ const data = await parseBody(output.body, context);
1209
+ let contents = {};
1210
+ contents = de_ListCapabilitiesResponse(data, context);
1211
+ const response = {
1212
+ $metadata: deserializeMetadata(output),
1213
+ ...contents
1214
+ };
1215
+ return response;
1216
+ }, "de_ListCapabilitiesCommand");
1217
+ var de_ListCapabilitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1218
+ const parsedOutput = {
1219
+ ...output,
1220
+ body: await parseErrorBody(output.body, context)
1221
+ };
1222
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1223
+ const parsedBody = parsedOutput.body;
1224
+ return throwDefaultError({
1225
+ output,
1226
+ parsedBody,
1227
+ errorCode
1228
+ });
1229
+ }, "de_ListCapabilitiesCommandError");
1230
+ var de_ListPartnershipsCommand = /* @__PURE__ */ __name(async (output, context) => {
1231
+ if (output.statusCode >= 300) {
1232
+ return de_ListPartnershipsCommandError(output, context);
1233
+ }
1234
+ const data = await parseBody(output.body, context);
1235
+ let contents = {};
1236
+ contents = de_ListPartnershipsResponse(data, context);
1237
+ const response = {
1238
+ $metadata: deserializeMetadata(output),
1239
+ ...contents
1240
+ };
1241
+ return response;
1242
+ }, "de_ListPartnershipsCommand");
1243
+ var de_ListPartnershipsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1244
+ const parsedOutput = {
1245
+ ...output,
1246
+ body: await parseErrorBody(output.body, context)
1247
+ };
1248
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1249
+ switch (errorCode) {
1250
+ case "AccessDeniedException":
1251
+ case "com.amazonaws.b2bi#AccessDeniedException":
1252
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1253
+ case "InternalServerException":
1254
+ case "com.amazonaws.b2bi#InternalServerException":
1255
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1256
+ case "ResourceNotFoundException":
1257
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1258
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1259
+ case "ThrottlingException":
1260
+ case "com.amazonaws.b2bi#ThrottlingException":
1261
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1262
+ case "ValidationException":
1263
+ case "com.amazonaws.b2bi#ValidationException":
1264
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1265
+ default:
1266
+ const parsedBody = parsedOutput.body;
1267
+ return throwDefaultError({
1268
+ output,
1269
+ parsedBody,
1270
+ errorCode
1271
+ });
1272
+ }
1273
+ }, "de_ListPartnershipsCommandError");
1274
+ var de_ListProfilesCommand = /* @__PURE__ */ __name(async (output, context) => {
1275
+ if (output.statusCode >= 300) {
1276
+ return de_ListProfilesCommandError(output, context);
1277
+ }
1278
+ const data = await parseBody(output.body, context);
1279
+ let contents = {};
1280
+ contents = de_ListProfilesResponse(data, context);
1281
+ const response = {
1282
+ $metadata: deserializeMetadata(output),
1283
+ ...contents
1284
+ };
1285
+ return response;
1286
+ }, "de_ListProfilesCommand");
1287
+ var de_ListProfilesCommandError = /* @__PURE__ */ __name(async (output, context) => {
1288
+ const parsedOutput = {
1289
+ ...output,
1290
+ body: await parseErrorBody(output.body, context)
1291
+ };
1292
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1293
+ const parsedBody = parsedOutput.body;
1294
+ return throwDefaultError({
1295
+ output,
1296
+ parsedBody,
1297
+ errorCode
1298
+ });
1299
+ }, "de_ListProfilesCommandError");
1300
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1301
+ if (output.statusCode >= 300) {
1302
+ return de_ListTagsForResourceCommandError(output, context);
1303
+ }
1304
+ const data = await parseBody(output.body, context);
1305
+ let contents = {};
1306
+ contents = (0, import_smithy_client._json)(data);
1307
+ const response = {
1308
+ $metadata: deserializeMetadata(output),
1309
+ ...contents
1310
+ };
1311
+ return response;
1312
+ }, "de_ListTagsForResourceCommand");
1313
+ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1314
+ const parsedOutput = {
1315
+ ...output,
1316
+ body: await parseErrorBody(output.body, context)
1317
+ };
1318
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1319
+ switch (errorCode) {
1320
+ case "InternalServerException":
1321
+ case "com.amazonaws.b2bi#InternalServerException":
1322
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1323
+ case "ResourceNotFoundException":
1324
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1325
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1326
+ case "ValidationException":
1327
+ case "com.amazonaws.b2bi#ValidationException":
1328
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1329
+ default:
1330
+ const parsedBody = parsedOutput.body;
1331
+ return throwDefaultError({
1332
+ output,
1333
+ parsedBody,
1334
+ errorCode
1335
+ });
1336
+ }
1337
+ }, "de_ListTagsForResourceCommandError");
1338
+ var de_ListTransformersCommand = /* @__PURE__ */ __name(async (output, context) => {
1339
+ if (output.statusCode >= 300) {
1340
+ return de_ListTransformersCommandError(output, context);
1341
+ }
1342
+ const data = await parseBody(output.body, context);
1343
+ let contents = {};
1344
+ contents = de_ListTransformersResponse(data, context);
1345
+ const response = {
1346
+ $metadata: deserializeMetadata(output),
1347
+ ...contents
1348
+ };
1349
+ return response;
1350
+ }, "de_ListTransformersCommand");
1351
+ var de_ListTransformersCommandError = /* @__PURE__ */ __name(async (output, context) => {
1352
+ const parsedOutput = {
1353
+ ...output,
1354
+ body: await parseErrorBody(output.body, context)
1355
+ };
1356
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1357
+ const parsedBody = parsedOutput.body;
1358
+ return throwDefaultError({
1359
+ output,
1360
+ parsedBody,
1361
+ errorCode
1362
+ });
1363
+ }, "de_ListTransformersCommandError");
1364
+ var de_StartTransformerJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1365
+ if (output.statusCode >= 300) {
1366
+ return de_StartTransformerJobCommandError(output, context);
1367
+ }
1368
+ const data = await parseBody(output.body, context);
1369
+ let contents = {};
1370
+ contents = (0, import_smithy_client._json)(data);
1371
+ const response = {
1372
+ $metadata: deserializeMetadata(output),
1373
+ ...contents
1374
+ };
1375
+ return response;
1376
+ }, "de_StartTransformerJobCommand");
1377
+ var de_StartTransformerJobCommandError = /* @__PURE__ */ __name(async (output, context) => {
1378
+ const parsedOutput = {
1379
+ ...output,
1380
+ body: await parseErrorBody(output.body, context)
1381
+ };
1382
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1383
+ switch (errorCode) {
1384
+ case "AccessDeniedException":
1385
+ case "com.amazonaws.b2bi#AccessDeniedException":
1386
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1387
+ case "InternalServerException":
1388
+ case "com.amazonaws.b2bi#InternalServerException":
1389
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1390
+ case "ResourceNotFoundException":
1391
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1392
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1393
+ case "ThrottlingException":
1394
+ case "com.amazonaws.b2bi#ThrottlingException":
1395
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1396
+ case "ValidationException":
1397
+ case "com.amazonaws.b2bi#ValidationException":
1398
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1399
+ default:
1400
+ const parsedBody = parsedOutput.body;
1401
+ return throwDefaultError({
1402
+ output,
1403
+ parsedBody,
1404
+ errorCode
1405
+ });
1406
+ }
1407
+ }, "de_StartTransformerJobCommandError");
1408
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1409
+ if (output.statusCode >= 300) {
1410
+ return de_TagResourceCommandError(output, context);
1411
+ }
1412
+ await (0, import_smithy_client.collectBody)(output.body, context);
1413
+ const response = {
1414
+ $metadata: deserializeMetadata(output)
1415
+ };
1416
+ return response;
1417
+ }, "de_TagResourceCommand");
1418
+ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1419
+ const parsedOutput = {
1420
+ ...output,
1421
+ body: await parseErrorBody(output.body, context)
1422
+ };
1423
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1424
+ switch (errorCode) {
1425
+ case "InternalServerException":
1426
+ case "com.amazonaws.b2bi#InternalServerException":
1427
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1428
+ case "ResourceNotFoundException":
1429
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1430
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1431
+ case "ThrottlingException":
1432
+ case "com.amazonaws.b2bi#ThrottlingException":
1433
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1434
+ case "ValidationException":
1435
+ case "com.amazonaws.b2bi#ValidationException":
1436
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1437
+ default:
1438
+ const parsedBody = parsedOutput.body;
1439
+ return throwDefaultError({
1440
+ output,
1441
+ parsedBody,
1442
+ errorCode
1443
+ });
1444
+ }
1445
+ }, "de_TagResourceCommandError");
1446
+ var de_TestMappingCommand = /* @__PURE__ */ __name(async (output, context) => {
1447
+ if (output.statusCode >= 300) {
1448
+ return de_TestMappingCommandError(output, context);
1449
+ }
1450
+ const data = await parseBody(output.body, context);
1451
+ let contents = {};
1452
+ contents = (0, import_smithy_client._json)(data);
1453
+ const response = {
1454
+ $metadata: deserializeMetadata(output),
1455
+ ...contents
1456
+ };
1457
+ return response;
1458
+ }, "de_TestMappingCommand");
1459
+ var de_TestMappingCommandError = /* @__PURE__ */ __name(async (output, context) => {
1460
+ const parsedOutput = {
1461
+ ...output,
1462
+ body: await parseErrorBody(output.body, context)
1463
+ };
1464
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1465
+ switch (errorCode) {
1466
+ case "AccessDeniedException":
1467
+ case "com.amazonaws.b2bi#AccessDeniedException":
1468
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1469
+ case "InternalServerException":
1470
+ case "com.amazonaws.b2bi#InternalServerException":
1471
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1472
+ case "ResourceNotFoundException":
1473
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1474
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1475
+ case "ThrottlingException":
1476
+ case "com.amazonaws.b2bi#ThrottlingException":
1477
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1478
+ case "ValidationException":
1479
+ case "com.amazonaws.b2bi#ValidationException":
1480
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1481
+ default:
1482
+ const parsedBody = parsedOutput.body;
1483
+ return throwDefaultError({
1484
+ output,
1485
+ parsedBody,
1486
+ errorCode
1487
+ });
1488
+ }
1489
+ }, "de_TestMappingCommandError");
1490
+ var de_TestParsingCommand = /* @__PURE__ */ __name(async (output, context) => {
1491
+ if (output.statusCode >= 300) {
1492
+ return de_TestParsingCommandError(output, context);
1493
+ }
1494
+ const data = await parseBody(output.body, context);
1495
+ let contents = {};
1496
+ contents = (0, import_smithy_client._json)(data);
1497
+ const response = {
1498
+ $metadata: deserializeMetadata(output),
1499
+ ...contents
1500
+ };
1501
+ return response;
1502
+ }, "de_TestParsingCommand");
1503
+ var de_TestParsingCommandError = /* @__PURE__ */ __name(async (output, context) => {
1504
+ const parsedOutput = {
1505
+ ...output,
1506
+ body: await parseErrorBody(output.body, context)
1507
+ };
1508
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1509
+ switch (errorCode) {
1510
+ case "AccessDeniedException":
1511
+ case "com.amazonaws.b2bi#AccessDeniedException":
1512
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1513
+ case "InternalServerException":
1514
+ case "com.amazonaws.b2bi#InternalServerException":
1515
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1516
+ case "ResourceNotFoundException":
1517
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1518
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1519
+ case "ThrottlingException":
1520
+ case "com.amazonaws.b2bi#ThrottlingException":
1521
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1522
+ case "ValidationException":
1523
+ case "com.amazonaws.b2bi#ValidationException":
1524
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1525
+ default:
1526
+ const parsedBody = parsedOutput.body;
1527
+ return throwDefaultError({
1528
+ output,
1529
+ parsedBody,
1530
+ errorCode
1531
+ });
1532
+ }
1533
+ }, "de_TestParsingCommandError");
1534
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1535
+ if (output.statusCode >= 300) {
1536
+ return de_UntagResourceCommandError(output, context);
1537
+ }
1538
+ await (0, import_smithy_client.collectBody)(output.body, context);
1539
+ const response = {
1540
+ $metadata: deserializeMetadata(output)
1541
+ };
1542
+ return response;
1543
+ }, "de_UntagResourceCommand");
1544
+ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
1545
+ const parsedOutput = {
1546
+ ...output,
1547
+ body: await parseErrorBody(output.body, context)
1548
+ };
1549
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1550
+ switch (errorCode) {
1551
+ case "InternalServerException":
1552
+ case "com.amazonaws.b2bi#InternalServerException":
1553
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1554
+ case "ResourceNotFoundException":
1555
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1556
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1557
+ case "ValidationException":
1558
+ case "com.amazonaws.b2bi#ValidationException":
1559
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1560
+ default:
1561
+ const parsedBody = parsedOutput.body;
1562
+ return throwDefaultError({
1563
+ output,
1564
+ parsedBody,
1565
+ errorCode
1566
+ });
1567
+ }
1568
+ }, "de_UntagResourceCommandError");
1569
+ var de_UpdateCapabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
1570
+ if (output.statusCode >= 300) {
1571
+ return de_UpdateCapabilityCommandError(output, context);
1572
+ }
1573
+ const data = await parseBody(output.body, context);
1574
+ let contents = {};
1575
+ contents = de_UpdateCapabilityResponse(data, context);
1576
+ const response = {
1577
+ $metadata: deserializeMetadata(output),
1578
+ ...contents
1579
+ };
1580
+ return response;
1581
+ }, "de_UpdateCapabilityCommand");
1582
+ var de_UpdateCapabilityCommandError = /* @__PURE__ */ __name(async (output, context) => {
1583
+ const parsedOutput = {
1584
+ ...output,
1585
+ body: await parseErrorBody(output.body, context)
1586
+ };
1587
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1588
+ switch (errorCode) {
1589
+ case "AccessDeniedException":
1590
+ case "com.amazonaws.b2bi#AccessDeniedException":
1591
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1592
+ case "ConflictException":
1593
+ case "com.amazonaws.b2bi#ConflictException":
1594
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1595
+ case "InternalServerException":
1596
+ case "com.amazonaws.b2bi#InternalServerException":
1597
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1598
+ case "ResourceNotFoundException":
1599
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1600
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1601
+ case "ServiceQuotaExceededException":
1602
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
1603
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1604
+ case "ThrottlingException":
1605
+ case "com.amazonaws.b2bi#ThrottlingException":
1606
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1607
+ case "ValidationException":
1608
+ case "com.amazonaws.b2bi#ValidationException":
1609
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1610
+ default:
1611
+ const parsedBody = parsedOutput.body;
1612
+ return throwDefaultError({
1613
+ output,
1614
+ parsedBody,
1615
+ errorCode
1616
+ });
1617
+ }
1618
+ }, "de_UpdateCapabilityCommandError");
1619
+ var de_UpdatePartnershipCommand = /* @__PURE__ */ __name(async (output, context) => {
1620
+ if (output.statusCode >= 300) {
1621
+ return de_UpdatePartnershipCommandError(output, context);
1622
+ }
1623
+ const data = await parseBody(output.body, context);
1624
+ let contents = {};
1625
+ contents = de_UpdatePartnershipResponse(data, context);
1626
+ const response = {
1627
+ $metadata: deserializeMetadata(output),
1628
+ ...contents
1629
+ };
1630
+ return response;
1631
+ }, "de_UpdatePartnershipCommand");
1632
+ var de_UpdatePartnershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
1633
+ const parsedOutput = {
1634
+ ...output,
1635
+ body: await parseErrorBody(output.body, context)
1636
+ };
1637
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1638
+ switch (errorCode) {
1639
+ case "AccessDeniedException":
1640
+ case "com.amazonaws.b2bi#AccessDeniedException":
1641
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1642
+ case "ConflictException":
1643
+ case "com.amazonaws.b2bi#ConflictException":
1644
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1645
+ case "InternalServerException":
1646
+ case "com.amazonaws.b2bi#InternalServerException":
1647
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1648
+ case "ResourceNotFoundException":
1649
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1650
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1651
+ case "ServiceQuotaExceededException":
1652
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
1653
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1654
+ case "ThrottlingException":
1655
+ case "com.amazonaws.b2bi#ThrottlingException":
1656
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1657
+ case "ValidationException":
1658
+ case "com.amazonaws.b2bi#ValidationException":
1659
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1660
+ default:
1661
+ const parsedBody = parsedOutput.body;
1662
+ return throwDefaultError({
1663
+ output,
1664
+ parsedBody,
1665
+ errorCode
1666
+ });
1667
+ }
1668
+ }, "de_UpdatePartnershipCommandError");
1669
+ var de_UpdateProfileCommand = /* @__PURE__ */ __name(async (output, context) => {
1670
+ if (output.statusCode >= 300) {
1671
+ return de_UpdateProfileCommandError(output, context);
1672
+ }
1673
+ const data = await parseBody(output.body, context);
1674
+ let contents = {};
1675
+ contents = de_UpdateProfileResponse(data, context);
1676
+ const response = {
1677
+ $metadata: deserializeMetadata(output),
1678
+ ...contents
1679
+ };
1680
+ return response;
1681
+ }, "de_UpdateProfileCommand");
1682
+ var de_UpdateProfileCommandError = /* @__PURE__ */ __name(async (output, context) => {
1683
+ const parsedOutput = {
1684
+ ...output,
1685
+ body: await parseErrorBody(output.body, context)
1686
+ };
1687
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1688
+ switch (errorCode) {
1689
+ case "AccessDeniedException":
1690
+ case "com.amazonaws.b2bi#AccessDeniedException":
1691
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1692
+ case "ConflictException":
1693
+ case "com.amazonaws.b2bi#ConflictException":
1694
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1695
+ case "InternalServerException":
1696
+ case "com.amazonaws.b2bi#InternalServerException":
1697
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1698
+ case "ResourceNotFoundException":
1699
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1700
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1701
+ case "ServiceQuotaExceededException":
1702
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
1703
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1704
+ case "ThrottlingException":
1705
+ case "com.amazonaws.b2bi#ThrottlingException":
1706
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1707
+ case "ValidationException":
1708
+ case "com.amazonaws.b2bi#ValidationException":
1709
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1710
+ default:
1711
+ const parsedBody = parsedOutput.body;
1712
+ return throwDefaultError({
1713
+ output,
1714
+ parsedBody,
1715
+ errorCode
1716
+ });
1717
+ }
1718
+ }, "de_UpdateProfileCommandError");
1719
+ var de_UpdateTransformerCommand = /* @__PURE__ */ __name(async (output, context) => {
1720
+ if (output.statusCode >= 300) {
1721
+ return de_UpdateTransformerCommandError(output, context);
1722
+ }
1723
+ const data = await parseBody(output.body, context);
1724
+ let contents = {};
1725
+ contents = de_UpdateTransformerResponse(data, context);
1726
+ const response = {
1727
+ $metadata: deserializeMetadata(output),
1728
+ ...contents
1729
+ };
1730
+ return response;
1731
+ }, "de_UpdateTransformerCommand");
1732
+ var de_UpdateTransformerCommandError = /* @__PURE__ */ __name(async (output, context) => {
1733
+ const parsedOutput = {
1734
+ ...output,
1735
+ body: await parseErrorBody(output.body, context)
1736
+ };
1737
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
1738
+ switch (errorCode) {
1739
+ case "AccessDeniedException":
1740
+ case "com.amazonaws.b2bi#AccessDeniedException":
1741
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1742
+ case "ConflictException":
1743
+ case "com.amazonaws.b2bi#ConflictException":
1744
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1745
+ case "InternalServerException":
1746
+ case "com.amazonaws.b2bi#InternalServerException":
1747
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1748
+ case "ResourceNotFoundException":
1749
+ case "com.amazonaws.b2bi#ResourceNotFoundException":
1750
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1751
+ case "ServiceQuotaExceededException":
1752
+ case "com.amazonaws.b2bi#ServiceQuotaExceededException":
1753
+ throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
1754
+ case "ThrottlingException":
1755
+ case "com.amazonaws.b2bi#ThrottlingException":
1756
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1757
+ case "ValidationException":
1758
+ case "com.amazonaws.b2bi#ValidationException":
1759
+ throw await de_ValidationExceptionRes(parsedOutput, context);
1760
+ default:
1761
+ const parsedBody = parsedOutput.body;
1762
+ return throwDefaultError({
1763
+ output,
1764
+ parsedBody,
1765
+ errorCode
1766
+ });
1767
+ }
1768
+ }, "de_UpdateTransformerCommandError");
1769
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1770
+ const body = parsedOutput.body;
1771
+ const deserialized = (0, import_smithy_client._json)(body);
1772
+ const exception = new AccessDeniedException({
1773
+ $metadata: deserializeMetadata(parsedOutput),
1774
+ ...deserialized
1775
+ });
1776
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1777
+ }, "de_AccessDeniedExceptionRes");
1778
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1779
+ const body = parsedOutput.body;
1780
+ const deserialized = (0, import_smithy_client._json)(body);
1781
+ const exception = new ConflictException({
1782
+ $metadata: deserializeMetadata(parsedOutput),
1783
+ ...deserialized
1784
+ });
1785
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1786
+ }, "de_ConflictExceptionRes");
1787
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1788
+ const body = parsedOutput.body;
1789
+ const deserialized = (0, import_smithy_client._json)(body);
1790
+ const exception = new InternalServerException({
1791
+ $metadata: deserializeMetadata(parsedOutput),
1792
+ ...deserialized
1793
+ });
1794
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1795
+ }, "de_InternalServerExceptionRes");
1796
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1797
+ const body = parsedOutput.body;
1798
+ const deserialized = (0, import_smithy_client._json)(body);
1799
+ const exception = new ResourceNotFoundException({
1800
+ $metadata: deserializeMetadata(parsedOutput),
1801
+ ...deserialized
1802
+ });
1803
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1804
+ }, "de_ResourceNotFoundExceptionRes");
1805
+ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1806
+ const body = parsedOutput.body;
1807
+ const deserialized = (0, import_smithy_client._json)(body);
1808
+ const exception = new ServiceQuotaExceededException({
1809
+ $metadata: deserializeMetadata(parsedOutput),
1810
+ ...deserialized
1811
+ });
1812
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1813
+ }, "de_ServiceQuotaExceededExceptionRes");
1814
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1815
+ const body = parsedOutput.body;
1816
+ const deserialized = (0, import_smithy_client._json)(body);
1817
+ const exception = new ThrottlingException({
1818
+ $metadata: deserializeMetadata(parsedOutput),
1819
+ ...deserialized
1820
+ });
1821
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1822
+ }, "de_ThrottlingExceptionRes");
1823
+ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1824
+ const body = parsedOutput.body;
1825
+ const deserialized = (0, import_smithy_client._json)(body);
1826
+ const exception = new ValidationException({
1827
+ $metadata: deserializeMetadata(parsedOutput),
1828
+ ...deserialized
1829
+ });
1830
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1831
+ }, "de_ValidationExceptionRes");
1832
+ var se_CreateCapabilityRequest = /* @__PURE__ */ __name((input, context) => {
1833
+ return (0, import_smithy_client.take)(input, {
1834
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1835
+ configuration: import_smithy_client._json,
1836
+ instructionsDocuments: import_smithy_client._json,
1837
+ name: [],
1838
+ tags: import_smithy_client._json,
1839
+ type: []
1840
+ });
1841
+ }, "se_CreateCapabilityRequest");
1842
+ var se_CreatePartnershipRequest = /* @__PURE__ */ __name((input, context) => {
1843
+ return (0, import_smithy_client.take)(input, {
1844
+ capabilities: import_smithy_client._json,
1845
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1846
+ email: [],
1847
+ name: [],
1848
+ phone: [],
1849
+ profileId: [],
1850
+ tags: import_smithy_client._json
1851
+ });
1852
+ }, "se_CreatePartnershipRequest");
1853
+ var se_CreateProfileRequest = /* @__PURE__ */ __name((input, context) => {
1854
+ return (0, import_smithy_client.take)(input, {
1855
+ businessName: [],
1856
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1857
+ email: [],
1858
+ logging: [],
1859
+ name: [],
1860
+ phone: [],
1861
+ tags: import_smithy_client._json
1862
+ });
1863
+ }, "se_CreateProfileRequest");
1864
+ var se_CreateTransformerRequest = /* @__PURE__ */ __name((input, context) => {
1865
+ return (0, import_smithy_client.take)(input, {
1866
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1867
+ ediType: import_smithy_client._json,
1868
+ fileFormat: [],
1869
+ mappingTemplate: [],
1870
+ name: [],
1871
+ sampleDocument: [],
1872
+ tags: import_smithy_client._json
1873
+ });
1874
+ }, "se_CreateTransformerRequest");
1875
+ var se_StartTransformerJobRequest = /* @__PURE__ */ __name((input, context) => {
1876
+ return (0, import_smithy_client.take)(input, {
1877
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1878
+ inputFile: import_smithy_client._json,
1879
+ outputLocation: import_smithy_client._json,
1880
+ transformerId: []
1881
+ });
1882
+ }, "se_StartTransformerJobRequest");
1883
+ var de_CapabilityList = /* @__PURE__ */ __name((output, context) => {
1884
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1885
+ return de_CapabilitySummary(entry, context);
1886
+ });
1887
+ return retVal;
1888
+ }, "de_CapabilityList");
1889
+ var de_CapabilitySummary = /* @__PURE__ */ __name((output, context) => {
1890
+ return (0, import_smithy_client.take)(output, {
1891
+ capabilityId: import_smithy_client.expectString,
1892
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1893
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1894
+ name: import_smithy_client.expectString,
1895
+ type: import_smithy_client.expectString
1896
+ });
1897
+ }, "de_CapabilitySummary");
1898
+ var de_CreateCapabilityResponse = /* @__PURE__ */ __name((output, context) => {
1899
+ return (0, import_smithy_client.take)(output, {
1900
+ capabilityArn: import_smithy_client.expectString,
1901
+ capabilityId: import_smithy_client.expectString,
1902
+ configuration: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1903
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1904
+ instructionsDocuments: import_smithy_client._json,
1905
+ name: import_smithy_client.expectString,
1906
+ type: import_smithy_client.expectString
1907
+ });
1908
+ }, "de_CreateCapabilityResponse");
1909
+ var de_CreatePartnershipResponse = /* @__PURE__ */ __name((output, context) => {
1910
+ return (0, import_smithy_client.take)(output, {
1911
+ capabilities: import_smithy_client._json,
1912
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1913
+ email: import_smithy_client.expectString,
1914
+ name: import_smithy_client.expectString,
1915
+ partnershipArn: import_smithy_client.expectString,
1916
+ partnershipId: import_smithy_client.expectString,
1917
+ phone: import_smithy_client.expectString,
1918
+ profileId: import_smithy_client.expectString,
1919
+ tradingPartnerId: import_smithy_client.expectString
1920
+ });
1921
+ }, "de_CreatePartnershipResponse");
1922
+ var de_CreateProfileResponse = /* @__PURE__ */ __name((output, context) => {
1923
+ return (0, import_smithy_client.take)(output, {
1924
+ businessName: import_smithy_client.expectString,
1925
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1926
+ email: import_smithy_client.expectString,
1927
+ logGroupName: import_smithy_client.expectString,
1928
+ logging: import_smithy_client.expectString,
1929
+ name: import_smithy_client.expectString,
1930
+ phone: import_smithy_client.expectString,
1931
+ profileArn: import_smithy_client.expectString,
1932
+ profileId: import_smithy_client.expectString
1933
+ });
1934
+ }, "de_CreateProfileResponse");
1935
+ var de_CreateTransformerResponse = /* @__PURE__ */ __name((output, context) => {
1936
+ return (0, import_smithy_client.take)(output, {
1937
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1938
+ ediType: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1939
+ fileFormat: import_smithy_client.expectString,
1940
+ mappingTemplate: import_smithy_client.expectString,
1941
+ name: import_smithy_client.expectString,
1942
+ sampleDocument: import_smithy_client.expectString,
1943
+ status: import_smithy_client.expectString,
1944
+ transformerArn: import_smithy_client.expectString,
1945
+ transformerId: import_smithy_client.expectString
1946
+ });
1947
+ }, "de_CreateTransformerResponse");
1948
+ var de_GetCapabilityResponse = /* @__PURE__ */ __name((output, context) => {
1949
+ return (0, import_smithy_client.take)(output, {
1950
+ capabilityArn: import_smithy_client.expectString,
1951
+ capabilityId: import_smithy_client.expectString,
1952
+ configuration: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1953
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1954
+ instructionsDocuments: import_smithy_client._json,
1955
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1956
+ name: import_smithy_client.expectString,
1957
+ type: import_smithy_client.expectString
1958
+ });
1959
+ }, "de_GetCapabilityResponse");
1960
+ var de_GetPartnershipResponse = /* @__PURE__ */ __name((output, context) => {
1961
+ return (0, import_smithy_client.take)(output, {
1962
+ capabilities: import_smithy_client._json,
1963
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1964
+ email: import_smithy_client.expectString,
1965
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1966
+ name: import_smithy_client.expectString,
1967
+ partnershipArn: import_smithy_client.expectString,
1968
+ partnershipId: import_smithy_client.expectString,
1969
+ phone: import_smithy_client.expectString,
1970
+ profileId: import_smithy_client.expectString,
1971
+ tradingPartnerId: import_smithy_client.expectString
1972
+ });
1973
+ }, "de_GetPartnershipResponse");
1974
+ var de_GetProfileResponse = /* @__PURE__ */ __name((output, context) => {
1975
+ return (0, import_smithy_client.take)(output, {
1976
+ businessName: import_smithy_client.expectString,
1977
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1978
+ email: import_smithy_client.expectString,
1979
+ logGroupName: import_smithy_client.expectString,
1980
+ logging: import_smithy_client.expectString,
1981
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1982
+ name: import_smithy_client.expectString,
1983
+ phone: import_smithy_client.expectString,
1984
+ profileArn: import_smithy_client.expectString,
1985
+ profileId: import_smithy_client.expectString
1986
+ });
1987
+ }, "de_GetProfileResponse");
1988
+ var de_GetTransformerResponse = /* @__PURE__ */ __name((output, context) => {
1989
+ return (0, import_smithy_client.take)(output, {
1990
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1991
+ ediType: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
1992
+ fileFormat: import_smithy_client.expectString,
1993
+ mappingTemplate: import_smithy_client.expectString,
1994
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1995
+ name: import_smithy_client.expectString,
1996
+ sampleDocument: import_smithy_client.expectString,
1997
+ status: import_smithy_client.expectString,
1998
+ transformerArn: import_smithy_client.expectString,
1999
+ transformerId: import_smithy_client.expectString
2000
+ });
2001
+ }, "de_GetTransformerResponse");
2002
+ var de_ListCapabilitiesResponse = /* @__PURE__ */ __name((output, context) => {
2003
+ return (0, import_smithy_client.take)(output, {
2004
+ capabilities: (_) => de_CapabilityList(_, context),
2005
+ nextToken: import_smithy_client.expectString
2006
+ });
2007
+ }, "de_ListCapabilitiesResponse");
2008
+ var de_ListPartnershipsResponse = /* @__PURE__ */ __name((output, context) => {
2009
+ return (0, import_smithy_client.take)(output, {
2010
+ nextToken: import_smithy_client.expectString,
2011
+ partnerships: (_) => de_PartnershipList(_, context)
2012
+ });
2013
+ }, "de_ListPartnershipsResponse");
2014
+ var de_ListProfilesResponse = /* @__PURE__ */ __name((output, context) => {
2015
+ return (0, import_smithy_client.take)(output, {
2016
+ nextToken: import_smithy_client.expectString,
2017
+ profiles: (_) => de_ProfileList(_, context)
2018
+ });
2019
+ }, "de_ListProfilesResponse");
2020
+ var de_ListTransformersResponse = /* @__PURE__ */ __name((output, context) => {
2021
+ return (0, import_smithy_client.take)(output, {
2022
+ nextToken: import_smithy_client.expectString,
2023
+ transformers: (_) => de_TransformerList(_, context)
2024
+ });
2025
+ }, "de_ListTransformersResponse");
2026
+ var de_PartnershipList = /* @__PURE__ */ __name((output, context) => {
2027
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2028
+ return de_PartnershipSummary(entry, context);
2029
+ });
2030
+ return retVal;
2031
+ }, "de_PartnershipList");
2032
+ var de_PartnershipSummary = /* @__PURE__ */ __name((output, context) => {
2033
+ return (0, import_smithy_client.take)(output, {
2034
+ capabilities: import_smithy_client._json,
2035
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2036
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2037
+ name: import_smithy_client.expectString,
2038
+ partnershipId: import_smithy_client.expectString,
2039
+ profileId: import_smithy_client.expectString,
2040
+ tradingPartnerId: import_smithy_client.expectString
2041
+ });
2042
+ }, "de_PartnershipSummary");
2043
+ var de_ProfileList = /* @__PURE__ */ __name((output, context) => {
2044
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2045
+ return de_ProfileSummary(entry, context);
2046
+ });
2047
+ return retVal;
2048
+ }, "de_ProfileList");
2049
+ var de_ProfileSummary = /* @__PURE__ */ __name((output, context) => {
2050
+ return (0, import_smithy_client.take)(output, {
2051
+ businessName: import_smithy_client.expectString,
2052
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2053
+ logGroupName: import_smithy_client.expectString,
2054
+ logging: import_smithy_client.expectString,
2055
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2056
+ name: import_smithy_client.expectString,
2057
+ profileId: import_smithy_client.expectString
2058
+ });
2059
+ }, "de_ProfileSummary");
2060
+ var de_TransformerList = /* @__PURE__ */ __name((output, context) => {
2061
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2062
+ return de_TransformerSummary(entry, context);
2063
+ });
2064
+ return retVal;
2065
+ }, "de_TransformerList");
2066
+ var de_TransformerSummary = /* @__PURE__ */ __name((output, context) => {
2067
+ return (0, import_smithy_client.take)(output, {
2068
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2069
+ ediType: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
2070
+ fileFormat: import_smithy_client.expectString,
2071
+ mappingTemplate: import_smithy_client.expectString,
2072
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2073
+ name: import_smithy_client.expectString,
2074
+ sampleDocument: import_smithy_client.expectString,
2075
+ status: import_smithy_client.expectString,
2076
+ transformerId: import_smithy_client.expectString
2077
+ });
2078
+ }, "de_TransformerSummary");
2079
+ var de_UpdateCapabilityResponse = /* @__PURE__ */ __name((output, context) => {
2080
+ return (0, import_smithy_client.take)(output, {
2081
+ capabilityArn: import_smithy_client.expectString,
2082
+ capabilityId: import_smithy_client.expectString,
2083
+ configuration: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
2084
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2085
+ instructionsDocuments: import_smithy_client._json,
2086
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2087
+ name: import_smithy_client.expectString,
2088
+ type: import_smithy_client.expectString
2089
+ });
2090
+ }, "de_UpdateCapabilityResponse");
2091
+ var de_UpdatePartnershipResponse = /* @__PURE__ */ __name((output, context) => {
2092
+ return (0, import_smithy_client.take)(output, {
2093
+ capabilities: import_smithy_client._json,
2094
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2095
+ email: import_smithy_client.expectString,
2096
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2097
+ name: import_smithy_client.expectString,
2098
+ partnershipArn: import_smithy_client.expectString,
2099
+ partnershipId: import_smithy_client.expectString,
2100
+ phone: import_smithy_client.expectString,
2101
+ profileId: import_smithy_client.expectString,
2102
+ tradingPartnerId: import_smithy_client.expectString
2103
+ });
2104
+ }, "de_UpdatePartnershipResponse");
2105
+ var de_UpdateProfileResponse = /* @__PURE__ */ __name((output, context) => {
2106
+ return (0, import_smithy_client.take)(output, {
2107
+ businessName: import_smithy_client.expectString,
2108
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2109
+ email: import_smithy_client.expectString,
2110
+ logGroupName: import_smithy_client.expectString,
2111
+ logging: import_smithy_client.expectString,
2112
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2113
+ name: import_smithy_client.expectString,
2114
+ phone: import_smithy_client.expectString,
2115
+ profileArn: import_smithy_client.expectString,
2116
+ profileId: import_smithy_client.expectString
2117
+ });
2118
+ }, "de_UpdateProfileResponse");
2119
+ var de_UpdateTransformerResponse = /* @__PURE__ */ __name((output, context) => {
2120
+ return (0, import_smithy_client.take)(output, {
2121
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2122
+ ediType: (_) => (0, import_smithy_client._json)((0, import_core.awsExpectUnion)(_)),
2123
+ fileFormat: import_smithy_client.expectString,
2124
+ mappingTemplate: import_smithy_client.expectString,
2125
+ modifiedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2126
+ name: import_smithy_client.expectString,
2127
+ sampleDocument: import_smithy_client.expectString,
2128
+ status: import_smithy_client.expectString,
2129
+ transformerArn: import_smithy_client.expectString,
2130
+ transformerId: import_smithy_client.expectString
2131
+ });
2132
+ }, "de_UpdateTransformerResponse");
2133
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2134
+ httpStatusCode: output.statusCode,
2135
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2136
+ extendedRequestId: output.headers["x-amz-id-2"],
2137
+ cfId: output.headers["x-amz-cf-id"]
2138
+ }), "deserializeMetadata");
2139
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2140
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(B2biServiceException);
2141
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
2142
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
2143
+ const contents = {
2144
+ protocol,
2145
+ hostname,
2146
+ port,
2147
+ method: "POST",
2148
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
2149
+ headers
2150
+ };
2151
+ if (resolvedHostname !== void 0) {
2152
+ contents.hostname = resolvedHostname;
2153
+ }
2154
+ if (body !== void 0) {
2155
+ contents.body = body;
2156
+ }
2157
+ return new import_protocol_http.HttpRequest(contents);
2158
+ }, "buildHttpRpcRequest");
2159
+ function sharedHeaders(operation) {
2160
+ return {
2161
+ "content-type": "application/x-amz-json-1.0",
2162
+ "x-amz-target": `B2BI.${operation}`
2163
+ };
2164
+ }
2165
+ __name(sharedHeaders, "sharedHeaders");
2166
+ var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
2167
+ if (encoded.length) {
2168
+ return JSON.parse(encoded);
2169
+ }
2170
+ return {};
2171
+ }), "parseBody");
2172
+ var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
2173
+ const value = await parseBody(errorBody, context);
2174
+ value.message = value.message ?? value.Message;
2175
+ return value;
2176
+ }, "parseErrorBody");
2177
+ var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
2178
+ const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
2179
+ const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
2180
+ let cleanValue = rawValue;
2181
+ if (typeof cleanValue === "number") {
2182
+ cleanValue = cleanValue.toString();
2183
+ }
2184
+ if (cleanValue.indexOf(",") >= 0) {
2185
+ cleanValue = cleanValue.split(",")[0];
2186
+ }
2187
+ if (cleanValue.indexOf(":") >= 0) {
2188
+ cleanValue = cleanValue.split(":")[0];
2189
+ }
2190
+ if (cleanValue.indexOf("#") >= 0) {
2191
+ cleanValue = cleanValue.split("#")[1];
2192
+ }
2193
+ return cleanValue;
2194
+ }, "sanitizeErrorCode");
2195
+ const headerKey = findKey(output.headers, "x-amzn-errortype");
2196
+ if (headerKey !== void 0) {
2197
+ return sanitizeErrorCode(output.headers[headerKey]);
2198
+ }
2199
+ if (data.code !== void 0) {
2200
+ return sanitizeErrorCode(data.code);
2201
+ }
2202
+ if (data["__type"] !== void 0) {
2203
+ return sanitizeErrorCode(data["__type"]);
2204
+ }
2205
+ }, "loadRestJsonErrorCode");
2206
+
2207
+ // src/commands/CreateCapabilityCommand.ts
2208
+ var _CreateCapabilityCommand = class _CreateCapabilityCommand extends import_smithy_client.Command.classBuilder().ep({
2209
+ ...commonParams
2210
+ }).m(function(Command, cs, config, o) {
2211
+ return [
2212
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2213
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2214
+ ];
2215
+ }).s("B2BI", "CreateCapability", {}).n("B2biClient", "CreateCapabilityCommand").f(void 0, void 0).ser(se_CreateCapabilityCommand).de(de_CreateCapabilityCommand).build() {
2216
+ };
2217
+ __name(_CreateCapabilityCommand, "CreateCapabilityCommand");
2218
+ var CreateCapabilityCommand = _CreateCapabilityCommand;
2219
+
2220
+ // src/commands/CreatePartnershipCommand.ts
2221
+
2222
+
2223
+
2224
+
2225
+ var _CreatePartnershipCommand = class _CreatePartnershipCommand extends import_smithy_client.Command.classBuilder().ep({
2226
+ ...commonParams
2227
+ }).m(function(Command, cs, config, o) {
2228
+ return [
2229
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2230
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2231
+ ];
2232
+ }).s("B2BI", "CreatePartnership", {}).n("B2biClient", "CreatePartnershipCommand").f(CreatePartnershipRequestFilterSensitiveLog, CreatePartnershipResponseFilterSensitiveLog).ser(se_CreatePartnershipCommand).de(de_CreatePartnershipCommand).build() {
2233
+ };
2234
+ __name(_CreatePartnershipCommand, "CreatePartnershipCommand");
2235
+ var CreatePartnershipCommand = _CreatePartnershipCommand;
2236
+
2237
+ // src/commands/CreateProfileCommand.ts
2238
+
2239
+
2240
+
2241
+
2242
+ var _CreateProfileCommand = class _CreateProfileCommand extends import_smithy_client.Command.classBuilder().ep({
2243
+ ...commonParams
2244
+ }).m(function(Command, cs, config, o) {
2245
+ return [
2246
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2247
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2248
+ ];
2249
+ }).s("B2BI", "CreateProfile", {}).n("B2biClient", "CreateProfileCommand").f(CreateProfileRequestFilterSensitiveLog, CreateProfileResponseFilterSensitiveLog).ser(se_CreateProfileCommand).de(de_CreateProfileCommand).build() {
2250
+ };
2251
+ __name(_CreateProfileCommand, "CreateProfileCommand");
2252
+ var CreateProfileCommand = _CreateProfileCommand;
2253
+
2254
+ // src/commands/CreateTransformerCommand.ts
2255
+
2256
+
2257
+
2258
+
2259
+ var _CreateTransformerCommand = class _CreateTransformerCommand extends import_smithy_client.Command.classBuilder().ep({
2260
+ ...commonParams
2261
+ }).m(function(Command, cs, config, o) {
2262
+ return [
2263
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2264
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2265
+ ];
2266
+ }).s("B2BI", "CreateTransformer", {}).n("B2biClient", "CreateTransformerCommand").f(void 0, void 0).ser(se_CreateTransformerCommand).de(de_CreateTransformerCommand).build() {
2267
+ };
2268
+ __name(_CreateTransformerCommand, "CreateTransformerCommand");
2269
+ var CreateTransformerCommand = _CreateTransformerCommand;
2270
+
2271
+ // src/commands/DeleteCapabilityCommand.ts
2272
+
2273
+
2274
+
2275
+
2276
+ var _DeleteCapabilityCommand = class _DeleteCapabilityCommand extends import_smithy_client.Command.classBuilder().ep({
2277
+ ...commonParams
2278
+ }).m(function(Command, cs, config, o) {
2279
+ return [
2280
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2281
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2282
+ ];
2283
+ }).s("B2BI", "DeleteCapability", {}).n("B2biClient", "DeleteCapabilityCommand").f(void 0, void 0).ser(se_DeleteCapabilityCommand).de(de_DeleteCapabilityCommand).build() {
2284
+ };
2285
+ __name(_DeleteCapabilityCommand, "DeleteCapabilityCommand");
2286
+ var DeleteCapabilityCommand = _DeleteCapabilityCommand;
2287
+
2288
+ // src/commands/DeletePartnershipCommand.ts
2289
+
2290
+
2291
+
2292
+
2293
+ var _DeletePartnershipCommand = class _DeletePartnershipCommand extends import_smithy_client.Command.classBuilder().ep({
2294
+ ...commonParams
2295
+ }).m(function(Command, cs, config, o) {
2296
+ return [
2297
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2298
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2299
+ ];
2300
+ }).s("B2BI", "DeletePartnership", {}).n("B2biClient", "DeletePartnershipCommand").f(void 0, void 0).ser(se_DeletePartnershipCommand).de(de_DeletePartnershipCommand).build() {
2301
+ };
2302
+ __name(_DeletePartnershipCommand, "DeletePartnershipCommand");
2303
+ var DeletePartnershipCommand = _DeletePartnershipCommand;
2304
+
2305
+ // src/commands/DeleteProfileCommand.ts
2306
+
2307
+
2308
+
2309
+
2310
+ var _DeleteProfileCommand = class _DeleteProfileCommand extends import_smithy_client.Command.classBuilder().ep({
2311
+ ...commonParams
2312
+ }).m(function(Command, cs, config, o) {
2313
+ return [
2314
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2315
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2316
+ ];
2317
+ }).s("B2BI", "DeleteProfile", {}).n("B2biClient", "DeleteProfileCommand").f(void 0, void 0).ser(se_DeleteProfileCommand).de(de_DeleteProfileCommand).build() {
2318
+ };
2319
+ __name(_DeleteProfileCommand, "DeleteProfileCommand");
2320
+ var DeleteProfileCommand = _DeleteProfileCommand;
2321
+
2322
+ // src/commands/DeleteTransformerCommand.ts
2323
+
2324
+
2325
+
2326
+
2327
+ var _DeleteTransformerCommand = class _DeleteTransformerCommand extends import_smithy_client.Command.classBuilder().ep({
2328
+ ...commonParams
2329
+ }).m(function(Command, cs, config, o) {
2330
+ return [
2331
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2332
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2333
+ ];
2334
+ }).s("B2BI", "DeleteTransformer", {}).n("B2biClient", "DeleteTransformerCommand").f(void 0, void 0).ser(se_DeleteTransformerCommand).de(de_DeleteTransformerCommand).build() {
2335
+ };
2336
+ __name(_DeleteTransformerCommand, "DeleteTransformerCommand");
2337
+ var DeleteTransformerCommand = _DeleteTransformerCommand;
2338
+
2339
+ // src/commands/GetCapabilityCommand.ts
2340
+
2341
+
2342
+
2343
+
2344
+ var _GetCapabilityCommand = class _GetCapabilityCommand extends import_smithy_client.Command.classBuilder().ep({
2345
+ ...commonParams
2346
+ }).m(function(Command, cs, config, o) {
2347
+ return [
2348
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2349
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2350
+ ];
2351
+ }).s("B2BI", "GetCapability", {}).n("B2biClient", "GetCapabilityCommand").f(void 0, void 0).ser(se_GetCapabilityCommand).de(de_GetCapabilityCommand).build() {
2352
+ };
2353
+ __name(_GetCapabilityCommand, "GetCapabilityCommand");
2354
+ var GetCapabilityCommand = _GetCapabilityCommand;
2355
+
2356
+ // src/commands/GetPartnershipCommand.ts
2357
+
2358
+
2359
+
2360
+
2361
+ var _GetPartnershipCommand = class _GetPartnershipCommand extends import_smithy_client.Command.classBuilder().ep({
2362
+ ...commonParams
2363
+ }).m(function(Command, cs, config, o) {
2364
+ return [
2365
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2366
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2367
+ ];
2368
+ }).s("B2BI", "GetPartnership", {}).n("B2biClient", "GetPartnershipCommand").f(void 0, GetPartnershipResponseFilterSensitiveLog).ser(se_GetPartnershipCommand).de(de_GetPartnershipCommand).build() {
2369
+ };
2370
+ __name(_GetPartnershipCommand, "GetPartnershipCommand");
2371
+ var GetPartnershipCommand = _GetPartnershipCommand;
2372
+
2373
+ // src/commands/GetProfileCommand.ts
2374
+
2375
+
2376
+
2377
+
2378
+ var _GetProfileCommand = class _GetProfileCommand extends import_smithy_client.Command.classBuilder().ep({
2379
+ ...commonParams
2380
+ }).m(function(Command, cs, config, o) {
2381
+ return [
2382
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2383
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2384
+ ];
2385
+ }).s("B2BI", "GetProfile", {}).n("B2biClient", "GetProfileCommand").f(void 0, GetProfileResponseFilterSensitiveLog).ser(se_GetProfileCommand).de(de_GetProfileCommand).build() {
2386
+ };
2387
+ __name(_GetProfileCommand, "GetProfileCommand");
2388
+ var GetProfileCommand = _GetProfileCommand;
2389
+
2390
+ // src/commands/GetTransformerCommand.ts
2391
+
2392
+
2393
+
2394
+
2395
+ var _GetTransformerCommand = class _GetTransformerCommand extends import_smithy_client.Command.classBuilder().ep({
2396
+ ...commonParams
2397
+ }).m(function(Command, cs, config, o) {
2398
+ return [
2399
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2400
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2401
+ ];
2402
+ }).s("B2BI", "GetTransformer", {}).n("B2biClient", "GetTransformerCommand").f(void 0, void 0).ser(se_GetTransformerCommand).de(de_GetTransformerCommand).build() {
2403
+ };
2404
+ __name(_GetTransformerCommand, "GetTransformerCommand");
2405
+ var GetTransformerCommand = _GetTransformerCommand;
2406
+
2407
+ // src/commands/GetTransformerJobCommand.ts
2408
+
2409
+
2410
+
2411
+
2412
+ var _GetTransformerJobCommand = class _GetTransformerJobCommand extends import_smithy_client.Command.classBuilder().ep({
2413
+ ...commonParams
2414
+ }).m(function(Command, cs, config, o) {
2415
+ return [
2416
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2417
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2418
+ ];
2419
+ }).s("B2BI", "GetTransformerJob", {}).n("B2biClient", "GetTransformerJobCommand").f(void 0, void 0).ser(se_GetTransformerJobCommand).de(de_GetTransformerJobCommand).build() {
2420
+ };
2421
+ __name(_GetTransformerJobCommand, "GetTransformerJobCommand");
2422
+ var GetTransformerJobCommand = _GetTransformerJobCommand;
2423
+
2424
+ // src/commands/ListCapabilitiesCommand.ts
2425
+
2426
+
2427
+
2428
+
2429
+ var _ListCapabilitiesCommand = class _ListCapabilitiesCommand extends import_smithy_client.Command.classBuilder().ep({
2430
+ ...commonParams
2431
+ }).m(function(Command, cs, config, o) {
2432
+ return [
2433
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2434
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2435
+ ];
2436
+ }).s("B2BI", "ListCapabilities", {}).n("B2biClient", "ListCapabilitiesCommand").f(void 0, void 0).ser(se_ListCapabilitiesCommand).de(de_ListCapabilitiesCommand).build() {
2437
+ };
2438
+ __name(_ListCapabilitiesCommand, "ListCapabilitiesCommand");
2439
+ var ListCapabilitiesCommand = _ListCapabilitiesCommand;
2440
+
2441
+ // src/commands/ListPartnershipsCommand.ts
2442
+
2443
+
2444
+
2445
+
2446
+ var _ListPartnershipsCommand = class _ListPartnershipsCommand extends import_smithy_client.Command.classBuilder().ep({
2447
+ ...commonParams
2448
+ }).m(function(Command, cs, config, o) {
2449
+ return [
2450
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2451
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2452
+ ];
2453
+ }).s("B2BI", "ListPartnerships", {}).n("B2biClient", "ListPartnershipsCommand").f(void 0, void 0).ser(se_ListPartnershipsCommand).de(de_ListPartnershipsCommand).build() {
2454
+ };
2455
+ __name(_ListPartnershipsCommand, "ListPartnershipsCommand");
2456
+ var ListPartnershipsCommand = _ListPartnershipsCommand;
2457
+
2458
+ // src/commands/ListProfilesCommand.ts
2459
+
2460
+
2461
+
2462
+
2463
+ var _ListProfilesCommand = class _ListProfilesCommand extends import_smithy_client.Command.classBuilder().ep({
2464
+ ...commonParams
2465
+ }).m(function(Command, cs, config, o) {
2466
+ return [
2467
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2468
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2469
+ ];
2470
+ }).s("B2BI", "ListProfiles", {}).n("B2biClient", "ListProfilesCommand").f(void 0, void 0).ser(se_ListProfilesCommand).de(de_ListProfilesCommand).build() {
2471
+ };
2472
+ __name(_ListProfilesCommand, "ListProfilesCommand");
2473
+ var ListProfilesCommand = _ListProfilesCommand;
2474
+
2475
+ // src/commands/ListTagsForResourceCommand.ts
2476
+
2477
+
2478
+
2479
+
2480
+ var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2481
+ ...commonParams
2482
+ }).m(function(Command, cs, config, o) {
2483
+ return [
2484
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2485
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2486
+ ];
2487
+ }).s("B2BI", "ListTagsForResource", {}).n("B2biClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
2488
+ };
2489
+ __name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
2490
+ var ListTagsForResourceCommand = _ListTagsForResourceCommand;
2491
+
2492
+ // src/commands/ListTransformersCommand.ts
2493
+
2494
+
2495
+
2496
+
2497
+ var _ListTransformersCommand = class _ListTransformersCommand extends import_smithy_client.Command.classBuilder().ep({
2498
+ ...commonParams
2499
+ }).m(function(Command, cs, config, o) {
2500
+ return [
2501
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2502
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2503
+ ];
2504
+ }).s("B2BI", "ListTransformers", {}).n("B2biClient", "ListTransformersCommand").f(void 0, void 0).ser(se_ListTransformersCommand).de(de_ListTransformersCommand).build() {
2505
+ };
2506
+ __name(_ListTransformersCommand, "ListTransformersCommand");
2507
+ var ListTransformersCommand = _ListTransformersCommand;
2508
+
2509
+ // src/commands/StartTransformerJobCommand.ts
2510
+
2511
+
2512
+
2513
+
2514
+ var _StartTransformerJobCommand = class _StartTransformerJobCommand extends import_smithy_client.Command.classBuilder().ep({
2515
+ ...commonParams
2516
+ }).m(function(Command, cs, config, o) {
2517
+ return [
2518
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2519
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2520
+ ];
2521
+ }).s("B2BI", "StartTransformerJob", {}).n("B2biClient", "StartTransformerJobCommand").f(void 0, void 0).ser(se_StartTransformerJobCommand).de(de_StartTransformerJobCommand).build() {
2522
+ };
2523
+ __name(_StartTransformerJobCommand, "StartTransformerJobCommand");
2524
+ var StartTransformerJobCommand = _StartTransformerJobCommand;
2525
+
2526
+ // src/commands/TagResourceCommand.ts
2527
+
2528
+
2529
+
2530
+
2531
+ var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2532
+ ...commonParams
2533
+ }).m(function(Command, cs, config, o) {
2534
+ return [
2535
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2536
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2537
+ ];
2538
+ }).s("B2BI", "TagResource", {}).n("B2biClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
2539
+ };
2540
+ __name(_TagResourceCommand, "TagResourceCommand");
2541
+ var TagResourceCommand = _TagResourceCommand;
2542
+
2543
+ // src/commands/TestMappingCommand.ts
2544
+
2545
+
2546
+
2547
+
2548
+ var _TestMappingCommand = class _TestMappingCommand extends import_smithy_client.Command.classBuilder().ep({
2549
+ ...commonParams
2550
+ }).m(function(Command, cs, config, o) {
2551
+ return [
2552
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2553
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2554
+ ];
2555
+ }).s("B2BI", "TestMapping", {}).n("B2biClient", "TestMappingCommand").f(void 0, void 0).ser(se_TestMappingCommand).de(de_TestMappingCommand).build() {
2556
+ };
2557
+ __name(_TestMappingCommand, "TestMappingCommand");
2558
+ var TestMappingCommand = _TestMappingCommand;
2559
+
2560
+ // src/commands/TestParsingCommand.ts
2561
+
2562
+
2563
+
2564
+
2565
+ var _TestParsingCommand = class _TestParsingCommand extends import_smithy_client.Command.classBuilder().ep({
2566
+ ...commonParams
2567
+ }).m(function(Command, cs, config, o) {
2568
+ return [
2569
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2570
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2571
+ ];
2572
+ }).s("B2BI", "TestParsing", {}).n("B2biClient", "TestParsingCommand").f(void 0, void 0).ser(se_TestParsingCommand).de(de_TestParsingCommand).build() {
2573
+ };
2574
+ __name(_TestParsingCommand, "TestParsingCommand");
2575
+ var TestParsingCommand = _TestParsingCommand;
2576
+
2577
+ // src/commands/UntagResourceCommand.ts
2578
+
2579
+
2580
+
2581
+
2582
+ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
2583
+ ...commonParams
2584
+ }).m(function(Command, cs, config, o) {
2585
+ return [
2586
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2587
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2588
+ ];
2589
+ }).s("B2BI", "UntagResource", {}).n("B2biClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
2590
+ };
2591
+ __name(_UntagResourceCommand, "UntagResourceCommand");
2592
+ var UntagResourceCommand = _UntagResourceCommand;
2593
+
2594
+ // src/commands/UpdateCapabilityCommand.ts
2595
+
2596
+
2597
+
2598
+
2599
+ var _UpdateCapabilityCommand = class _UpdateCapabilityCommand extends import_smithy_client.Command.classBuilder().ep({
2600
+ ...commonParams
2601
+ }).m(function(Command, cs, config, o) {
2602
+ return [
2603
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2604
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2605
+ ];
2606
+ }).s("B2BI", "UpdateCapability", {}).n("B2biClient", "UpdateCapabilityCommand").f(void 0, void 0).ser(se_UpdateCapabilityCommand).de(de_UpdateCapabilityCommand).build() {
2607
+ };
2608
+ __name(_UpdateCapabilityCommand, "UpdateCapabilityCommand");
2609
+ var UpdateCapabilityCommand = _UpdateCapabilityCommand;
2610
+
2611
+ // src/commands/UpdatePartnershipCommand.ts
2612
+
2613
+
2614
+
2615
+
2616
+ var _UpdatePartnershipCommand = class _UpdatePartnershipCommand extends import_smithy_client.Command.classBuilder().ep({
2617
+ ...commonParams
2618
+ }).m(function(Command, cs, config, o) {
2619
+ return [
2620
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2621
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2622
+ ];
2623
+ }).s("B2BI", "UpdatePartnership", {}).n("B2biClient", "UpdatePartnershipCommand").f(void 0, UpdatePartnershipResponseFilterSensitiveLog).ser(se_UpdatePartnershipCommand).de(de_UpdatePartnershipCommand).build() {
2624
+ };
2625
+ __name(_UpdatePartnershipCommand, "UpdatePartnershipCommand");
2626
+ var UpdatePartnershipCommand = _UpdatePartnershipCommand;
2627
+
2628
+ // src/commands/UpdateProfileCommand.ts
2629
+
2630
+
2631
+
2632
+
2633
+ var _UpdateProfileCommand = class _UpdateProfileCommand extends import_smithy_client.Command.classBuilder().ep({
2634
+ ...commonParams
2635
+ }).m(function(Command, cs, config, o) {
2636
+ return [
2637
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2638
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2639
+ ];
2640
+ }).s("B2BI", "UpdateProfile", {}).n("B2biClient", "UpdateProfileCommand").f(UpdateProfileRequestFilterSensitiveLog, UpdateProfileResponseFilterSensitiveLog).ser(se_UpdateProfileCommand).de(de_UpdateProfileCommand).build() {
2641
+ };
2642
+ __name(_UpdateProfileCommand, "UpdateProfileCommand");
2643
+ var UpdateProfileCommand = _UpdateProfileCommand;
2644
+
2645
+ // src/commands/UpdateTransformerCommand.ts
2646
+
2647
+
2648
+
2649
+
2650
+ var _UpdateTransformerCommand = class _UpdateTransformerCommand extends import_smithy_client.Command.classBuilder().ep({
2651
+ ...commonParams
2652
+ }).m(function(Command, cs, config, o) {
2653
+ return [
2654
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2655
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2656
+ ];
2657
+ }).s("B2BI", "UpdateTransformer", {}).n("B2biClient", "UpdateTransformerCommand").f(void 0, void 0).ser(se_UpdateTransformerCommand).de(de_UpdateTransformerCommand).build() {
2658
+ };
2659
+ __name(_UpdateTransformerCommand, "UpdateTransformerCommand");
2660
+ var UpdateTransformerCommand = _UpdateTransformerCommand;
2661
+
2662
+ // src/B2bi.ts
2663
+ var commands = {
2664
+ CreateCapabilityCommand,
2665
+ CreatePartnershipCommand,
2666
+ CreateProfileCommand,
2667
+ CreateTransformerCommand,
2668
+ DeleteCapabilityCommand,
2669
+ DeletePartnershipCommand,
2670
+ DeleteProfileCommand,
2671
+ DeleteTransformerCommand,
2672
+ GetCapabilityCommand,
2673
+ GetPartnershipCommand,
2674
+ GetProfileCommand,
2675
+ GetTransformerCommand,
2676
+ GetTransformerJobCommand,
2677
+ ListCapabilitiesCommand,
2678
+ ListPartnershipsCommand,
2679
+ ListProfilesCommand,
2680
+ ListTagsForResourceCommand,
2681
+ ListTransformersCommand,
2682
+ StartTransformerJobCommand,
2683
+ TagResourceCommand,
2684
+ TestMappingCommand,
2685
+ TestParsingCommand,
2686
+ UntagResourceCommand,
2687
+ UpdateCapabilityCommand,
2688
+ UpdatePartnershipCommand,
2689
+ UpdateProfileCommand,
2690
+ UpdateTransformerCommand
2691
+ };
2692
+ var _B2bi = class _B2bi extends B2biClient {
2693
+ };
2694
+ __name(_B2bi, "B2bi");
2695
+ var B2bi = _B2bi;
2696
+ (0, import_smithy_client.createAggregatedClient)(commands, B2bi);
2697
+
2698
+ // src/pagination/ListCapabilitiesPaginator.ts
2699
+ var import_core2 = require("@smithy/core");
2700
+ var paginateListCapabilities = (0, import_core2.createPaginator)(B2biClient, ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
2701
+
2702
+ // src/pagination/ListPartnershipsPaginator.ts
2703
+ var import_core3 = require("@smithy/core");
2704
+ var paginateListPartnerships = (0, import_core3.createPaginator)(B2biClient, ListPartnershipsCommand, "nextToken", "nextToken", "maxResults");
2705
+
2706
+ // src/pagination/ListProfilesPaginator.ts
2707
+ var import_core4 = require("@smithy/core");
2708
+ var paginateListProfiles = (0, import_core4.createPaginator)(B2biClient, ListProfilesCommand, "nextToken", "nextToken", "maxResults");
2709
+
2710
+ // src/pagination/ListTransformersPaginator.ts
2711
+ var import_core5 = require("@smithy/core");
2712
+ var paginateListTransformers = (0, import_core5.createPaginator)(B2biClient, ListTransformersCommand, "nextToken", "nextToken", "maxResults");
2713
+
2714
+ // src/index.ts
2715
+ var import_util_endpoints = require("@aws-sdk/util-endpoints");
2716
+ // Annotate the CommonJS export names for ESM import in node:
2717
+ 0 && (module.exports = {
2718
+ AccessDeniedException,
2719
+ B2bi,
2720
+ B2biClient,
2721
+ B2biServiceException,
2722
+ CapabilityConfiguration,
2723
+ CapabilityType,
2724
+ ConflictException,
2725
+ CreateCapabilityCommand,
2726
+ CreatePartnershipCommand,
2727
+ CreatePartnershipRequestFilterSensitiveLog,
2728
+ CreatePartnershipResponseFilterSensitiveLog,
2729
+ CreateProfileCommand,
2730
+ CreateProfileRequestFilterSensitiveLog,
2731
+ CreateProfileResponseFilterSensitiveLog,
2732
+ CreateTransformerCommand,
2733
+ DeleteCapabilityCommand,
2734
+ DeletePartnershipCommand,
2735
+ DeleteProfileCommand,
2736
+ DeleteTransformerCommand,
2737
+ EdiType,
2738
+ FileFormat,
2739
+ GetCapabilityCommand,
2740
+ GetPartnershipCommand,
2741
+ GetPartnershipResponseFilterSensitiveLog,
2742
+ GetProfileCommand,
2743
+ GetProfileResponseFilterSensitiveLog,
2744
+ GetTransformerCommand,
2745
+ GetTransformerJobCommand,
2746
+ InternalServerException,
2747
+ ListCapabilitiesCommand,
2748
+ ListPartnershipsCommand,
2749
+ ListProfilesCommand,
2750
+ ListTagsForResourceCommand,
2751
+ ListTransformersCommand,
2752
+ Logging,
2753
+ ResourceNotFoundException,
2754
+ ServiceQuotaExceededException,
2755
+ StartTransformerJobCommand,
2756
+ TagResourceCommand,
2757
+ TestMappingCommand,
2758
+ TestParsingCommand,
2759
+ ThrottlingException,
2760
+ TransformerJobStatus,
2761
+ TransformerStatus,
2762
+ UntagResourceCommand,
2763
+ UpdateCapabilityCommand,
2764
+ UpdatePartnershipCommand,
2765
+ UpdatePartnershipResponseFilterSensitiveLog,
2766
+ UpdateProfileCommand,
2767
+ UpdateProfileRequestFilterSensitiveLog,
2768
+ UpdateProfileResponseFilterSensitiveLog,
2769
+ UpdateTransformerCommand,
2770
+ ValidationException,
2771
+ X12TransactionSet,
2772
+ X12Version,
2773
+ __Client,
2774
+ paginateListCapabilities,
2775
+ paginateListPartnerships,
2776
+ paginateListProfiles,
2777
+ paginateListTransformers
2778
+ });