@aws-sdk/client-inspector2 3.354.0 → 3.357.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 (60) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/Inspector2.js +14 -0
  3. package/dist-cjs/commands/BatchGetCodeSnippetCommand.js +46 -0
  4. package/dist-cjs/commands/CancelSbomExportCommand.js +46 -0
  5. package/dist-cjs/commands/CreateSbomExportCommand.js +46 -0
  6. package/dist-cjs/commands/GetEncryptionKeyCommand.js +46 -0
  7. package/dist-cjs/commands/GetSbomExportCommand.js +46 -0
  8. package/dist-cjs/commands/ResetEncryptionKeyCommand.js +46 -0
  9. package/dist-cjs/commands/UpdateEncryptionKeyCommand.js +46 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +28 -2
  12. package/dist-cjs/protocols/Aws_restJson1.js +492 -13
  13. package/dist-es/Inspector2.js +14 -0
  14. package/dist-es/commands/BatchGetCodeSnippetCommand.js +42 -0
  15. package/dist-es/commands/CancelSbomExportCommand.js +42 -0
  16. package/dist-es/commands/CreateSbomExportCommand.js +42 -0
  17. package/dist-es/commands/GetEncryptionKeyCommand.js +42 -0
  18. package/dist-es/commands/GetSbomExportCommand.js +42 -0
  19. package/dist-es/commands/ResetEncryptionKeyCommand.js +42 -0
  20. package/dist-es/commands/UpdateEncryptionKeyCommand.js +42 -0
  21. package/dist-es/commands/index.js +7 -0
  22. package/dist-es/models/models_0.js +26 -0
  23. package/dist-es/protocols/Aws_restJson1.js +472 -7
  24. package/dist-types/Inspector2.d.ts +49 -0
  25. package/dist-types/Inspector2Client.d.ts +10 -3
  26. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -0
  27. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +113 -0
  28. package/dist-types/commands/CancelSbomExportCommand.d.ts +89 -0
  29. package/dist-types/commands/CreateFilterCommand.d.ts +9 -0
  30. package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -0
  31. package/dist-types/commands/CreateSbomExportCommand.d.ts +141 -0
  32. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  33. package/dist-types/commands/DisableCommand.d.ts +2 -0
  34. package/dist-types/commands/EnableCommand.d.ts +2 -0
  35. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +90 -0
  36. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +9 -0
  37. package/dist-types/commands/GetSbomExportCommand.d.ts +145 -0
  38. package/dist-types/commands/ListFiltersCommand.d.ts +9 -0
  39. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -0
  40. package/dist-types/commands/ListFindingsCommand.d.ts +33 -0
  41. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +88 -0
  42. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +89 -0
  43. package/dist-types/commands/UpdateFilterCommand.d.ts +9 -0
  44. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -0
  45. package/dist-types/commands/index.d.ts +7 -0
  46. package/dist-types/models/models_0.d.ts +485 -1
  47. package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
  48. package/dist-types/ts3.4/Inspector2.d.ts +119 -0
  49. package/dist-types/ts3.4/Inspector2Client.d.ts +42 -0
  50. package/dist-types/ts3.4/commands/BatchGetCodeSnippetCommand.d.ts +39 -0
  51. package/dist-types/ts3.4/commands/CancelSbomExportCommand.d.ts +38 -0
  52. package/dist-types/ts3.4/commands/CreateSbomExportCommand.d.ts +38 -0
  53. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +38 -0
  54. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +38 -0
  55. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +39 -0
  56. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +39 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +153 -0
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
  60. package/package.json +28 -28
package/README.md CHANGED
@@ -219,6 +219,14 @@ BatchGetAccountStatus
219
219
 
220
220
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/batchgetaccountstatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/batchgetaccountstatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/batchgetaccountstatuscommandoutput.html)
221
221
 
