@aws-sdk/client-b2bi 3.1076.0 → 3.1078.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 (110) hide show
  1. package/dist-cjs/index.js +41 -305
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/CreateCapabilityCommand.js +2 -14
  4. package/dist-es/commands/CreatePartnershipCommand.js +2 -14
  5. package/dist-es/commands/CreateProfileCommand.js +2 -14
  6. package/dist-es/commands/CreateStarterMappingTemplateCommand.js +2 -14
  7. package/dist-es/commands/CreateTransformerCommand.js +2 -14
  8. package/dist-es/commands/DeleteCapabilityCommand.js +2 -14
  9. package/dist-es/commands/DeletePartnershipCommand.js +2 -14
  10. package/dist-es/commands/DeleteProfileCommand.js +2 -14
  11. package/dist-es/commands/DeleteTransformerCommand.js +2 -14
  12. package/dist-es/commands/GenerateMappingCommand.js +2 -14
  13. package/dist-es/commands/GetCapabilityCommand.js +2 -14
  14. package/dist-es/commands/GetPartnershipCommand.js +2 -14
  15. package/dist-es/commands/GetProfileCommand.js +2 -14
  16. package/dist-es/commands/GetTransformerCommand.js +2 -14
  17. package/dist-es/commands/GetTransformerJobCommand.js +2 -14
  18. package/dist-es/commands/ListCapabilitiesCommand.js +2 -14
  19. package/dist-es/commands/ListPartnershipsCommand.js +2 -14
  20. package/dist-es/commands/ListProfilesCommand.js +2 -14
  21. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  22. package/dist-es/commands/ListTransformersCommand.js +2 -14
  23. package/dist-es/commands/StartTransformerJobCommand.js +2 -14
  24. package/dist-es/commands/TagResourceCommand.js +2 -14
  25. package/dist-es/commands/TestConversionCommand.js +2 -14
  26. package/dist-es/commands/TestMappingCommand.js +2 -14
  27. package/dist-es/commands/TestParsingCommand.js +2 -14
  28. package/dist-es/commands/UntagResourceCommand.js +2 -14
  29. package/dist-es/commands/UpdateCapabilityCommand.js +2 -14
  30. package/dist-es/commands/UpdatePartnershipCommand.js +2 -14
  31. package/dist-es/commands/UpdateProfileCommand.js +2 -14
  32. package/dist-es/commands/UpdateTransformerCommand.js +2 -14
  33. package/dist-es/index.js +1 -0
  34. package/dist-es/runtimeConfig.browser.js +0 -2
  35. package/dist-es/runtimeConfig.js +1 -2
  36. package/dist-es/runtimeConfig.native.js +0 -2
  37. package/dist-es/runtimeConfig.shared.js +2 -0
  38. package/dist-types/commandBuilder.d.ts +18 -0
  39. package/dist-types/commands/CreateCapabilityCommand.d.ts +3 -8
  40. package/dist-types/commands/CreatePartnershipCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateProfileCommand.d.ts +3 -8
  42. package/dist-types/commands/CreateStarterMappingTemplateCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateTransformerCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteCapabilityCommand.d.ts +3 -8
  45. package/dist-types/commands/DeletePartnershipCommand.d.ts +3 -8
  46. package/dist-types/commands/DeleteProfileCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteTransformerCommand.d.ts +3 -8
  48. package/dist-types/commands/GenerateMappingCommand.d.ts +3 -8
  49. package/dist-types/commands/GetCapabilityCommand.d.ts +3 -8
  50. package/dist-types/commands/GetPartnershipCommand.d.ts +3 -8
  51. package/dist-types/commands/GetProfileCommand.d.ts +3 -8
  52. package/dist-types/commands/GetTransformerCommand.d.ts +3 -8
  53. package/dist-types/commands/GetTransformerJobCommand.d.ts +3 -8
  54. package/dist-types/commands/ListCapabilitiesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListPartnershipsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListProfilesCommand.d.ts +3 -8
  57. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  58. package/dist-types/commands/ListTransformersCommand.d.ts +3 -8
  59. package/dist-types/commands/StartTransformerJobCommand.d.ts +3 -8
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/TestConversionCommand.d.ts +3 -8
  62. package/dist-types/commands/TestMappingCommand.d.ts +3 -8
  63. package/dist-types/commands/TestParsingCommand.d.ts +3 -8
  64. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateCapabilityCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdatePartnershipCommand.d.ts +3 -8
  67. package/dist-types/commands/UpdateProfileCommand.d.ts +3 -8
  68. package/dist-types/commands/UpdateTransformerCommand.d.ts +3 -8
  69. package/dist-types/index.d.ts +1 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  71. package/dist-types/runtimeConfig.d.ts +1 -1
  72. package/dist-types/runtimeConfig.native.d.ts +1 -1
  73. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  74. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  75. package/dist-types/ts3.4/commands/CreateCapabilityCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/CreatePartnershipCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/CreateStarterMappingTemplateCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/CreateTransformerCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/DeleteCapabilityCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/DeletePartnershipCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/DeleteTransformerCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GenerateMappingCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/GetCapabilityCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/GetPartnershipCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetTransformerCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetTransformerJobCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListCapabilitiesCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListPartnershipsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListTransformersCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/StartTransformerJobCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/TestConversionCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/TestMappingCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/TestParsingCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UpdateCapabilityCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdatePartnershipCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/UpdateTransformerCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/index.d.ts +1 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  110. package/package.json +8 -10
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultB2biHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -67,7 +69,7 @@ const commonParams = {
67
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
68
70
  };
