@aws-sdk/client-inspector 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 (119) hide show
  1. package/dist-cjs/index.js +45 -373
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddAttributesToFindingsCommand.js +2 -14
  4. package/dist-es/commands/CreateAssessmentTargetCommand.js +2 -14
  5. package/dist-es/commands/CreateAssessmentTemplateCommand.js +2 -14
  6. package/dist-es/commands/CreateExclusionsPreviewCommand.js +2 -14
  7. package/dist-es/commands/CreateResourceGroupCommand.js +2 -14
  8. package/dist-es/commands/DeleteAssessmentRunCommand.js +2 -14
  9. package/dist-es/commands/DeleteAssessmentTargetCommand.js +2 -14
  10. package/dist-es/commands/DeleteAssessmentTemplateCommand.js +2 -14
  11. package/dist-es/commands/DescribeAssessmentRunsCommand.js +2 -14
  12. package/dist-es/commands/DescribeAssessmentTargetsCommand.js +2 -14
  13. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +2 -14
  14. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +2 -14
  15. package/dist-es/commands/DescribeExclusionsCommand.js +2 -14
  16. package/dist-es/commands/DescribeFindingsCommand.js +2 -14
  17. package/dist-es/commands/DescribeResourceGroupsCommand.js +2 -14
  18. package/dist-es/commands/DescribeRulesPackagesCommand.js +2 -14
  19. package/dist-es/commands/GetAssessmentReportCommand.js +2 -14
  20. package/dist-es/commands/GetExclusionsPreviewCommand.js +2 -14
  21. package/dist-es/commands/GetTelemetryMetadataCommand.js +2 -14
  22. package/dist-es/commands/ListAssessmentRunAgentsCommand.js +2 -14
  23. package/dist-es/commands/ListAssessmentRunsCommand.js +2 -14
  24. package/dist-es/commands/ListAssessmentTargetsCommand.js +2 -14
  25. package/dist-es/commands/ListAssessmentTemplatesCommand.js +2 -14
  26. package/dist-es/commands/ListEventSubscriptionsCommand.js +2 -14
  27. package/dist-es/commands/ListExclusionsCommand.js +2 -14
  28. package/dist-es/commands/ListFindingsCommand.js +2 -14
  29. package/dist-es/commands/ListRulesPackagesCommand.js +2 -14
  30. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  31. package/dist-es/commands/PreviewAgentsCommand.js +2 -14
  32. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +2 -14
  33. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +2 -14
  34. package/dist-es/commands/SetTagsForResourceCommand.js +2 -14
  35. package/dist-es/commands/StartAssessmentRunCommand.js +2 -14
  36. package/dist-es/commands/StopAssessmentRunCommand.js +2 -14
  37. package/dist-es/commands/SubscribeToEventCommand.js +2 -14
  38. package/dist-es/commands/UnsubscribeFromEventCommand.js +2 -14
  39. package/dist-es/commands/UpdateAssessmentTargetCommand.js +2 -14
  40. package/dist-es/index.js +1 -0
  41. package/dist-types/commandBuilder.d.ts +18 -0
  42. package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +3 -8
  44. package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateResourceGroupCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +3 -8
  50. package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeExclusionsCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeFindingsCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +3 -8
  57. package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +3 -8
  58. package/dist-types/commands/GetAssessmentReportCommand.d.ts +3 -8
  59. package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +3 -8
  60. package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +3 -8
  61. package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +3 -8
  62. package/dist-types/commands/ListAssessmentRunsCommand.d.ts +3 -8
  63. package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +3 -8
  64. package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +3 -8
  65. package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +3 -8
  66. package/dist-types/commands/ListExclusionsCommand.d.ts +3 -8
  67. package/dist-types/commands/ListFindingsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListRulesPackagesCommand.d.ts +3 -8
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  70. package/dist-types/commands/PreviewAgentsCommand.d.ts +3 -8
  71. package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +3 -8
  72. package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +3 -8
  73. package/dist-types/commands/SetTagsForResourceCommand.d.ts +3 -8
  74. package/dist-types/commands/StartAssessmentRunCommand.d.ts +3 -8
  75. package/dist-types/commands/StopAssessmentRunCommand.d.ts +3 -8
  76. package/dist-types/commands/SubscribeToEventCommand.d.ts +3 -8
  77. package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +3 -8
  78. package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +3 -8
  79. package/dist-types/index.d.ts +1 -0
  80. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  81. package/dist-types/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/CreateResourceGroupCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DescribeExclusionsCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DescribeFindingsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/GetAssessmentReportCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/ListAssessmentRunsCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListExclusionsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListRulesPackagesCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/PreviewAgentsCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/SetTagsForResourceCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/StartAssessmentRunCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/StopAssessmentRunCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/commands/SubscribeToEventCommand.d.ts +7 -16
  116. package/dist-types/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +7 -16
  117. package/dist-types/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +7 -16
  118. package/dist-types/ts3.4/index.d.ts +1 -0
  119. 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
 
