@aws-sdk/client-inspector2 3.354.0 → 3.358.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
@@ -2,12 +2,15 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AssociateMemberCommandInput, AssociateMemberCommandOutput } from "../commands/AssociateMemberCommand";
4
4
  import { BatchGetAccountStatusCommandInput, BatchGetAccountStatusCommandOutput } from "../commands/BatchGetAccountStatusCommand";
5
+ import { BatchGetCodeSnippetCommandInput, BatchGetCodeSnippetCommandOutput } from "../commands/BatchGetCodeSnippetCommand";
5
6
  import { BatchGetFreeTrialInfoCommandInput, BatchGetFreeTrialInfoCommandOutput } from "../commands/BatchGetFreeTrialInfoCommand";
6
7
  import { BatchGetMemberEc2DeepInspectionStatusCommandInput, BatchGetMemberEc2DeepInspectionStatusCommandOutput } from "../commands/BatchGetMemberEc2DeepInspectionStatusCommand";
7
8
  import { BatchUpdateMemberEc2DeepInspectionStatusCommandInput, BatchUpdateMemberEc2DeepInspectionStatusCommandOutput } from "../commands/BatchUpdateMemberEc2DeepInspectionStatusCommand";
8
9
  import { CancelFindingsReportCommandInput, CancelFindingsReportCommandOutput } from "../commands/CancelFindingsReportCommand";
10
+ import { CancelSbomExportCommandInput, CancelSbomExportCommandOutput } from "../commands/CancelSbomExportCommand";
9
11
  import { CreateFilterCommandInput, CreateFilterCommandOutput } from "../commands/CreateFilterCommand";
10
12
  import { CreateFindingsReportCommandInput, CreateFindingsReportCommandOutput } from "../commands/CreateFindingsReportCommand";
13
+ import { CreateSbomExportCommandInput, CreateSbomExportCommandOutput } from "../commands/CreateSbomExportCommand";
11
14
  import { DeleteFilterCommandInput, DeleteFilterCommandOutput } from "../commands/DeleteFilterCommand";
12
15
  import { DescribeOrganizationConfigurationCommandInput, DescribeOrganizationConfigurationCommandOutput } from "../commands/DescribeOrganizationConfigurationCommand";
13
16
  import { DisableCommandInput, DisableCommandOutput } from "../commands/DisableCommand";
@@ -18,8 +21,10 @@ import { EnableDelegatedAdminAccountCommandInput, EnableDelegatedAdminAccountCom
18
21
  import { GetConfigurationCommandInput, GetConfigurationCommandOutput } from "../commands/GetConfigurationCommand";
19
22
  import { GetDelegatedAdminAccountCommandInput, GetDelegatedAdminAccountCommandOutput } from "../commands/GetDelegatedAdminAccountCommand";
20
23
  import { GetEc2DeepInspectionConfigurationCommandInput, GetEc2DeepInspectionConfigurationCommandOutput } from "../commands/GetEc2DeepInspectionConfigurationCommand";
24
+ import { GetEncryptionKeyCommandInput, GetEncryptionKeyCommandOutput } from "../commands/GetEncryptionKeyCommand";
21
25
  import { GetFindingsReportStatusCommandInput, GetFindingsReportStatusCommandOutput } from "../commands/GetFindingsReportStatusCommand";
22
26
  import { GetMemberCommandInput, GetMemberCommandOutput } from "../commands/GetMemberCommand";
27
+ import { GetSbomExportCommandInput, GetSbomExportCommandOutput } from "../commands/GetSbomExportCommand";
23
28
  import { ListAccountPermissionsCommandInput, ListAccountPermissionsCommandOutput } from "../commands/ListAccountPermissionsCommand";
24
29
  import { ListCoverageCommandInput, ListCoverageCommandOutput } from "../commands/ListCoverageCommand";
25
30
  import { ListCoverageStatisticsCommandInput, ListCoverageStatisticsCommandOutput } from "../commands/ListCoverageStatisticsCommand";
@@ -30,11 +35,13 @@ import { ListFindingsCommandInput, ListFindingsCommandOutput } from "../commands
30
35
  import { ListMembersCommandInput, ListMembersCommandOutput } from "../commands/ListMembersCommand";
31
36
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
32
37
  import { ListUsageTotalsCommandInput, ListUsageTotalsCommandOutput } from "../commands/ListUsageTotalsCommand";
38
+ import { ResetEncryptionKeyCommandInput, ResetEncryptionKeyCommandOutput } from "../commands/ResetEncryptionKeyCommand";
33
39
  import { SearchVulnerabilitiesCommandInput, SearchVulnerabilitiesCommandOutput } from "../commands/SearchVulnerabilitiesCommand";
34
40
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
35
41
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
36
42
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "../commands/UpdateConfigurationCommand";
37
43
  import { UpdateEc2DeepInspectionConfigurationCommandInput, UpdateEc2DeepInspectionConfigurationCommandOutput } from "../commands/UpdateEc2DeepInspectionConfigurationCommand";
44
+ import { UpdateEncryptionKeyCommandInput, UpdateEncryptionKeyCommandOutput } from "../commands/UpdateEncryptionKeyCommand";
38
45
  import { UpdateFilterCommandInput, UpdateFilterCommandOutput } from "../commands/UpdateFilterCommand";
39
46
  import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigurationCommandOutput } from "../commands/UpdateOrganizationConfigurationCommand";