69
71
 
70
- var version = "3.1075.0";
72
+ var version = "3.1077.0";
71
73
  var packageInfo = {
72
74
  version: version};
73
75
 
@@ -1202,6 +1204,7 @@ const getRuntimeConfig$1 = (config) => {
1202
1204
  serviceTarget: "B2BI",
1203
1205
  },
1204
1206
  serviceId: config?.serviceId ?? "b2bi",
1207
+ sha256: config?.sha256 ?? Sha256,
1205
1208
  urlParser: config?.urlParser ?? parseUrl,
1206
1209
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1207
1210
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -1235,7 +1238,6 @@ const getRuntimeConfig = (config) => {
1235
1238
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1236
1239
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1237
1240
  }, config),
1238
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1239
1241
  streamCollector: config?.streamCollector ?? streamCollector,
1240
1242
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1241
1243
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1323,364 +1325,98 @@ class B2biClient extends Client {
1323
1325
  }
1324
1326
  }
1325
1327
 
1326
- class CreateCapabilityCommand extends Command
1327
- .classBuilder()
1328
- .ep(commonParams)
1329
- .m(function (Command, cs, config, o) {
1330
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1331
- })
1332
- .s("B2BI", "CreateCapability", {})
1333
- .n("B2biClient", "CreateCapabilityCommand")
1334
- .sc(CreateCapability$)
1335
- .build() {
1328
+ const command = makeBuilder(commonParams, "B2BI", "B2biClient", getEndpointPlugin);
1329
+ const _ep0 = {};
1330
+ const _mw0 = (Command, cs, config, o) => [];
1331
+
1332
+ class CreateCapabilityCommand extends command(_ep0, _mw0, "CreateCapability", CreateCapability$) {
1336
1333
  }
1337
1334
 
1338
- class CreatePartnershipCommand extends Command
1339
- .classBuilder()
1340
- .ep(commonParams)
1341
- .m(function (Command, cs, config, o) {
1342
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1343
- })
1344
- .s("B2BI", "CreatePartnership", {})
1345
- .n("B2biClient", "CreatePartnershipCommand")
1346
- .sc(CreatePartnership$)
1347
- .build() {
1335
+ class CreatePartnershipCommand extends command(_ep0, _mw0, "CreatePartnership", CreatePartnership$) {
1348
1336
  }
1349
1337
 
1350
- class CreateProfileCommand extends Command
1351
- .classBuilder()
1352
- .ep(commonParams)
1353
- .m(function (Command, cs, config, o) {
1354
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1355
- })
1356
- .s("B2BI", "CreateProfile", {})
1357
- .n("B2biClient", "CreateProfileCommand")
1358
- .sc(CreateProfile$)
1359
- .build() {
1338
+ class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {
1360
1339
  }
1361
1340
 
1362
- class CreateStarterMappingTemplateCommand extends Command
1363
- .classBuilder()
1364
- .ep(commonParams)
1365
- .m(function (Command, cs, config, o) {
1366
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1367
- })
1368
- .s("B2BI", "CreateStarterMappingTemplate", {})
1369
- .n("B2biClient", "CreateStarterMappingTemplateCommand")
1370
- .sc(CreateStarterMappingTemplate$)
1371
- .build() {
1341
+ class CreateStarterMappingTemplateCommand extends command(_ep0, _mw0, "CreateStarterMappingTemplate", CreateStarterMappingTemplate$) {
1372
1342
  }
1373
1343
 
1374
- class CreateTransformerCommand extends Command
1375
- .classBuilder()
1376
- .ep(commonParams)
1377
- .m(function (Command, cs, config, o) {
1378
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
- })
1380
- .s("B2BI", "CreateTransformer", {})
1381
- .n("B2biClient", "CreateTransformerCommand")
1382
- .sc(CreateTransformer$)
1383
- .build() {
1344
+ class CreateTransformerCommand extends command(_ep0, _mw0, "CreateTransformer", CreateTransformer$) {
1384
1345
  }
1385
1346
 
1386
- class DeleteCapabilityCommand extends Command
1387
- .classBuilder()
1388
- .ep(commonParams)
1389
- .m(function (Command, cs, config, o) {
1390
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1391
- })
1392
- .s("B2BI", "DeleteCapability", {})
1393
- .n("B2biClient", "DeleteCapabilityCommand")
1394
- .sc(DeleteCapability$)
1395
- .build() {
1347
+ class DeleteCapabilityCommand extends command(_ep0, _mw0, "DeleteCapability", DeleteCapability$) {
1396
1348
  }
1397
1349
 
1398
- class DeletePartnershipCommand extends Command
1399
- .classBuilder()
1400
- .ep(commonParams)
1401
- .m(function (Command, cs, config, o) {
1402
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1403
- })
1404
- .s("B2BI", "DeletePartnership", {})
1405
- .n("B2biClient", "DeletePartnershipCommand")
1406
- .sc(DeletePartnership$)
1407
- .build() {
1350
+ class DeletePartnershipCommand extends command(_ep0, _mw0, "DeletePartnership", DeletePartnership$) {
1408
1351
  }
1409
1352
 
1410
- class DeleteProfileCommand extends Command
1411
- .classBuilder()
1412
- .ep(commonParams)
1413
- .m(function (Command, cs, config, o) {
1414
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1415
- })
1416
- .s("B2BI", "DeleteProfile", {})
1417
- .n("B2biClient", "DeleteProfileCommand")
1418
- .sc(DeleteProfile$)
1419
- .build() {
1353
+ class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {
1420
1354
  }
1421
1355
 
1422
- class DeleteTransformerCommand extends Command
1423
- .classBuilder()
1424
- .ep(commonParams)
1425
- .m(function (Command, cs, config, o) {
1426
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1427
- })
1428
- .s("B2BI", "DeleteTransformer", {})
1429
- .n("B2biClient", "DeleteTransformerCommand")
1430
- .sc(DeleteTransformer$)
1431
- .build() {
1356
+ class DeleteTransformerCommand extends command(_ep0, _mw0, "DeleteTransformer", DeleteTransformer$) {
1432
1357
  }
1433
1358
 
1434
- class GenerateMappingCommand extends Command
1435
- .classBuilder()
1436
- .ep(commonParams)
1437
- .m(function (Command, cs, config, o) {
1438
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1439
- })
1440
- .s("B2BI", "GenerateMapping", {})
1441
- .n("B2biClient", "GenerateMappingCommand")
1442
- .sc(GenerateMapping$)
1443
- .build() {
1359
+ class GenerateMappingCommand extends command(_ep0, _mw0, "GenerateMapping", GenerateMapping$) {
1444
1360
  }
1445
1361
 
1446
- class GetCapabilityCommand extends Command
1447
- .classBuilder()
1448
- .ep(commonParams)
1449
- .m(function (Command, cs, config, o) {
1450
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1451
- })
1452
- .s("B2BI", "GetCapability", {})
1453
- .n("B2biClient", "GetCapabilityCommand")
1454
- .sc(GetCapability$)
1455
- .build() {
1362
+ class GetCapabilityCommand extends command(_ep0, _mw0, "GetCapability", GetCapability$) {
1456
1363
  }
1457
1364
 
1458
- class GetPartnershipCommand extends Command
1459
- .classBuilder()
1460
- .ep(commonParams)
1461
- .m(function (Command, cs, config, o) {
1462
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1463
- })
1464
- .s("B2BI", "GetPartnership", {})
1465
- .n("B2biClient", "GetPartnershipCommand")
1466
- .sc(GetPartnership$)
1467
- .build() {
1365
+ class GetPartnershipCommand extends command(_ep0, _mw0, "GetPartnership", GetPartnership$) {
1468
1366
  }
1469
1367
 
1470
- class GetProfileCommand extends Command
1471
- .classBuilder()
1472
- .ep(commonParams)
1473
- .m(function (Command, cs, config, o) {
1474
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1475
- })
1476
- .s("B2BI", "GetProfile", {})
1477
- .n("B2biClient", "GetProfileCommand")
1478
- .sc(GetProfile$)
1479
- .build() {
1368
+ class GetProfileCommand extends command(_ep0, _mw0, "GetProfile", GetProfile$) {
1480
1369
  }
1481
1370
 
1482
- class GetTransformerCommand extends Command
1483
- .classBuilder()
1484
- .ep(commonParams)
1485
- .m(function (Command, cs, config, o) {
1486
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1487
- })
1488
- .s("B2BI", "GetTransformer", {})
1489
- .n("B2biClient", "GetTransformerCommand")
1490
- .sc(GetTransformer$)
1491
- .build() {
1371
+ class GetTransformerCommand extends command(_ep0, _mw0, "GetTransformer", GetTransformer$) {
1492
1372
  }
1493
1373
 
1494
- class GetTransformerJobCommand extends Command
1495
- .classBuilder()
1496
- .ep(commonParams)
1497
- .m(function (Command, cs, config, o) {
1498
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1499
- })
1500
- .s("B2BI", "GetTransformerJob", {})
1501
- .n("B2biClient", "GetTransformerJobCommand")
1502
- .sc(GetTransformerJob$)
1503
- .build() {
1374
+ class GetTransformerJobCommand extends command(_ep0, _mw0, "GetTransformerJob", GetTransformerJob$) {
1504
1375
  }
1505
1376
 
1506
- class ListCapabilitiesCommand extends Command
1507
- .classBuilder()
1508
- .ep(commonParams)
1509
- .m(function (Command, cs, config, o) {
1510
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1511
- })
1512
- .s("B2BI", "ListCapabilities", {})
1513
- .n("B2biClient", "ListCapabilitiesCommand")
1514
- .sc(ListCapabilities$)
1515
- .build() {
1377
+ class ListCapabilitiesCommand extends command(_ep0, _mw0, "ListCapabilities", ListCapabilities$) {
1516
1378
  }
1517
1379
 
1518
- class ListPartnershipsCommand extends Command
1519
- .classBuilder()
1520
- .ep(commonParams)
1521
- .m(function (Command, cs, config, o) {
1522
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1523
- })
1524
- .s("B2BI", "ListPartnerships", {})
1525
- .n("B2biClient", "ListPartnershipsCommand")
1526
- .sc(ListPartnerships$)
1527
- .build() {
1380
+ class ListPartnershipsCommand extends command(_ep0, _mw0, "ListPartnerships", ListPartnerships$) {
1528
1381
  }
1529
1382
 
1530
- class ListProfilesCommand extends Command
1531
- .classBuilder()
1532
- .ep(commonParams)
1533
- .m(function (Command, cs, config, o) {
1534
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1535
- })
1536
- .s("B2BI", "ListProfiles", {})
1537
- .n("B2biClient", "ListProfilesCommand")
1538
- .sc(ListProfiles$)
1539
- .build() {
1383
+ class ListProfilesCommand extends command(_ep0, _mw0, "ListProfiles", ListProfiles$) {
1540
1384
  }
1541
1385
 
1542
- class ListTagsForResourceCommand extends Command
1543
- .classBuilder()
1544
- .ep(commonParams)
1545
- .m(function (Command, cs, config, o) {
1546
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1547
- })
1548
- .s("B2BI", "ListTagsForResource", {})
1549
- .n("B2biClient", "ListTagsForResourceCommand")
1550
- .sc(ListTagsForResource$)
1551
- .build() {
1386
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1552
1387
  }
1553
1388
 
1554
- class ListTransformersCommand extends Command
1555
- .classBuilder()
1556
- .ep(commonParams)
1557
- .m(function (Command, cs, config, o) {
1558
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1559
- })
1560
- .s("B2BI", "ListTransformers", {})
1561
- .n("B2biClient", "ListTransformersCommand")
1562
- .sc(ListTransformers$)
1563
- .build() {
1389
+ class ListTransformersCommand extends command(_ep0, _mw0, "ListTransformers", ListTransformers$) {
1564
1390
  }
1565
1391
 
1566
- class StartTransformerJobCommand extends Command
1567
- .classBuilder()
1568
- .ep(commonParams)
1569
- .m(function (Command, cs, config, o) {
1570
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1571
- })
1572
- .s("B2BI", "StartTransformerJob", {})
1573
- .n("B2biClient", "StartTransformerJobCommand")
1574
- .sc(StartTransformerJob$)
1575
- .build() {
1392
+ class StartTransformerJobCommand extends command(_ep0, _mw0, "StartTransformerJob", StartTransformerJob$) {
1576
1393
  }
1577
1394
 
1578
- class TagResourceCommand extends Command
1579
- .classBuilder()
1580
- .ep(commonParams)
1581
- .m(function (Command, cs, config, o) {
1582
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1583
- })
1584
- .s("B2BI", "TagResource", {})
1585
- .n("B2biClient", "TagResourceCommand")
1586
- .sc(TagResource$)
1587
- .build() {
1395
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1588
1396
  }
1589
1397
 
1590
- class TestConversionCommand extends Command
1591
- .classBuilder()
1592
- .ep(commonParams)
1593
- .m(function (Command, cs, config, o) {
1594
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1595
- })
1596
- .s("B2BI", "TestConversion", {})
1597
- .n("B2biClient", "TestConversionCommand")
1598
- .sc(TestConversion$)
1599
- .build() {
1398
+ class TestConversionCommand extends command(_ep0, _mw0, "TestConversion", TestConversion$) {
1600
1399
  }
1601
1400
 
1602
- class TestMappingCommand extends Command
1603
- .classBuilder()
1604
- .ep(commonParams)
1605
- .m(function (Command, cs, config, o) {
1606
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1607
- })
1608
- .s("B2BI", "TestMapping", {})
1609
- .n("B2biClient", "TestMappingCommand")
1610
- .sc(TestMapping$)
1611
- .build() {
1401
+ class TestMappingCommand extends command(_ep0, _mw0, "TestMapping", TestMapping$) {
1612
1402
  }
1613
1403
 
1614
- class TestParsingCommand extends Command
1615
- .classBuilder()
1616
- .ep(commonParams)
1617
- .m(function (Command, cs, config, o) {
1618
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1619
- })
1620
- .s("B2BI", "TestParsing", {})
1621
- .n("B2biClient", "TestParsingCommand")
1622
- .sc(TestParsing$)
1623
- .build() {
1404
+ class TestParsingCommand extends command(_ep0, _mw0, "TestParsing", TestParsing$) {
1624
1405
  }
1625
1406
 
1626
- class UntagResourceCommand extends Command
1627
- .classBuilder()
1628
- .ep(commonParams)
1629
- .m(function (Command, cs, config, o) {
1630
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1631
- })
1632
- .s("B2BI", "UntagResource", {})
1633
- .n("B2biClient", "UntagResourceCommand")
1634
- .sc(UntagResource$)
1635
- .build() {
1407
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1636
1408
  }
1637
1409
 
1638
- class UpdateCapabilityCommand extends Command
1639
- .classBuilder()
1640
- .ep(commonParams)
1641
- .m(function (Command, cs, config, o) {
1642
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1643
- })
1644
- .s("B2BI", "UpdateCapability", {})
1645
- .n("B2biClient", "UpdateCapabilityCommand")
1646
- .sc(UpdateCapability$)
1647
- .build() {
1410
+ class UpdateCapabilityCommand extends command(_ep0, _mw0, "UpdateCapability", UpdateCapability$) {
1648
1411
  }
1649
1412
 
1650
- class UpdatePartnershipCommand extends Command
1651
- .classBuilder()
1652
- .ep(commonParams)
1653
- .m(function (Command, cs, config, o) {
1654
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1655
- })
1656
- .s("B2BI", "UpdatePartnership", {})
1657
- .n("B2biClient", "UpdatePartnershipCommand")
1658
- .sc(UpdatePartnership$)
1659
- .build() {
1413
+ class UpdatePartnershipCommand extends command(_ep0, _mw0, "UpdatePartnership", UpdatePartnership$) {
1660
1414
  }
1661
1415
 
1662
- class UpdateProfileCommand extends Command
1663
- .classBuilder()
1664
- .ep(commonParams)
1665
- .m(function (Command, cs, config, o) {
1666
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1667
- })
1668
- .s("B2BI", "UpdateProfile", {})
1669
- .n("B2biClient", "UpdateProfileCommand")
1670
- .sc(UpdateProfile$)
1671
- .build() {
1416
+ class UpdateProfileCommand extends command(_ep0, _mw0, "UpdateProfile", UpdateProfile$) {
1672
1417
  }
1673
1418
 
1674
- class UpdateTransformerCommand extends Command
1675
- .classBuilder()
1676
- .ep(commonParams)
1677
- .m(function (Command, cs, config, o) {
1678
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1679
- })
1680
- .s("B2BI", "UpdateTransformer", {})
1681
- .n("B2biClient", "UpdateTransformerCommand")
1682
- .sc(UpdateTransformer$)
1683
- .build() {
1419
+ class UpdateTransformerCommand extends command(_ep0, _mw0, "UpdateTransformer", UpdateTransformer$) {
1684
1420
  }
1685
1421
 
1686
1422
  const paginateListCapabilities = createPaginator(B2biClient, ListCapabilitiesCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "B2BI", "B2biClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateCapability$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateCapabilityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "CreateCapability", {})
13
- .n("B2biClient", "CreateCapabilityCommand")
14
- .sc(CreateCapability$)
15
- .build() {
3
+ export class CreateCapabilityCommand extends command(_ep0, _mw0, "CreateCapability", CreateCapability$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreatePartnership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreatePartnershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "CreatePartnership", {})
13
- .n("B2biClient", "CreatePartnershipCommand")
14
- .sc(CreatePartnership$)
15
- .build() {
3
+ export class CreatePartnershipCommand extends command(_ep0, _mw0, "CreatePartnership", CreatePartnership$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "CreateProfile", {})
13
- .n("B2biClient", "CreateProfileCommand")
14
- .sc(CreateProfile$)
15
- .build() {
3
+ export class CreateProfileCommand extends command(_ep0, _mw0, "CreateProfile", CreateProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateStarterMappingTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateStarterMappingTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "CreateStarterMappingTemplate", {})
13
- .n("B2biClient", "CreateStarterMappingTemplateCommand")
14
- .sc(CreateStarterMappingTemplate$)
15
- .build() {
3
+ export class CreateStarterMappingTemplateCommand extends command(_ep0, _mw0, "CreateStarterMappingTemplate", CreateStarterMappingTemplate$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateTransformer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateTransformerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "CreateTransformer", {})
13
- .n("B2biClient", "CreateTransformerCommand")
14
- .sc(CreateTransformer$)
15
- .build() {
3
+ export class CreateTransformerCommand extends command(_ep0, _mw0, "CreateTransformer", CreateTransformer$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteCapability$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCapabilityCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "DeleteCapability", {})
13
- .n("B2biClient", "DeleteCapabilityCommand")
14
- .sc(DeleteCapability$)
15
- .build() {
3
+ export class DeleteCapabilityCommand extends command(_ep0, _mw0, "DeleteCapability", DeleteCapability$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeletePartnership$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeletePartnershipCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "DeletePartnership", {})
13
- .n("B2biClient", "DeletePartnershipCommand")
14
- .sc(DeletePartnership$)
15
- .build() {
3
+ export class DeletePartnershipCommand extends command(_ep0, _mw0, "DeletePartnership", DeletePartnership$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteProfile$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteProfileCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "DeleteProfile", {})
13
- .n("B2biClient", "DeleteProfileCommand")
14
- .sc(DeleteProfile$)
15
- .build() {
3
+ export class DeleteProfileCommand extends command(_ep0, _mw0, "DeleteProfile", DeleteProfile$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteTransformer$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteTransformerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "DeleteTransformer", {})
13
- .n("B2biClient", "DeleteTransformerCommand")
14
- .sc(DeleteTransformer$)
15
- .build() {
3
+ export class DeleteTransformerCommand extends command(_ep0, _mw0, "DeleteTransformer", DeleteTransformer$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GenerateMapping$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GenerateMappingCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("B2BI", "GenerateMapping", {})
13
- .n("B2biClient", "GenerateMappingCommand")
14
- .sc(GenerateMapping$)
15
- .build() {
3
+ export class GenerateMappingCommand extends command(_ep0, _mw0, "GenerateMapping", GenerateMapping$) {
16
4
  }