222
+ </details>
223
+ <details>
224
+ <summary>
225
+ BatchGetCodeSnippet
226
+ </summary>
227
+
228
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/batchgetcodesnippetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/batchgetcodesnippetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/batchgetcodesnippetcommandoutput.html)
229
+
222
230
  </details>
223
231
  <details>
224
232
  <summary>
@@ -251,6 +259,14 @@ CancelFindingsReport
251
259
 
252
260
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/cancelfindingsreportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/cancelfindingsreportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/cancelfindingsreportcommandoutput.html)
253
261
 
262
+ </details>
263
+ <details>
264
+ <summary>
265
+ CancelSbomExport
266
+ </summary>
267
+
268
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/cancelsbomexportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/cancelsbomexportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/cancelsbomexportcommandoutput.html)
269
+
254
270
  </details>
255
271
  <details>
256
272
  <summary>
@@ -267,6 +283,14 @@ CreateFindingsReport
267
283
 
268
284
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/createfindingsreportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/createfindingsreportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/createfindingsreportcommandoutput.html)
269
285
 
286
+ </details>
287
+ <details>
288
+ <summary>
289
+ CreateSbomExport
290
+ </summary>
291
+
292
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/createsbomexportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/createsbomexportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/createsbomexportcommandoutput.html)
293
+
270
294
  </details>
271
295
  <details>
272
296
  <summary>
@@ -347,6 +371,14 @@ GetEc2DeepInspectionConfiguration
347
371
 
348
372
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/getec2deepinspectionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getec2deepinspectionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getec2deepinspectionconfigurationcommandoutput.html)
349
373
 
374
+ </details>
375
+ <details>
376
+ <summary>
377
+ GetEncryptionKey
378
+ </summary>
379
+
380
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/getencryptionkeycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getencryptionkeycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getencryptionkeycommandoutput.html)
381
+
350
382
  </details>
351
383
  <details>
352
384
  <summary>
@@ -363,6 +395,14 @@ GetMember
363
395
 
364
396
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/getmembercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getmembercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getmembercommandoutput.html)
365
397
 
398
+ </details>
399
+ <details>
400
+ <summary>
401
+ GetSbomExport
402
+ </summary>
403
+
404
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/getsbomexportcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getsbomexportcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/getsbomexportcommandoutput.html)
405
+
366
406
  </details>
367
407
  <details>
368
408
  <summary>
@@ -443,6 +483,14 @@ ListUsageTotals
443
483
 
444
484
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/listusagetotalscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/listusagetotalscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/listusagetotalscommandoutput.html)
445
485
 
486
+ </details>
487
+ <details>
488
+ <summary>
489
+ ResetEncryptionKey
490
+ </summary>
491
+
492
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/resetencryptionkeycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/resetencryptionkeycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/resetencryptionkeycommandoutput.html)
493
+
446
494
  </details>
447
495
  <details>
448
496
  <summary>
@@ -483,6 +531,14 @@ UpdateEc2DeepInspectionConfiguration
483
531
 
484
532
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/updateec2deepinspectionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/updateec2deepinspectionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/updateec2deepinspectionconfigurationcommandoutput.html)
485
533
 
534
+ </details>
535
+ <details>
536
+ <summary>
537
+ UpdateEncryptionKey
538
+ </summary>
539
+
540
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/classes/updateencryptionkeycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/updateencryptionkeycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-inspector2/interfaces/updateencryptionkeycommandoutput.html)
541
+
486
542
  </details>
487
543
  <details>
488
544
  <summary>
@@ -4,12 +4,15 @@ exports.Inspector2 = void 0;
4
4
  const smithy_client_1 = require("@aws-sdk/smithy-client");
5
5
  const AssociateMemberCommand_1 = require("./commands/AssociateMemberCommand");
6
6
  const BatchGetAccountStatusCommand_1 = require("./commands/BatchGetAccountStatusCommand");
7
+ const BatchGetCodeSnippetCommand_1 = require("./commands/BatchGetCodeSnippetCommand");
7
8
  const BatchGetFreeTrialInfoCommand_1 = require("./commands/BatchGetFreeTrialInfoCommand");
