@aws-sdk/client-inspector 3.478.0 → 3.481.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 (153) hide show
  1. package/dist-cjs/commands/AddAttributesToFindingsCommand.js +18 -41
  2. package/dist-cjs/commands/CreateAssessmentTargetCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +18 -41
  4. package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +18 -41
  5. package/dist-cjs/commands/CreateResourceGroupCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteAssessmentRunCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +18 -41
  10. package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +18 -41
  11. package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeExclusionsCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeFindingsCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeResourceGroupsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeRulesPackagesCommand.js +18 -41
  17. package/dist-cjs/commands/GetAssessmentReportCommand.js +18 -41
  18. package/dist-cjs/commands/GetExclusionsPreviewCommand.js +18 -41
  19. package/dist-cjs/commands/GetTelemetryMetadataCommand.js +18 -41
  20. package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +18 -41
  21. package/dist-cjs/commands/ListAssessmentRunsCommand.js +18 -41
  22. package/dist-cjs/commands/ListAssessmentTargetsCommand.js +18 -41
  23. package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +18 -41
  24. package/dist-cjs/commands/ListEventSubscriptionsCommand.js +18 -41
  25. package/dist-cjs/commands/ListExclusionsCommand.js +18 -41
  26. package/dist-cjs/commands/ListFindingsCommand.js +18 -41
  27. package/dist-cjs/commands/ListRulesPackagesCommand.js +18 -41
  28. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  29. package/dist-cjs/commands/PreviewAgentsCommand.js +18 -41
  30. package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +18 -41
  31. package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +18 -41
  32. package/dist-cjs/commands/SetTagsForResourceCommand.js +18 -41
  33. package/dist-cjs/commands/StartAssessmentRunCommand.js +18 -41
  34. package/dist-cjs/commands/StopAssessmentRunCommand.js +18 -41
  35. package/dist-cjs/commands/SubscribeToEventCommand.js +18 -41
  36. package/dist-cjs/commands/UnsubscribeFromEventCommand.js +18 -41
  37. package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +18 -41
  38. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  39. package/dist-es/commands/AddAttributesToFindingsCommand.js +18 -41
  40. package/dist-es/commands/CreateAssessmentTargetCommand.js +18 -41
  41. package/dist-es/commands/CreateAssessmentTemplateCommand.js +18 -41
  42. package/dist-es/commands/CreateExclusionsPreviewCommand.js +18 -41
  43. package/dist-es/commands/CreateResourceGroupCommand.js +18 -41
  44. package/dist-es/commands/DeleteAssessmentRunCommand.js +18 -41
  45. package/dist-es/commands/DeleteAssessmentTargetCommand.js +18 -41
  46. package/dist-es/commands/DeleteAssessmentTemplateCommand.js +18 -41
  47. package/dist-es/commands/DescribeAssessmentRunsCommand.js +18 -41
  48. package/dist-es/commands/DescribeAssessmentTargetsCommand.js +18 -41
  49. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +18 -41
  50. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +18 -41
  51. package/dist-es/commands/DescribeExclusionsCommand.js +18 -41
  52. package/dist-es/commands/DescribeFindingsCommand.js +18 -41
  53. package/dist-es/commands/DescribeResourceGroupsCommand.js +18 -41
  54. package/dist-es/commands/DescribeRulesPackagesCommand.js +18 -41
  55. package/dist-es/commands/GetAssessmentReportCommand.js +18 -41
  56. package/dist-es/commands/GetExclusionsPreviewCommand.js +18 -41
  57. package/dist-es/commands/GetTelemetryMetadataCommand.js +18 -41
  58. package/dist-es/commands/ListAssessmentRunAgentsCommand.js +18 -41
  59. package/dist-es/commands/ListAssessmentRunsCommand.js +18 -41
  60. package/dist-es/commands/ListAssessmentTargetsCommand.js +18 -41
  61. package/dist-es/commands/ListAssessmentTemplatesCommand.js +18 -41
  62. package/dist-es/commands/ListEventSubscriptionsCommand.js +18 -41
  63. package/dist-es/commands/ListExclusionsCommand.js +18 -41
  64. package/dist-es/commands/ListFindingsCommand.js +18 -41
  65. package/dist-es/commands/ListRulesPackagesCommand.js +18 -41
  66. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  67. package/dist-es/commands/PreviewAgentsCommand.js +18 -41
  68. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +18 -41
  69. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +18 -41
  70. package/dist-es/commands/SetTagsForResourceCommand.js +18 -41
  71. package/dist-es/commands/StartAssessmentRunCommand.js +18 -41
  72. package/dist-es/commands/StopAssessmentRunCommand.js +18 -41
  73. package/dist-es/commands/SubscribeToEventCommand.js +18 -41
  74. package/dist-es/commands/UnsubscribeFromEventCommand.js +18 -41
  75. package/dist-es/commands/UpdateAssessmentTargetCommand.js +18 -41
  76. package/dist-es/endpoint/EndpointParameters.js +6 -0
  77. package/dist-types/commands/AddAttributesToFindingsCommand.d.ts +6 -21
  78. package/dist-types/commands/CreateAssessmentTargetCommand.d.ts +6 -21
  79. package/dist-types/commands/CreateAssessmentTemplateCommand.d.ts +6 -21
  80. package/dist-types/commands/CreateExclusionsPreviewCommand.d.ts +6 -21
  81. package/dist-types/commands/CreateResourceGroupCommand.d.ts +6 -21
  82. package/dist-types/commands/DeleteAssessmentRunCommand.d.ts +6 -21
  83. package/dist-types/commands/DeleteAssessmentTargetCommand.d.ts +6 -21
  84. package/dist-types/commands/DeleteAssessmentTemplateCommand.d.ts +6 -21
  85. package/dist-types/commands/DescribeAssessmentRunsCommand.d.ts +6 -21
  86. package/dist-types/commands/DescribeAssessmentTargetsCommand.d.ts +6 -21
  87. package/dist-types/commands/DescribeAssessmentTemplatesCommand.d.ts +6 -21
  88. package/dist-types/commands/DescribeCrossAccountAccessRoleCommand.d.ts +6 -21
  89. package/dist-types/commands/DescribeExclusionsCommand.d.ts +6 -21
  90. package/dist-types/commands/DescribeFindingsCommand.d.ts +6 -21
  91. package/dist-types/commands/DescribeResourceGroupsCommand.d.ts +6 -21
  92. package/dist-types/commands/DescribeRulesPackagesCommand.d.ts +6 -21
  93. package/dist-types/commands/GetAssessmentReportCommand.d.ts +6 -21
  94. package/dist-types/commands/GetExclusionsPreviewCommand.d.ts +6 -21
  95. package/dist-types/commands/GetTelemetryMetadataCommand.d.ts +6 -21
  96. package/dist-types/commands/ListAssessmentRunAgentsCommand.d.ts +6 -21
  97. package/dist-types/commands/ListAssessmentRunsCommand.d.ts +6 -21
  98. package/dist-types/commands/ListAssessmentTargetsCommand.d.ts +6 -21
  99. package/dist-types/commands/ListAssessmentTemplatesCommand.d.ts +6 -21
  100. package/dist-types/commands/ListEventSubscriptionsCommand.d.ts +6 -21
  101. package/dist-types/commands/ListExclusionsCommand.d.ts +6 -21
  102. package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
  103. package/dist-types/commands/ListRulesPackagesCommand.d.ts +6 -21
  104. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  105. package/dist-types/commands/PreviewAgentsCommand.d.ts +6 -21
  106. package/dist-types/commands/RegisterCrossAccountAccessRoleCommand.d.ts +6 -21
  107. package/dist-types/commands/RemoveAttributesFromFindingsCommand.d.ts +6 -21
  108. package/dist-types/commands/SetTagsForResourceCommand.d.ts +6 -21
  109. package/dist-types/commands/StartAssessmentRunCommand.d.ts +6 -21
  110. package/dist-types/commands/StopAssessmentRunCommand.d.ts +6 -21
  111. package/dist-types/commands/SubscribeToEventCommand.d.ts +6 -21
  112. package/dist-types/commands/UnsubscribeFromEventCommand.d.ts +6 -21
  113. package/dist-types/commands/UpdateAssessmentTargetCommand.d.ts +6 -21
  114. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  115. package/dist-types/ts3.4/commands/AddAttributesToFindingsCommand.d.ts +12 -24
  116. package/dist-types/ts3.4/commands/CreateAssessmentTargetCommand.d.ts +12 -24
  117. package/dist-types/ts3.4/commands/CreateAssessmentTemplateCommand.d.ts +12 -24
  118. package/dist-types/ts3.4/commands/CreateExclusionsPreviewCommand.d.ts +12 -24
  119. package/dist-types/ts3.4/commands/CreateResourceGroupCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/DeleteAssessmentRunCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/DeleteAssessmentTargetCommand.d.ts +12 -24
  122. package/dist-types/ts3.4/commands/DeleteAssessmentTemplateCommand.d.ts +12 -24
  123. package/dist-types/ts3.4/commands/DescribeAssessmentRunsCommand.d.ts +12 -24
  124. package/dist-types/ts3.4/commands/DescribeAssessmentTargetsCommand.d.ts +12 -24
  125. package/dist-types/ts3.4/commands/DescribeAssessmentTemplatesCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/commands/DescribeCrossAccountAccessRoleCommand.d.ts +12 -24
  127. package/dist-types/ts3.4/commands/DescribeExclusionsCommand.d.ts +14 -23
  128. package/dist-types/ts3.4/commands/DescribeFindingsCommand.d.ts +14 -23
  129. package/dist-types/ts3.4/commands/DescribeResourceGroupsCommand.d.ts +12 -24
  130. package/dist-types/ts3.4/commands/DescribeRulesPackagesCommand.d.ts +12 -24
  131. package/dist-types/ts3.4/commands/GetAssessmentReportCommand.d.ts +14 -23
  132. package/dist-types/ts3.4/commands/GetExclusionsPreviewCommand.d.ts +12 -24
  133. package/dist-types/ts3.4/commands/GetTelemetryMetadataCommand.d.ts +12 -24
  134. package/dist-types/ts3.4/commands/ListAssessmentRunAgentsCommand.d.ts +12 -24
  135. package/dist-types/ts3.4/commands/ListAssessmentRunsCommand.d.ts +14 -23
  136. package/dist-types/ts3.4/commands/ListAssessmentTargetsCommand.d.ts +12 -24
  137. package/dist-types/ts3.4/commands/ListAssessmentTemplatesCommand.d.ts +12 -24
  138. package/dist-types/ts3.4/commands/ListEventSubscriptionsCommand.d.ts +12 -24
  139. package/dist-types/ts3.4/commands/ListExclusionsCommand.d.ts +14 -23
  140. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
  141. package/dist-types/ts3.4/commands/ListRulesPackagesCommand.d.ts +14 -23
  142. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/PreviewAgentsCommand.d.ts +14 -23
  144. package/dist-types/ts3.4/commands/RegisterCrossAccountAccessRoleCommand.d.ts +12 -24
  145. package/dist-types/ts3.4/commands/RemoveAttributesFromFindingsCommand.d.ts +12 -24
  146. package/dist-types/ts3.4/commands/SetTagsForResourceCommand.d.ts +14 -23
  147. package/dist-types/ts3.4/commands/StartAssessmentRunCommand.d.ts +14 -23
  148. package/dist-types/ts3.4/commands/StopAssessmentRunCommand.d.ts +14 -23
  149. package/dist-types/ts3.4/commands/SubscribeToEventCommand.d.ts +14 -23
  150. package/dist-types/ts3.4/commands/UnsubscribeFromEventCommand.d.ts +12 -24
  151. package/dist-types/ts3.4/commands/UpdateAssessmentTargetCommand.d.ts +12 -24
  152. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  153. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeAssessmentRunsCommand, se_DescribeAssessmentRunsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeAssessmentRunsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAssessmentRunsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeAssessmentRunsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeAssessmentRuns",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeAssessmentRunsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAssessmentRunsCommand(output, context);
