@aws-sdk/client-inspector2 3.1157.0 → 3.1159.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 (123) hide show
  1. package/README.md +22 -2
  2. package/dist-cjs/index.js +273 -61
  3. package/dist-es/Inspector2.js +8 -0
  4. package/dist-es/commands/GetOnDemandScanStatusCommand.js +4 -0
  5. package/dist-es/commands/ListOnDemandScansCommand.js +4 -0
  6. package/dist-es/commands/StartOnDemandScanCommand.js +4 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/enums.js +49 -0
  9. package/dist-es/pagination/ListOnDemandScansPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/schemas/schemas_0.js +181 -60
  12. package/dist-types/Inspector2.d.ts +29 -2
  13. package/dist-types/Inspector2Client.d.ts +6 -4
  14. package/dist-types/commands/AssociateMemberCommand.d.ts +4 -11
  15. package/dist-types/commands/BatchAssociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
  16. package/dist-types/commands/BatchDisassociateCodeSecurityScanConfigurationCommand.d.ts +5 -11
  17. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +5 -7
  18. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +3 -7
  19. package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +2 -5
  20. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -5
  21. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
  22. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +3 -8
  23. package/dist-types/commands/CancelFindingsReportCommand.d.ts +3 -7
  24. package/dist-types/commands/CancelSbomExportCommand.d.ts +3 -7
  25. package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +2 -5
  26. package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +5 -14
  27. package/dist-types/commands/CreateCodeSecurityScanConfigurationCommand.d.ts +4 -9
  28. package/dist-types/commands/CreateConnectorCommand.d.ts +4 -9
  29. package/dist-types/commands/CreateFilterCommand.d.ts +8 -9
  30. package/dist-types/commands/CreateFindingsReportCommand.d.ts +9 -10
  31. package/dist-types/commands/CreateSbomExportCommand.d.ts +4 -7
  32. package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +3 -7
  33. package/dist-types/commands/DeleteCodeSecurityIntegrationCommand.d.ts +3 -7
  34. package/dist-types/commands/DeleteCodeSecurityScanConfigurationCommand.d.ts +3 -7
  35. package/dist-types/commands/DeleteConnectorCommand.d.ts +4 -9
  36. package/dist-types/commands/DeleteFilterCommand.d.ts +3 -7
  37. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -5
  38. package/dist-types/commands/DisableCommand.d.ts +6 -9
  39. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +4 -9
  40. package/dist-types/commands/DisassociateMemberCommand.d.ts +2 -5
  41. package/dist-types/commands/EnableCommand.d.ts +5 -7
  42. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +4 -9
  43. package/dist-types/commands/GetCisScanReportCommand.d.ts +3 -7
  44. package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +2 -5
  45. package/dist-types/commands/GetClustersForImageCommand.d.ts +2 -5
  46. package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +3 -7
  47. package/dist-types/commands/GetCodeSecurityScanCommand.d.ts +4 -9
  48. package/dist-types/commands/GetCodeSecurityScanConfigurationCommand.d.ts +3 -7
  49. package/dist-types/commands/GetConfigurationCommand.d.ts +21 -12
  50. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +4 -9
  51. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +3 -7
  52. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +3 -7
  53. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +8 -7
  54. package/dist-types/commands/GetMemberCommand.d.ts +3 -7
  55. package/dist-types/commands/GetOnDemandScanStatusCommand.d.ts +94 -0
  56. package/dist-types/commands/GetSbomExportCommand.d.ts +4 -7
  57. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +3 -9
  58. package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +2 -5
  59. package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +2 -5
  60. package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +3 -6
  61. package/dist-types/commands/ListCisScansCommand.d.ts +3 -6
  62. package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +3 -6
  63. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +5 -11
  64. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +3 -7
  65. package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +2 -5
  66. package/dist-types/commands/ListConnectorsCommand.d.ts +2 -5
  67. package/dist-types/commands/ListCoverageCommand.d.ts +14 -2
  68. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +8 -2
  69. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +2 -5
  70. package/dist-types/commands/ListFiltersCommand.d.ts +6 -5
  71. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +5 -2
  72. package/dist-types/commands/ListFindingsCommand.d.ts +18 -2
  73. package/dist-types/commands/ListMembersCommand.d.ts +3 -7
  74. package/dist-types/commands/ListOnDemandScansCommand.d.ts +97 -0
  75. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -4
  76. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -5
  77. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +4 -9
  78. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +2 -5
  79. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +4 -10
  80. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +4 -10
  81. package/dist-types/commands/StartCisSessionCommand.d.ts +4 -10
  82. package/dist-types/commands/StartCodeSecurityScanCommand.d.ts +4 -9
  83. package/dist-types/commands/StartOnDemandScanCommand.d.ts +88 -0
  84. package/dist-types/commands/StopCisSessionCommand.d.ts +4 -10
  85. package/dist-types/commands/TagResourceCommand.d.ts +2 -4
  86. package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
  87. package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +3 -7
  88. package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +5 -14
  89. package/dist-types/commands/UpdateCodeSecurityScanConfigurationCommand.d.ts +4 -9
  90. package/dist-types/commands/UpdateConfigurationCommand.d.ts +22 -11
  91. package/dist-types/commands/UpdateConnectorCommand.d.ts +4 -9
  92. package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +4 -9
  93. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +3 -7
  94. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +4 -9
  95. package/dist-types/commands/UpdateFilterCommand.d.ts +7 -7
  96. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +3 -7
  97. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -5
  98. package/dist-types/commands/index.d.ts +3 -0
  99. package/dist-types/index.d.ts +1 -2
  100. package/dist-types/models/enums.d.ts +113 -0
  101. package/dist-types/models/errors.d.ts +5 -11
  102. package/dist-types/models/models_0.d.ts +533 -1195
  103. package/dist-types/models/models_1.d.ts +381 -170
  104. package/dist-types/pagination/ListOnDemandScansPaginator.d.ts +7 -0
  105. package/dist-types/pagination/index.d.ts +1 -0
  106. package/dist-types/schemas/schemas_0.d.ts +16 -0
  107. package/dist-types/ts3.4/Inspector2.d.ts +58 -0
  108. package/dist-types/ts3.4/Inspector2Client.d.ts +18 -0
  109. package/dist-types/ts3.4/commands/GetOnDemandScanStatusCommand.d.ts +39 -0
  110. package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/ListCodeSecurityIntegrationsCommand.d.ts +1 -1
  113. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +4 -2
  114. package/dist-types/ts3.4/commands/ListOnDemandScansCommand.d.ts +39 -0
  115. package/dist-types/ts3.4/commands/StartOnDemandScanCommand.d.ts +39 -0
  116. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  117. package/dist-types/ts3.4/models/enums.d.ts +59 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +75 -52
  119. package/dist-types/ts3.4/models/models_1.d.ts +95 -0
  120. package/dist-types/ts3.4/pagination/ListOnDemandScansPaginator.d.ts +11 -0
  121. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  122. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  123. package/package.json +3 -3