8
9
  const BatchGetMemberEc2DeepInspectionStatusCommand_1 = require("./commands/BatchGetMemberEc2DeepInspectionStatusCommand");
9
10
  const BatchUpdateMemberEc2DeepInspectionStatusCommand_1 = require("./commands/BatchUpdateMemberEc2DeepInspectionStatusCommand");
10
11
  const CancelFindingsReportCommand_1 = require("./commands/CancelFindingsReportCommand");
12
+ const CancelSbomExportCommand_1 = require("./commands/CancelSbomExportCommand");
11
13
  const CreateFilterCommand_1 = require("./commands/CreateFilterCommand");
12
14
  const CreateFindingsReportCommand_1 = require("./commands/CreateFindingsReportCommand");
15
+ const CreateSbomExportCommand_1 = require("./commands/CreateSbomExportCommand");
13
16
  const DeleteFilterCommand_1 = require("./commands/DeleteFilterCommand");
14
17
  const DescribeOrganizationConfigurationCommand_1 = require("./commands/DescribeOrganizationConfigurationCommand");
15
18
  const DisableCommand_1 = require("./commands/DisableCommand");
@@ -20,8 +23,10 @@ const EnableDelegatedAdminAccountCommand_1 = require("./commands/EnableDelegated
20
23
  const GetConfigurationCommand_1 = require("./commands/GetConfigurationCommand");
21
24
  const GetDelegatedAdminAccountCommand_1 = require("./commands/GetDelegatedAdminAccountCommand");
22
25
  const GetEc2DeepInspectionConfigurationCommand_1 = require("./commands/GetEc2DeepInspectionConfigurationCommand");
26
+ const GetEncryptionKeyCommand_1 = require("./commands/GetEncryptionKeyCommand");
23
27
  const GetFindingsReportStatusCommand_1 = require("./commands/GetFindingsReportStatusCommand");
24
28
  const GetMemberCommand_1 = require("./commands/GetMemberCommand");
29
+ const GetSbomExportCommand_1 = require("./commands/GetSbomExportCommand");
25
30
  const ListAccountPermissionsCommand_1 = require("./commands/ListAccountPermissionsCommand");
26
31
  const ListCoverageCommand_1 = require("./commands/ListCoverageCommand");
27
32
  const ListCoverageStatisticsCommand_1 = require("./commands/ListCoverageStatisticsCommand");
@@ -32,11 +37,13 @@ const ListFindingsCommand_1 = require("./commands/ListFindingsCommand");
32
37
  const ListMembersCommand_1 = require("./commands/ListMembersCommand");
33
38
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
34
39
  const ListUsageTotalsCommand_1 = require("./commands/ListUsageTotalsCommand");
40
+ const ResetEncryptionKeyCommand_1 = require("./commands/ResetEncryptionKeyCommand");
35
41
  const SearchVulnerabilitiesCommand_1 = require("./commands/SearchVulnerabilitiesCommand");
36
42
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
37
43
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
38
44
  const UpdateConfigurationCommand_1 = require("./commands/UpdateConfigurationCommand");
39
45
  const UpdateEc2DeepInspectionConfigurationCommand_1 = require("./commands/UpdateEc2DeepInspectionConfigurationCommand");
46
+ const UpdateEncryptionKeyCommand_1 = require("./commands/UpdateEncryptionKeyCommand");
40
47
  const UpdateFilterCommand_1 = require("./commands/UpdateFilterCommand");
41
48
  const UpdateOrganizationConfigurationCommand_1 = require("./commands/UpdateOrganizationConfigurationCommand");
42
49
  const UpdateOrgEc2DeepInspectionConfigurationCommand_1 = require("./commands/UpdateOrgEc2DeepInspectionConfigurationCommand");
@@ -44,12 +51,15 @@ const Inspector2Client_1 = require("./Inspector2Client");
44
51
  const commands = {
45
52
  AssociateMemberCommand: AssociateMemberCommand_1.AssociateMemberCommand,
46
53
  BatchGetAccountStatusCommand: BatchGetAccountStatusCommand_1.BatchGetAccountStatusCommand,
54
+ BatchGetCodeSnippetCommand: BatchGetCodeSnippetCommand_1.BatchGetCodeSnippetCommand,
47
55
  BatchGetFreeTrialInfoCommand: BatchGetFreeTrialInfoCommand_1.BatchGetFreeTrialInfoCommand,
48
56
  BatchGetMemberEc2DeepInspectionStatusCommand: BatchGetMemberEc2DeepInspectionStatusCommand_1.BatchGetMemberEc2DeepInspectionStatusCommand,
49
57
  BatchUpdateMemberEc2DeepInspectionStatusCommand: BatchUpdateMemberEc2DeepInspectionStatusCommand_1.BatchUpdateMemberEc2DeepInspectionStatusCommand,
50
58
  CancelFindingsReportCommand: CancelFindingsReportCommand_1.CancelFindingsReportCommand,
59
+ CancelSbomExportCommand: CancelSbomExportCommand_1.CancelSbomExportCommand,
51
60
  CreateFilterCommand: CreateFilterCommand_1.CreateFilterCommand,
52
61
  CreateFindingsReportCommand: CreateFindingsReportCommand_1.CreateFindingsReportCommand,
62
+ CreateSbomExportCommand: CreateSbomExportCommand_1.CreateSbomExportCommand,
53
63
  DeleteFilterCommand: DeleteFilterCommand_1.DeleteFilterCommand,
54
64
  DescribeOrganizationConfigurationCommand: DescribeOrganizationConfigurationCommand_1.DescribeOrganizationConfigurationCommand,
55
65
  DisableCommand: DisableCommand_1.DisableCommand,
@@ -60,8 +70,10 @@ const commands = {
60
70
  GetConfigurationCommand: GetConfigurationCommand_1.GetConfigurationCommand,
61
71
  GetDelegatedAdminAccountCommand: GetDelegatedAdminAccountCommand_1.GetDelegatedAdminAccountCommand,
62
72
  GetEc2DeepInspectionConfigurationCommand: GetEc2DeepInspectionConfigurationCommand_1.GetEc2DeepInspectionConfigurationCommand,
73
+ GetEncryptionKeyCommand: GetEncryptionKeyCommand_1.GetEncryptionKeyCommand,
63
74
  GetFindingsReportStatusCommand: GetFindingsReportStatusCommand_1.GetFindingsReportStatusCommand,
64
75
  GetMemberCommand: GetMemberCommand_1.GetMemberCommand,
76
+ GetSbomExportCommand: GetSbomExportCommand_1.GetSbomExportCommand,
65
77
  ListAccountPermissionsCommand: ListAccountPermissionsCommand_1.ListAccountPermissionsCommand,
66
78
  ListCoverageCommand: ListCoverageCommand_1.ListCoverageCommand,
67
79
  ListCoverageStatisticsCommand: ListCoverageStatisticsCommand_1.ListCoverageStatisticsCommand,
@@ -72,11 +84,13 @@ const commands = {
72
84
  ListMembersCommand: ListMembersCommand_1.ListMembersCommand,
73
85
  ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
74
86
  ListUsageTotalsCommand: ListUsageTotalsCommand_1.ListUsageTotalsCommand,
87
+ ResetEncryptionKeyCommand: ResetEncryptionKeyCommand_1.ResetEncryptionKeyCommand,
75
88
  SearchVulnerabilitiesCommand: SearchVulnerabilitiesCommand_1.SearchVulnerabilitiesCommand,
76
89
  TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
77
90
  UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
78
91
  UpdateConfigurationCommand: UpdateConfigurationCommand_1.UpdateConfigurationCommand,
79
92
  UpdateEc2DeepInspectionConfigurationCommand: UpdateEc2DeepInspectionConfigurationCommand_1.UpdateEc2DeepInspectionConfigurationCommand,
93
+ UpdateEncryptionKeyCommand: UpdateEncryptionKeyCommand_1.UpdateEncryptionKeyCommand,
80
94
  UpdateFilterCommand: UpdateFilterCommand_1.UpdateFilterCommand,
81
95
  UpdateOrganizationConfigurationCommand: UpdateOrganizationConfigurationCommand_1.UpdateOrganizationConfigurationCommand,
82
96
  UpdateOrgEc2DeepInspectionConfigurationCommand: UpdateOrgEc2DeepInspectionConfigurationCommand_1.UpdateOrgEc2DeepInspectionConfigurationCommand,
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BatchGetCodeSnippetCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class BatchGetCodeSnippetCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetCodeSnippetCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Inspector2Client";
28
+ const commandName = "BatchGetCodeSnippetCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_BatchGetCodeSnippetCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_BatchGetCodeSnippetCommand)(output, context);
44
+ }
45
+ }
46
+ exports.BatchGetCodeSnippetCommand = BatchGetCodeSnippetCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CancelSbomExportCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class CancelSbomExportCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelSbomExportCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Inspector2Client";
28
+ const commandName = "CancelSbomExportCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_CancelSbomExportCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_CancelSbomExportCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CancelSbomExportCommand = CancelSbomExportCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateSbomExportCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class CreateSbomExportCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateSbomExportCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Inspector2Client";
28
+ const commandName = "CreateSbomExportCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_CreateSbomExportCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_CreateSbomExportCommand)(output, context);
44
+ }
45
+ }
46
+ exports.CreateSbomExportCommand = CreateSbomExportCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetEncryptionKeyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetEncryptionKeyCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetEncryptionKeyCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Inspector2Client";
28
+ const commandName = "GetEncryptionKeyCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_GetEncryptionKeyCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_GetEncryptionKeyCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetEncryptionKeyCommand = GetEncryptionKeyCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetSbomExportCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class GetSbomExportCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSbomExportCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Inspector2Client";
28
+ const commandName = "GetSbomExportCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_GetSbomExportCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_GetSbomExportCommand)(output, context);
44
+ }
45
+ }
46
+ exports.GetSbomExportCommand = GetSbomExportCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResetEncryptionKeyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class ResetEncryptionKeyCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResetEncryptionKeyCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Inspector2Client";
28
+ const commandName = "ResetEncryptionKeyCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_ResetEncryptionKeyCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_ResetEncryptionKeyCommand)(output, context);
44
+ }
45
+ }
46
+ exports.ResetEncryptionKeyCommand = ResetEncryptionKeyCommand;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEncryptionKeyCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
5
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
6
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
9
+ class UpdateEncryptionKeyCommand extends smithy_client_1.Command {
10
+ static getEndpointParameterInstructions() {
11
+ return {
12
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
13
+ Endpoint: { type: "builtInParams", name: "endpoint" },
14
+ Region: { type: "builtInParams", name: "region" },
15
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
16
+ };
17
+ }
18
+ constructor(input) {
19
+ super();
20
+ this.input = input;
21
+ }
22
+ resolveMiddleware(clientStack, configuration, options) {
23
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
24
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateEncryptionKeyCommand.getEndpointParameterInstructions()));
25
+ const stack = clientStack.concat(this.middlewareStack);
26
+ const { logger } = configuration;
27
+ const clientName = "Inspector2Client";
28
+ const commandName = "UpdateEncryptionKeyCommand";
29
+ const handlerExecutionContext = {
30
+ logger,
31
+ clientName,
32
+ commandName,
33
+ inputFilterSensitiveLog: (_) => _,
34
+ outputFilterSensitiveLog: (_) => _,
35
+ };
36
+ const { requestHandler } = configuration;
37
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
38
+ }
39
+ serialize(input, context) {
40
+ return (0, Aws_restJson1_1.se_UpdateEncryptionKeyCommand)(input, context);
41
+ }
42
+ deserialize(output, context) {
43
+ return (0, Aws_restJson1_1.de_UpdateEncryptionKeyCommand)(output, context);
44
+ }
45
+ }
46
+ exports.UpdateEncryptionKeyCommand = UpdateEncryptionKeyCommand;
@@ -3,12 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./AssociateMemberCommand"), exports);
5
5
  tslib_1.__exportStar(require("./BatchGetAccountStatusCommand"), exports);
6
+ tslib_1.__exportStar(require("./BatchGetCodeSnippetCommand"), exports);
6
7
  tslib_1.__exportStar(require("./BatchGetFreeTrialInfoCommand"), exports);
7
8
  tslib_1.__exportStar(require("./BatchGetMemberEc2DeepInspectionStatusCommand"), exports);
8
9
  tslib_1.__exportStar(require("./BatchUpdateMemberEc2DeepInspectionStatusCommand"), exports);
9
10
  tslib_1.__exportStar(require("./CancelFindingsReportCommand"), exports);
11
+ tslib_1.__exportStar(require("./CancelSbomExportCommand"), exports);
10
12
  tslib_1.__exportStar(require("./CreateFilterCommand"), exports);
11
13
  tslib_1.__exportStar(require("./CreateFindingsReportCommand"), exports);
14
+ tslib_1.__exportStar(require("./CreateSbomExportCommand"), exports);
12
15
  tslib_1.__exportStar(require("./DeleteFilterCommand"), exports);
13
16
  tslib_1.__exportStar(require("./DescribeOrganizationConfigurationCommand"), exports);
14
17
  tslib_1.__exportStar(require("./DisableCommand"), exports);
@@ -19,8 +22,10 @@ tslib_1.__exportStar(require("./EnableDelegatedAdminAccountCommand"), exports);
19
22
  tslib_1.__exportStar(require("./GetConfigurationCommand"), exports);
