@aws-sdk/client-socialmessaging 3.1077.0 → 3.1079.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 (101) hide show
  1. package/dist-cjs/index.js +39 -313
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateWhatsAppBusinessAccountCommand.js +2 -14
  4. package/dist-es/commands/CreateWhatsAppFlowCommand.js +2 -14
  5. package/dist-es/commands/CreateWhatsAppMessageTemplateCommand.js +2 -14
  6. package/dist-es/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.js +2 -14
  7. package/dist-es/commands/CreateWhatsAppMessageTemplateMediaCommand.js +2 -14
  8. package/dist-es/commands/DeleteWhatsAppFlowCommand.js +2 -14
  9. package/dist-es/commands/DeleteWhatsAppMessageMediaCommand.js +2 -14
  10. package/dist-es/commands/DeleteWhatsAppMessageTemplateCommand.js +2 -14
  11. package/dist-es/commands/DeprecateWhatsAppFlowCommand.js +2 -14
  12. package/dist-es/commands/DisassociateWhatsAppBusinessAccountCommand.js +2 -14
  13. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountCommand.js +2 -14
  14. package/dist-es/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.js +2 -14
  15. package/dist-es/commands/GetWhatsAppFlowCommand.js +2 -14
  16. package/dist-es/commands/GetWhatsAppFlowPreviewCommand.js +2 -14
  17. package/dist-es/commands/GetWhatsAppMessageMediaCommand.js +2 -14
  18. package/dist-es/commands/GetWhatsAppMessageTemplateCommand.js +2 -14
  19. package/dist-es/commands/ListLinkedWhatsAppBusinessAccountsCommand.js +2 -14
  20. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  21. package/dist-es/commands/ListWhatsAppFlowAssetsCommand.js +2 -14
  22. package/dist-es/commands/ListWhatsAppFlowsCommand.js +2 -14
  23. package/dist-es/commands/ListWhatsAppMessageTemplatesCommand.js +2 -14
  24. package/dist-es/commands/ListWhatsAppTemplateLibraryCommand.js +2 -14
  25. package/dist-es/commands/PostWhatsAppMessageMediaCommand.js +2 -14
  26. package/dist-es/commands/PublishWhatsAppFlowCommand.js +2 -14
  27. package/dist-es/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.js +2 -14
  28. package/dist-es/commands/SendWhatsAppMessageCommand.js +2 -14
  29. package/dist-es/commands/TagResourceCommand.js +2 -14
  30. package/dist-es/commands/UntagResourceCommand.js +2 -14
  31. package/dist-es/commands/UpdateWhatsAppFlowAssetsCommand.js +2 -14
  32. package/dist-es/commands/UpdateWhatsAppFlowCommand.js +2 -14
  33. package/dist-es/commands/UpdateWhatsAppMessageTemplateCommand.js +2 -14
  34. package/dist-es/index.js +1 -0
  35. package/dist-types/commandBuilder.d.ts +18 -0
  36. package/dist-types/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +3 -8
  37. package/dist-types/commands/CreateWhatsAppFlowCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateWhatsAppMessageTemplateCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +3 -8
  40. package/dist-types/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteWhatsAppFlowCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteWhatsAppMessageMediaCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +3 -8
  44. package/dist-types/commands/DeprecateWhatsAppFlowCommand.d.ts +3 -8
  45. package/dist-types/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +3 -8
  46. package/dist-types/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +3 -8
  47. package/dist-types/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +3 -8
  48. package/dist-types/commands/GetWhatsAppFlowCommand.d.ts +3 -8
  49. package/dist-types/commands/GetWhatsAppFlowPreviewCommand.d.ts +3 -8
  50. package/dist-types/commands/GetWhatsAppMessageMediaCommand.d.ts +3 -8
  51. package/dist-types/commands/GetWhatsAppMessageTemplateCommand.d.ts +3 -8
  52. package/dist-types/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  54. package/dist-types/commands/ListWhatsAppFlowAssetsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListWhatsAppFlowsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListWhatsAppMessageTemplatesCommand.d.ts +3 -8
  57. package/dist-types/commands/ListWhatsAppTemplateLibraryCommand.d.ts +3 -8
  58. package/dist-types/commands/PostWhatsAppMessageMediaCommand.d.ts +3 -8
  59. package/dist-types/commands/PublishWhatsAppFlowCommand.d.ts +3 -8
  60. package/dist-types/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +3 -8
  61. package/dist-types/commands/SendWhatsAppMessageCommand.d.ts +3 -8
  62. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  63. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateWhatsAppFlowCommand.d.ts +3 -8
  66. package/dist-types/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +3 -8
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  69. package/dist-types/ts3.4/commands/AssociateWhatsAppBusinessAccountCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateWhatsAppFlowCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateFromLibraryCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateWhatsAppMessageTemplateMediaCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DeleteWhatsAppFlowCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DeleteWhatsAppMessageMediaCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteWhatsAppMessageTemplateCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeprecateWhatsAppFlowCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DisassociateWhatsAppBusinessAccountCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetLinkedWhatsAppBusinessAccountPhoneNumberCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetWhatsAppFlowCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetWhatsAppFlowPreviewCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/GetWhatsAppMessageMediaCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/GetWhatsAppMessageTemplateCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListLinkedWhatsAppBusinessAccountsCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListWhatsAppFlowAssetsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListWhatsAppFlowsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListWhatsAppMessageTemplatesCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ListWhatsAppTemplateLibraryCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/PostWhatsAppMessageMediaCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/PublishWhatsAppFlowCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/PutWhatsAppBusinessAccountEventDestinationsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/SendWhatsAppMessageCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/UpdateWhatsAppFlowAssetsCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/UpdateWhatsAppFlowCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/UpdateWhatsAppMessageTemplateCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/index.d.ts +1 -0
  101. package/package.json +8 -8
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, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, 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");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1078.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1326,376 +1327,101 @@ class SocialMessagingClient extends Client {
1326
1327
  }