@@ -0,0 +1,7 @@
1
+ import type { Paginator } from "@smithy/types";
2
+ import { ListOnDemandScansCommandInput, ListOnDemandScansCommandOutput } from "../commands/ListOnDemandScansCommand";
3
+ import type { Inspector2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListOnDemandScans: (config: Inspector2PaginationConfiguration, input: ListOnDemandScansCommandInput, ...rest: any[]) => Paginator<ListOnDemandScansCommandOutput>;
@@ -15,5 +15,6 @@ export * from "./ListFiltersPaginator";
15
15
  export * from "./ListFindingAggregationsPaginator";
16
16
  export * from "./ListFindingsPaginator";
17
17
  export * from "./ListMembersPaginator";
18
+ export * from "./ListOnDemandScansPaginator";
18
19
  export * from "./ListUsageTotalsPaginator";
19
20
  export * from "./SearchVulnerabilitiesPaginator";
@@ -21,6 +21,10 @@ export declare var AccountAggregationResponse$: StaticStructureSchema;
21
21
  export declare var AccountState$: StaticStructureSchema;
22
22
  export declare var AmiAggregation$: StaticStructureSchema;
23
23
  export declare var AmiAggregationResponse$: StaticStructureSchema;
24
+ export declare var AmiConfiguration$: StaticStructureSchema;
25
+ export declare var AmiConfigurationState$: StaticStructureSchema;
26
+ export declare var AmiScanModeConfiguration$: StaticStructureSchema;
27
+ export declare var AmiTagFilter$: StaticStructureSchema;
24
28
  export declare var AssociateConfigurationRequest$: StaticStructureSchema;
25
29
  export declare var AssociateMemberRequest$: StaticStructureSchema;
26
30
  export declare var AssociateMemberResponse$: StaticStructureSchema;
@@ -221,6 +225,8 @@ export declare var GetFindingsReportStatusRequest$: StaticStructureSchema;
221
225
  export declare var GetFindingsReportStatusResponse$: StaticStructureSchema;
222
226
  export declare var GetMemberRequest$: StaticStructureSchema;
223
227
  export declare var GetMemberResponse$: StaticStructureSchema;
228
+ export declare var GetOnDemandScanStatusRequest$: StaticStructureSchema;
229
+ export declare var GetOnDemandScanStatusResponse$: StaticStructureSchema;
224
230
  export declare var GetSbomExportRequest$: StaticStructureSchema;
225
231
  export declare var GetSbomExportResponse$: StaticStructureSchema;
226
232
  export declare var Image$: StaticStructureSchema;
@@ -269,10 +275,14 @@ export declare var ListFindingsRequest$: StaticStructureSchema;
269
275
  export declare var ListFindingsResponse$: StaticStructureSchema;
270
276
  export declare var ListMembersRequest$: StaticStructureSchema;
271
277
  export declare var ListMembersResponse$: StaticStructureSchema;
278
+ export declare var ListOnDemandScansRequest$: StaticStructureSchema;
279
+ export declare var ListOnDemandScansResponse$: StaticStructureSchema;
272
280
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
273
281
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
274
282
  export declare var ListUsageTotalsRequest$: StaticStructureSchema;
275
283
  export declare var ListUsageTotalsResponse$: StaticStructureSchema;
284
+ export declare var MachineImageDetails$: StaticStructureSchema;
285
+ export declare var MachineImageMetadata$: StaticStructureSchema;
276
286
  export declare var MapFilter$: StaticStructureSchema;
277
287
  export declare var Member$: StaticStructureSchema;
278
288
  export declare var MemberAccountEc2DeepInspectionStatus$: StaticStructureSchema;
@@ -281,6 +291,7 @@ export declare var MonthlySchedule$: StaticStructureSchema;
281
291
  export declare var NetworkPath$: StaticStructureSchema;
282
292
  export declare var NetworkReachabilityDetails$: StaticStructureSchema;
283
293
  export declare var NumberFilter$: StaticStructureSchema;
294
+ export declare var OnDemandScan$: StaticStructureSchema;
284
295
  export declare var OneTimeSchedule$: StaticStructureSchema;
285
296
  export declare var PackageAggregation$: StaticStructureSchema;
286
297
  export declare var PackageAggregationResponse$: StaticStructureSchema;
@@ -330,6 +341,8 @@ export declare var StartCisSessionRequest$: StaticStructureSchema;
330
341
  export declare var StartCisSessionResponse$: StaticStructureSchema;
331
342
  export declare var StartCodeSecurityScanRequest$: StaticStructureSchema;
332
343
  export declare var StartCodeSecurityScanResponse$: StaticStructureSchema;
344
+ export declare var StartOnDemandScanRequest$: StaticStructureSchema;
345
+ export declare var StartOnDemandScanResponse$: StaticStructureSchema;
333
346
  export declare var State$: StaticStructureSchema;
334
347
  export declare var StatusCounts$: StaticStructureSchema;
335
348
  export declare var Step$: StaticStructureSchema;
@@ -435,6 +448,7 @@ export declare var GetEc2DeepInspectionConfiguration$: StaticOperationSchema;
435
448
  export declare var GetEncryptionKey$: StaticOperationSchema;
436
449
  export declare var GetFindingsReportStatus$: StaticOperationSchema;
437
450
  export declare var GetMember$: StaticOperationSchema;
451
+ export declare var GetOnDemandScanStatus$: StaticOperationSchema;
438
452
  export declare var GetSbomExport$: StaticOperationSchema;
439
453
  export declare var ListAccountPermissions$: StaticOperationSchema;
440
454
  export declare var ListCisScanConfigurations$: StaticOperationSchema;
@@ -453,6 +467,7 @@ export declare var ListFilters$: StaticOperationSchema;
453
467
  export declare var ListFindingAggregations$: StaticOperationSchema;
454
468
  export declare var ListFindings$: StaticOperationSchema;
455
469
  export declare var ListMembers$: StaticOperationSchema;
470
+ export declare var ListOnDemandScans$: StaticOperationSchema;
456
471
  export declare var ListTagsForResource$: StaticOperationSchema;
457
472
  export declare var ListUsageTotals$: StaticOperationSchema;
458
473
  export declare var ResetEncryptionKey$: StaticOperationSchema;
@@ -461,6 +476,7 @@ export declare var SendCisSessionHealth$: StaticOperationSchema;
461
476
  export declare var SendCisSessionTelemetry$: StaticOperationSchema;
462
477
  export declare var StartCisSession$: StaticOperationSchema;
463
478
  export declare var StartCodeSecurityScan$: StaticOperationSchema;
479
+ export declare var StartOnDemandScan$: StaticOperationSchema;
464
480
  export declare var StopCisSession$: StaticOperationSchema;
465
481
  export declare var TagResource$: StaticOperationSchema;
466
482
  export declare var UntagResource$: StaticOperationSchema;
@@ -161,6 +161,10 @@ import {
161
161
  GetFindingsReportStatusCommandOutput,
162
162
  } from "./commands/GetFindingsReportStatusCommand";
163
163
  import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
164
+ import {
165
+ GetOnDemandScanStatusCommandInput,
166
+ GetOnDemandScanStatusCommandOutput,
167
+ } from "./commands/GetOnDemandScanStatusCommand";
164
168
  import {
165
169
  GetSbomExportCommandInput,
166
170
  GetSbomExportCommandOutput,
@@ -227,6 +231,10 @@ import {
227
231
  ListFindingsCommandOutput,
228
232
  } from "./commands/ListFindingsCommand";
229
233
  import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
234
+ import {
235
+ ListOnDemandScansCommandInput,
236
+ ListOnDemandScansCommandOutput,
237
+ } from "./commands/ListOnDemandScansCommand";
230
238
  import {
231
239
  ListTagsForResourceCommandInput,
232
240
  ListTagsForResourceCommandOutput,
@@ -259,6 +267,10 @@ import {
259
267
  StartCodeSecurityScanCommandInput,
260
268
  StartCodeSecurityScanCommandOutput,
261
269
  } from "./commands/StartCodeSecurityScanCommand";
270
+ import {
271
+ StartOnDemandScanCommandInput,
272
+ StartOnDemandScanCommandOutput,
273
+ } from "./commands/StartOnDemandScanCommand";
262
274
  import {
263
275
  StopCisSessionCommandInput,
264
276
  StopCisSessionCommandOutput,
@@ -852,6 +864,19 @@ export interface Inspector2 {
852
864
  options: Inspector2RequestOptions,
853
865
  cb: (err: any, data?: GetMemberCommandOutput) => void,
854
866
  ): void;
867
+ getOnDemandScanStatus(
868
+ args: GetOnDemandScanStatusCommandInput,
869
+ options?: Inspector2RequestOptions,
870
+ ): Promise<GetOnDemandScanStatusCommandOutput>;
871
+ getOnDemandScanStatus(
872
+ args: GetOnDemandScanStatusCommandInput,
873
+ cb: (err: any, data?: GetOnDemandScanStatusCommandOutput) => void,
874
+ ): void;
875
+ getOnDemandScanStatus(
876
+ args: GetOnDemandScanStatusCommandInput,
877
+ options: Inspector2RequestOptions,
878
+ cb: (err: any, data?: GetOnDemandScanStatusCommandOutput) => void,
879
+ ): void;
855
880
  getSbomExport(
856
881
  args: GetSbomExportCommandInput,
857
882
  options?: Inspector2RequestOptions,
@@ -1099,6 +1124,19 @@ export interface Inspector2 {
1099
1124
  options: Inspector2RequestOptions,
1100
1125
  cb: (err: any, data?: ListMembersCommandOutput) => void,
1101
1126
  ): void;
1127
+ listOnDemandScans(
1128
+ args: ListOnDemandScansCommandInput,
1129
+ options?: Inspector2RequestOptions,
1130
+ ): Promise<ListOnDemandScansCommandOutput>;
1131
+ listOnDemandScans(
1132
+ args: ListOnDemandScansCommandInput,
1133
+ cb: (err: any, data?: ListOnDemandScansCommandOutput) => void,
1134
+ ): void;
1135
+ listOnDemandScans(
1136
+ args: ListOnDemandScansCommandInput,
1137
+ options: Inspector2RequestOptions,
1138
+ cb: (err: any, data?: ListOnDemandScansCommandOutput) => void,
1139
+ ): void;
1102
1140
  listTagsForResource(
1103
1141
  args: ListTagsForResourceCommandInput,
1104
1142
  options?: Inspector2RequestOptions,
@@ -1204,6 +1242,19 @@ export interface Inspector2 {
1204
1242
  options: Inspector2RequestOptions,
1205
1243
  cb: (err: any, data?: StartCodeSecurityScanCommandOutput) => void,
1206
1244
  ): void;
1245
+ startOnDemandScan(
1246
+ args: StartOnDemandScanCommandInput,
1247
+ options?: Inspector2RequestOptions,
1248
+ ): Promise<StartOnDemandScanCommandOutput>;
1249
+ startOnDemandScan(
1250
+ args: StartOnDemandScanCommandInput,
1251
+ cb: (err: any, data?: StartOnDemandScanCommandOutput) => void,
1252
+ ): void;
1253
+ startOnDemandScan(
1254
+ args: StartOnDemandScanCommandInput,
1255
+ options: Inspector2RequestOptions,
1256
+ cb: (err: any, data?: StartOnDemandScanCommandOutput) => void,
1257
+ ): void;
1207
1258
  stopCisSession(
1208
1259
  args: StopCisSessionCommandInput,
1209
1260
  options?: Inspector2RequestOptions,
@@ -1500,6 +1551,13 @@ export interface Inspector2 {
1500
1551
  Exclude<keyof PaginationConfiguration, "client">
1501
1552
  >,
1502
1553
  ): Paginator<ListMembersCommandOutput>;
1554
+ paginateListOnDemandScans(
1555
+ args: ListOnDemandScansCommandInput,
1556
+ paginationConfig?: Pick<
1557
+ PaginationConfiguration,
1558
+ Exclude<keyof PaginationConfiguration, "client">
1559
+ >,
1560
+ ): Paginator<ListOnDemandScansCommandOutput>;
1503
1561
  paginateListUsageTotals(
1504
1562
  args?: ListUsageTotalsCommandInput,
1505
1563
  paginationConfig?: Pick<
@@ -188,6 +188,10 @@ import {
188
188
  GetFindingsReportStatusCommandOutput,
189
189
  } from "./commands/GetFindingsReportStatusCommand";
190
190
  import { GetMemberCommandInput, GetMemberCommandOutput } from "./commands/GetMemberCommand";
191
+ import {
192
+ GetOnDemandScanStatusCommandInput,
193
+ GetOnDemandScanStatusCommandOutput,
194
+ } from "./commands/GetOnDemandScanStatusCommand";
191
195
  import {
192
196
  GetSbomExportCommandInput,
193
197
  GetSbomExportCommandOutput,
@@ -254,6 +258,10 @@ import {
254
258
  ListFindingsCommandOutput,
255
259
  } from "./commands/ListFindingsCommand";
256
260
  import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
261
+ import {
262
+ ListOnDemandScansCommandInput,
263
+ ListOnDemandScansCommandOutput,
264
+ } from "./commands/ListOnDemandScansCommand";
257
265
  import {
258
266
  ListTagsForResourceCommandInput,
259
267
  ListTagsForResourceCommandOutput,
@@ -286,6 +294,10 @@ import {
286
294
  StartCodeSecurityScanCommandInput,
287
295
  StartCodeSecurityScanCommandOutput,
288
296
  } from "./commands/StartCodeSecurityScanCommand";
297
+ import {
298
+ StartOnDemandScanCommandInput,
299
+ StartOnDemandScanCommandOutput,
300
+ } from "./commands/StartOnDemandScanCommand";
289
301
  import {
290
302
  StopCisSessionCommandInput,
291
303
  StopCisSessionCommandOutput,
@@ -388,6 +400,7 @@ export type ServiceInputTypes =
388
400
  | GetEncryptionKeyCommandInput
389
401
  | GetFindingsReportStatusCommandInput
390
402
  | GetMemberCommandInput
403
+ | GetOnDemandScanStatusCommandInput
391
404
  | GetSbomExportCommandInput
392
405
  | ListAccountPermissionsCommandInput
393
406
  | ListCisScanConfigurationsCommandInput
@@ -406,6 +419,7 @@ export type ServiceInputTypes =
406
419
  | ListFindingAggregationsCommandInput
407
420
  | ListFindingsCommandInput
408
421
  | ListMembersCommandInput
422
+ | ListOnDemandScansCommandInput
409
423
  | ListTagsForResourceCommandInput
410
424
  | ListUsageTotalsCommandInput
411
425
  | ResetEncryptionKeyCommandInput
@@ -414,6 +428,7 @@ export type ServiceInputTypes =
414
428
  | SendCisSessionTelemetryCommandInput
415
429
  | StartCisSessionCommandInput
416
430
  | StartCodeSecurityScanCommandInput
431
+ | StartOnDemandScanCommandInput
417
432
  | StopCisSessionCommandInput
418
433
  | TagResourceCommandInput
419
434
  | UntagResourceCommandInput
@@ -470,6 +485,7 @@ export type ServiceOutputTypes =
470
485
  | GetEncryptionKeyCommandOutput
471
486
  | GetFindingsReportStatusCommandOutput
472
487
  | GetMemberCommandOutput
488
+ | GetOnDemandScanStatusCommandOutput
473
489
  | GetSbomExportCommandOutput
474
490
  | ListAccountPermissionsCommandOutput
475
491
  | ListCisScanConfigurationsCommandOutput
@@ -488,6 +504,7 @@ export type ServiceOutputTypes =
488
504
  | ListFindingAggregationsCommandOutput
489
505
  | ListFindingsCommandOutput
490
506
  | ListMembersCommandOutput
507
+ | ListOnDemandScansCommandOutput
491
508
  | ListTagsForResourceCommandOutput
492
509
  | ListUsageTotalsCommandOutput
493
510
  | ResetEncryptionKeyCommandOutput
@@ -496,6 +513,7 @@ export type ServiceOutputTypes =
496
513
  | SendCisSessionTelemetryCommandOutput
497
514
  | StartCisSessionCommandOutput
498
515
  | StartCodeSecurityScanCommandOutput
516
+ | StartOnDemandScanCommandOutput
499
517
  | StopCisSessionCommandOutput
500
518
  | TagResourceCommandOutput
501
519
  | UntagResourceCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetOnDemandScanStatusRequest, GetOnDemandScanStatusResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetOnDemandScanStatusCommandInput extends GetOnDemandScanStatusRequest {}
5
+ export interface GetOnDemandScanStatusCommandOutput
6
+ extends GetOnDemandScanStatusResponse, __MetadataBearer {}
7
+ declare const GetOnDemandScanStatusCommand_base: {
8
+ new (
9
+ input: GetOnDemandScanStatusCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetOnDemandScanStatusCommandInput,
12
+ GetOnDemandScanStatusCommandOutput,
13
+ import("..").Inspector2ClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetOnDemandScanStatusCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetOnDemandScanStatusCommandInput,
21
+ GetOnDemandScanStatusCommandOutput,
22
+ import("..").Inspector2ClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetOnDemandScanStatusCommand extends GetOnDemandScanStatusCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetOnDemandScanStatusRequest;
32
+ output: GetOnDemandScanStatusResponse;
33
+ };
34
+ sdk: {
35
+ input: GetOnDemandScanStatusCommandInput;
36
+ output: GetOnDemandScanStatusCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  ListCisScanResultsAggregatedByTargetResourceRequest,
4
4
  ListCisScanResultsAggregatedByTargetResourceResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface ListCisScanResultsAggregatedByTargetResourceCommandInput extends ListCisScanResultsAggregatedByTargetResourceRequest {}
8
8
  export interface ListCisScanResultsAggregatedByTargetResourceCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { ListCisScansRequest, ListCisScansResponse } from "../models/models_0";
2
+ import { ListCisScansRequest, ListCisScansResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface ListCisScansCommandInput extends ListCisScansRequest {}
5
5
  export interface ListCisScansCommandOutput extends ListCisScansResponse, __MetadataBearer {}
@@ -2,7 +2,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import {
3
3
  ListCodeSecurityIntegrationsRequest,
4
4
  ListCodeSecurityIntegrationsResponse,
5
- } from "../models/models_0";
5
+ } from "../models/models_1";
6
6
  export { __MetadataBearer };
7
7
  export interface ListCodeSecurityIntegrationsCommandInput extends ListCodeSecurityIntegrationsRequest {}
8
8
  export interface ListCodeSecurityIntegrationsCommandOutput
@@ -1,6 +1,8 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { ListCodeSecurityScanConfigurationAssociationsRequest } from "../models/models_0";
3
- import { ListCodeSecurityScanConfigurationAssociationsResponse } from "../models/models_1";
2
+ import {
3
+ ListCodeSecurityScanConfigurationAssociationsRequest,
4
+ ListCodeSecurityScanConfigurationAssociationsResponse,
5
+ } from "../models/models_1";
4
6
  export { __MetadataBearer };
5
7
  export interface ListCodeSecurityScanConfigurationAssociationsCommandInput extends ListCodeSecurityScanConfigurationAssociationsRequest {}
6
8
  export interface ListCodeSecurityScanConfigurationAssociationsCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { ListOnDemandScansRequest, ListOnDemandScansResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface ListOnDemandScansCommandInput extends ListOnDemandScansRequest {}
5
+ export interface ListOnDemandScansCommandOutput
6
+ extends ListOnDemandScansResponse, __MetadataBearer {}
7
+ declare const ListOnDemandScansCommand_base: {
8
+ new (
9
+ input: ListOnDemandScansCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ ListOnDemandScansCommandInput,
12
+ ListOnDemandScansCommandOutput,
13
+ import("..").Inspector2ClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: ListOnDemandScansCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ ListOnDemandScansCommandInput,
21
+ ListOnDemandScansCommandOutput,
22
+ import("..").Inspector2ClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class ListOnDemandScansCommand extends ListOnDemandScansCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: ListOnDemandScansRequest;
32
+ output: ListOnDemandScansResponse;
33
+ };
34
+ sdk: {
35
+ input: ListOnDemandScansCommandInput;
36
+ output: ListOnDemandScansCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { StartOnDemandScanRequest, StartOnDemandScanResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface StartOnDemandScanCommandInput extends StartOnDemandScanRequest {}
5
+ export interface StartOnDemandScanCommandOutput
6
+ extends StartOnDemandScanResponse, __MetadataBearer {}
7
+ declare const StartOnDemandScanCommand_base: {
8
+ new (
9
+ input: StartOnDemandScanCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ StartOnDemandScanCommandInput,
12
+ StartOnDemandScanCommandOutput,
13
+ import("..").Inspector2ClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: StartOnDemandScanCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ StartOnDemandScanCommandInput,
21
+ StartOnDemandScanCommandOutput,
22
+ import("..").Inspector2ClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class StartOnDemandScanCommand extends StartOnDemandScanCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: StartOnDemandScanRequest;
32
+ output: StartOnDemandScanResponse;
33
+ };
34
+ sdk: {
35
+ input: StartOnDemandScanCommandInput;
36
+ output: StartOnDemandScanCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -39,6 +39,7 @@ export * from "./GetEc2DeepInspectionConfigurationCommand";
39
39
  export * from "./GetEncryptionKeyCommand";
40
40
  export * from "./GetFindingsReportStatusCommand";
41
41
  export * from "./GetMemberCommand";
42
+ export * from "./GetOnDemandScanStatusCommand";
42
43
  export * from "./GetSbomExportCommand";
43
44
  export * from "./ListAccountPermissionsCommand";
44
45
  export * from "./ListCisScanConfigurationsCommand";
@@ -57,6 +58,7 @@ export * from "./ListFiltersCommand";
57
58
  export * from "./ListFindingAggregationsCommand";
58
59
  export * from "./ListFindingsCommand";
59
60
  export * from "./ListMembersCommand";
61
+ export * from "./ListOnDemandScansCommand";
60
62
  export * from "./ListTagsForResourceCommand";
61
63
  export * from "./ListUsageTotalsCommand";
62
64
  export * from "./ResetEncryptionKeyCommand";
@@ -65,6 +67,7 @@ export * from "./SendCisSessionHealthCommand";
65
67
  export * from "./SendCisSessionTelemetryCommand";
66
68
  export * from "./StartCisSessionCommand";
67
69
  export * from "./StartCodeSecurityScanCommand";
70
+ export * from "./StartOnDemandScanCommand";
68
71
  export * from "./StopCisSessionCommand";
69
72
  export * from "./TagResourceCommand";
70
73
  export * from "./UntagResourceCommand";
@@ -68,6 +68,11 @@ export declare const StringComparison: {
68
68
  readonly PREFIX: "PREFIX";
69
69
  };
70
70
  export type StringComparison = (typeof StringComparison)[keyof typeof StringComparison];
71
+ export declare const ScanSource: {
72
+ readonly INSTANCE_SCAN: "INSTANCE_SCAN";
73
+ readonly MACHINE_IMAGE_SCAN: "MACHINE_IMAGE_SCAN";
74
+ };
75
+ export type ScanSource = (typeof ScanSource)[keyof typeof ScanSource];
71
76
  export declare const AmiSortBy: {
72
77
  readonly AFFECTED_INSTANCES: "AFFECTED_INSTANCES";
73
78
  readonly ALL: "ALL";
@@ -185,6 +190,27 @@ export declare const AggregationType: {
185
190
  readonly VM_INSTANCE: "VM_INSTANCE";
186
191
  };
187
192
  export type AggregationType = (typeof AggregationType)[keyof typeof AggregationType];
193
+ export declare const AmiScanDuration: {
194
+ readonly DAYS_14: "DAYS_14";
195
+ readonly DAYS_180: "DAYS_180";
196
+ readonly DAYS_30: "DAYS_30";
197
+ readonly DAYS_60: "DAYS_60";
198
+ readonly DAYS_7: "DAYS_7";
199
+ readonly DAYS_90: "DAYS_90";
200
+ };
201
+ export type AmiScanDuration = (typeof AmiScanDuration)[keyof typeof AmiScanDuration];
202
+ export declare const AmiScanMode: {
203
+ readonly SCAN_ALL: "SCAN_ALL";
204
+ readonly TARGET_SCANNING: "TARGET_SCANNING";
205
+ };
206
+ export type AmiScanMode = (typeof AmiScanMode)[keyof typeof AmiScanMode];
207
+ export declare const AmiConfigurationStatus: {
208
+ readonly FAILED: "FAILED";
209
+ readonly PENDING: "PENDING";
210
+ readonly SUCCESS: "SUCCESS";
211
+ };
212
+ export type AmiConfigurationStatus =
213
+ (typeof AmiConfigurationStatus)[keyof typeof AmiConfigurationStatus];
188
214
  export declare const Architecture: {
189
215
  readonly ARM64: "ARM64";
190
216
  readonly X86_64: "X86_64";
@@ -297,6 +323,7 @@ export declare const FreeTrialType: {
297
323
  readonly ECR: "ECR";
298
324
  readonly LAMBDA: "LAMBDA";
299
325
  readonly LAMBDA_CODE: "LAMBDA_CODE";
326
+ readonly MACHINE_IMAGE: "MACHINE_IMAGE";
300
327
  readonly SERVERLESS_FUNCTION: "SERVERLESS_FUNCTION";
301
328
  readonly VM: "VM";
302
329
  };
@@ -465,10 +492,12 @@ export declare const ScanStatusReason: {
465
492
  readonly DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED: "DEEP_INSPECTION_PACKAGE_COLLECTION_LIMIT_EXCEEDED";
466
493
  readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
467
494
  readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
495
+ readonly EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED: "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED";
468
496
  readonly IMAGE_ARCHIVED: "IMAGE_ARCHIVED";
469
497
  readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
470
498
  readonly INTEGRATION_CONNECTION_LOST: "INTEGRATION_CONNECTION_LOST";
471
499
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
500
+ readonly INVALID_ARTIFACT: "INVALID_ARTIFACT";
472
501
  readonly NO_INVENTORY: "NO_INVENTORY";
473
502
  readonly NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND";
474
503
  readonly NO_SCAN_CONFIGURATION_ASSOCIATED: "NO_SCAN_CONFIGURATION_ASSOCIATED";
@@ -483,6 +512,7 @@ export declare const ScanStatusReason: {
483
512
  readonly SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH";
484
513
  readonly SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS";
485
514
  readonly STALE_INVENTORY: "STALE_INVENTORY";
515
+ readonly STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED";
486
516
  readonly SUCCESSFUL: "SUCCESSFUL";
487
517
  readonly UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE";
488
518
  readonly UNSUPPORTED_CODE_ARTIFACTS: "UNSUPPORTED_CODE_ARTIFACTS";
@@ -644,6 +674,7 @@ export declare const CoverageResourceType: {
644
674
  readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
645
675
  readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
646
676
  readonly CODE_REPOSITORY: "CODE_REPOSITORY";
677
+ readonly MACHINE_IMAGE: "MACHINE_IMAGE";
647
678
  readonly MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines";
648
679
  readonly MICROSOFT_CONTAINER_REGISTRY_REGISTRIES: "Microsoft.ContainerRegistry/registries";
649
680
  readonly MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage";
@@ -664,6 +695,12 @@ export declare const EcrScanFrequency: {
664
695
  readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
665
696
  };
666
697
  export type EcrScanFrequency = (typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
698
+ export declare const MachineImagePlatform: {
699
+ readonly LINUX: "LINUX";
700
+ readonly UNKNOWN: "UNKNOWN";
701
+ readonly WINDOWS: "WINDOWS";
702
+ };
703
+ export type MachineImagePlatform = (typeof MachineImagePlatform)[keyof typeof MachineImagePlatform];
667
704
  export declare const VmPlatform: {
668
705
  readonly LINUX: "LINUX";
669
706
  readonly UNKNOWN: "UNKNOWN";
@@ -842,6 +879,7 @@ export declare const ResourceType: {
842
879
  readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
843
880
  readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
844
881
  readonly CODE_REPOSITORY: "CODE_REPOSITORY";
882
+ readonly MACHINE_IMAGE: "MACHINE_IMAGE";
845
883
  readonly MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines";
846
884
  readonly MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage";
847
885
  readonly MICROSOFT_WEB_SITES: "Microsoft.Web/sites";
@@ -877,6 +915,26 @@ export declare const ReportingErrorCode: {
877
915
  readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
878
916
  };
879
917
  export type ReportingErrorCode = (typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
918
+ export declare const OnDemandResourceType: {
919
+ readonly AMI: "AMI";
920
+ };
921
+ export type OnDemandResourceType = (typeof OnDemandResourceType)[keyof typeof OnDemandResourceType];
922
+ export declare const OnDemandScanStatus: {
923
+ readonly FAILED: "FAILED";
924
+ readonly IN_PROGRESS: "IN_PROGRESS";
925
+ readonly SUCCESSFUL: "SUCCESSFUL";
926
+ };
927
+ export type OnDemandScanStatus = (typeof OnDemandScanStatus)[keyof typeof OnDemandScanStatus];
928
+ export declare const OnDemandScanStatusReason: {
929
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
930
+ readonly EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED: "EXTRACTION_COLLECTION_TIME_LIMIT_EXCEEDED";
931
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
932
+ readonly RESOURCE_TERMINATED: "RESOURCE_TERMINATED";
933
+ readonly STORAGE_LIMIT_EXCEEDED: "STORAGE_LIMIT_EXCEEDED";
934
+ readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
935
+ };
936
+ export type OnDemandScanStatusReason =
937
+ (typeof OnDemandScanStatusReason)[keyof typeof OnDemandScanStatusReason];
880
938
  export declare const InheritanceMode: {
881
939
  readonly INHERIT_FROM_ADMIN: "INHERIT_FROM_ADMIN";
882
940
  };
@@ -936,6 +994,7 @@ export declare const UsageType: {
936
994
  readonly CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST";
937
995
  readonly CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA";
938
996
  readonly EC2_AGENTLESS_INSTANCE_HOURS: "EC2_AGENTLESS_INSTANCE_HOURS";
997
+ readonly EC2_AMI_HOURS: "EC2_AMI_HOURS";
939
998
  readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
940
999
  readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
941
1000
  readonly ECR_RESCAN: "ECR_RESCAN";