40
47
  import { UpdateOrgEc2DeepInspectionConfigurationCommandInput, UpdateOrgEc2DeepInspectionConfigurationCommandOutput } from "../commands/UpdateOrgEc2DeepInspectionConfigurationCommand";
@@ -46,6 +53,10 @@ export declare const se_AssociateMemberCommand: (input: AssociateMemberCommandIn
46
53
  * serializeAws_restJson1BatchGetAccountStatusCommand
47
54
  */
48
55
  export declare const se_BatchGetAccountStatusCommand: (input: BatchGetAccountStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
56
+ /**
57
+ * serializeAws_restJson1BatchGetCodeSnippetCommand
58
+ */
59
+ export declare const se_BatchGetCodeSnippetCommand: (input: BatchGetCodeSnippetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
60
  /**
50
61
  * serializeAws_restJson1BatchGetFreeTrialInfoCommand
51
62
  */
@@ -62,6 +73,10 @@ export declare const se_BatchUpdateMemberEc2DeepInspectionStatusCommand: (input:
62
73
  * serializeAws_restJson1CancelFindingsReportCommand
63
74
  */
64
75
  export declare const se_CancelFindingsReportCommand: (input: CancelFindingsReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
76
+ /**
77
+ * serializeAws_restJson1CancelSbomExportCommand
78
+ */
79
+ export declare const se_CancelSbomExportCommand: (input: CancelSbomExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
80
  /**
66
81
  * serializeAws_restJson1CreateFilterCommand
67
82
  */
@@ -70,6 +85,10 @@ export declare const se_CreateFilterCommand: (input: CreateFilterCommandInput, c
70
85
  * serializeAws_restJson1CreateFindingsReportCommand
71
86
  */
72
87
  export declare const se_CreateFindingsReportCommand: (input: CreateFindingsReportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
88
+ /**
89
+ * serializeAws_restJson1CreateSbomExportCommand
90
+ */
91
+ export declare const se_CreateSbomExportCommand: (input: CreateSbomExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
73
92
  /**
74
93
  * serializeAws_restJson1DeleteFilterCommand
75
94
  */
@@ -110,6 +129,10 @@ export declare const se_GetDelegatedAdminAccountCommand: (input: GetDelegatedAdm
110
129
  * serializeAws_restJson1GetEc2DeepInspectionConfigurationCommand
111
130
  */
112
131
  export declare const se_GetEc2DeepInspectionConfigurationCommand: (input: GetEc2DeepInspectionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
132
+ /**
133
+ * serializeAws_restJson1GetEncryptionKeyCommand
134
+ */
135
+ export declare const se_GetEncryptionKeyCommand: (input: GetEncryptionKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
113
136
  /**
114
137
  * serializeAws_restJson1GetFindingsReportStatusCommand
115
138
  */
@@ -118,6 +141,10 @@ export declare const se_GetFindingsReportStatusCommand: (input: GetFindingsRepor
118
141
  * serializeAws_restJson1GetMemberCommand
119
142
  */
120
143
  export declare const se_GetMemberCommand: (input: GetMemberCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
144
+ /**
145
+ * serializeAws_restJson1GetSbomExportCommand
146
+ */
147
+ export declare const se_GetSbomExportCommand: (input: GetSbomExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
121
148
  /**
122
149
  * serializeAws_restJson1ListAccountPermissionsCommand
123
150
  */
@@ -158,6 +185,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
158
185
  * serializeAws_restJson1ListUsageTotalsCommand
159
186
  */
160
187
  export declare const se_ListUsageTotalsCommand: (input: ListUsageTotalsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
188
+ /**
189
+ * serializeAws_restJson1ResetEncryptionKeyCommand
190
+ */
191
+ export declare const se_ResetEncryptionKeyCommand: (input: ResetEncryptionKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
161
192
  /**
162
193
  * serializeAws_restJson1SearchVulnerabilitiesCommand
163
194
  */
@@ -178,6 +209,10 @@ export declare const se_UpdateConfigurationCommand: (input: UpdateConfigurationC
178
209
  * serializeAws_restJson1UpdateEc2DeepInspectionConfigurationCommand
179
210
  */
180
211
  export declare const se_UpdateEc2DeepInspectionConfigurationCommand: (input: UpdateEc2DeepInspectionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
212
+ /**
213
+ * serializeAws_restJson1UpdateEncryptionKeyCommand
214
+ */
215
+ export declare const se_UpdateEncryptionKeyCommand: (input: UpdateEncryptionKeyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
181
216
  /**
182
217
  * serializeAws_restJson1UpdateFilterCommand
183
218
  */
@@ -198,6 +233,10 @@ export declare const de_AssociateMemberCommand: (output: __HttpResponse, context
198
233
  * deserializeAws_restJson1BatchGetAccountStatusCommand
199
234
  */
200
235
  export declare const de_BatchGetAccountStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetAccountStatusCommandOutput>;
236
+ /**
237
+ * deserializeAws_restJson1BatchGetCodeSnippetCommand
238
+ */
239
+ export declare const de_BatchGetCodeSnippetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetCodeSnippetCommandOutput>;
201
240
  /**
202
241
  * deserializeAws_restJson1BatchGetFreeTrialInfoCommand
203
242
  */
@@ -214,6 +253,10 @@ export declare const de_BatchUpdateMemberEc2DeepInspectionStatusCommand: (output
214
253
  * deserializeAws_restJson1CancelFindingsReportCommand
215
254
  */
216
255
  export declare const de_CancelFindingsReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelFindingsReportCommandOutput>;
256
+ /**
257
+ * deserializeAws_restJson1CancelSbomExportCommand
258
+ */
259
+ export declare const de_CancelSbomExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelSbomExportCommandOutput>;
217
260
  /**
218
261
  * deserializeAws_restJson1CreateFilterCommand
219
262
  */
@@ -222,6 +265,10 @@ export declare const de_CreateFilterCommand: (output: __HttpResponse, context: _
222
265
  * deserializeAws_restJson1CreateFindingsReportCommand
223
266
  */
224
267
  export declare const de_CreateFindingsReportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateFindingsReportCommandOutput>;
268
+ /**
269
+ * deserializeAws_restJson1CreateSbomExportCommand
270
+ */
271
+ export declare const de_CreateSbomExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSbomExportCommandOutput>;
225
272
  /**
226
273
  * deserializeAws_restJson1DeleteFilterCommand
227
274
  */
@@ -262,6 +309,10 @@ export declare const de_GetDelegatedAdminAccountCommand: (output: __HttpResponse
262
309
  * deserializeAws_restJson1GetEc2DeepInspectionConfigurationCommand
263
310
  */
264
311
  export declare const de_GetEc2DeepInspectionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEc2DeepInspectionConfigurationCommandOutput>;
312
+ /**
313
+ * deserializeAws_restJson1GetEncryptionKeyCommand
314
+ */
315
+ export declare const de_GetEncryptionKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEncryptionKeyCommandOutput>;
265
316
  /**
266
317
  * deserializeAws_restJson1GetFindingsReportStatusCommand
267
318
  */
@@ -270,6 +321,10 @@ export declare const de_GetFindingsReportStatusCommand: (output: __HttpResponse,
270
321
  * deserializeAws_restJson1GetMemberCommand
271
322
  */
272
323
  export declare const de_GetMemberCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMemberCommandOutput>;
324
+ /**
325
+ * deserializeAws_restJson1GetSbomExportCommand
326
+ */
327
+ export declare const de_GetSbomExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetSbomExportCommandOutput>;
273
328
  /**
274
329
  * deserializeAws_restJson1ListAccountPermissionsCommand
275
330
  */
@@ -310,6 +365,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
310
365
  * deserializeAws_restJson1ListUsageTotalsCommand
311
366
  */
312
367
  export declare const de_ListUsageTotalsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUsageTotalsCommandOutput>;
368
+ /**
369
+ * deserializeAws_restJson1ResetEncryptionKeyCommand
370
+ */
371
+ export declare const de_ResetEncryptionKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ResetEncryptionKeyCommandOutput>;
313
372
  /**
314
373
  * deserializeAws_restJson1SearchVulnerabilitiesCommand
315
374
  */
@@ -330,6 +389,10 @@ export declare const de_UpdateConfigurationCommand: (output: __HttpResponse, con
330
389
  * deserializeAws_restJson1UpdateEc2DeepInspectionConfigurationCommand
331
390
  */
332
391
  export declare const de_UpdateEc2DeepInspectionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEc2DeepInspectionConfigurationCommandOutput>;
392
+ /**
393
+ * deserializeAws_restJson1UpdateEncryptionKeyCommand
394
+ */
395
+ export declare const de_UpdateEncryptionKeyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateEncryptionKeyCommandOutput>;
333
396
  /**
334
397
  * deserializeAws_restJson1UpdateFilterCommand
335
398
  */
@@ -7,6 +7,10 @@ import {
7
7
  BatchGetAccountStatusCommandInput,
8
8
  BatchGetAccountStatusCommandOutput,
9
9
  } from "./commands/BatchGetAccountStatusCommand";
10
+ import {
11
+ BatchGetCodeSnippetCommandInput,
12
+ BatchGetCodeSnippetCommandOutput,
13
+ } from "./commands/BatchGetCodeSnippetCommand";
10
14
  import {
11
15
  BatchGetFreeTrialInfoCommandInput,
12
16
  BatchGetFreeTrialInfoCommandOutput,
@@ -23,6 +27,10 @@ import {
23
27
  CancelFindingsReportCommandInput,
24
28
  CancelFindingsReportCommandOutput,
25
29
  } from "./commands/CancelFindingsReportCommand";
30
+ import {
31
+ CancelSbomExportCommandInput,
32
+ CancelSbomExportCommandOutput,
33
+ } from "./commands/CancelSbomExportCommand";
26
34
  import {
27
35
  CreateFilterCommandInput,
28
36
  CreateFilterCommandOutput,
@@ -31,6 +39,10 @@ import {
31
39
  CreateFindingsReportCommandInput,
32
40
  CreateFindingsReportCommandOutput,
33
41
  } from "./commands/CreateFindingsReportCommand";
42
+ import {
43
+ CreateSbomExportCommandInput,
44
+ CreateSbomExportCommandOutput,
45
+ } from "./commands/CreateSbomExportCommand";
34
46
  import {
35
47
  DeleteFilterCommandInput,
36
48
  DeleteFilterCommandOutput,
@@ -71,6 +83,10 @@ import {
71
83
  GetEc2DeepInspectionConfigurationCommandInput,
72
84
  GetEc2DeepInspectionConfigurationCommandOutput,
73
85
  } from "./commands/GetEc2DeepInspectionConfigurationCommand";
86
+ import {
87
+ GetEncryptionKeyCommandInput,
88
+ GetEncryptionKeyCommandOutput,
89
+ } from "./commands/GetEncryptionKeyCommand";
74
90
  import {
75
91
  GetFindingsReportStatusCommandInput,
76
92
  GetFindingsReportStatusCommandOutput,
@@ -79,6 +95,10 @@ import {
79
95
  GetMemberCommandInput,
80
96
  GetMemberCommandOutput,
81
97
  } from "./commands/GetMemberCommand";
98
+ import {
99
+ GetSbomExportCommandInput,
100
+ GetSbomExportCommandOutput,
101
+ } from "./commands/GetSbomExportCommand";
82
102
  import {
83
103
  ListAccountPermissionsCommandInput,
84
104
  ListAccountPermissionsCommandOutput,
@@ -119,6 +139,10 @@ import {
119
139
  ListUsageTotalsCommandInput,
120
140
  ListUsageTotalsCommandOutput,
121
141
  } from "./commands/ListUsageTotalsCommand";
142
+ import {
143
+ ResetEncryptionKeyCommandInput,
144
+ ResetEncryptionKeyCommandOutput,
145
+ } from "./commands/ResetEncryptionKeyCommand";
122
146
  import {
123
147
  SearchVulnerabilitiesCommandInput,
124
148
  SearchVulnerabilitiesCommandOutput,
@@ -139,6 +163,10 @@ import {
139
163
  UpdateEc2DeepInspectionConfigurationCommandInput,
140
164
  UpdateEc2DeepInspectionConfigurationCommandOutput,
141
165
  } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
166
+ import {
167
+ UpdateEncryptionKeyCommandInput,
168
+ UpdateEncryptionKeyCommandOutput,
169
+ } from "./commands/UpdateEncryptionKeyCommand";
142
170
  import {
143
171
  UpdateFilterCommandInput,
144
172
  UpdateFilterCommandOutput,
@@ -179,6 +207,19 @@ export interface Inspector2 {
179
207
  options: __HttpHandlerOptions,
180
208
  cb: (err: any, data?: BatchGetAccountStatusCommandOutput) => void
181
209
  ): void;
210
+ batchGetCodeSnippet(
211
+ args: BatchGetCodeSnippetCommandInput,
212
+ options?: __HttpHandlerOptions
213
+ ): Promise<BatchGetCodeSnippetCommandOutput>;
214
+ batchGetCodeSnippet(
215
+ args: BatchGetCodeSnippetCommandInput,
216
+ cb: (err: any, data?: BatchGetCodeSnippetCommandOutput) => void
217
+ ): void;
218
+ batchGetCodeSnippet(
219
+ args: BatchGetCodeSnippetCommandInput,
220
+ options: __HttpHandlerOptions,
221
+ cb: (err: any, data?: BatchGetCodeSnippetCommandOutput) => void
222
+ ): void;
182
223
  batchGetFreeTrialInfo(
183
224
  args: BatchGetFreeTrialInfoCommandInput,
184
225
  options?: __HttpHandlerOptions
@@ -243,6 +284,19 @@ export interface Inspector2 {
243
284
  options: __HttpHandlerOptions,
244
285
  cb: (err: any, data?: CancelFindingsReportCommandOutput) => void
245
286
  ): void;
287
+ cancelSbomExport(
288
+ args: CancelSbomExportCommandInput,
289
+ options?: __HttpHandlerOptions
290
+ ): Promise<CancelSbomExportCommandOutput>;
291
+ cancelSbomExport(
292
+ args: CancelSbomExportCommandInput,
293
+ cb: (err: any, data?: CancelSbomExportCommandOutput) => void
294
+ ): void;
295
+ cancelSbomExport(
296
+ args: CancelSbomExportCommandInput,
297
+ options: __HttpHandlerOptions,
298
+ cb: (err: any, data?: CancelSbomExportCommandOutput) => void
299
+ ): void;
246
300
  createFilter(
247
301
  args: CreateFilterCommandInput,
248
302
  options?: __HttpHandlerOptions
@@ -269,6 +323,19 @@ export interface Inspector2 {
269
323
  options: __HttpHandlerOptions,
270
324
  cb: (err: any, data?: CreateFindingsReportCommandOutput) => void
271
325
  ): void;
326
+ createSbomExport(
327
+ args: CreateSbomExportCommandInput,
328
+ options?: __HttpHandlerOptions
329
+ ): Promise<CreateSbomExportCommandOutput>;
330
+ createSbomExport(
331
+ args: CreateSbomExportCommandInput,
332
+ cb: (err: any, data?: CreateSbomExportCommandOutput) => void
333
+ ): void;
334
+ createSbomExport(
335
+ args: CreateSbomExportCommandInput,
336
+ options: __HttpHandlerOptions,
337
+ cb: (err: any, data?: CreateSbomExportCommandOutput) => void
338
+ ): void;
272
339
  deleteFilter(
273
340
  args: DeleteFilterCommandInput,
274
341
  options?: __HttpHandlerOptions
@@ -411,6 +478,19 @@ export interface Inspector2 {
411
478
  data?: GetEc2DeepInspectionConfigurationCommandOutput
412
479
  ) => void
413
480
  ): void;
481
+ getEncryptionKey(
482
+ args: GetEncryptionKeyCommandInput,
483
+ options?: __HttpHandlerOptions
484
+ ): Promise<GetEncryptionKeyCommandOutput>;
485
+ getEncryptionKey(
486
+ args: GetEncryptionKeyCommandInput,
487
+ cb: (err: any, data?: GetEncryptionKeyCommandOutput) => void
488
+ ): void;
489
+ getEncryptionKey(
490
+ args: GetEncryptionKeyCommandInput,
491
+ options: __HttpHandlerOptions,
492
+ cb: (err: any, data?: GetEncryptionKeyCommandOutput) => void
493
+ ): void;
414
494
  getFindingsReportStatus(
415
495
  args: GetFindingsReportStatusCommandInput,
416
496
  options?: __HttpHandlerOptions
@@ -437,6 +517,19 @@ export interface Inspector2 {
437
517
  options: __HttpHandlerOptions,
438
518
  cb: (err: any, data?: GetMemberCommandOutput) => void
439
519
  ): void;
520
+ getSbomExport(
521
+ args: GetSbomExportCommandInput,
522
+ options?: __HttpHandlerOptions
523
+ ): Promise<GetSbomExportCommandOutput>;
524
+ getSbomExport(
525
+ args: GetSbomExportCommandInput,
526
+ cb: (err: any, data?: GetSbomExportCommandOutput) => void
527
+ ): void;
528
+ getSbomExport(
529
+ args: GetSbomExportCommandInput,
530
+ options: __HttpHandlerOptions,
531
+ cb: (err: any, data?: GetSbomExportCommandOutput) => void
532
+ ): void;
440
533
  listAccountPermissions(
441
534
  args: ListAccountPermissionsCommandInput,
442
535
  options?: __HttpHandlerOptions
@@ -567,6 +660,19 @@ export interface Inspector2 {
567
660
  options: __HttpHandlerOptions,
568
661
  cb: (err: any, data?: ListUsageTotalsCommandOutput) => void
569
662
  ): void;
663
+ resetEncryptionKey(
664
+ args: ResetEncryptionKeyCommandInput,
665
+ options?: __HttpHandlerOptions
666
+ ): Promise<ResetEncryptionKeyCommandOutput>;
667
+ resetEncryptionKey(
668
+ args: ResetEncryptionKeyCommandInput,
669
+ cb: (err: any, data?: ResetEncryptionKeyCommandOutput) => void
670
+ ): void;
671
+ resetEncryptionKey(
672
+ args: ResetEncryptionKeyCommandInput,
673
+ options: __HttpHandlerOptions,
674
+ cb: (err: any, data?: ResetEncryptionKeyCommandOutput) => void
675
+ ): void;
570
676
  searchVulnerabilities(
571
677
  args: SearchVulnerabilitiesCommandInput,
572
678
  options?: __HttpHandlerOptions
@@ -638,6 +744,19 @@ export interface Inspector2 {
638
744
  data?: UpdateEc2DeepInspectionConfigurationCommandOutput
639
745
  ) => void
640
746
  ): void;
747
+ updateEncryptionKey(
748
+ args: UpdateEncryptionKeyCommandInput,
749
+ options?: __HttpHandlerOptions
750
+ ): Promise<UpdateEncryptionKeyCommandOutput>;
751
+ updateEncryptionKey(
752
+ args: UpdateEncryptionKeyCommandInput,
753
+ cb: (err: any, data?: UpdateEncryptionKeyCommandOutput) => void
754
+ ): void;
755
+ updateEncryptionKey(
756
+ args: UpdateEncryptionKeyCommandInput,
757
+ options: __HttpHandlerOptions,
758
+ cb: (err: any, data?: UpdateEncryptionKeyCommandOutput) => void
759
+ ): void;
641
760
  updateFilter(
642
761
  args: UpdateFilterCommandInput,
643
762
  options?: __HttpHandlerOptions
@@ -54,6 +54,10 @@ import {
54
54
  BatchGetAccountStatusCommandInput,
55
55
  BatchGetAccountStatusCommandOutput,
56
56
  } from "./commands/BatchGetAccountStatusCommand";
57
+ import {
58
+ BatchGetCodeSnippetCommandInput,
59
+ BatchGetCodeSnippetCommandOutput,
60
+ } from "./commands/BatchGetCodeSnippetCommand";
57
61
  import {
58
62
  BatchGetFreeTrialInfoCommandInput,
59
63
  BatchGetFreeTrialInfoCommandOutput,
@@ -70,6 +74,10 @@ import {
70
74
  CancelFindingsReportCommandInput,
71
75
  CancelFindingsReportCommandOutput,
72
76
  } from "./commands/CancelFindingsReportCommand";
77
+ import {
78
+ CancelSbomExportCommandInput,
79
+ CancelSbomExportCommandOutput,
80
+ } from "./commands/CancelSbomExportCommand";
73
81
  import {
74
82
  CreateFilterCommandInput,
75
83
  CreateFilterCommandOutput,
@@ -78,6 +86,10 @@ import {
78
86
  CreateFindingsReportCommandInput,
79
87
  CreateFindingsReportCommandOutput,
80
88
  } from "./commands/CreateFindingsReportCommand";
89
+ import {
90
+ CreateSbomExportCommandInput,
91
+ CreateSbomExportCommandOutput,
92
+ } from "./commands/CreateSbomExportCommand";
81
93
  import {
82
94
  DeleteFilterCommandInput,
83
95
  DeleteFilterCommandOutput,
@@ -118,6 +130,10 @@ import {
118
130
  GetEc2DeepInspectionConfigurationCommandInput,
119
131
  GetEc2DeepInspectionConfigurationCommandOutput,
120
132
  } from "./commands/GetEc2DeepInspectionConfigurationCommand";
133
+ import {
134
+ GetEncryptionKeyCommandInput,
135
+ GetEncryptionKeyCommandOutput,
136
+ } from "./commands/GetEncryptionKeyCommand";
121
137
  import {
122
138
  GetFindingsReportStatusCommandInput,
123
139
  GetFindingsReportStatusCommandOutput,
@@ -126,6 +142,10 @@ import {
126
142
  GetMemberCommandInput,
127
143
  GetMemberCommandOutput,
128
144
  } from "./commands/GetMemberCommand";
145
+ import {
146
+ GetSbomExportCommandInput,
147
+ GetSbomExportCommandOutput,
148
+ } from "./commands/GetSbomExportCommand";
129
149
  import {
130
150
  ListAccountPermissionsCommandInput,
131
151
  ListAccountPermissionsCommandOutput,
@@ -166,6 +186,10 @@ import {
166
186
  ListUsageTotalsCommandInput,
167
187
  ListUsageTotalsCommandOutput,
168
188
  } from "./commands/ListUsageTotalsCommand";
189
+ import {
190
+ ResetEncryptionKeyCommandInput,
191
+ ResetEncryptionKeyCommandOutput,
192
+ } from "./commands/ResetEncryptionKeyCommand";
169
193
  import {
170
194
  SearchVulnerabilitiesCommandInput,
171
195
  SearchVulnerabilitiesCommandOutput,
@@ -186,6 +210,10 @@ import {
186
210
  UpdateEc2DeepInspectionConfigurationCommandInput,
187
211
  UpdateEc2DeepInspectionConfigurationCommandOutput,
188
212
  } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
213
+ import {
214
+ UpdateEncryptionKeyCommandInput,
215
+ UpdateEncryptionKeyCommandOutput,
216
+ } from "./commands/UpdateEncryptionKeyCommand";
189
217
  import {
190
218
  UpdateFilterCommandInput,
191
219
  UpdateFilterCommandOutput,
@@ -207,12 +235,15 @@ export { __Client };
207
235
  export type ServiceInputTypes =
208
236
  | AssociateMemberCommandInput
209
237
  | BatchGetAccountStatusCommandInput
238
+ | BatchGetCodeSnippetCommandInput
210
239
  | BatchGetFreeTrialInfoCommandInput
211
240
  | BatchGetMemberEc2DeepInspectionStatusCommandInput
212
241
  | BatchUpdateMemberEc2DeepInspectionStatusCommandInput
213
242
  | CancelFindingsReportCommandInput
243
+ | CancelSbomExportCommandInput
214
244
  | CreateFilterCommandInput
215
245
  | CreateFindingsReportCommandInput
246
+ | CreateSbomExportCommandInput
216
247
  | DeleteFilterCommandInput
217
248
  | DescribeOrganizationConfigurationCommandInput
218
249
  | DisableCommandInput
@@ -223,8 +254,10 @@ export type ServiceInputTypes =
223
254
  | GetConfigurationCommandInput
224
255
  | GetDelegatedAdminAccountCommandInput
225
256
  | GetEc2DeepInspectionConfigurationCommandInput
257
+ | GetEncryptionKeyCommandInput
226
258
  | GetFindingsReportStatusCommandInput
227
259
  | GetMemberCommandInput
260
+ | GetSbomExportCommandInput
228
261
  | ListAccountPermissionsCommandInput
229
262
  | ListCoverageCommandInput
230
263
  | ListCoverageStatisticsCommandInput
@@ -235,23 +268,28 @@ export type ServiceInputTypes =
235
268
  | ListMembersCommandInput
236
269
  | ListTagsForResourceCommandInput
237
270
  | ListUsageTotalsCommandInput
271
+ | ResetEncryptionKeyCommandInput
238
272
  | SearchVulnerabilitiesCommandInput
239
273
  | TagResourceCommandInput
240
274
  | UntagResourceCommandInput
241
275
  | UpdateConfigurationCommandInput
242
276
  | UpdateEc2DeepInspectionConfigurationCommandInput
277
+ | UpdateEncryptionKeyCommandInput
243
278
  | UpdateFilterCommandInput
244
279
  | UpdateOrgEc2DeepInspectionConfigurationCommandInput
245
280
  | UpdateOrganizationConfigurationCommandInput;
246
281
  export type ServiceOutputTypes =
247
282
  | AssociateMemberCommandOutput
248
283
  | BatchGetAccountStatusCommandOutput
284
+ | BatchGetCodeSnippetCommandOutput
249
285
  | BatchGetFreeTrialInfoCommandOutput
250
286
  | BatchGetMemberEc2DeepInspectionStatusCommandOutput
251
287
  | BatchUpdateMemberEc2DeepInspectionStatusCommandOutput
252
288
  | CancelFindingsReportCommandOutput
289
+ | CancelSbomExportCommandOutput
253
290
  | CreateFilterCommandOutput
254
291
  | CreateFindingsReportCommandOutput
292
+ | CreateSbomExportCommandOutput
255
293
  | DeleteFilterCommandOutput
256
294
  | DescribeOrganizationConfigurationCommandOutput
257
295
  | DisableCommandOutput
@@ -262,8 +300,10 @@ export type ServiceOutputTypes =
262
300
  | GetConfigurationCommandOutput
263
301
  | GetDelegatedAdminAccountCommandOutput
264
302
  | GetEc2DeepInspectionConfigurationCommandOutput
303
+ | GetEncryptionKeyCommandOutput
265
304
  | GetFindingsReportStatusCommandOutput
266
305
  | GetMemberCommandOutput
306
+ | GetSbomExportCommandOutput
267
307
  | ListAccountPermissionsCommandOutput
268
308
  | ListCoverageCommandOutput
269
309
  | ListCoverageStatisticsCommandOutput
@@ -274,11 +314,13 @@ export type ServiceOutputTypes =
274
314
  | ListMembersCommandOutput
275
315
  | ListTagsForResourceCommandOutput
276
316
  | ListUsageTotalsCommandOutput
317
+ | ResetEncryptionKeyCommandOutput
277
318
  | SearchVulnerabilitiesCommandOutput
278
319
  | TagResourceCommandOutput
279
320
  | UntagResourceCommandOutput
280
321
  | UpdateConfigurationCommandOutput
281
322
  | UpdateEc2DeepInspectionConfigurationCommandOutput
323
+ | UpdateEncryptionKeyCommandOutput
282
324
  | UpdateFilterCommandOutput
283
325
  | UpdateOrgEc2DeepInspectionConfigurationCommandOutput
284
326
  | UpdateOrganizationConfigurationCommandOutput;
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ Inspector2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../Inspector2Client";
14
+ import {
15
+ BatchGetCodeSnippetRequest,
16
+ BatchGetCodeSnippetResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface BatchGetCodeSnippetCommandInput
20
+ extends BatchGetCodeSnippetRequest {}
21
+ export interface BatchGetCodeSnippetCommandOutput
22
+ extends BatchGetCodeSnippetResponse,
23
+ __MetadataBearer {}
24
+ export declare class BatchGetCodeSnippetCommand extends $Command<
25
+ BatchGetCodeSnippetCommandInput,
26
+ BatchGetCodeSnippetCommandOutput,
27
+ Inspector2ClientResolvedConfig
28
+ > {
29
+ readonly input: BatchGetCodeSnippetCommandInput;
30
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
31
+ constructor(input: BatchGetCodeSnippetCommandInput);
32
+ resolveMiddleware(
33
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
34
+ configuration: Inspector2ClientResolvedConfig,
35
+ options?: __HttpHandlerOptions
36
+ ): Handler<BatchGetCodeSnippetCommandInput, BatchGetCodeSnippetCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ Inspector2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../Inspector2Client";
14
+ import {
15
+ CancelSbomExportRequest,
16
+ CancelSbomExportResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CancelSbomExportCommandInput extends CancelSbomExportRequest {}
20
+ export interface CancelSbomExportCommandOutput
21
+ extends CancelSbomExportResponse,
22
+ __MetadataBearer {}
23
+ export declare class CancelSbomExportCommand extends $Command<
24
+ CancelSbomExportCommandInput,
25
+ CancelSbomExportCommandOutput,
26
+ Inspector2ClientResolvedConfig
27
+ > {
28
+ readonly input: CancelSbomExportCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CancelSbomExportCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: Inspector2ClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<CancelSbomExportCommandInput, CancelSbomExportCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ Inspector2ClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../Inspector2Client";
14
+ import {
15
+ CreateSbomExportRequest,
16
+ CreateSbomExportResponse,
17
+ } from "../models/models_0";
18
+ export { __MetadataBearer, $Command };
19
+ export interface CreateSbomExportCommandInput extends CreateSbomExportRequest {}
20
+ export interface CreateSbomExportCommandOutput
21
+ extends CreateSbomExportResponse,
22
+ __MetadataBearer {}
23
+ export declare class CreateSbomExportCommand extends $Command<
24
+ CreateSbomExportCommandInput,
25
+ CreateSbomExportCommandOutput,
26
+ Inspector2ClientResolvedConfig
27
+ > {
28
+ readonly input: CreateSbomExportCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateSbomExportCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: Inspector2ClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<CreateSbomExportCommandInput, CreateSbomExportCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }