@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
@@ -11,6 +11,10 @@ import {
11
11
  BatchGetAccountStatusCommandInput,
12
12
  BatchGetAccountStatusCommandOutput,
13
13
  } from "../commands/BatchGetAccountStatusCommand";
14
+ import {
15
+ BatchGetCodeSnippetCommandInput,
16
+ BatchGetCodeSnippetCommandOutput,
17
+ } from "../commands/BatchGetCodeSnippetCommand";
14
18
  import {
15
19
  BatchGetFreeTrialInfoCommandInput,
16
20
  BatchGetFreeTrialInfoCommandOutput,
@@ -27,6 +31,10 @@ import {
27
31
  CancelFindingsReportCommandInput,
28
32
  CancelFindingsReportCommandOutput,
29
33
  } from "../commands/CancelFindingsReportCommand";
34
+ import {
35
+ CancelSbomExportCommandInput,
36
+ CancelSbomExportCommandOutput,
37
+ } from "../commands/CancelSbomExportCommand";
30
38
  import {
31
39
  CreateFilterCommandInput,
32
40
  CreateFilterCommandOutput,
@@ -35,6 +43,10 @@ import {
35
43
  CreateFindingsReportCommandInput,
36
44
  CreateFindingsReportCommandOutput,
37
45
  } from "../commands/CreateFindingsReportCommand";
46
+ import {
47
+ CreateSbomExportCommandInput,
48
+ CreateSbomExportCommandOutput,
49
+ } from "../commands/CreateSbomExportCommand";
38
50
  import {
39
51
  DeleteFilterCommandInput,
40
52
  DeleteFilterCommandOutput,
@@ -75,6 +87,10 @@ import {
75
87
  GetEc2DeepInspectionConfigurationCommandInput,
76
88
  GetEc2DeepInspectionConfigurationCommandOutput,
77
89
  } from "../commands/GetEc2DeepInspectionConfigurationCommand";
90
+ import {
91
+ GetEncryptionKeyCommandInput,
92
+ GetEncryptionKeyCommandOutput,
93
+ } from "../commands/GetEncryptionKeyCommand";
78
94
  import {
79
95
  GetFindingsReportStatusCommandInput,
80
96
  GetFindingsReportStatusCommandOutput,
@@ -83,6 +99,10 @@ import {
83
99
  GetMemberCommandInput,
84
100
  GetMemberCommandOutput,
85
101
  } from "../commands/GetMemberCommand";
102
+ import {
103
+ GetSbomExportCommandInput,
104
+ GetSbomExportCommandOutput,
105
+ } from "../commands/GetSbomExportCommand";
86
106
  import {
87
107
  ListAccountPermissionsCommandInput,
88
108
  ListAccountPermissionsCommandOutput,
@@ -123,6 +143,10 @@ import {
123
143
  ListUsageTotalsCommandInput,
124
144
  ListUsageTotalsCommandOutput,
125
145
  } from "../commands/ListUsageTotalsCommand";
146
+ import {
147
+ ResetEncryptionKeyCommandInput,
148
+ ResetEncryptionKeyCommandOutput,
149
+ } from "../commands/ResetEncryptionKeyCommand";
126
150
  import {
127
151
  SearchVulnerabilitiesCommandInput,
128
152
  SearchVulnerabilitiesCommandOutput,
@@ -143,6 +167,10 @@ import {
143
167
  UpdateEc2DeepInspectionConfigurationCommandInput,
144
168
  UpdateEc2DeepInspectionConfigurationCommandOutput,
145
169
  } from "../commands/UpdateEc2DeepInspectionConfigurationCommand";
170
+ import {
171
+ UpdateEncryptionKeyCommandInput,
172
+ UpdateEncryptionKeyCommandOutput,
173
+ } from "../commands/UpdateEncryptionKeyCommand";
146
174
  import {
147
175
  UpdateFilterCommandInput,
148
176
  UpdateFilterCommandOutput,
@@ -163,6 +191,10 @@ export declare const se_BatchGetAccountStatusCommand: (
163
191
  input: BatchGetAccountStatusCommandInput,
164
192
  context: __SerdeContext
165
193
  ) => Promise<__HttpRequest>;
194
+ export declare const se_BatchGetCodeSnippetCommand: (
195
+ input: BatchGetCodeSnippetCommandInput,
196
+ context: __SerdeContext
197
+ ) => Promise<__HttpRequest>;
166
198
  export declare const se_BatchGetFreeTrialInfoCommand: (
167
199
  input: BatchGetFreeTrialInfoCommandInput,
168
200
  context: __SerdeContext
@@ -179,6 +211,10 @@ export declare const se_CancelFindingsReportCommand: (
179
211
  input: CancelFindingsReportCommandInput,
180
212
  context: __SerdeContext
181
213
  ) => Promise<__HttpRequest>;
214
+ export declare const se_CancelSbomExportCommand: (
215
+ input: CancelSbomExportCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
182
218
  export declare const se_CreateFilterCommand: (
183
219
  input: CreateFilterCommandInput,
184
220
  context: __SerdeContext
@@ -187,6 +223,10 @@ export declare const se_CreateFindingsReportCommand: (
187
223
  input: CreateFindingsReportCommandInput,
188
224
  context: __SerdeContext
189
225
  ) => Promise<__HttpRequest>;
226
+ export declare const se_CreateSbomExportCommand: (
227
+ input: CreateSbomExportCommandInput,
228
+ context: __SerdeContext
229
+ ) => Promise<__HttpRequest>;
190
230
  export declare const se_DeleteFilterCommand: (
191
231
  input: DeleteFilterCommandInput,
192
232
  context: __SerdeContext
@@ -227,6 +267,10 @@ export declare const se_GetEc2DeepInspectionConfigurationCommand: (
227
267
  input: GetEc2DeepInspectionConfigurationCommandInput,
228
268
  context: __SerdeContext
229
269
  ) => Promise<__HttpRequest>;
270
+ export declare const se_GetEncryptionKeyCommand: (
271
+ input: GetEncryptionKeyCommandInput,
272
+ context: __SerdeContext
273
+ ) => Promise<__HttpRequest>;
230
274
  export declare const se_GetFindingsReportStatusCommand: (
231
275
  input: GetFindingsReportStatusCommandInput,
232
276
  context: __SerdeContext
@@ -235,6 +279,10 @@ export declare const se_GetMemberCommand: (
235
279
  input: GetMemberCommandInput,
236
280
  context: __SerdeContext
237
281
  ) => Promise<__HttpRequest>;
282
+ export declare const se_GetSbomExportCommand: (
283
+ input: GetSbomExportCommandInput,
284
+ context: __SerdeContext
285
+ ) => Promise<__HttpRequest>;
238
286
  export declare const se_ListAccountPermissionsCommand: (
239
287
  input: ListAccountPermissionsCommandInput,
240
288
  context: __SerdeContext
@@ -275,6 +323,10 @@ export declare const se_ListUsageTotalsCommand: (
275
323
  input: ListUsageTotalsCommandInput,
276
324
  context: __SerdeContext
277
325
  ) => Promise<__HttpRequest>;
326
+ export declare const se_ResetEncryptionKeyCommand: (
327
+ input: ResetEncryptionKeyCommandInput,
328
+ context: __SerdeContext
329
+ ) => Promise<__HttpRequest>;
278
330
  export declare const se_SearchVulnerabilitiesCommand: (
279
331
  input: SearchVulnerabilitiesCommandInput,
280
332
  context: __SerdeContext
@@ -295,6 +347,10 @@ export declare const se_UpdateEc2DeepInspectionConfigurationCommand: (
295
347
  input: UpdateEc2DeepInspectionConfigurationCommandInput,
296
348
  context: __SerdeContext
297
349
  ) => Promise<__HttpRequest>;
350
+ export declare const se_UpdateEncryptionKeyCommand: (
351
+ input: UpdateEncryptionKeyCommandInput,
352
+ context: __SerdeContext
353
+ ) => Promise<__HttpRequest>;
298
354
  export declare const se_UpdateFilterCommand: (
299
355
  input: UpdateFilterCommandInput,
300
356
  context: __SerdeContext
@@ -315,6 +371,10 @@ export declare const de_BatchGetAccountStatusCommand: (
315
371
  output: __HttpResponse,
316
372
  context: __SerdeContext
317
373
  ) => Promise<BatchGetAccountStatusCommandOutput>;
374
+ export declare const de_BatchGetCodeSnippetCommand: (
375
+ output: __HttpResponse,
376
+ context: __SerdeContext
377
+ ) => Promise<BatchGetCodeSnippetCommandOutput>;
318
378
  export declare const de_BatchGetFreeTrialInfoCommand: (
319
379
  output: __HttpResponse,
320
380
  context: __SerdeContext
@@ -331,6 +391,10 @@ export declare const de_CancelFindingsReportCommand: (
331
391
  output: __HttpResponse,
332
392
  context: __SerdeContext
333
393
  ) => Promise<CancelFindingsReportCommandOutput>;
394
+ export declare const de_CancelSbomExportCommand: (
395
+ output: __HttpResponse,
396
+ context: __SerdeContext
397
+ ) => Promise<CancelSbomExportCommandOutput>;
334
398
  export declare const de_CreateFilterCommand: (
335
399
  output: __HttpResponse,
336
400
  context: __SerdeContext
@@ -339,6 +403,10 @@ export declare const de_CreateFindingsReportCommand: (
339
403
  output: __HttpResponse,
340
404
  context: __SerdeContext
341
405
  ) => Promise<CreateFindingsReportCommandOutput>;
406
+ export declare const de_CreateSbomExportCommand: (
407
+ output: __HttpResponse,
408
+ context: __SerdeContext
409
+ ) => Promise<CreateSbomExportCommandOutput>;
342
410
  export declare const de_DeleteFilterCommand: (
343
411
  output: __HttpResponse,
344
412
  context: __SerdeContext
@@ -379,6 +447,10 @@ export declare const de_GetEc2DeepInspectionConfigurationCommand: (
379
447
  output: __HttpResponse,
380
448
  context: __SerdeContext
381
449
  ) => Promise<GetEc2DeepInspectionConfigurationCommandOutput>;
450
+ export declare const de_GetEncryptionKeyCommand: (
451
+ output: __HttpResponse,
452
+ context: __SerdeContext
453
+ ) => Promise<GetEncryptionKeyCommandOutput>;
382
454
  export declare const de_GetFindingsReportStatusCommand: (
383
455
  output: __HttpResponse,
384
456
  context: __SerdeContext
@@ -387,6 +459,10 @@ export declare const de_GetMemberCommand: (
387
459
  output: __HttpResponse,
388
460
  context: __SerdeContext
389
461
  ) => Promise<GetMemberCommandOutput>;
462
+ export declare const de_GetSbomExportCommand: (
463
+ output: __HttpResponse,
464
+ context: __SerdeContext
465
+ ) => Promise<GetSbomExportCommandOutput>;
390
466
  export declare const de_ListAccountPermissionsCommand: (
391
467
  output: __HttpResponse,
392
468
  context: __SerdeContext
@@ -427,6 +503,10 @@ export declare const de_ListUsageTotalsCommand: (
427
503
  output: __HttpResponse,
428
504
  context: __SerdeContext
429
505
  ) => Promise<ListUsageTotalsCommandOutput>;
506
+ export declare const de_ResetEncryptionKeyCommand: (
507
+ output: __HttpResponse,
508
+ context: __SerdeContext
509
+ ) => Promise<ResetEncryptionKeyCommandOutput>;
430
510
  export declare const de_SearchVulnerabilitiesCommand: (
431
511
  output: __HttpResponse,
432
512
  context: __SerdeContext
@@ -447,6 +527,10 @@ export declare const de_UpdateEc2DeepInspectionConfigurationCommand: (
447
527
  output: __HttpResponse,
448
528
  context: __SerdeContext
449
529
  ) => Promise<UpdateEc2DeepInspectionConfigurationCommandOutput>;
530
+ export declare const de_UpdateEncryptionKeyCommand: (
531
+ output: __HttpResponse,
532
+ context: __SerdeContext
533
+ ) => Promise<UpdateEncryptionKeyCommandOutput>;
450
534
  export declare const de_UpdateFilterCommand: (
451
535
  output: __HttpResponse,
452
536
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-inspector2",
3
3
  "description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
4
- "version": "3.354.0",
4
+ "version": "3.357.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,36 +21,36 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.354.0",
25
- "@aws-sdk/config-resolver": "3.354.0",
26
- "@aws-sdk/credential-provider-node": "3.354.0",
27
- "@aws-sdk/fetch-http-handler": "3.353.0",
28
- "@aws-sdk/hash-node": "3.347.0",
29
- "@aws-sdk/invalid-dependency": "3.347.0",
30
- "@aws-sdk/middleware-content-length": "3.347.0",
31
- "@aws-sdk/middleware-endpoint": "3.347.0",
32
- "@aws-sdk/middleware-host-header": "3.347.0",
33
- "@aws-sdk/middleware-logger": "3.347.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.347.0",
35
- "@aws-sdk/middleware-retry": "3.354.0",
36
- "@aws-sdk/middleware-serde": "3.347.0",
37
- "@aws-sdk/middleware-signing": "3.354.0",
38
- "@aws-sdk/middleware-stack": "3.347.0",
39
- "@aws-sdk/middleware-user-agent": "3.352.0",
40
- "@aws-sdk/node-config-provider": "3.354.0",
41
- "@aws-sdk/node-http-handler": "3.350.0",
42
- "@aws-sdk/smithy-client": "3.347.0",
43
- "@aws-sdk/types": "3.347.0",
44
- "@aws-sdk/url-parser": "3.347.0",
24
+ "@aws-sdk/client-sts": "3.357.0",
25
+ "@aws-sdk/config-resolver": "3.357.0",
26
+ "@aws-sdk/credential-provider-node": "3.357.0",
27
+ "@aws-sdk/fetch-http-handler": "3.357.0",
28
+ "@aws-sdk/hash-node": "3.357.0",
29
+ "@aws-sdk/invalid-dependency": "3.357.0",
30
+ "@aws-sdk/middleware-content-length": "3.357.0",
31
+ "@aws-sdk/middleware-endpoint": "3.357.0",
32
+ "@aws-sdk/middleware-host-header": "3.357.0",
33
+ "@aws-sdk/middleware-logger": "3.357.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.357.0",
35
+ "@aws-sdk/middleware-retry": "3.357.0",
36
+ "@aws-sdk/middleware-serde": "3.357.0",
37
+ "@aws-sdk/middleware-signing": "3.357.0",
38
+ "@aws-sdk/middleware-stack": "3.357.0",
39
+ "@aws-sdk/middleware-user-agent": "3.357.0",
40
+ "@aws-sdk/node-config-provider": "3.357.0",
41
+ "@aws-sdk/node-http-handler": "3.357.0",
42
+ "@aws-sdk/smithy-client": "3.357.0",
43
+ "@aws-sdk/types": "3.357.0",
44
+ "@aws-sdk/url-parser": "3.357.0",
45
45
  "@aws-sdk/util-base64": "3.310.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.310.0",
47
47
  "@aws-sdk/util-body-length-node": "3.310.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.353.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.354.0",
50
- "@aws-sdk/util-endpoints": "3.352.0",
51
- "@aws-sdk/util-retry": "3.347.0",
52
- "@aws-sdk/util-user-agent-browser": "3.347.0",
53
- "@aws-sdk/util-user-agent-node": "3.354.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.357.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.357.0",
50
+ "@aws-sdk/util-endpoints": "3.357.0",
51
+ "@aws-sdk/util-retry": "3.357.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.357.0",
53
+ "@aws-sdk/util-user-agent-node": "3.357.0",
54
54
  "@aws-sdk/util-utf8": "3.310.0",
55
55
  "@smithy/protocol-http": "^1.0.1",
56
56
  "@smithy/types": "^1.0.0",