@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
@@ -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 { DeleteAssessmentTemplate$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteAssessmentTemplateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DeleteAssessmentTemplate", {})
13
- .n("InspectorClient", "DeleteAssessmentTemplateCommand")
14
- .sc(DeleteAssessmentTemplate$)
15
- .build() {
3
+ export class DeleteAssessmentTemplateCommand extends command(_ep0, _mw0, "DeleteAssessmentTemplate", DeleteAssessmentTemplate$) {
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 { DescribeAssessmentRuns$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAssessmentRunsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeAssessmentRuns", {})
13
- .n("InspectorClient", "DescribeAssessmentRunsCommand")
14
- .sc(DescribeAssessmentRuns$)
15
- .build() {
3
+ export class DescribeAssessmentRunsCommand extends command(_ep0, _mw0, "DescribeAssessmentRuns", DescribeAssessmentRuns$) {
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 { DescribeAssessmentTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAssessmentTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeAssessmentTargets", {})
13
- .n("InspectorClient", "DescribeAssessmentTargetsCommand")
14
- .sc(DescribeAssessmentTargets$)
15
- .build() {
3
+ export class DescribeAssessmentTargetsCommand extends command(_ep0, _mw0, "DescribeAssessmentTargets", DescribeAssessmentTargets$) {
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 { DescribeAssessmentTemplates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAssessmentTemplatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeAssessmentTemplates", {})
13
- .n("InspectorClient", "DescribeAssessmentTemplatesCommand")
14
- .sc(DescribeAssessmentTemplates$)
15
- .build() {
3
+ export class DescribeAssessmentTemplatesCommand extends command(_ep0, _mw0, "DescribeAssessmentTemplates", DescribeAssessmentTemplates$) {
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 { DescribeCrossAccountAccessRole$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeCrossAccountAccessRoleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeCrossAccountAccessRole", {})
13
- .n("InspectorClient", "DescribeCrossAccountAccessRoleCommand")
14
- .sc(DescribeCrossAccountAccessRole$)
15
- .build() {
3
+ export class DescribeCrossAccountAccessRoleCommand extends command(_ep0, _mw0, "DescribeCrossAccountAccessRole", DescribeCrossAccountAccessRole$) {
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 { DescribeExclusions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeExclusionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeExclusions", {})
13
- .n("InspectorClient", "DescribeExclusionsCommand")
14
- .sc(DescribeExclusions$)
15
- .build() {
3
+ export class DescribeExclusionsCommand extends command(_ep0, _mw0, "DescribeExclusions", DescribeExclusions$) {
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 { DescribeFindings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeFindingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeFindings", {})
13
- .n("InspectorClient", "DescribeFindingsCommand")
14
- .sc(DescribeFindings$)
15
- .build() {
3
+ export class DescribeFindingsCommand extends command(_ep0, _mw0, "DescribeFindings", DescribeFindings$) {
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 { DescribeResourceGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeResourceGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeResourceGroups", {})
13
- .n("InspectorClient", "DescribeResourceGroupsCommand")
14
- .sc(DescribeResourceGroups$)
15
- .build() {
3
+ export class DescribeResourceGroupsCommand extends command(_ep0, _mw0, "DescribeResourceGroups", DescribeResourceGroups$) {
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 { DescribeRulesPackages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeRulesPackagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "DescribeRulesPackages", {})
13
- .n("InspectorClient", "DescribeRulesPackagesCommand")
14
- .sc(DescribeRulesPackages$)
15
- .build() {
3
+ export class DescribeRulesPackagesCommand extends command(_ep0, _mw0, "DescribeRulesPackages", DescribeRulesPackages$) {
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 { GetAssessmentReport$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetAssessmentReportCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "GetAssessmentReport", {})
13
- .n("InspectorClient", "GetAssessmentReportCommand")
14
- .sc(GetAssessmentReport$)
15
- .build() {
3
+ export class GetAssessmentReportCommand extends command(_ep0, _mw0, "GetAssessmentReport", GetAssessmentReport$) {
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 { GetExclusionsPreview$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetExclusionsPreviewCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "GetExclusionsPreview", {})
13
- .n("InspectorClient", "GetExclusionsPreviewCommand")
14
- .sc(GetExclusionsPreview$)
15
- .build() {
3
+ export class GetExclusionsPreviewCommand extends command(_ep0, _mw0, "GetExclusionsPreview", GetExclusionsPreview$) {
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 { GetTelemetryMetadata$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetTelemetryMetadataCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "GetTelemetryMetadata", {})
13
- .n("InspectorClient", "GetTelemetryMetadataCommand")
14
- .sc(GetTelemetryMetadata$)
15
- .build() {
3
+ export class GetTelemetryMetadataCommand extends command(_ep0, _mw0, "GetTelemetryMetadata", GetTelemetryMetadata$) {
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 { ListAssessmentRunAgents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssessmentRunAgentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListAssessmentRunAgents", {})
13
- .n("InspectorClient", "ListAssessmentRunAgentsCommand")
14
- .sc(ListAssessmentRunAgents$)
15
- .build() {
3
+ export class ListAssessmentRunAgentsCommand extends command(_ep0, _mw0, "ListAssessmentRunAgents", ListAssessmentRunAgents$) {
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 { ListAssessmentRuns$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssessmentRunsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListAssessmentRuns", {})
13
- .n("InspectorClient", "ListAssessmentRunsCommand")
14
- .sc(ListAssessmentRuns$)
15
- .build() {
3
+ export class ListAssessmentRunsCommand extends command(_ep0, _mw0, "ListAssessmentRuns", ListAssessmentRuns$) {
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 { ListAssessmentTargets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssessmentTargetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListAssessmentTargets", {})
13
- .n("InspectorClient", "ListAssessmentTargetsCommand")
14
- .sc(ListAssessmentTargets$)
15
- .build() {
3
+ export class ListAssessmentTargetsCommand extends command(_ep0, _mw0, "ListAssessmentTargets", ListAssessmentTargets$) {
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 { ListAssessmentTemplates$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAssessmentTemplatesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListAssessmentTemplates", {})
13
- .n("InspectorClient", "ListAssessmentTemplatesCommand")
14
- .sc(ListAssessmentTemplates$)
15
- .build() {
3
+ export class ListAssessmentTemplatesCommand extends command(_ep0, _mw0, "ListAssessmentTemplates", ListAssessmentTemplates$) {
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 { ListEventSubscriptions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEventSubscriptionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListEventSubscriptions", {})
13
- .n("InspectorClient", "ListEventSubscriptionsCommand")
14
- .sc(ListEventSubscriptions$)
15
- .build() {
3
+ export class ListEventSubscriptionsCommand extends command(_ep0, _mw0, "ListEventSubscriptions", ListEventSubscriptions$) {
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 { ListExclusions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListExclusionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListExclusions", {})
13
- .n("InspectorClient", "ListExclusionsCommand")
14
- .sc(ListExclusions$)
15
- .build() {
3
+ export class ListExclusionsCommand extends command(_ep0, _mw0, "ListExclusions", ListExclusions$) {
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 { ListFindings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListFindingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListFindings", {})
13
- .n("InspectorClient", "ListFindingsCommand")
14
- .sc(ListFindings$)
15
- .build() {
3
+ export class ListFindingsCommand extends command(_ep0, _mw0, "ListFindings", ListFindings$) {
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 { ListRulesPackages$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListRulesPackagesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListRulesPackages", {})
13
- .n("InspectorClient", "ListRulesPackagesCommand")
14
- .sc(ListRulesPackages$)
15
- .build() {
3
+ export class ListRulesPackagesCommand extends command(_ep0, _mw0, "ListRulesPackages", ListRulesPackages$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "ListTagsForResource", {})
13
- .n("InspectorClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { PreviewAgents$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PreviewAgentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "PreviewAgents", {})
13
- .n("InspectorClient", "PreviewAgentsCommand")
14
- .sc(PreviewAgents$)
15
- .build() {
3
+ export class PreviewAgentsCommand extends command(_ep0, _mw0, "PreviewAgents", PreviewAgents$) {
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 { RegisterCrossAccountAccessRole$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RegisterCrossAccountAccessRoleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "RegisterCrossAccountAccessRole", {})
13
- .n("InspectorClient", "RegisterCrossAccountAccessRoleCommand")
14
- .sc(RegisterCrossAccountAccessRole$)
15
- .build() {
3
+ export class RegisterCrossAccountAccessRoleCommand extends command(_ep0, _mw0, "RegisterCrossAccountAccessRole", RegisterCrossAccountAccessRole$) {
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 { RemoveAttributesFromFindings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveAttributesFromFindingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "RemoveAttributesFromFindings", {})
13
- .n("InspectorClient", "RemoveAttributesFromFindingsCommand")
14
- .sc(RemoveAttributesFromFindings$)
15
- .build() {
3
+ export class RemoveAttributesFromFindingsCommand extends command(_ep0, _mw0, "RemoveAttributesFromFindings", RemoveAttributesFromFindings$) {
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 { SetTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SetTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "SetTagsForResource", {})
13
- .n("InspectorClient", "SetTagsForResourceCommand")
14
- .sc(SetTagsForResource$)
15
- .build() {
3
+ export class SetTagsForResourceCommand extends command(_ep0, _mw0, "SetTagsForResource", SetTagsForResource$) {
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 { StartAssessmentRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartAssessmentRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "StartAssessmentRun", {})
13
- .n("InspectorClient", "StartAssessmentRunCommand")
14
- .sc(StartAssessmentRun$)
15
- .build() {
3
+ export class StartAssessmentRunCommand extends command(_ep0, _mw0, "StartAssessmentRun", StartAssessmentRun$) {
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 { StopAssessmentRun$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopAssessmentRunCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "StopAssessmentRun", {})
13
- .n("InspectorClient", "StopAssessmentRunCommand")
14
- .sc(StopAssessmentRun$)
15
- .build() {
3
+ export class StopAssessmentRunCommand extends command(_ep0, _mw0, "StopAssessmentRun", StopAssessmentRun$) {
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 { SubscribeToEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SubscribeToEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "SubscribeToEvent", {})
13
- .n("InspectorClient", "SubscribeToEventCommand")
14
- .sc(SubscribeToEvent$)
15
- .build() {
3
+ export class SubscribeToEventCommand extends command(_ep0, _mw0, "SubscribeToEvent", SubscribeToEvent$) {
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 { UnsubscribeFromEvent$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UnsubscribeFromEventCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "UnsubscribeFromEvent", {})
13
- .n("InspectorClient", "UnsubscribeFromEventCommand")
14
- .sc(UnsubscribeFromEvent$)
15
- .build() {
3
+ export class UnsubscribeFromEventCommand extends command(_ep0, _mw0, "UnsubscribeFromEvent", UnsubscribeFromEvent$) {
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 { UpdateAssessmentTarget$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAssessmentTargetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("InspectorService", "UpdateAssessmentTarget", {})
13
- .n("InspectorClient", "UpdateAssessmentTargetCommand")
14
- .sc(UpdateAssessmentTarget$)
15
- .build() {
3
+ export class UpdateAssessmentTargetCommand extends command(_ep0, _mw0, "UpdateAssessmentTarget", UpdateAssessmentTarget$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./InspectorClient";
2
2
  export * from "./Inspector";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./InspectorClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, InspectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];