@aws-sdk/client-greengrassv2 3.1077.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 (95) hide show
  1. package/dist-cjs/index.js +37 -293
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateServiceRoleToAccountCommand.js +2 -14
  4. package/dist-es/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.js +2 -14
  5. package/dist-es/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.js +2 -14
  6. package/dist-es/commands/CancelDeploymentCommand.js +2 -14
  7. package/dist-es/commands/CreateComponentVersionCommand.js +2 -14
  8. package/dist-es/commands/CreateDeploymentCommand.js +2 -14
  9. package/dist-es/commands/DeleteComponentCommand.js +2 -14
  10. package/dist-es/commands/DeleteCoreDeviceCommand.js +2 -14
  11. package/dist-es/commands/DeleteDeploymentCommand.js +2 -14
  12. package/dist-es/commands/DescribeComponentCommand.js +2 -14
  13. package/dist-es/commands/DisassociateServiceRoleFromAccountCommand.js +2 -14
  14. package/dist-es/commands/GetComponentCommand.js +2 -14
  15. package/dist-es/commands/GetComponentVersionArtifactCommand.js +2 -14
  16. package/dist-es/commands/GetConnectivityInfoCommand.js +2 -14
  17. package/dist-es/commands/GetCoreDeviceCommand.js +2 -14
  18. package/dist-es/commands/GetDeploymentCommand.js +2 -14
  19. package/dist-es/commands/GetServiceRoleForAccountCommand.js +2 -14
  20. package/dist-es/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.js +2 -14
  21. package/dist-es/commands/ListComponentVersionsCommand.js +2 -14
  22. package/dist-es/commands/ListComponentsCommand.js +2 -14
  23. package/dist-es/commands/ListCoreDevicesCommand.js +2 -14
  24. package/dist-es/commands/ListDeploymentsCommand.js +2 -14
  25. package/dist-es/commands/ListEffectiveDeploymentsCommand.js +2 -14
  26. package/dist-es/commands/ListInstalledComponentsCommand.js +2 -14
  27. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  28. package/dist-es/commands/ResolveComponentCandidatesCommand.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/UpdateConnectivityInfoCommand.js +2 -14
  32. package/dist-es/index.js +1 -0
  33. package/dist-types/commandBuilder.d.ts +18 -0
  34. package/dist-types/commands/AssociateServiceRoleToAccountCommand.d.ts +3 -8
  35. package/dist-types/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +3 -8
  36. package/dist-types/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +3 -8
  37. package/dist-types/commands/CancelDeploymentCommand.d.ts +3 -8
  38. package/dist-types/commands/CreateComponentVersionCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateDeploymentCommand.d.ts +3 -8
  40. package/dist-types/commands/DeleteComponentCommand.d.ts +3 -8
  41. package/dist-types/commands/DeleteCoreDeviceCommand.d.ts +3 -8
  42. package/dist-types/commands/DeleteDeploymentCommand.d.ts +3 -8
  43. package/dist-types/commands/DescribeComponentCommand.d.ts +3 -8
  44. package/dist-types/commands/DisassociateServiceRoleFromAccountCommand.d.ts +3 -8
  45. package/dist-types/commands/GetComponentCommand.d.ts +3 -8
  46. package/dist-types/commands/GetComponentVersionArtifactCommand.d.ts +3 -8
  47. package/dist-types/commands/GetConnectivityInfoCommand.d.ts +3 -8
  48. package/dist-types/commands/GetCoreDeviceCommand.d.ts +3 -8
  49. package/dist-types/commands/GetDeploymentCommand.d.ts +3 -8
  50. package/dist-types/commands/GetServiceRoleForAccountCommand.d.ts +3 -8
  51. package/dist-types/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +3 -8
  52. package/dist-types/commands/ListComponentVersionsCommand.d.ts +3 -8
  53. package/dist-types/commands/ListComponentsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListCoreDevicesCommand.d.ts +3 -8
  55. package/dist-types/commands/ListDeploymentsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListEffectiveDeploymentsCommand.d.ts +3 -8
  57. package/dist-types/commands/ListInstalledComponentsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/ResolveComponentCandidatesCommand.d.ts +3 -8
  60. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  61. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/UpdateConnectivityInfoCommand.d.ts +3 -8
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  65. package/dist-types/ts3.4/commands/AssociateServiceRoleToAccountCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/BatchAssociateClientDeviceWithCoreDeviceCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/BatchDisassociateClientDeviceFromCoreDeviceCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/CancelDeploymentCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/CreateComponentVersionCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/DeleteCoreDeviceCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/DeleteDeploymentCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/DescribeComponentCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/DisassociateServiceRoleFromAccountCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/GetComponentVersionArtifactCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/GetConnectivityInfoCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/GetCoreDeviceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetServiceRoleForAccountCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/ListClientDevicesAssociatedWithCoreDeviceCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListComponentVersionsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListCoreDevicesCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListEffectiveDeploymentsCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/ListInstalledComponentsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/ResolveComponentCandidatesCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdateConnectivityInfoCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/index.d.ts +1 -0
  95. 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.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1442,352 +1443,95 @@ class GreengrassV2Client extends Client {
1442
1443
  }