@@ -1525,448 +1526,119 @@ class InspectorClient extends Client {
1525
1526
  }
1526
1527
  }
1527
1528
 
1528
- class AddAttributesToFindingsCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("InspectorService", "AddAttributesToFindings", {})
1535
- .n("InspectorClient", "AddAttributesToFindingsCommand")
1536
- .sc(AddAttributesToFindings$)
1537
- .build() {
1529
+ const command = makeBuilder(commonParams, "InspectorService", "InspectorClient", getEndpointPlugin);
1530
+ const _ep0 = {};
1531
+ const _mw0 = (Command, cs, config, o) => [];
1532
+
1533
+ class AddAttributesToFindingsCommand extends command(_ep0, _mw0, "AddAttributesToFindings", AddAttributesToFindings$) {
1538
1534
  }
1539
1535
 
1540
- class CreateAssessmentTargetCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("InspectorService", "CreateAssessmentTarget", {})
1547
- .n("InspectorClient", "CreateAssessmentTargetCommand")
1548
- .sc(CreateAssessmentTarget$)
1549
- .build() {
1536
+ class CreateAssessmentTargetCommand extends command(_ep0, _mw0, "CreateAssessmentTarget", CreateAssessmentTarget$) {
1550
1537
  }
1551
1538
 
1552
- class CreateAssessmentTemplateCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("InspectorService", "CreateAssessmentTemplate", {})
1559
- .n("InspectorClient", "CreateAssessmentTemplateCommand")
1560
- .sc(CreateAssessmentTemplate$)
1561
- .build() {
1539
+ class CreateAssessmentTemplateCommand extends command(_ep0, _mw0, "CreateAssessmentTemplate", CreateAssessmentTemplate$) {
1562
1540
  }
1563
1541
 
1564
- class CreateExclusionsPreviewCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("InspectorService", "CreateExclusionsPreview", {})
1571
- .n("InspectorClient", "CreateExclusionsPreviewCommand")
1572
- .sc(CreateExclusionsPreview$)
1573
- .build() {
1542
+ class CreateExclusionsPreviewCommand extends command(_ep0, _mw0, "CreateExclusionsPreview", CreateExclusionsPreview$) {
1574
1543
  }
1575
1544
 
1576
- class CreateResourceGroupCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("InspectorService", "CreateResourceGroup", {})
1583
- .n("InspectorClient", "CreateResourceGroupCommand")
1584
- .sc(CreateResourceGroup$)
1585
- .build() {
1545
+ class CreateResourceGroupCommand extends command(_ep0, _mw0, "CreateResourceGroup", CreateResourceGroup$) {
1586
1546
  }
1587
1547
 
1588
- class DeleteAssessmentRunCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("InspectorService", "DeleteAssessmentRun", {})
1595
- .n("InspectorClient", "DeleteAssessmentRunCommand")
1596
- .sc(DeleteAssessmentRun$)
1597
- .build() {
1548
+ class DeleteAssessmentRunCommand extends command(_ep0, _mw0, "DeleteAssessmentRun", DeleteAssessmentRun$) {
1598
1549
  }
1599
1550
 
1600
- class DeleteAssessmentTargetCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("InspectorService", "DeleteAssessmentTarget", {})
1607
- .n("InspectorClient", "DeleteAssessmentTargetCommand")
1608
- .sc(DeleteAssessmentTarget$)
1609
- .build() {
1551
+ class DeleteAssessmentTargetCommand extends command(_ep0, _mw0, "DeleteAssessmentTarget", DeleteAssessmentTarget$) {
1610
1552
  }
1611
1553
 
1612
- class DeleteAssessmentTemplateCommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("InspectorService", "DeleteAssessmentTemplate", {})
1619
- .n("InspectorClient", "DeleteAssessmentTemplateCommand")
1620
- .sc(DeleteAssessmentTemplate$)
1621
- .build() {
1554
+ class DeleteAssessmentTemplateCommand extends command(_ep0, _mw0, "DeleteAssessmentTemplate", DeleteAssessmentTemplate$) {
1622
1555
  }
1623
1556
 
1624
- class DescribeAssessmentRunsCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("InspectorService", "DescribeAssessmentRuns", {})
1631
- .n("InspectorClient", "DescribeAssessmentRunsCommand")
1632
- .sc(DescribeAssessmentRuns$)
1633
- .build() {
1557
+ class DescribeAssessmentRunsCommand extends command(_ep0, _mw0, "DescribeAssessmentRuns", DescribeAssessmentRuns$) {
1634
1558
  }
1635
1559
 
1636
- class DescribeAssessmentTargetsCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("InspectorService", "DescribeAssessmentTargets", {})
1643
- .n("InspectorClient", "DescribeAssessmentTargetsCommand")
1644
- .sc(DescribeAssessmentTargets$)
1645
- .build() {
1560
+ class DescribeAssessmentTargetsCommand extends command(_ep0, _mw0, "DescribeAssessmentTargets", DescribeAssessmentTargets$) {
1646
1561
  }
1647
1562
 
1648
- class DescribeAssessmentTemplatesCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("InspectorService", "DescribeAssessmentTemplates", {})
1655
- .n("InspectorClient", "DescribeAssessmentTemplatesCommand")
1656
- .sc(DescribeAssessmentTemplates$)
1657
- .build() {
1563
+ class DescribeAssessmentTemplatesCommand extends command(_ep0, _mw0, "DescribeAssessmentTemplates", DescribeAssessmentTemplates$) {
1658
1564
  }
1659
1565
 
1660
- class DescribeCrossAccountAccessRoleCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("InspectorService", "DescribeCrossAccountAccessRole", {})
1667
- .n("InspectorClient", "DescribeCrossAccountAccessRoleCommand")
1668
- .sc(DescribeCrossAccountAccessRole$)
1669
- .build() {
1566
+ class DescribeCrossAccountAccessRoleCommand extends command(_ep0, _mw0, "DescribeCrossAccountAccessRole", DescribeCrossAccountAccessRole$) {
1670
1567
  }
1671
1568
 
1672
- class DescribeExclusionsCommand extends Command
1673
- .classBuilder()
1674
- .ep(commonParams)
1675
- .m(function (Command, cs, config, o) {
1676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
- })
1678
- .s("InspectorService", "DescribeExclusions", {})
1679
- .n("InspectorClient", "DescribeExclusionsCommand")
1680
- .sc(DescribeExclusions$)
1681
- .build() {
1569
+ class DescribeExclusionsCommand extends command(_ep0, _mw0, "DescribeExclusions", DescribeExclusions$) {
1682
1570
  }
1683
1571
 
1684
- class DescribeFindingsCommand extends Command
1685
- .classBuilder()
1686
- .ep(commonParams)
1687
- .m(function (Command, cs, config, o) {
1688
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1689
- })
1690
- .s("InspectorService", "DescribeFindings", {})
1691
- .n("InspectorClient", "DescribeFindingsCommand")
1692
- .sc(DescribeFindings$)
1693
- .build() {
1572
+ class DescribeFindingsCommand extends command(_ep0, _mw0, "DescribeFindings", DescribeFindings$) {
1694
1573
  }
1695
1574
 
1696
- class DescribeResourceGroupsCommand extends Command
1697
- .classBuilder()
1698
- .ep(commonParams)
1699
- .m(function (Command, cs, config, o) {
1700
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
- })
1702
- .s("InspectorService", "DescribeResourceGroups", {})
1703
- .n("InspectorClient", "DescribeResourceGroupsCommand")
1704
- .sc(DescribeResourceGroups$)
1705
- .build() {
1575
+ class DescribeResourceGroupsCommand extends command(_ep0, _mw0, "DescribeResourceGroups", DescribeResourceGroups$) {
1706
1576
  }
1707
1577
 
1708
- class DescribeRulesPackagesCommand extends Command
1709
- .classBuilder()
1710
- .ep(commonParams)
1711
- .m(function (Command, cs, config, o) {
1712
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1713
- })
1714
- .s("InspectorService", "DescribeRulesPackages", {})
1715
- .n("InspectorClient", "DescribeRulesPackagesCommand")
1716
- .sc(DescribeRulesPackages$)
1717
- .build() {
1578
+ class DescribeRulesPackagesCommand extends command(_ep0, _mw0, "DescribeRulesPackages", DescribeRulesPackages$) {
1718
1579
  }
1719
1580
 
1720
- class GetAssessmentReportCommand extends Command
1721
- .classBuilder()
1722
- .ep(commonParams)
1723
- .m(function (Command, cs, config, o) {
1724
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1725
- })
1726
- .s("InspectorService", "GetAssessmentReport", {})
1727
- .n("InspectorClient", "GetAssessmentReportCommand")
1728
- .sc(GetAssessmentReport$)
1729
- .build() {
1581
+ class GetAssessmentReportCommand extends command(_ep0, _mw0, "GetAssessmentReport", GetAssessmentReport$) {
1730
1582
  }
1731
1583
 
1732
- class GetExclusionsPreviewCommand extends Command
1733
- .classBuilder()
1734
- .ep(commonParams)
1735
- .m(function (Command, cs, config, o) {
1736
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1737
- })
1738
- .s("InspectorService", "GetExclusionsPreview", {})
1739
- .n("InspectorClient", "GetExclusionsPreviewCommand")
1740
- .sc(GetExclusionsPreview$)
1741
- .build() {
1584
+ class GetExclusionsPreviewCommand extends command(_ep0, _mw0, "GetExclusionsPreview", GetExclusionsPreview$) {
1742
1585
  }
1743
1586
 
1744
- class GetTelemetryMetadataCommand extends Command
1745
- .classBuilder()
1746
- .ep(commonParams)
1747
- .m(function (Command, cs, config, o) {
1748
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1749
- })
1750
- .s("InspectorService", "GetTelemetryMetadata", {})
1751
- .n("InspectorClient", "GetTelemetryMetadataCommand")
1752
- .sc(GetTelemetryMetadata$)
1753
- .build() {
1587
+ class GetTelemetryMetadataCommand extends command(_ep0, _mw0, "GetTelemetryMetadata", GetTelemetryMetadata$) {
1754
1588
  }
1755
1589
 
1756
- class ListAssessmentRunAgentsCommand extends Command
1757
- .classBuilder()
1758
- .ep(commonParams)
1759
- .m(function (Command, cs, config, o) {
1760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
- })
1762
- .s("InspectorService", "ListAssessmentRunAgents", {})
1763
- .n("InspectorClient", "ListAssessmentRunAgentsCommand")
1764
- .sc(ListAssessmentRunAgents$)
1765
- .build() {
1590
+ class ListAssessmentRunAgentsCommand extends command(_ep0, _mw0, "ListAssessmentRunAgents", ListAssessmentRunAgents$) {
1766
1591
  }
1767
1592
 
1768
- class ListAssessmentRunsCommand extends Command
1769
- .classBuilder()
1770
- .ep(commonParams)
1771
- .m(function (Command, cs, config, o) {
1772
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1773
- })
1774
- .s("InspectorService", "ListAssessmentRuns", {})
1775
- .n("InspectorClient", "ListAssessmentRunsCommand")
1776
- .sc(ListAssessmentRuns$)
1777
- .build() {
1593
+ class ListAssessmentRunsCommand extends command(_ep0, _mw0, "ListAssessmentRuns", ListAssessmentRuns$) {
1778
1594
  }
1779
1595
 
1780
- class ListAssessmentTargetsCommand extends Command
1781
- .classBuilder()
1782
- .ep(commonParams)
1783
- .m(function (Command, cs, config, o) {
1784
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1785
- })
1786
- .s("InspectorService", "ListAssessmentTargets", {})
1787
- .n("InspectorClient", "ListAssessmentTargetsCommand")
1788
- .sc(ListAssessmentTargets$)
1789
- .build() {
1596
+ class ListAssessmentTargetsCommand extends command(_ep0, _mw0, "ListAssessmentTargets", ListAssessmentTargets$) {
1790
1597
  }
1791
1598
 
1792
- class ListAssessmentTemplatesCommand extends Command
1793
- .classBuilder()
1794
- .ep(commonParams)
1795
- .m(function (Command, cs, config, o) {
1796
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
- })
1798
- .s("InspectorService", "ListAssessmentTemplates", {})
1799
- .n("InspectorClient", "ListAssessmentTemplatesCommand")
1800
- .sc(ListAssessmentTemplates$)
1801
- .build() {
1599
+ class ListAssessmentTemplatesCommand extends command(_ep0, _mw0, "ListAssessmentTemplates", ListAssessmentTemplates$) {
1802
1600
  }
1803
1601
 
1804
- class ListEventSubscriptionsCommand extends Command
1805
- .classBuilder()
1806
- .ep(commonParams)
1807
- .m(function (Command, cs, config, o) {
1808
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1809
- })
1810
- .s("InspectorService", "ListEventSubscriptions", {})
1811
- .n("InspectorClient", "ListEventSubscriptionsCommand")
1812
- .sc(ListEventSubscriptions$)
1813
- .build() {
1602
+ class ListEventSubscriptionsCommand extends command(_ep0, _mw0, "ListEventSubscriptions", ListEventSubscriptions$) {
1814
1603
  }
1815
1604
 
1816
- class ListExclusionsCommand extends Command
1817
- .classBuilder()
1818
- .ep(commonParams)
1819
- .m(function (Command, cs, config, o) {
1820
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1821
- })
1822
- .s("InspectorService", "ListExclusions", {})
1823
- .n("InspectorClient", "ListExclusionsCommand")
1824
- .sc(ListExclusions$)
1825
- .build() {
1605
+ class ListExclusionsCommand extends command(_ep0, _mw0, "ListExclusions", ListExclusions$) {
1826
1606
  }
1827
1607
 
1828
- class ListFindingsCommand extends Command
1829
- .classBuilder()
1830
- .ep(commonParams)
1831
- .m(function (Command, cs, config, o) {
1832
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1833
- })
1834
- .s("InspectorService", "ListFindings", {})
1835
- .n("InspectorClient", "ListFindingsCommand")
1836
- .sc(ListFindings$)
1837
- .build() {
1608
+ class ListFindingsCommand extends command(_ep0, _mw0, "ListFindings", ListFindings$) {
1838
1609
  }
1839
1610
 
1840
- class ListRulesPackagesCommand extends Command
1841
- .classBuilder()
1842
- .ep(commonParams)
1843
- .m(function (Command, cs, config, o) {
1844
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1845
- })
1846
- .s("InspectorService", "ListRulesPackages", {})
1847
- .n("InspectorClient", "ListRulesPackagesCommand")
1848
- .sc(ListRulesPackages$)
1849
- .build() {
1611
+ class ListRulesPackagesCommand extends command(_ep0, _mw0, "ListRulesPackages", ListRulesPackages$) {
1850
1612
  }
1851
1613
 
1852
- class ListTagsForResourceCommand extends Command
1853
- .classBuilder()
1854
- .ep(commonParams)
1855
- .m(function (Command, cs, config, o) {
1856
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1857
- })
1858
- .s("InspectorService", "ListTagsForResource", {})
1859
- .n("InspectorClient", "ListTagsForResourceCommand")
1860
- .sc(ListTagsForResource$)
1861
- .build() {
1614
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1862
1615
  }
1863
1616
 
1864
- class PreviewAgentsCommand extends Command
1865
- .classBuilder()
1866
- .ep(commonParams)
1867
- .m(function (Command, cs, config, o) {
1868
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1869
- })
1870
- .s("InspectorService", "PreviewAgents", {})
1871
- .n("InspectorClient", "PreviewAgentsCommand")
1872
- .sc(PreviewAgents$)
1873
- .build() {
1617
+ class PreviewAgentsCommand extends command(_ep0, _mw0, "PreviewAgents", PreviewAgents$) {
1874
1618
  }
1875
1619
 
1876
- class RegisterCrossAccountAccessRoleCommand extends Command
1877
- .classBuilder()
1878
- .ep(commonParams)
1879
- .m(function (Command, cs, config, o) {
1880
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1881
- })
1882
- .s("InspectorService", "RegisterCrossAccountAccessRole", {})
1883
- .n("InspectorClient", "RegisterCrossAccountAccessRoleCommand")
1884
- .sc(RegisterCrossAccountAccessRole$)
1885
- .build() {
1620
+ class RegisterCrossAccountAccessRoleCommand extends command(_ep0, _mw0, "RegisterCrossAccountAccessRole", RegisterCrossAccountAccessRole$) {
1886
1621
  }
1887
1622
 
1888
- class RemoveAttributesFromFindingsCommand extends Command
1889
- .classBuilder()
1890
- .ep(commonParams)
1891
- .m(function (Command, cs, config, o) {
1892
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1893
- })
1894
- .s("InspectorService", "RemoveAttributesFromFindings", {})
1895
- .n("InspectorClient", "RemoveAttributesFromFindingsCommand")
1896
- .sc(RemoveAttributesFromFindings$)
1897
- .build() {
1623
+ class RemoveAttributesFromFindingsCommand extends command(_ep0, _mw0, "RemoveAttributesFromFindings", RemoveAttributesFromFindings$) {
1898
1624
  }
1899
1625
 
1900
- class SetTagsForResourceCommand extends Command
1901
- .classBuilder()
1902
- .ep(commonParams)
1903
- .m(function (Command, cs, config, o) {
1904
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1905
- })
1906
- .s("InspectorService", "SetTagsForResource", {})
1907
- .n("InspectorClient", "SetTagsForResourceCommand")
1908
- .sc(SetTagsForResource$)
1909
- .build() {
1626
+ class SetTagsForResourceCommand extends command(_ep0, _mw0, "SetTagsForResource", SetTagsForResource$) {
1910
1627
  }
1911
1628
 
1912
- class StartAssessmentRunCommand extends Command
1913
- .classBuilder()
1914
- .ep(commonParams)
1915
- .m(function (Command, cs, config, o) {
1916
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1917
- })
1918
- .s("InspectorService", "StartAssessmentRun", {})
1919
- .n("InspectorClient", "StartAssessmentRunCommand")
1920
- .sc(StartAssessmentRun$)
1921
- .build() {
1629
+ class StartAssessmentRunCommand extends command(_ep0, _mw0, "StartAssessmentRun", StartAssessmentRun$) {
1922
1630
  }
1923
1631
 
1924
- class StopAssessmentRunCommand extends Command
1925
- .classBuilder()
1926
- .ep(commonParams)
1927
- .m(function (Command, cs, config, o) {
1928
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1929
- })
1930
- .s("InspectorService", "StopAssessmentRun", {})
1931
- .n("InspectorClient", "StopAssessmentRunCommand")
1932
- .sc(StopAssessmentRun$)
1933
- .build() {
1632
+ class StopAssessmentRunCommand extends command(_ep0, _mw0, "StopAssessmentRun", StopAssessmentRun$) {
1934
1633
  }
1935
1634
 
1936
- class SubscribeToEventCommand extends Command
1937
- .classBuilder()
1938
- .ep(commonParams)
1939
- .m(function (Command, cs, config, o) {
1940
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1941
- })
1942
- .s("InspectorService", "SubscribeToEvent", {})
1943
- .n("InspectorClient", "SubscribeToEventCommand")
1944
- .sc(SubscribeToEvent$)
1945
- .build() {
1635
+ class SubscribeToEventCommand extends command(_ep0, _mw0, "SubscribeToEvent", SubscribeToEvent$) {
1946
1636
  }
1947
1637
 
1948
- class UnsubscribeFromEventCommand extends Command
1949
- .classBuilder()
1950
- .ep(commonParams)
1951
- .m(function (Command, cs, config, o) {
1952
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1953
- })
1954
- .s("InspectorService", "UnsubscribeFromEvent", {})
1955
- .n("InspectorClient", "UnsubscribeFromEventCommand")
1956
- .sc(UnsubscribeFromEvent$)
1957
- .build() {
1638
+ class UnsubscribeFromEventCommand extends command(_ep0, _mw0, "UnsubscribeFromEvent", UnsubscribeFromEvent$) {
1958
1639
  }
1959
1640
 
1960
- class UpdateAssessmentTargetCommand extends Command
1961
- .classBuilder()
1962
- .ep(commonParams)
1963
- .m(function (Command, cs, config, o) {
1964
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1965
- })
1966
- .s("InspectorService", "UpdateAssessmentTarget", {})
1967
- .n("InspectorClient", "UpdateAssessmentTargetCommand")
1968
- .sc(UpdateAssessmentTarget$)
1969
- .build() {
1641
+ class UpdateAssessmentTargetCommand extends command(_ep0, _mw0, "UpdateAssessmentTarget", UpdateAssessmentTarget$) {
1970
1642
  }
1971
1643
 
1972
1644
  const paginateGetExclusionsPreview = createPaginator(InspectorClient, GetExclusionsPreviewCommand, "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, "InspectorService", "InspectorClient", 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 { AddAttributesToFindings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddAttributesToFindingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "AddAttributesToFindings", {})
13
- .n("InspectorClient", "AddAttributesToFindingsCommand")
14
- .sc(AddAttributesToFindings$)
15
- .build() {
3
+ export class AddAttributesToFindingsCommand extends command(_ep0, _mw0, "AddAttributesToFindings", AddAttributesToFindings$) {
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 { CreateAssessmentTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAssessmentTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "CreateAssessmentTarget", {})
13
- .n("InspectorClient", "CreateAssessmentTargetCommand")
14
- .sc(CreateAssessmentTarget$)
15
- .build() {
3
+ export class CreateAssessmentTargetCommand extends command(_ep0, _mw0, "CreateAssessmentTarget", CreateAssessmentTarget$) {
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 { CreateAssessmentTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateAssessmentTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "CreateAssessmentTemplate", {})
13
- .n("InspectorClient", "CreateAssessmentTemplateCommand")
14
- .sc(CreateAssessmentTemplate$)
15
- .build() {
3
+ export class CreateAssessmentTemplateCommand extends command(_ep0, _mw0, "CreateAssessmentTemplate", CreateAssessmentTemplate$) {
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 { CreateExclusionsPreview$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateExclusionsPreviewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "CreateExclusionsPreview", {})
13
- .n("InspectorClient", "CreateExclusionsPreviewCommand")
14
- .sc(CreateExclusionsPreview$)
15
- .build() {
3
+ export class CreateExclusionsPreviewCommand extends command(_ep0, _mw0, "CreateExclusionsPreview", CreateExclusionsPreview$) {
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 { CreateResourceGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateResourceGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "CreateResourceGroup", {})
13
- .n("InspectorClient", "CreateResourceGroupCommand")
14
- .sc(CreateResourceGroup$)
15
- .build() {
3
+ export class CreateResourceGroupCommand extends command(_ep0, _mw0, "CreateResourceGroup", CreateResourceGroup$) {
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 { DeleteAssessmentRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAssessmentRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DeleteAssessmentRun", {})
13
- .n("InspectorClient", "DeleteAssessmentRunCommand")
14
- .sc(DeleteAssessmentRun$)
15
- .build() {
3
+ export class DeleteAssessmentRunCommand extends command(_ep0, _mw0, "DeleteAssessmentRun", DeleteAssessmentRun$) {
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 { DeleteAssessmentTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAssessmentTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DeleteAssessmentTarget", {})
13
- .n("InspectorClient", "DeleteAssessmentTargetCommand")
14
- .sc(DeleteAssessmentTarget$)
15
- .build() {
3
+ export class DeleteAssessmentTargetCommand extends command(_ep0, _mw0, "DeleteAssessmentTarget", DeleteAssessmentTarget$) {
16
4
  }