46
- }
7
+ export class DescribeAssessmentRunsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeAssessmentRuns", {})
19
+ .n("InspectorClient", "DescribeAssessmentRunsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAssessmentRunsCommand)
22
+ .de(de_DescribeAssessmentRunsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeAssessmentTargetsCommand, se_DescribeAssessmentTargetsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeAssessmentTargetsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAssessmentTargetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeAssessmentTargetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeAssessmentTargets",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeAssessmentTargetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAssessmentTargetsCommand(output, context);
46
- }
7
+ export class DescribeAssessmentTargetsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeAssessmentTargets", {})
19
+ .n("InspectorClient", "DescribeAssessmentTargetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAssessmentTargetsCommand)
22
+ .de(de_DescribeAssessmentTargetsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeAssessmentTemplatesCommand, se_DescribeAssessmentTemplatesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeAssessmentTemplatesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAssessmentTemplatesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeAssessmentTemplatesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeAssessmentTemplates",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeAssessmentTemplatesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeAssessmentTemplatesCommand(output, context);
46
- }
7
+ export class DescribeAssessmentTemplatesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeAssessmentTemplates", {})
19
+ .n("InspectorClient", "DescribeAssessmentTemplatesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeAssessmentTemplatesCommand)
22
+ .de(de_DescribeAssessmentTemplatesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeCrossAccountAccessRoleCommand, se_DescribeCrossAccountAccessRoleCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeCrossAccountAccessRoleCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCrossAccountAccessRoleCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeCrossAccountAccessRoleCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeCrossAccountAccessRole",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeCrossAccountAccessRoleCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeCrossAccountAccessRoleCommand(output, context);
46
- }
7
+ export class DescribeCrossAccountAccessRoleCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeCrossAccountAccessRole", {})
19
+ .n("InspectorClient", "DescribeCrossAccountAccessRoleCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeCrossAccountAccessRoleCommand)
22
+ .de(de_DescribeCrossAccountAccessRoleCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeExclusionsCommand, se_DescribeExclusionsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeExclusionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeExclusionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeExclusionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeExclusions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeExclusionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeExclusionsCommand(output, context);
46
- }
7
+ export class DescribeExclusionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeExclusions", {})
19
+ .n("InspectorClient", "DescribeExclusionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeExclusionsCommand)
22
+ .de(de_DescribeExclusionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeFindingsCommand, se_DescribeFindingsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeFindingsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeFindingsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeFindingsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeFindings",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeFindingsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeFindingsCommand(output, context);
46
- }
7
+ export class DescribeFindingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeFindings", {})
19
+ .n("InspectorClient", "DescribeFindingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeFindingsCommand)
22
+ .de(de_DescribeFindingsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeResourceGroupsCommand, se_DescribeResourceGroupsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeResourceGroupsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeResourceGroupsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeResourceGroupsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeResourceGroups",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeResourceGroupsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeResourceGroupsCommand(output, context);
46
- }
7
+ export class DescribeResourceGroupsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeResourceGroups", {})
19
+ .n("InspectorClient", "DescribeResourceGroupsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeResourceGroupsCommand)
22
+ .de(de_DescribeResourceGroupsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeRulesPackagesCommand, se_DescribeRulesPackagesCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class DescribeRulesPackagesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRulesPackagesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "DescribeRulesPackagesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "DescribeRulesPackages",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeRulesPackagesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeRulesPackagesCommand(output, context);
46
- }
7
+ export class DescribeRulesPackagesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "DescribeRulesPackages", {})
19
+ .n("InspectorClient", "DescribeRulesPackagesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeRulesPackagesCommand)
22
+ .de(de_DescribeRulesPackagesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetAssessmentReportCommand, se_GetAssessmentReportCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class GetAssessmentReportCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetAssessmentReportCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "InspectorClient";
26
- const commandName = "GetAssessmentReportCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "InspectorService",
35
- operation: "GetAssessmentReport",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetAssessmentReportCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetAssessmentReportCommand(output, context);
46
- }
7
+ export class GetAssessmentReportCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("InspectorService", "GetAssessmentReport", {})
19
+ .n("InspectorClient", "GetAssessmentReportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetAssessmentReportCommand)
22
+ .de(de_GetAssessmentReportCommand)
23
+ .build() {
47
24
  }