1327
1328
  }
1328
1329
 
1329
- class AssociateWhatsAppBusinessAccountCommand extends Command
1330
- .classBuilder()
1331
- .ep(commonParams)
1332
- .m(function (Command, cs, config, o) {
1333
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1334
- })
1335
- .s("SocialMessaging", "AssociateWhatsAppBusinessAccount", {})
1336
- .n("SocialMessagingClient", "AssociateWhatsAppBusinessAccountCommand")
1337
- .sc(AssociateWhatsAppBusinessAccount$)
1338
- .build() {
1330
+ const command = makeBuilder(commonParams, "SocialMessaging", "SocialMessagingClient", getEndpointPlugin);
1331
+ const _ep0 = {};
1332
+ const _mw0 = (Command, cs, config, o) => [];
1333
+
1334
+ class AssociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "AssociateWhatsAppBusinessAccount", AssociateWhatsAppBusinessAccount$) {
1339
1335
  }
1340
1336
 
1341
- class CreateWhatsAppFlowCommand extends Command
1342
- .classBuilder()
1343
- .ep(commonParams)
1344
- .m(function (Command, cs, config, o) {
1345
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1346
- })
1347
- .s("SocialMessaging", "CreateWhatsAppFlow", {})
1348
- .n("SocialMessagingClient", "CreateWhatsAppFlowCommand")
1349
- .sc(CreateWhatsAppFlow$)
1350
- .build() {
1337
+ class CreateWhatsAppFlowCommand extends command(_ep0, _mw0, "CreateWhatsAppFlow", CreateWhatsAppFlow$) {
1351
1338
  }
1352
1339
 
1353
- class CreateWhatsAppMessageTemplateCommand extends Command
1354
- .classBuilder()
1355
- .ep(commonParams)
1356
- .m(function (Command, cs, config, o) {
1357
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1358
- })
1359
- .s("SocialMessaging", "CreateWhatsAppMessageTemplate", {})
1360
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateCommand")
1361
- .sc(CreateWhatsAppMessageTemplate$)
1362
- .build() {
1340
+ class CreateWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplate", CreateWhatsAppMessageTemplate$) {
1363
1341
  }
1364
1342
 
1365
- class CreateWhatsAppMessageTemplateFromLibraryCommand extends Command
1366
- .classBuilder()
1367
- .ep(commonParams)
1368
- .m(function (Command, cs, config, o) {
1369
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1370
- })
1371
- .s("SocialMessaging", "CreateWhatsAppMessageTemplateFromLibrary", {})
1372
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateFromLibraryCommand")
1373
- .sc(CreateWhatsAppMessageTemplateFromLibrary$)
1374
- .build() {
1343
+ class CreateWhatsAppMessageTemplateFromLibraryCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateFromLibrary", CreateWhatsAppMessageTemplateFromLibrary$) {
1375
1344
  }
1376
1345
 
1377
- class CreateWhatsAppMessageTemplateMediaCommand extends Command
1378
- .classBuilder()
1379
- .ep(commonParams)
1380
- .m(function (Command, cs, config, o) {
1381
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1382
- })
1383
- .s("SocialMessaging", "CreateWhatsAppMessageTemplateMedia", {})
1384
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateMediaCommand")
1385
- .sc(CreateWhatsAppMessageTemplateMedia$)
1386
- .build() {
1346
+ class CreateWhatsAppMessageTemplateMediaCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateMedia", CreateWhatsAppMessageTemplateMedia$) {
1387
1347
  }
1388
1348
 
1389
- class DeleteWhatsAppFlowCommand extends Command
1390
- .classBuilder()
1391
- .ep(commonParams)
1392
- .m(function (Command, cs, config, o) {
1393
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1394
- })
1395
- .s("SocialMessaging", "DeleteWhatsAppFlow", {})
1396
- .n("SocialMessagingClient", "DeleteWhatsAppFlowCommand")
1397
- .sc(DeleteWhatsAppFlow$)
1398
- .build() {
1349
+ class DeleteWhatsAppFlowCommand extends command(_ep0, _mw0, "DeleteWhatsAppFlow", DeleteWhatsAppFlow$) {
1399
1350
  }
1400
1351
 
1401
- class DeleteWhatsAppMessageMediaCommand extends Command
1402
- .classBuilder()
1403
- .ep(commonParams)
1404
- .m(function (Command, cs, config, o) {
1405
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1406
- })
1407
- .s("SocialMessaging", "DeleteWhatsAppMessageMedia", {})
1408
- .n("SocialMessagingClient", "DeleteWhatsAppMessageMediaCommand")
1409
- .sc(DeleteWhatsAppMessageMedia$)
1410
- .build() {
1352
+ class DeleteWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageMedia", DeleteWhatsAppMessageMedia$) {
1411
1353
  }
1412
1354
 
1413
- class DeleteWhatsAppMessageTemplateCommand extends Command
1414
- .classBuilder()
1415
- .ep(commonParams)
1416
- .m(function (Command, cs, config, o) {
1417
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1418
- })
1419
- .s("SocialMessaging", "DeleteWhatsAppMessageTemplate", {})
1420
- .n("SocialMessagingClient", "DeleteWhatsAppMessageTemplateCommand")
1421
- .sc(DeleteWhatsAppMessageTemplate$)
1422
- .build() {
1355
+ class DeleteWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageTemplate", DeleteWhatsAppMessageTemplate$) {
1423
1356
  }
1424
1357
 
1425
- class DeprecateWhatsAppFlowCommand extends Command
1426
- .classBuilder()
1427
- .ep(commonParams)
1428
- .m(function (Command, cs, config, o) {
1429
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
- })
1431
- .s("SocialMessaging", "DeprecateWhatsAppFlow", {})
1432
- .n("SocialMessagingClient", "DeprecateWhatsAppFlowCommand")
1433
- .sc(DeprecateWhatsAppFlow$)
1434
- .build() {
1358
+ class DeprecateWhatsAppFlowCommand extends command(_ep0, _mw0, "DeprecateWhatsAppFlow", DeprecateWhatsAppFlow$) {
1435
1359
  }
1436
1360
 
1437
- class DisassociateWhatsAppBusinessAccountCommand extends Command
1438
- .classBuilder()
1439
- .ep(commonParams)
1440
- .m(function (Command, cs, config, o) {
1441
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1442
- })
1443
- .s("SocialMessaging", "DisassociateWhatsAppBusinessAccount", {})
1444
- .n("SocialMessagingClient", "DisassociateWhatsAppBusinessAccountCommand")
1445
- .sc(DisassociateWhatsAppBusinessAccount$)
1446
- .build() {
1361
+ class DisassociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "DisassociateWhatsAppBusinessAccount", DisassociateWhatsAppBusinessAccount$) {
1447
1362
  }
1448
1363
 
1449
- class GetLinkedWhatsAppBusinessAccountCommand extends Command
1450
- .classBuilder()
1451
- .ep(commonParams)
1452
- .m(function (Command, cs, config, o) {
1453
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1454
- })
1455
- .s("SocialMessaging", "GetLinkedWhatsAppBusinessAccount", {})
1456
- .n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountCommand")
1457
- .sc(GetLinkedWhatsAppBusinessAccount$)
1458
- .build() {
1364
+ class GetLinkedWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccount", GetLinkedWhatsAppBusinessAccount$) {
1459
1365
  }
1460
1366
 
1461
- class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends Command
1462
- .classBuilder()
1463
- .ep(commonParams)
1464
- .m(function (Command, cs, config, o) {
1465
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1466
- })
1467
- .s("SocialMessaging", "GetLinkedWhatsAppBusinessAccountPhoneNumber", {})
1468
- .n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountPhoneNumberCommand")
1469
- .sc(GetLinkedWhatsAppBusinessAccountPhoneNumber$)
1470
- .build() {
1367
+ class GetLinkedWhatsAppBusinessAccountPhoneNumberCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccountPhoneNumber", GetLinkedWhatsAppBusinessAccountPhoneNumber$) {
1471
1368
  }
1472
1369
 
1473
- class GetWhatsAppFlowCommand extends Command
1474
- .classBuilder()
1475
- .ep(commonParams)
1476
- .m(function (Command, cs, config, o) {
1477
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1478
- })
1479
- .s("SocialMessaging", "GetWhatsAppFlow", {})
1480
- .n("SocialMessagingClient", "GetWhatsAppFlowCommand")
1481
- .sc(GetWhatsAppFlow$)
1482
- .build() {
1370
+ class GetWhatsAppFlowCommand extends command(_ep0, _mw0, "GetWhatsAppFlow", GetWhatsAppFlow$) {
1483
1371
  }
1484
1372
 
1485
- class GetWhatsAppFlowPreviewCommand extends Command
1486
- .classBuilder()
1487
- .ep(commonParams)
1488
- .m(function (Command, cs, config, o) {
1489
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1490
- })
1491
- .s("SocialMessaging", "GetWhatsAppFlowPreview", {})
1492
- .n("SocialMessagingClient", "GetWhatsAppFlowPreviewCommand")
1493
- .sc(GetWhatsAppFlowPreview$)
1494
- .build() {
1373
+ class GetWhatsAppFlowPreviewCommand extends command(_ep0, _mw0, "GetWhatsAppFlowPreview", GetWhatsAppFlowPreview$) {
1495
1374
  }
1496
1375
 
1497
- class GetWhatsAppMessageMediaCommand extends Command
1498
- .classBuilder()
1499
- .ep(commonParams)
1500
- .m(function (Command, cs, config, o) {
1501
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1502
- })
1503
- .s("SocialMessaging", "GetWhatsAppMessageMedia", {})
1504
- .n("SocialMessagingClient", "GetWhatsAppMessageMediaCommand")
1505
- .sc(GetWhatsAppMessageMedia$)
1506
- .build() {
1376
+ class GetWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "GetWhatsAppMessageMedia", GetWhatsAppMessageMedia$) {
1507
1377
  }
1508
1378
 
1509
- class GetWhatsAppMessageTemplateCommand extends Command
1510
- .classBuilder()
1511
- .ep(commonParams)
1512
- .m(function (Command, cs, config, o) {
1513
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1514
- })
1515
- .s("SocialMessaging", "GetWhatsAppMessageTemplate", {})
1516
- .n("SocialMessagingClient", "GetWhatsAppMessageTemplateCommand")
1517
- .sc(GetWhatsAppMessageTemplate$)
1518
- .build() {
1379
+ class GetWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "GetWhatsAppMessageTemplate", GetWhatsAppMessageTemplate$) {
1519
1380
  }
1520
1381
 
1521
- class ListLinkedWhatsAppBusinessAccountsCommand extends Command
1522
- .classBuilder()
1523
- .ep(commonParams)
1524
- .m(function (Command, cs, config, o) {
1525
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1526
- })
1527
- .s("SocialMessaging", "ListLinkedWhatsAppBusinessAccounts", {})
1528
- .n("SocialMessagingClient", "ListLinkedWhatsAppBusinessAccountsCommand")
1529
- .sc(ListLinkedWhatsAppBusinessAccounts$)
1530
- .build() {
1382
+ class ListLinkedWhatsAppBusinessAccountsCommand extends command(_ep0, _mw0, "ListLinkedWhatsAppBusinessAccounts", ListLinkedWhatsAppBusinessAccounts$) {
1531
1383
  }
1532
1384
 
1533
- class ListTagsForResourceCommand extends Command
1534
- .classBuilder()
1535
- .ep(commonParams)
1536
- .m(function (Command, cs, config, o) {
1537
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1538
- })
1539
- .s("SocialMessaging", "ListTagsForResource", {})
1540
- .n("SocialMessagingClient", "ListTagsForResourceCommand")
1541
- .sc(ListTagsForResource$)
1542
- .build() {
1385
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1543
1386
  }
1544
1387
 
1545
- class ListWhatsAppFlowAssetsCommand extends Command
1546
- .classBuilder()
1547
- .ep(commonParams)
1548
- .m(function (Command, cs, config, o) {
1549
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1550
- })
1551
- .s("SocialMessaging", "ListWhatsAppFlowAssets", {})
1552
- .n("SocialMessagingClient", "ListWhatsAppFlowAssetsCommand")
1553
- .sc(ListWhatsAppFlowAssets$)
1554
- .build() {
1388
+ class ListWhatsAppFlowAssetsCommand extends command(_ep0, _mw0, "ListWhatsAppFlowAssets", ListWhatsAppFlowAssets$) {
1555
1389
  }
1556
1390
 
1557
- class ListWhatsAppFlowsCommand extends Command
1558
- .classBuilder()
1559
- .ep(commonParams)
1560
- .m(function (Command, cs, config, o) {
1561
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1562
- })
1563
- .s("SocialMessaging", "ListWhatsAppFlows", {})
1564
- .n("SocialMessagingClient", "ListWhatsAppFlowsCommand")
1565
- .sc(ListWhatsAppFlows$)
1566
- .build() {
1391
+ class ListWhatsAppFlowsCommand extends command(_ep0, _mw0, "ListWhatsAppFlows", ListWhatsAppFlows$) {
1567
1392
  }
1568
1393
 
1569
- class ListWhatsAppMessageTemplatesCommand extends Command
1570
- .classBuilder()
1571
- .ep(commonParams)
1572
- .m(function (Command, cs, config, o) {
1573
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1574
- })
1575
- .s("SocialMessaging", "ListWhatsAppMessageTemplates", {})
1576
- .n("SocialMessagingClient", "ListWhatsAppMessageTemplatesCommand")
1577
- .sc(ListWhatsAppMessageTemplates$)
1578
- .build() {
1394
+ class ListWhatsAppMessageTemplatesCommand extends command(_ep0, _mw0, "ListWhatsAppMessageTemplates", ListWhatsAppMessageTemplates$) {
1579
1395
  }
1580
1396
 
1581
- class ListWhatsAppTemplateLibraryCommand extends Command
1582
- .classBuilder()
1583
- .ep(commonParams)
1584
- .m(function (Command, cs, config, o) {
1585
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1586
- })
1587
- .s("SocialMessaging", "ListWhatsAppTemplateLibrary", {})
1588
- .n("SocialMessagingClient", "ListWhatsAppTemplateLibraryCommand")
1589
- .sc(ListWhatsAppTemplateLibrary$)
1590
- .build() {
1397
+ class ListWhatsAppTemplateLibraryCommand extends command(_ep0, _mw0, "ListWhatsAppTemplateLibrary", ListWhatsAppTemplateLibrary$) {
1591
1398
  }
1592
1399
 
1593
- class PostWhatsAppMessageMediaCommand extends Command
1594
- .classBuilder()
1595
- .ep(commonParams)
1596
- .m(function (Command, cs, config, o) {
1597
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1598
- })
1599
- .s("SocialMessaging", "PostWhatsAppMessageMedia", {})
1600
- .n("SocialMessagingClient", "PostWhatsAppMessageMediaCommand")
1601
- .sc(PostWhatsAppMessageMedia$)
1602
- .build() {
1400
+ class PostWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "PostWhatsAppMessageMedia", PostWhatsAppMessageMedia$) {
1603
1401
  }
1604
1402
 
1605
- class PublishWhatsAppFlowCommand extends Command
1606
- .classBuilder()
1607
- .ep(commonParams)
1608
- .m(function (Command, cs, config, o) {
1609
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1610
- })
1611
- .s("SocialMessaging", "PublishWhatsAppFlow", {})
1612
- .n("SocialMessagingClient", "PublishWhatsAppFlowCommand")
1613
- .sc(PublishWhatsAppFlow$)
1614
- .build() {
1403
+ class PublishWhatsAppFlowCommand extends command(_ep0, _mw0, "PublishWhatsAppFlow", PublishWhatsAppFlow$) {
1615
1404
  }
1616
1405
 
1617
- class PutWhatsAppBusinessAccountEventDestinationsCommand extends Command
1618
- .classBuilder()
1619
- .ep(commonParams)
1620
- .m(function (Command, cs, config, o) {
1621
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1622
- })
1623
- .s("SocialMessaging", "PutWhatsAppBusinessAccountEventDestinations", {})
1624
- .n("SocialMessagingClient", "PutWhatsAppBusinessAccountEventDestinationsCommand")
1625
- .sc(PutWhatsAppBusinessAccountEventDestinations$)
1626
- .build() {
1406
+ class PutWhatsAppBusinessAccountEventDestinationsCommand extends command(_ep0, _mw0, "PutWhatsAppBusinessAccountEventDestinations", PutWhatsAppBusinessAccountEventDestinations$) {
1627
1407
  }
1628
1408
 
1629
- class SendWhatsAppMessageCommand extends Command
1630
- .classBuilder()
1631
- .ep(commonParams)
1632
- .m(function (Command, cs, config, o) {
1633
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1634
- })
1635
- .s("SocialMessaging", "SendWhatsAppMessage", {})
1636
- .n("SocialMessagingClient", "SendWhatsAppMessageCommand")
1637
- .sc(SendWhatsAppMessage$)
1638
- .build() {
1409
+ class SendWhatsAppMessageCommand extends command(_ep0, _mw0, "SendWhatsAppMessage", SendWhatsAppMessage$) {
1639
1410
  }
1640
1411
 
1641
- class TagResourceCommand extends Command
1642
- .classBuilder()
1643
- .ep(commonParams)
1644
- .m(function (Command, cs, config, o) {
1645
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1646
- })
1647
- .s("SocialMessaging", "TagResource", {})
1648
- .n("SocialMessagingClient", "TagResourceCommand")
1649
- .sc(TagResource$)
1650
- .build() {
1412
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1651
1413
  }
1652
1414
 
1653
- class UntagResourceCommand extends Command
1654
- .classBuilder()
1655
- .ep(commonParams)
1656
- .m(function (Command, cs, config, o) {
1657
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1658
- })
1659
- .s("SocialMessaging", "UntagResource", {})
1660
- .n("SocialMessagingClient", "UntagResourceCommand")
1661
- .sc(UntagResource$)
1662
- .build() {
1415
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1663
1416
  }
1664
1417
 
1665
- class UpdateWhatsAppFlowAssetsCommand extends Command
1666
- .classBuilder()
1667
- .ep(commonParams)
1668
- .m(function (Command, cs, config, o) {
1669
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1670
- })
1671
- .s("SocialMessaging", "UpdateWhatsAppFlowAssets", {})
1672
- .n("SocialMessagingClient", "UpdateWhatsAppFlowAssetsCommand")
1673
- .sc(UpdateWhatsAppFlowAssets$)
1674
- .build() {
1418
+ class UpdateWhatsAppFlowAssetsCommand extends command(_ep0, _mw0, "UpdateWhatsAppFlowAssets", UpdateWhatsAppFlowAssets$) {
1675
1419
  }
1676
1420
 
1677
- class UpdateWhatsAppFlowCommand extends Command
1678
- .classBuilder()
1679
- .ep(commonParams)
1680
- .m(function (Command, cs, config, o) {
1681
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1682
- })
1683
- .s("SocialMessaging", "UpdateWhatsAppFlow", {})
1684
- .n("SocialMessagingClient", "UpdateWhatsAppFlowCommand")
1685
- .sc(UpdateWhatsAppFlow$)
1686
- .build() {
1421
+ class UpdateWhatsAppFlowCommand extends command(_ep0, _mw0, "UpdateWhatsAppFlow", UpdateWhatsAppFlow$) {
1687
1422
  }
1688
1423
 
1689
- class UpdateWhatsAppMessageTemplateCommand extends Command
1690
- .classBuilder()
1691
- .ep(commonParams)
1692
- .m(function (Command, cs, config, o) {
1693
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1694
- })
1695
- .s("SocialMessaging", "UpdateWhatsAppMessageTemplate", {})
1696
- .n("SocialMessagingClient", "UpdateWhatsAppMessageTemplateCommand")
1697
- .sc(UpdateWhatsAppMessageTemplate$)
1698
- .build() {
1424
+ class UpdateWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "UpdateWhatsAppMessageTemplate", UpdateWhatsAppMessageTemplate$) {
1699
1425
  }
1700
1426
 
1701
1427
  const paginateListLinkedWhatsAppBusinessAccounts = createPaginator(SocialMessagingClient, ListLinkedWhatsAppBusinessAccountsCommand, "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, "SocialMessaging", "SocialMessagingClient", 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 { AssociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateWhatsAppBusinessAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "AssociateWhatsAppBusinessAccount", {})
13
- .n("SocialMessagingClient", "AssociateWhatsAppBusinessAccountCommand")
14
- .sc(AssociateWhatsAppBusinessAccount$)
15
- .build() {
3
+ export class AssociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "AssociateWhatsAppBusinessAccount", AssociateWhatsAppBusinessAccount$) {
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 { CreateWhatsAppFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWhatsAppFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "CreateWhatsAppFlow", {})
13
- .n("SocialMessagingClient", "CreateWhatsAppFlowCommand")
14
- .sc(CreateWhatsAppFlow$)
15
- .build() {
3
+ export class CreateWhatsAppFlowCommand extends command(_ep0, _mw0, "CreateWhatsAppFlow", CreateWhatsAppFlow$) {
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 { CreateWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWhatsAppMessageTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "CreateWhatsAppMessageTemplate", {})
13
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateCommand")
14
- .sc(CreateWhatsAppMessageTemplate$)
15
- .build() {
3
+ export class CreateWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplate", CreateWhatsAppMessageTemplate$) {
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 { CreateWhatsAppMessageTemplateFromLibrary$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWhatsAppMessageTemplateFromLibraryCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "CreateWhatsAppMessageTemplateFromLibrary", {})
13
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateFromLibraryCommand")
14
- .sc(CreateWhatsAppMessageTemplateFromLibrary$)
15
- .build() {
3
+ export class CreateWhatsAppMessageTemplateFromLibraryCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateFromLibrary", CreateWhatsAppMessageTemplateFromLibrary$) {
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 { CreateWhatsAppMessageTemplateMedia$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateWhatsAppMessageTemplateMediaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "CreateWhatsAppMessageTemplateMedia", {})
13
- .n("SocialMessagingClient", "CreateWhatsAppMessageTemplateMediaCommand")
14
- .sc(CreateWhatsAppMessageTemplateMedia$)
15
- .build() {
3
+ export class CreateWhatsAppMessageTemplateMediaCommand extends command(_ep0, _mw0, "CreateWhatsAppMessageTemplateMedia", CreateWhatsAppMessageTemplateMedia$) {
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 { DeleteWhatsAppFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWhatsAppFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "DeleteWhatsAppFlow", {})
13
- .n("SocialMessagingClient", "DeleteWhatsAppFlowCommand")
14
- .sc(DeleteWhatsAppFlow$)
15
- .build() {
3
+ export class DeleteWhatsAppFlowCommand extends command(_ep0, _mw0, "DeleteWhatsAppFlow", DeleteWhatsAppFlow$) {
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 { DeleteWhatsAppMessageMedia$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWhatsAppMessageMediaCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "DeleteWhatsAppMessageMedia", {})
13
- .n("SocialMessagingClient", "DeleteWhatsAppMessageMediaCommand")
14
- .sc(DeleteWhatsAppMessageMedia$)
15
- .build() {
3
+ export class DeleteWhatsAppMessageMediaCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageMedia", DeleteWhatsAppMessageMedia$) {
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 { DeleteWhatsAppMessageTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteWhatsAppMessageTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "DeleteWhatsAppMessageTemplate", {})
13
- .n("SocialMessagingClient", "DeleteWhatsAppMessageTemplateCommand")
14
- .sc(DeleteWhatsAppMessageTemplate$)
15
- .build() {
3
+ export class DeleteWhatsAppMessageTemplateCommand extends command(_ep0, _mw0, "DeleteWhatsAppMessageTemplate", DeleteWhatsAppMessageTemplate$) {
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 { DeprecateWhatsAppFlow$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeprecateWhatsAppFlowCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "DeprecateWhatsAppFlow", {})
13
- .n("SocialMessagingClient", "DeprecateWhatsAppFlowCommand")
14
- .sc(DeprecateWhatsAppFlow$)
15
- .build() {
3
+ export class DeprecateWhatsAppFlowCommand extends command(_ep0, _mw0, "DeprecateWhatsAppFlow", DeprecateWhatsAppFlow$) {
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 { DisassociateWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateWhatsAppBusinessAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "DisassociateWhatsAppBusinessAccount", {})
13
- .n("SocialMessagingClient", "DisassociateWhatsAppBusinessAccountCommand")
14
- .sc(DisassociateWhatsAppBusinessAccount$)
15
- .build() {
3
+ export class DisassociateWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "DisassociateWhatsAppBusinessAccount", DisassociateWhatsAppBusinessAccount$) {
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 { GetLinkedWhatsAppBusinessAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetLinkedWhatsAppBusinessAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SocialMessaging", "GetLinkedWhatsAppBusinessAccount", {})
13
- .n("SocialMessagingClient", "GetLinkedWhatsAppBusinessAccountCommand")
14
- .sc(GetLinkedWhatsAppBusinessAccount$)
15
- .build() {
3
+ export class GetLinkedWhatsAppBusinessAccountCommand extends command(_ep0, _mw0, "GetLinkedWhatsAppBusinessAccount", GetLinkedWhatsAppBusinessAccount$) {
16
4
  }