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