1443
1444
  }
1444
1445
 
1445
- class AssociateServiceRoleToAccountCommand extends Command
1446
- .classBuilder()
1447
- .ep(commonParams)
1448
- .m(function (Command, cs, config, o) {
1449
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1450
- })
1451
- .s("GreengrassV2", "AssociateServiceRoleToAccount", {})
1452
- .n("GreengrassV2Client", "AssociateServiceRoleToAccountCommand")
1453
- .sc(AssociateServiceRoleToAccount$)
1454
- .build() {
1446
+ const command = makeBuilder(commonParams, "GreengrassV2", "GreengrassV2Client", getEndpointPlugin);
1447
+ const _ep0 = {};
1448
+ const _mw0 = (Command, cs, config, o) => [];
1449
+
1450
+ class AssociateServiceRoleToAccountCommand extends command(_ep0, _mw0, "AssociateServiceRoleToAccount", AssociateServiceRoleToAccount$) {
1455
1451
  }
1456
1452
 
1457
- class BatchAssociateClientDeviceWithCoreDeviceCommand extends Command
1458
- .classBuilder()
1459
- .ep(commonParams)
1460
- .m(function (Command, cs, config, o) {
1461
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1462
- })
1463
- .s("GreengrassV2", "BatchAssociateClientDeviceWithCoreDevice", {})
1464
- .n("GreengrassV2Client", "BatchAssociateClientDeviceWithCoreDeviceCommand")
1465
- .sc(BatchAssociateClientDeviceWithCoreDevice$)
1466
- .build() {
1453
+ class BatchAssociateClientDeviceWithCoreDeviceCommand extends command(_ep0, _mw0, "BatchAssociateClientDeviceWithCoreDevice", BatchAssociateClientDeviceWithCoreDevice$) {
1467
1454
  }
1468
1455
 
1469
- class BatchDisassociateClientDeviceFromCoreDeviceCommand extends Command
1470
- .classBuilder()
1471
- .ep(commonParams)
1472
- .m(function (Command, cs, config, o) {
1473
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1474
- })
1475
- .s("GreengrassV2", "BatchDisassociateClientDeviceFromCoreDevice", {})
1476
- .n("GreengrassV2Client", "BatchDisassociateClientDeviceFromCoreDeviceCommand")
1477
- .sc(BatchDisassociateClientDeviceFromCoreDevice$)
1478
- .build() {
1456
+ class BatchDisassociateClientDeviceFromCoreDeviceCommand extends command(_ep0, _mw0, "BatchDisassociateClientDeviceFromCoreDevice", BatchDisassociateClientDeviceFromCoreDevice$) {
1479
1457
  }
1480
1458
 
1481
- class CancelDeploymentCommand extends Command
1482
- .classBuilder()
1483
- .ep(commonParams)
1484
- .m(function (Command, cs, config, o) {
1485
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1486
- })
1487
- .s("GreengrassV2", "CancelDeployment", {})
1488
- .n("GreengrassV2Client", "CancelDeploymentCommand")
1489
- .sc(CancelDeployment$)
1490
- .build() {
1459
+ class CancelDeploymentCommand extends command(_ep0, _mw0, "CancelDeployment", CancelDeployment$) {
1491
1460
  }
1492
1461
 
1493
- class CreateComponentVersionCommand extends Command
1494
- .classBuilder()
1495
- .ep(commonParams)
1496
- .m(function (Command, cs, config, o) {
1497
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
- })
1499
- .s("GreengrassV2", "CreateComponentVersion", {})
1500
- .n("GreengrassV2Client", "CreateComponentVersionCommand")
1501
- .sc(CreateComponentVersion$)
1502
- .build() {
1462
+ class CreateComponentVersionCommand extends command(_ep0, _mw0, "CreateComponentVersion", CreateComponentVersion$) {
1503
1463
  }
1504
1464
 
1505
- class CreateDeploymentCommand extends Command
1506
- .classBuilder()
1507
- .ep(commonParams)
1508
- .m(function (Command, cs, config, o) {
1509
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1510
- })
1511
- .s("GreengrassV2", "CreateDeployment", {})
1512
- .n("GreengrassV2Client", "CreateDeploymentCommand")
1513
- .sc(CreateDeployment$)
1514
- .build() {
1465
+ class CreateDeploymentCommand extends command(_ep0, _mw0, "CreateDeployment", CreateDeployment$) {
1515
1466
  }
1516
1467
 
1517
- class DeleteComponentCommand extends Command
1518
- .classBuilder()
1519
- .ep(commonParams)
1520
- .m(function (Command, cs, config, o) {
1521
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1522
- })
1523
- .s("GreengrassV2", "DeleteComponent", {})
1524
- .n("GreengrassV2Client", "DeleteComponentCommand")
1525
- .sc(DeleteComponent$)
1526
- .build() {
1468
+ class DeleteComponentCommand extends command(_ep0, _mw0, "DeleteComponent", DeleteComponent$) {
1527
1469
  }
1528
1470
 
1529
- class DeleteCoreDeviceCommand extends Command
1530
- .classBuilder()
1531
- .ep(commonParams)
1532
- .m(function (Command, cs, config, o) {
1533
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1534
- })
1535
- .s("GreengrassV2", "DeleteCoreDevice", {})
1536
- .n("GreengrassV2Client", "DeleteCoreDeviceCommand")
1537
- .sc(DeleteCoreDevice$)
1538
- .build() {
1471
+ class DeleteCoreDeviceCommand extends command(_ep0, _mw0, "DeleteCoreDevice", DeleteCoreDevice$) {
1539
1472
  }
1540
1473
 
1541
- class DeleteDeploymentCommand extends Command
1542
- .classBuilder()
1543
- .ep(commonParams)
1544
- .m(function (Command, cs, config, o) {
1545
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1546
- })
1547
- .s("GreengrassV2", "DeleteDeployment", {})
1548
- .n("GreengrassV2Client", "DeleteDeploymentCommand")
1549
- .sc(DeleteDeployment$)
1550
- .build() {
1474
+ class DeleteDeploymentCommand extends command(_ep0, _mw0, "DeleteDeployment", DeleteDeployment$) {
1551
1475
  }
1552
1476
 
1553
- class DescribeComponentCommand extends Command
1554
- .classBuilder()
1555
- .ep(commonParams)
1556
- .m(function (Command, cs, config, o) {
1557
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1558
- })
1559
- .s("GreengrassV2", "DescribeComponent", {})
1560
- .n("GreengrassV2Client", "DescribeComponentCommand")
1561
- .sc(DescribeComponent$)
1562
- .build() {
1477
+ class DescribeComponentCommand extends command(_ep0, _mw0, "DescribeComponent", DescribeComponent$) {
1563
1478
  }
1564
1479
 
1565
- class DisassociateServiceRoleFromAccountCommand extends Command
1566
- .classBuilder()
1567
- .ep(commonParams)
1568
- .m(function (Command, cs, config, o) {
1569
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1570
- })
1571
- .s("GreengrassV2", "DisassociateServiceRoleFromAccount", {})
1572
- .n("GreengrassV2Client", "DisassociateServiceRoleFromAccountCommand")
1573
- .sc(DisassociateServiceRoleFromAccount$)
1574
- .build() {
1480
+ class DisassociateServiceRoleFromAccountCommand extends command(_ep0, _mw0, "DisassociateServiceRoleFromAccount", DisassociateServiceRoleFromAccount$) {
1575
1481
  }
1576
1482
 
1577
- class GetComponentCommand extends Command
1578
- .classBuilder()
1579
- .ep(commonParams)
1580
- .m(function (Command, cs, config, o) {
1581
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1582
- })
1583
- .s("GreengrassV2", "GetComponent", {})
1584
- .n("GreengrassV2Client", "GetComponentCommand")
1585
- .sc(GetComponent$)
1586
- .build() {
1483
+ class GetComponentCommand extends command(_ep0, _mw0, "GetComponent", GetComponent$) {
1587
1484
  }
1588
1485
 
1589
- class GetComponentVersionArtifactCommand extends Command
1590
- .classBuilder()
1591
- .ep(commonParams)
1592
- .m(function (Command, cs, config, o) {
1593
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1594
- })
1595
- .s("GreengrassV2", "GetComponentVersionArtifact", {})
1596
- .n("GreengrassV2Client", "GetComponentVersionArtifactCommand")
1597
- .sc(GetComponentVersionArtifact$)
1598
- .build() {
1486
+ class GetComponentVersionArtifactCommand extends command(_ep0, _mw0, "GetComponentVersionArtifact", GetComponentVersionArtifact$) {
1599
1487
  }
1600
1488
 
1601
- class GetConnectivityInfoCommand extends Command
1602
- .classBuilder()
1603
- .ep(commonParams)
1604
- .m(function (Command, cs, config, o) {
1605
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1606
- })
1607
- .s("GreengrassV2", "GetConnectivityInfo", {})
1608
- .n("GreengrassV2Client", "GetConnectivityInfoCommand")
1609
- .sc(GetConnectivityInfo$)
1610
- .build() {
1489
+ class GetConnectivityInfoCommand extends command(_ep0, _mw0, "GetConnectivityInfo", GetConnectivityInfo$) {
1611
1490
  }
1612
1491
 
1613
- class GetCoreDeviceCommand extends Command
1614
- .classBuilder()
1615
- .ep(commonParams)
1616
- .m(function (Command, cs, config, o) {
1617
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1618
- })
1619
- .s("GreengrassV2", "GetCoreDevice", {})
1620
- .n("GreengrassV2Client", "GetCoreDeviceCommand")
1621
- .sc(GetCoreDevice$)
1622
- .build() {
1492
+ class GetCoreDeviceCommand extends command(_ep0, _mw0, "GetCoreDevice", GetCoreDevice$) {
1623
1493
  }
1624
1494
 
1625
- class GetDeploymentCommand extends Command
1626
- .classBuilder()
1627
- .ep(commonParams)
1628
- .m(function (Command, cs, config, o) {
1629
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1630
- })
1631
- .s("GreengrassV2", "GetDeployment", {})
1632
- .n("GreengrassV2Client", "GetDeploymentCommand")
1633
- .sc(GetDeployment$)
1634
- .build() {
1495
+ class GetDeploymentCommand extends command(_ep0, _mw0, "GetDeployment", GetDeployment$) {
1635
1496
  }
1636
1497
 
1637
- class GetServiceRoleForAccountCommand extends Command
1638
- .classBuilder()
1639
- .ep(commonParams)
1640
- .m(function (Command, cs, config, o) {
1641
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1642
- })
1643
- .s("GreengrassV2", "GetServiceRoleForAccount", {})
1644
- .n("GreengrassV2Client", "GetServiceRoleForAccountCommand")
1645
- .sc(GetServiceRoleForAccount$)
1646
- .build() {
1498
+ class GetServiceRoleForAccountCommand extends command(_ep0, _mw0, "GetServiceRoleForAccount", GetServiceRoleForAccount$) {
1647
1499
  }
1648
1500
 
1649
- class ListClientDevicesAssociatedWithCoreDeviceCommand extends Command
1650
- .classBuilder()
1651
- .ep(commonParams)
1652
- .m(function (Command, cs, config, o) {
1653
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1654
- })
1655
- .s("GreengrassV2", "ListClientDevicesAssociatedWithCoreDevice", {})
1656
- .n("GreengrassV2Client", "ListClientDevicesAssociatedWithCoreDeviceCommand")
1657
- .sc(ListClientDevicesAssociatedWithCoreDevice$)
1658
- .build() {
1501
+ class ListClientDevicesAssociatedWithCoreDeviceCommand extends command(_ep0, _mw0, "ListClientDevicesAssociatedWithCoreDevice", ListClientDevicesAssociatedWithCoreDevice$) {
1659
1502
  }
1660
1503
 
1661
- class ListComponentsCommand extends Command
1662
- .classBuilder()
1663
- .ep(commonParams)
1664
- .m(function (Command, cs, config, o) {
1665
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1666
- })
1667
- .s("GreengrassV2", "ListComponents", {})
1668
- .n("GreengrassV2Client", "ListComponentsCommand")
1669
- .sc(ListComponents$)
1670
- .build() {
1504
+ class ListComponentsCommand extends command(_ep0, _mw0, "ListComponents", ListComponents$) {
1671
1505
  }
1672
1506
 
1673
- class ListComponentVersionsCommand extends Command
1674
- .classBuilder()
1675
- .ep(commonParams)
1676
- .m(function (Command, cs, config, o) {
1677
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1678
- })
1679
- .s("GreengrassV2", "ListComponentVersions", {})
1680
- .n("GreengrassV2Client", "ListComponentVersionsCommand")
1681
- .sc(ListComponentVersions$)
1682
- .build() {
1507
+ class ListComponentVersionsCommand extends command(_ep0, _mw0, "ListComponentVersions", ListComponentVersions$) {
1683
1508
  }
1684
1509
 
1685
- class ListCoreDevicesCommand extends Command
1686
- .classBuilder()
1687
- .ep(commonParams)
1688
- .m(function (Command, cs, config, o) {
1689
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1690
- })
1691
- .s("GreengrassV2", "ListCoreDevices", {})
1692
- .n("GreengrassV2Client", "ListCoreDevicesCommand")
1693
- .sc(ListCoreDevices$)
1694
- .build() {
1510
+ class ListCoreDevicesCommand extends command(_ep0, _mw0, "ListCoreDevices", ListCoreDevices$) {
1695
1511
  }
1696
1512
 
1697
- class ListDeploymentsCommand extends Command
1698
- .classBuilder()
1699
- .ep(commonParams)
1700
- .m(function (Command, cs, config, o) {
1701
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1702
- })
1703
- .s("GreengrassV2", "ListDeployments", {})
1704
- .n("GreengrassV2Client", "ListDeploymentsCommand")
1705
- .sc(ListDeployments$)
1706
- .build() {
1513
+ class ListDeploymentsCommand extends command(_ep0, _mw0, "ListDeployments", ListDeployments$) {
1707
1514
  }
1708
1515
 
1709
- class ListEffectiveDeploymentsCommand extends Command
1710
- .classBuilder()
1711
- .ep(commonParams)
1712
- .m(function (Command, cs, config, o) {
1713
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1714
- })
1715
- .s("GreengrassV2", "ListEffectiveDeployments", {})
1716
- .n("GreengrassV2Client", "ListEffectiveDeploymentsCommand")
1717
- .sc(ListEffectiveDeployments$)
1718
- .build() {
1516
+ class ListEffectiveDeploymentsCommand extends command(_ep0, _mw0, "ListEffectiveDeployments", ListEffectiveDeployments$) {
1719
1517
  }
1720
1518
 
1721
- class ListInstalledComponentsCommand extends Command
1722
- .classBuilder()
1723
- .ep(commonParams)
1724
- .m(function (Command, cs, config, o) {
1725
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1726
- })
1727
- .s("GreengrassV2", "ListInstalledComponents", {})
1728
- .n("GreengrassV2Client", "ListInstalledComponentsCommand")
1729
- .sc(ListInstalledComponents$)
1730
- .build() {
1519
+ class ListInstalledComponentsCommand extends command(_ep0, _mw0, "ListInstalledComponents", ListInstalledComponents$) {
1731
1520
  }
1732
1521
 
1733
- class ListTagsForResourceCommand extends Command
1734
- .classBuilder()
1735
- .ep(commonParams)
1736
- .m(function (Command, cs, config, o) {
1737
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1738
- })
1739
- .s("GreengrassV2", "ListTagsForResource", {})
1740
- .n("GreengrassV2Client", "ListTagsForResourceCommand")
1741
- .sc(ListTagsForResource$)
1742
- .build() {
1522
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1743
1523
  }
1744
1524
 
1745
- class ResolveComponentCandidatesCommand extends Command
1746
- .classBuilder()
1747
- .ep(commonParams)
1748
- .m(function (Command, cs, config, o) {
1749
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1750
- })
1751
- .s("GreengrassV2", "ResolveComponentCandidates", {})
1752
- .n("GreengrassV2Client", "ResolveComponentCandidatesCommand")
1753
- .sc(ResolveComponentCandidates$)
1754
- .build() {
1525
+ class ResolveComponentCandidatesCommand extends command(_ep0, _mw0, "ResolveComponentCandidates", ResolveComponentCandidates$) {
1755
1526
  }
1756
1527
 
1757
- class TagResourceCommand extends Command
1758
- .classBuilder()
1759
- .ep(commonParams)
1760
- .m(function (Command, cs, config, o) {
1761
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1762
- })
1763
- .s("GreengrassV2", "TagResource", {})
1764
- .n("GreengrassV2Client", "TagResourceCommand")
1765
- .sc(TagResource$)
1766
- .build() {
1528
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1767
1529
  }
1768
1530
 
1769
- class UntagResourceCommand extends Command
1770
- .classBuilder()
1771
- .ep(commonParams)
1772
- .m(function (Command, cs, config, o) {
1773
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1774
- })
1775
- .s("GreengrassV2", "UntagResource", {})
1776
- .n("GreengrassV2Client", "UntagResourceCommand")
1777
- .sc(UntagResource$)
1778
- .build() {
1531
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1779
1532
  }
1780
1533
 
1781
- class UpdateConnectivityInfoCommand extends Command
1782
- .classBuilder()
1783
- .ep(commonParams)
1784
- .m(function (Command, cs, config, o) {
1785
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1786
- })
1787
- .s("GreengrassV2", "UpdateConnectivityInfo", {})
1788
- .n("GreengrassV2Client", "UpdateConnectivityInfoCommand")
1789
- .sc(UpdateConnectivityInfo$)
1790
- .build() {
1534
+ class UpdateConnectivityInfoCommand extends command(_ep0, _mw0, "UpdateConnectivityInfo", UpdateConnectivityInfo$) {
1791
1535
  }
1792
1536
 
1793
1537
  const paginateListClientDevicesAssociatedWithCoreDevice = createPaginator(GreengrassV2Client, ListClientDevicesAssociatedWithCoreDeviceCommand, "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, "GreengrassV2", "GreengrassV2Client", 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 { AssociateServiceRoleToAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateServiceRoleToAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "AssociateServiceRoleToAccount", {})
13
- .n("GreengrassV2Client", "AssociateServiceRoleToAccountCommand")
14
- .sc(AssociateServiceRoleToAccount$)
15
- .build() {
3
+ export class AssociateServiceRoleToAccountCommand extends command(_ep0, _mw0, "AssociateServiceRoleToAccount", AssociateServiceRoleToAccount$) {
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 { BatchAssociateClientDeviceWithCoreDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchAssociateClientDeviceWithCoreDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "BatchAssociateClientDeviceWithCoreDevice", {})
13
- .n("GreengrassV2Client", "BatchAssociateClientDeviceWithCoreDeviceCommand")
14
- .sc(BatchAssociateClientDeviceWithCoreDevice$)
15
- .build() {
3
+ export class BatchAssociateClientDeviceWithCoreDeviceCommand extends command(_ep0, _mw0, "BatchAssociateClientDeviceWithCoreDevice", BatchAssociateClientDeviceWithCoreDevice$) {
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 { BatchDisassociateClientDeviceFromCoreDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchDisassociateClientDeviceFromCoreDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "BatchDisassociateClientDeviceFromCoreDevice", {})
13
- .n("GreengrassV2Client", "BatchDisassociateClientDeviceFromCoreDeviceCommand")
14
- .sc(BatchDisassociateClientDeviceFromCoreDevice$)
15
- .build() {
3
+ export class BatchDisassociateClientDeviceFromCoreDeviceCommand extends command(_ep0, _mw0, "BatchDisassociateClientDeviceFromCoreDevice", BatchDisassociateClientDeviceFromCoreDevice$) {
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 { CancelDeployment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelDeploymentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "CancelDeployment", {})
13
- .n("GreengrassV2Client", "CancelDeploymentCommand")
14
- .sc(CancelDeployment$)
15
- .build() {
3
+ export class CancelDeploymentCommand extends command(_ep0, _mw0, "CancelDeployment", CancelDeployment$) {
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 { CreateComponentVersion$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateComponentVersionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "CreateComponentVersion", {})
13
- .n("GreengrassV2Client", "CreateComponentVersionCommand")
14
- .sc(CreateComponentVersion$)
15
- .build() {
3
+ export class CreateComponentVersionCommand extends command(_ep0, _mw0, "CreateComponentVersion", CreateComponentVersion$) {
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 { CreateDeployment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateDeploymentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "CreateDeployment", {})
13
- .n("GreengrassV2Client", "CreateDeploymentCommand")
14
- .sc(CreateDeployment$)
15
- .build() {
3
+ export class CreateDeploymentCommand extends command(_ep0, _mw0, "CreateDeployment", CreateDeployment$) {
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 { DeleteComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "DeleteComponent", {})
13
- .n("GreengrassV2Client", "DeleteComponentCommand")
14
- .sc(DeleteComponent$)
15
- .build() {
3
+ export class DeleteComponentCommand extends command(_ep0, _mw0, "DeleteComponent", DeleteComponent$) {
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 { DeleteCoreDevice$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteCoreDeviceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "DeleteCoreDevice", {})
13
- .n("GreengrassV2Client", "DeleteCoreDeviceCommand")
14
- .sc(DeleteCoreDevice$)
15
- .build() {
3
+ export class DeleteCoreDeviceCommand extends command(_ep0, _mw0, "DeleteCoreDevice", DeleteCoreDevice$) {
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 { DeleteDeployment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteDeploymentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "DeleteDeployment", {})
13
- .n("GreengrassV2Client", "DeleteDeploymentCommand")
14
- .sc(DeleteDeployment$)
15
- .build() {
3
+ export class DeleteDeploymentCommand extends command(_ep0, _mw0, "DeleteDeployment", DeleteDeployment$) {
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 { DescribeComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "DescribeComponent", {})
13
- .n("GreengrassV2Client", "DescribeComponentCommand")
14
- .sc(DescribeComponent$)
15
- .build() {
3
+ export class DescribeComponentCommand extends command(_ep0, _mw0, "DescribeComponent", DescribeComponent$) {
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 { DisassociateServiceRoleFromAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateServiceRoleFromAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "DisassociateServiceRoleFromAccount", {})
13
- .n("GreengrassV2Client", "DisassociateServiceRoleFromAccountCommand")
14
- .sc(DisassociateServiceRoleFromAccount$)
15
- .build() {
3
+ export class DisassociateServiceRoleFromAccountCommand extends command(_ep0, _mw0, "DisassociateServiceRoleFromAccount", DisassociateServiceRoleFromAccount$) {
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 { GetComponent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetComponentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GreengrassV2", "GetComponent", {})
13
- .n("GreengrassV2Client", "GetComponentCommand")
14
- .sc(GetComponent$)
15
- .build() {
3
+ export class GetComponentCommand extends command(_ep0, _mw0, "GetComponent", GetComponent$) {
16
4
  }