20
23
  tslib_1.__exportStar(require("./GetDelegatedAdminAccountCommand"), exports);
21
24
  tslib_1.__exportStar(require("./GetEc2DeepInspectionConfigurationCommand"), exports);
25
+ tslib_1.__exportStar(require("./GetEncryptionKeyCommand"), exports);
22
26
  tslib_1.__exportStar(require("./GetFindingsReportStatusCommand"), exports);
23
27
  tslib_1.__exportStar(require("./GetMemberCommand"), exports);
28
+ tslib_1.__exportStar(require("./GetSbomExportCommand"), exports);
24
29
  tslib_1.__exportStar(require("./ListAccountPermissionsCommand"), exports);
25
30
  tslib_1.__exportStar(require("./ListCoverageCommand"), exports);
26
31
  tslib_1.__exportStar(require("./ListCoverageStatisticsCommand"), exports);
@@ -31,11 +36,13 @@ tslib_1.__exportStar(require("./ListFindingsCommand"), exports);
31
36
  tslib_1.__exportStar(require("./ListMembersCommand"), exports);
32
37
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
33
38
  tslib_1.__exportStar(require("./ListUsageTotalsCommand"), exports);
39
+ tslib_1.__exportStar(require("./ResetEncryptionKeyCommand"), exports);
34
40
  tslib_1.__exportStar(require("./SearchVulnerabilitiesCommand"), exports);
35
41
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
36
42
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
37
43
  tslib_1.__exportStar(require("./UpdateConfigurationCommand"), exports);
38
44
  tslib_1.__exportStar(require("./UpdateEc2DeepInspectionConfigurationCommand"), exports);
45
+ tslib_1.__exportStar(require("./UpdateEncryptionKeyCommand"), exports);
39
46
  tslib_1.__exportStar(require("./UpdateFilterCommand"), exports);
40
47
  tslib_1.__exportStar(require("./UpdateOrgEc2DeepInspectionConfigurationCommand"), exports);
41
48
  tslib_1.__exportStar(require("./UpdateOrganizationConfigurationCommand"), exports);