@aws-sdk/client-inspector2 3.300.0 → 3.303.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 (34) hide show
  1. package/dist-cjs/models/models_0.js +362 -419
  2. package/dist-es/models/models_0.js +362 -419
  3. package/dist-types/commands/AssociateMemberCommand.d.ts +1 -1
  4. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +2 -2
  5. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +2 -2
  6. package/dist-types/commands/CancelFindingsReportCommand.d.ts +1 -1
  7. package/dist-types/commands/CreateFilterCommand.d.ts +45 -183
  8. package/dist-types/commands/CreateFindingsReportCommand.d.ts +45 -183
  9. package/dist-types/commands/DeleteFilterCommand.d.ts +1 -1
  10. package/dist-types/commands/DisableCommand.d.ts +3 -3
  11. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +1 -1
  12. package/dist-types/commands/DisassociateMemberCommand.d.ts +1 -1
  13. package/dist-types/commands/EnableCommand.d.ts +3 -3
  14. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +1 -1
  15. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +1 -1
  16. package/dist-types/commands/GetMemberCommand.d.ts +1 -1
  17. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListCoverageCommand.d.ts +11 -36
  19. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +11 -36
  20. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  21. package/dist-types/commands/ListFiltersCommand.d.ts +2 -2
  22. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +35 -125
  23. package/dist-types/commands/ListFindingsCommand.d.ts +45 -183
  24. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  25. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -2
  27. package/dist-types/commands/TagResourceCommand.d.ts +2 -2
  28. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  29. package/dist-types/commands/UpdateConfigurationCommand.d.ts +2 -2
  30. package/dist-types/commands/UpdateFilterCommand.d.ts +44 -182
  31. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -2
  32. package/dist-types/models/models_0.d.ts +647 -362
  33. package/dist-types/ts3.4/models/models_0.d.ts +449 -362
  34. package/package.json +34 -34
@@ -14,15 +14,20 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  }
15
15
  /**
16
16
  * @public
17
+ * @enum
17
18
  */
18
- export declare enum Status {
19
- DISABLED = "DISABLED",
20
- DISABLING = "DISABLING",
21
- ENABLED = "ENABLED",
22
- ENABLING = "ENABLING",
23
- SUSPENDED = "SUSPENDED",
24
- SUSPENDING = "SUSPENDING"
25
- }
19
+ export declare const Status: {
20
+ readonly DISABLED: "DISABLED";
21
+ readonly DISABLING: "DISABLING";
22
+ readonly ENABLED: "ENABLED";
23
+ readonly ENABLING: "ENABLING";
24
+ readonly SUSPENDED: "SUSPENDED";
25
+ readonly SUSPENDING: "SUSPENDING";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type Status = (typeof Status)[keyof typeof Status];
26
31
  /**
27
32
  * @public
28
33
  * <p>Details the status of Amazon Inspector for each resource type Amazon Inspector scans.</p>
@@ -61,34 +66,54 @@ export interface Account {
61
66
  }
62
67
  /**
63
68
  * @public
69
+ * @enum
64
70
  */
65
- export declare enum AggregationFindingType {
66
- NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
67
- PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
68
- }
71
+ export declare const AggregationFindingType: {
72
+ readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
73
+ readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
74
+ };
69
75
  /**
70
76
  * @public
71
77
  */
72
- export declare enum AggregationResourceType {
73
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
74
- AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
75
- AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
76
- }
78
+ export type AggregationFindingType = (typeof AggregationFindingType)[keyof typeof AggregationFindingType];
77
79
  /**
78
80
  * @public
81
+ * @enum
79
82
  */
80
- export declare enum AccountSortBy {
81
- ALL = "ALL",
82
- CRITICAL = "CRITICAL",
83
- HIGH = "HIGH"
84
- }
83
+ export declare const AggregationResourceType: {
84
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
85
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
86
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
87
+ };
85
88
  /**
86
89
  * @public
87
90
  */
88
- export declare enum SortOrder {
89
- ASC = "ASC",
90
- DESC = "DESC"
91
- }
91
+ export type AggregationResourceType = (typeof AggregationResourceType)[keyof typeof AggregationResourceType];
92
+ /**
93
+ * @public
94
+ * @enum
95
+ */
96
+ export declare const AccountSortBy: {
97
+ readonly ALL: "ALL";
98
+ readonly CRITICAL: "CRITICAL";
99
+ readonly HIGH: "HIGH";
100
+ };
101
+ /**
102
+ * @public
103
+ */
104
+ export type AccountSortBy = (typeof AccountSortBy)[keyof typeof AccountSortBy];
105
+ /**
106
+ * @public
107
+ * @enum
108
+ */
109
+ export declare const SortOrder: {
110
+ readonly ASC: "ASC";
111
+ readonly DESC: "DESC";
112
+ };
113
+ /**
114
+ * @public
115
+ */
116
+ export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
92
117
  /**
93
118
  * @public
94
119
  * <p>An object that contains details about an aggregation response based on
@@ -150,23 +175,28 @@ export interface AccountAggregationResponse {
150
175
  }
151
176
  /**
152
177
  * @public
178
+ * @enum
153
179
  */
154
- export declare enum ErrorCode {
155
- ACCESS_DENIED = "ACCESS_DENIED",
156
- ACCOUNT_IS_ISOLATED = "ACCOUNT_IS_ISOLATED",
157
- ALREADY_ENABLED = "ALREADY_ENABLED",
158
- DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
159
- DISASSOCIATE_ALL_MEMBERS = "DISASSOCIATE_ALL_MEMBERS",
160
- ENABLE_IN_PROGRESS = "ENABLE_IN_PROGRESS",
161
- EVENTBRIDGE_THROTTLED = "EVENTBRIDGE_THROTTLED",
162
- EVENTBRIDGE_UNAVAILABLE = "EVENTBRIDGE_UNAVAILABLE",
163
- INTERNAL_ERROR = "INTERNAL_ERROR",
164
- RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND",
165
- RESOURCE_SCAN_NOT_DISABLED = "RESOURCE_SCAN_NOT_DISABLED",
166
- SSM_THROTTLED = "SSM_THROTTLED",
167
- SSM_UNAVAILABLE = "SSM_UNAVAILABLE",
168
- SUSPEND_IN_PROGRESS = "SUSPEND_IN_PROGRESS"
169
- }
180
+ export declare const ErrorCode: {
181
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
182
+ readonly ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED";
183
+ readonly ALREADY_ENABLED: "ALREADY_ENABLED";
184
+ readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
185
+ readonly DISASSOCIATE_ALL_MEMBERS: "DISASSOCIATE_ALL_MEMBERS";
186
+ readonly ENABLE_IN_PROGRESS: "ENABLE_IN_PROGRESS";
187
+ readonly EVENTBRIDGE_THROTTLED: "EVENTBRIDGE_THROTTLED";
188
+ readonly EVENTBRIDGE_UNAVAILABLE: "EVENTBRIDGE_UNAVAILABLE";
189
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
190
+ readonly RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND";
191
+ readonly RESOURCE_SCAN_NOT_DISABLED: "RESOURCE_SCAN_NOT_DISABLED";
192
+ readonly SSM_THROTTLED: "SSM_THROTTLED";
193
+ readonly SSM_UNAVAILABLE: "SSM_UNAVAILABLE";
194
+ readonly SUSPEND_IN_PROGRESS: "SUSPEND_IN_PROGRESS";
195
+ };
196
+ /**
197
+ * @public
198
+ */
199
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
170
200
  /**
171
201
  * @public
172
202
  * <p>An object that described the state of Amazon Inspector scans for an account.</p>
@@ -223,12 +253,17 @@ export interface AccountState {
223
253
  }
224
254
  /**
225
255
  * @public
256
+ * @enum
226
257
  */
227
- export declare enum StringComparison {
228
- EQUALS = "EQUALS",
229
- NOT_EQUALS = "NOT_EQUALS",
230
- PREFIX = "PREFIX"
231
- }
258
+ export declare const StringComparison: {
259
+ readonly EQUALS: "EQUALS";
260
+ readonly NOT_EQUALS: "NOT_EQUALS";
261
+ readonly PREFIX: "PREFIX";
262
+ };
263
+ /**
264
+ * @public
265
+ */
266
+ export type StringComparison = (typeof StringComparison)[keyof typeof StringComparison];
232
267
  /**
233
268
  * @public
234
269
  * <p>An object that describes the details of a string filter.</p>
@@ -245,13 +280,18 @@ export interface StringFilter {
245
280
  }
246
281
  /**
247
282
  * @public
283
+ * @enum
248
284
  */
249
- export declare enum AmiSortBy {
250
- AFFECTED_INSTANCES = "AFFECTED_INSTANCES",
251
- ALL = "ALL",
252
- CRITICAL = "CRITICAL",
253
- HIGH = "HIGH"
254
- }
285
+ export declare const AmiSortBy: {
286
+ readonly AFFECTED_INSTANCES: "AFFECTED_INSTANCES";
287
+ readonly ALL: "ALL";
288
+ readonly CRITICAL: "CRITICAL";
289
+ readonly HIGH: "HIGH";
290
+ };
291
+ /**
292
+ * @public
293
+ */
294
+ export type AmiSortBy = (typeof AmiSortBy)[keyof typeof AmiSortBy];
255
295
  /**
256
296
  * @public
257
297
  * <p>The details that define an aggregation based on Amazon machine images (AMIs).</p>
@@ -272,12 +312,17 @@ export interface AmiAggregation {
272
312
  }
273
313
  /**
274
314
  * @public
315
+ * @enum
275
316
  */
276
- export declare enum AwsEcrContainerSortBy {
277
- ALL = "ALL",
278
- CRITICAL = "CRITICAL",
279
- HIGH = "HIGH"
280
- }
317
+ export declare const AwsEcrContainerSortBy: {
318
+ readonly ALL: "ALL";
319
+ readonly CRITICAL: "CRITICAL";
320
+ readonly HIGH: "HIGH";
321
+ };
322
+ /**
323
+ * @public
324
+ */
325
+ export type AwsEcrContainerSortBy = (typeof AwsEcrContainerSortBy)[keyof typeof AwsEcrContainerSortBy];
281
326
  /**
282
327
  * @public
283
328
  * <p>An aggregation of information about Amazon ECR containers.</p>
@@ -314,10 +359,15 @@ export interface AwsEcrContainerAggregation {
314
359
  }
315
360
  /**
316
361
  * @public
362
+ * @enum
317
363
  */
318
- export declare enum MapComparison {
319
- EQUALS = "EQUALS"
320
- }
364
+ export declare const MapComparison: {
365
+ readonly EQUALS: "EQUALS";
366
+ };
367
+ /**
368
+ * @public
369
+ */
370
+ export type MapComparison = (typeof MapComparison)[keyof typeof MapComparison];
321
371
  /**
322
372
  * @public
323
373
  * <p>An object that describes details of a map filter.</p>
@@ -338,13 +388,18 @@ export interface MapFilter {
338
388
  }
339
389
  /**
340
390
  * @public
391
+ * @enum
341
392
  */
342
- export declare enum Ec2InstanceSortBy {
343
- ALL = "ALL",
344
- CRITICAL = "CRITICAL",
345
- HIGH = "HIGH",
346
- NETWORK_FINDINGS = "NETWORK_FINDINGS"
347
- }
393
+ export declare const Ec2InstanceSortBy: {
394
+ readonly ALL: "ALL";
395
+ readonly CRITICAL: "CRITICAL";
396
+ readonly HIGH: "HIGH";
397
+ readonly NETWORK_FINDINGS: "NETWORK_FINDINGS";
398
+ };
399
+ /**
400
+ * @public
401
+ */
402
+ export type Ec2InstanceSortBy = (typeof Ec2InstanceSortBy)[keyof typeof Ec2InstanceSortBy];
348
403
  /**
349
404
  * @public
350
405
  * <p>The details that define an aggregation based on Amazon EC2 instances.</p>
@@ -379,12 +434,17 @@ export interface Ec2InstanceAggregation {
379
434
  }
380
435
  /**
381
436
  * @public
437
+ * @enum
382
438
  */
383
- export declare enum FindingTypeSortBy {
384
- ALL = "ALL",
385
- CRITICAL = "CRITICAL",
386
- HIGH = "HIGH"
387
- }
439
+ export declare const FindingTypeSortBy: {
440
+ readonly ALL: "ALL";
441
+ readonly CRITICAL: "CRITICAL";
442
+ readonly HIGH: "HIGH";
443
+ };
444
+ /**
445
+ * @public
446
+ */
447
+ export type FindingTypeSortBy = (typeof FindingTypeSortBy)[keyof typeof FindingTypeSortBy];
388
448
  /**
389
449
  * @public
390
450
  * <p>The details that define an aggregation based on finding type.</p>
@@ -409,12 +469,17 @@ export interface FindingTypeAggregation {
409
469
  }
410
470
  /**
411
471
  * @public
472
+ * @enum
412
473
  */
413
- export declare enum ImageLayerSortBy {
414
- ALL = "ALL",
415
- CRITICAL = "CRITICAL",
416
- HIGH = "HIGH"
417
- }
474
+ export declare const ImageLayerSortBy: {
475
+ readonly ALL: "ALL";
476
+ readonly CRITICAL: "CRITICAL";
477
+ readonly HIGH: "HIGH";
478
+ };
479
+ /**
480
+ * @public
481
+ */
482
+ export type ImageLayerSortBy = (typeof ImageLayerSortBy)[keyof typeof ImageLayerSortBy];
418
483
  /**
419
484
  * @public
420
485
  * <p>The details that define an aggregation based on container image layers.</p>
@@ -443,12 +508,17 @@ export interface ImageLayerAggregation {
443
508
  }
444
509
  /**
445
510
  * @public
511
+ * @enum
446
512
  */
447
- export declare enum LambdaFunctionSortBy {
448
- ALL = "ALL",
449
- CRITICAL = "CRITICAL",
450
- HIGH = "HIGH"
451
- }
513
+ export declare const LambdaFunctionSortBy: {
514
+ readonly ALL: "ALL";
515
+ readonly CRITICAL: "CRITICAL";
516
+ readonly HIGH: "HIGH";
517
+ };
518
+ /**
519
+ * @public
520
+ */
521
+ export type LambdaFunctionSortBy = (typeof LambdaFunctionSortBy)[keyof typeof LambdaFunctionSortBy];
452
522
  /**
453
523
  * @public
454
524
  * <p>The details that define a findings aggregation based on AWS Lambda functions.</p>
@@ -481,12 +551,17 @@ export interface LambdaFunctionAggregation {
481
551
  }
482
552
  /**
483
553
  * @public
554
+ * @enum
484
555
  */
485
- export declare enum LambdaLayerSortBy {
486
- ALL = "ALL",
487
- CRITICAL = "CRITICAL",
488
- HIGH = "HIGH"
489
- }
556
+ export declare const LambdaLayerSortBy: {
557
+ readonly ALL: "ALL";
558
+ readonly CRITICAL: "CRITICAL";
559
+ readonly HIGH: "HIGH";
560
+ };
561
+ /**
562
+ * @public
563
+ */
564
+ export type LambdaLayerSortBy = (typeof LambdaLayerSortBy)[keyof typeof LambdaLayerSortBy];
490
565
  /**
491
566
  * @public
492
567
  * <p>The details that define a findings aggregation based on an AWS Lambda function's layers.</p>
@@ -516,12 +591,17 @@ export interface LambdaLayerAggregation {
516
591
  }
517
592
  /**
518
593
  * @public
594
+ * @enum
519
595
  */
520
- export declare enum PackageSortBy {
521
- ALL = "ALL",
522
- CRITICAL = "CRITICAL",
523
- HIGH = "HIGH"
524
- }
596
+ export declare const PackageSortBy: {
597
+ readonly ALL: "ALL";
598
+ readonly CRITICAL: "CRITICAL";
599
+ readonly HIGH: "HIGH";
600
+ };
601
+ /**
602
+ * @public
603
+ */
604
+ export type PackageSortBy = (typeof PackageSortBy)[keyof typeof PackageSortBy];
525
605
  /**
526
606
  * @public
527
607
  * <p>The details that define an aggregation based on operating system package type.</p>
@@ -542,13 +622,18 @@ export interface PackageAggregation {
542
622
  }
543
623
  /**
544
624
  * @public
625
+ * @enum
545
626
  */
546
- export declare enum RepositorySortBy {
547
- AFFECTED_IMAGES = "AFFECTED_IMAGES",
548
- ALL = "ALL",
549
- CRITICAL = "CRITICAL",
550
- HIGH = "HIGH"
551
- }
627
+ export declare const RepositorySortBy: {
628
+ readonly AFFECTED_IMAGES: "AFFECTED_IMAGES";
629
+ readonly ALL: "ALL";
630
+ readonly CRITICAL: "CRITICAL";
631
+ readonly HIGH: "HIGH";
632
+ };
633
+ /**
634
+ * @public
635
+ */
636
+ export type RepositorySortBy = (typeof RepositorySortBy)[keyof typeof RepositorySortBy];
552
637
  /**
553
638
  * @public
554
639
  * <p>The details that define an aggregation based on repository.</p>
@@ -569,12 +654,17 @@ export interface RepositoryAggregation {
569
654
  }
570
655
  /**
571
656
  * @public
657
+ * @enum
572
658
  */
573
- export declare enum TitleSortBy {
574
- ALL = "ALL",
575
- CRITICAL = "CRITICAL",
576
- HIGH = "HIGH"
577
- }
659
+ export declare const TitleSortBy: {
660
+ readonly ALL: "ALL";
661
+ readonly CRITICAL: "CRITICAL";
662
+ readonly HIGH: "HIGH";
663
+ };
664
+ /**
665
+ * @public
666
+ */
667
+ export type TitleSortBy = (typeof TitleSortBy)[keyof typeof TitleSortBy];
578
668
  /**
579
669
  * @public
580
670
  * <p>The details that define an aggregation based on finding title.</p>
@@ -1321,27 +1411,37 @@ export declare namespace AggregationResponse {
1321
1411
  }
1322
1412
  /**
1323
1413
  * @public
1414
+ * @enum
1324
1415
  */
1325
- export declare enum AggregationType {
1326
- ACCOUNT = "ACCOUNT",
1327
- AMI = "AMI",
1328
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
1329
- AWS_ECR_CONTAINER = "AWS_ECR_CONTAINER",
1330
- AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION",
1331
- FINDING_TYPE = "FINDING_TYPE",
1332
- IMAGE_LAYER = "IMAGE_LAYER",
1333
- LAMBDA_LAYER = "LAMBDA_LAYER",
1334
- PACKAGE = "PACKAGE",
1335
- REPOSITORY = "REPOSITORY",
1336
- TITLE = "TITLE"
1337
- }
1416
+ export declare const AggregationType: {
1417
+ readonly ACCOUNT: "ACCOUNT";
1418
+ readonly AMI: "AMI";
1419
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
1420
+ readonly AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER";
1421
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
1422
+ readonly FINDING_TYPE: "FINDING_TYPE";
1423
+ readonly IMAGE_LAYER: "IMAGE_LAYER";
1424
+ readonly LAMBDA_LAYER: "LAMBDA_LAYER";
1425
+ readonly PACKAGE: "PACKAGE";
1426
+ readonly REPOSITORY: "REPOSITORY";
1427
+ readonly TITLE: "TITLE";
1428
+ };
1338
1429
  /**
1339
1430
  * @public
1340
1431
  */
1341
- export declare enum Architecture {
1342
- ARM64 = "ARM64",
1343
- X86_64 = "X86_64"
1344
- }
1432
+ export type AggregationType = (typeof AggregationType)[keyof typeof AggregationType];
1433
+ /**
1434
+ * @public
1435
+ * @enum
1436
+ */
1437
+ export declare const Architecture: {
1438
+ readonly ARM64: "ARM64";
1439
+ readonly X86_64: "X86_64";
1440
+ };
1441
+ /**
1442
+ * @public
1443
+ */
1444
+ export type Architecture = (typeof Architecture)[keyof typeof Architecture];
1345
1445
  /**
1346
1446
  * @public
1347
1447
  */
@@ -1412,12 +1512,17 @@ export interface ValidationExceptionField {
1412
1512
  }
1413
1513
  /**
1414
1514
  * @public
1515
+ * @enum
1415
1516
  */
1416
- export declare enum ValidationExceptionReason {
1417
- CANNOT_PARSE = "CANNOT_PARSE",
1418
- FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
1419
- OTHER = "OTHER"
1420
- }
1517
+ export declare const ValidationExceptionReason: {
1518
+ readonly CANNOT_PARSE: "CANNOT_PARSE";
1519
+ readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
1520
+ readonly OTHER: "OTHER";
1521
+ };
1522
+ /**
1523
+ * @public
1524
+ */
1525
+ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
1421
1526
  /**
1422
1527
  * @public
1423
1528
  * <p>The request has failed validation due to missing required fields or having invalid
@@ -1546,29 +1651,39 @@ export interface AwsEcrContainerImageDetails {
1546
1651
  }
1547
1652
  /**
1548
1653
  * @public
1654
+ * @enum
1549
1655
  */
1550
- export declare enum PackageType {
1551
- IMAGE = "IMAGE",
1552
- ZIP = "ZIP"
1553
- }
1656
+ export declare const PackageType: {
1657
+ readonly IMAGE: "IMAGE";
1658
+ readonly ZIP: "ZIP";
1659
+ };
1554
1660
  /**
1555
1661
  * @public
1556
1662
  */
1557
- export declare enum Runtime {
1558
- GO_1_X = "GO_1_X",
1559
- JAVA_11 = "JAVA_11",
1560
- JAVA_8 = "JAVA_8",
1561
- JAVA_8_AL2 = "JAVA_8_AL2",
1562
- NODEJS = "NODEJS",
1563
- NODEJS_12_X = "NODEJS_12_X",
1564
- NODEJS_14_X = "NODEJS_14_X",
1565
- NODEJS_16_X = "NODEJS_16_X",
1566
- NODEJS_18_X = "NODEJS_18_X",
1567
- PYTHON_3_7 = "PYTHON_3_7",
1568
- PYTHON_3_8 = "PYTHON_3_8",
1569
- PYTHON_3_9 = "PYTHON_3_9",
1570
- UNSUPPORTED = "UNSUPPORTED"
1571
- }
1663
+ export type PackageType = (typeof PackageType)[keyof typeof PackageType];
1664
+ /**
1665
+ * @public
1666
+ * @enum
1667
+ */
1668
+ export declare const Runtime: {
1669
+ readonly GO_1_X: "GO_1_X";
1670
+ readonly JAVA_11: "JAVA_11";
1671
+ readonly JAVA_8: "JAVA_8";
1672
+ readonly JAVA_8_AL2: "JAVA_8_AL2";
1673
+ readonly NODEJS: "NODEJS";
1674
+ readonly NODEJS_12_X: "NODEJS_12_X";
1675
+ readonly NODEJS_14_X: "NODEJS_14_X";
1676
+ readonly NODEJS_16_X: "NODEJS_16_X";
1677
+ readonly NODEJS_18_X: "NODEJS_18_X";
1678
+ readonly PYTHON_3_7: "PYTHON_3_7";
1679
+ readonly PYTHON_3_8: "PYTHON_3_8";
1680
+ readonly PYTHON_3_9: "PYTHON_3_9";
1681
+ readonly UNSUPPORTED: "UNSUPPORTED";
1682
+ };
1683
+ /**
1684
+ * @public
1685
+ */
1686
+ export type Runtime = (typeof Runtime)[keyof typeof Runtime];
1572
1687
  /**
1573
1688
  * @public
1574
1689
  * <p>The VPC security groups and subnets that are attached to an AWS Lambda function. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-vpc.html">VPC Settings</a>.</p>
@@ -1719,19 +1834,29 @@ export interface BatchGetFreeTrialInfoRequest {
1719
1834
  }
1720
1835
  /**
1721
1836
  * @public
1837
+ * @enum
1722
1838
  */
1723
- export declare enum FreeTrialStatus {
1724
- ACTIVE = "ACTIVE",
1725
- INACTIVE = "INACTIVE"
1726
- }
1839
+ export declare const FreeTrialStatus: {
1840
+ readonly ACTIVE: "ACTIVE";
1841
+ readonly INACTIVE: "INACTIVE";
1842
+ };
1727
1843
  /**
1728
1844
  * @public
1729
1845
  */
1730
- export declare enum FreeTrialType {
1731
- EC2 = "EC2",
1732
- ECR = "ECR",
1733
- LAMBDA = "LAMBDA"
1734
- }
1846
+ export type FreeTrialStatus = (typeof FreeTrialStatus)[keyof typeof FreeTrialStatus];
1847
+ /**
1848
+ * @public
1849
+ * @enum
1850
+ */
1851
+ export declare const FreeTrialType: {
1852
+ readonly EC2: "EC2";
1853
+ readonly ECR: "ECR";
1854
+ readonly LAMBDA: "LAMBDA";
1855
+ };
1856
+ /**
1857
+ * @public
1858
+ */
1859
+ export type FreeTrialType = (typeof FreeTrialType)[keyof typeof FreeTrialType];
1735
1860
  /**
1736
1861
  * @public
1737
1862
  * <p>An object that contains information about the Amazon Inspector free trial for an account.</p>
@@ -1770,11 +1895,16 @@ export interface FreeTrialAccountInfo {
1770
1895
  }
1771
1896
  /**
1772
1897
  * @public
1898
+ * @enum
1773
1899
  */
1774
- export declare enum FreeTrialInfoErrorCode {
1775
- ACCESS_DENIED = "ACCESS_DENIED",
1776
- INTERNAL_ERROR = "INTERNAL_ERROR"
1777
- }
1900
+ export declare const FreeTrialInfoErrorCode: {
1901
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
1902
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
1903
+ };
1904
+ /**
1905
+ * @public
1906
+ */
1907
+ export type FreeTrialInfoErrorCode = (typeof FreeTrialInfoErrorCode)[keyof typeof FreeTrialInfoErrorCode];
1778
1908
  /**
1779
1909
  * @public
1780
1910
  * <p>Information about an error received while accessing free trail data for an account.</p>
@@ -1847,14 +1977,19 @@ export declare class ConflictException extends __BaseException {
1847
1977
  }
1848
1978
  /**
1849
1979
  * @public
1980
+ * @enum
1850
1981
  */
1851
- export declare enum GroupKey {
1852
- ACCOUNT_ID = "ACCOUNT_ID",
1853
- ECR_REPOSITORY_NAME = "ECR_REPOSITORY_NAME",
1854
- RESOURCE_TYPE = "RESOURCE_TYPE",
1855
- SCAN_STATUS_CODE = "SCAN_STATUS_CODE",
1856
- SCAN_STATUS_REASON = "SCAN_STATUS_REASON"
1857
- }
1982
+ export declare const GroupKey: {
1983
+ readonly ACCOUNT_ID: "ACCOUNT_ID";
1984
+ readonly ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME";
1985
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
1986
+ readonly SCAN_STATUS_CODE: "SCAN_STATUS_CODE";
1987
+ readonly SCAN_STATUS_REASON: "SCAN_STATUS_REASON";
1988
+ };
1989
+ /**
1990
+ * @public
1991
+ */
1992
+ export type GroupKey = (typeof GroupKey)[keyof typeof GroupKey];
1858
1993
  /**
1859
1994
  * @public
1860
1995
  * <p>a structure that contains information on the count of resources within a group.</p>
@@ -1871,11 +2006,16 @@ export interface Counts {
1871
2006
  }
1872
2007
  /**
1873
2008
  * @public
2009
+ * @enum
1874
2010
  */
1875
- export declare enum CoverageStringComparison {
1876
- EQUALS = "EQUALS",
1877
- NOT_EQUALS = "NOT_EQUALS"
1878
- }
2011
+ export declare const CoverageStringComparison: {
2012
+ readonly EQUALS: "EQUALS";
2013
+ readonly NOT_EQUALS: "NOT_EQUALS";
2014
+ };
2015
+ /**
2016
+ * @public
2017
+ */
2018
+ export type CoverageStringComparison = (typeof CoverageStringComparison)[keyof typeof CoverageStringComparison];
1879
2019
  /**
1880
2020
  * @public
1881
2021
  * <p>Contains details of a coverage string filter.</p>
@@ -1892,10 +2032,15 @@ export interface CoverageStringFilter {
1892
2032
  }
1893
2033
  /**
1894
2034
  * @public
2035
+ * @enum
1895
2036
  */
1896
- export declare enum CoverageMapComparison {
1897
- EQUALS = "EQUALS"
1898
- }
2037
+ export declare const CoverageMapComparison: {
2038
+ readonly EQUALS: "EQUALS";
2039
+ };
2040
+ /**
2041
+ * @public
2042
+ */
2043
+ export type CoverageMapComparison = (typeof CoverageMapComparison)[keyof typeof CoverageMapComparison];
1899
2044
  /**
1900
2045
  * @public
1901
2046
  * <p>Contains details of a coverage map filter.</p>
@@ -1970,21 +2115,31 @@ export interface CoverageFilterCriteria {
1970
2115
  }
1971
2116
  /**
1972
2117
  * @public
2118
+ * @enum
1973
2119
  */
1974
- export declare enum CoverageResourceType {
1975
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
1976
- AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
1977
- AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY",
1978
- AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
1979
- }
2120
+ export declare const CoverageResourceType: {
2121
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
2122
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
2123
+ readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
2124
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
2125
+ };
1980
2126
  /**
1981
2127
  * @public
1982
2128
  */
1983
- export declare enum Ec2Platform {
1984
- LINUX = "LINUX",
1985
- UNKNOWN = "UNKNOWN",
1986
- WINDOWS = "WINDOWS"
1987
- }
2129
+ export type CoverageResourceType = (typeof CoverageResourceType)[keyof typeof CoverageResourceType];
2130
+ /**
2131
+ * @public
2132
+ * @enum
2133
+ */
2134
+ export declare const Ec2Platform: {
2135
+ readonly LINUX: "LINUX";
2136
+ readonly UNKNOWN: "UNKNOWN";
2137
+ readonly WINDOWS: "WINDOWS";
2138
+ };
2139
+ /**
2140
+ * @public
2141
+ */
2142
+ export type Ec2Platform = (typeof Ec2Platform)[keyof typeof Ec2Platform];
1988
2143
  /**
1989
2144
  * @public
1990
2145
  * <p>Meta data details of an Amazon EC2 instance.</p>
@@ -2015,12 +2170,17 @@ export interface EcrContainerImageMetadata {
2015
2170
  }
2016
2171
  /**
2017
2172
  * @public
2173
+ * @enum
2018
2174
  */
2019
- export declare enum EcrScanFrequency {
2020
- CONTINUOUS_SCAN = "CONTINUOUS_SCAN",
2021
- MANUAL = "MANUAL",
2022
- SCAN_ON_PUSH = "SCAN_ON_PUSH"
2023
- }
2175
+ export declare const EcrScanFrequency: {
2176
+ readonly CONTINUOUS_SCAN: "CONTINUOUS_SCAN";
2177
+ readonly MANUAL: "MANUAL";
2178
+ readonly SCAN_ON_PUSH: "SCAN_ON_PUSH";
2179
+ };
2180
+ /**
2181
+ * @public
2182
+ */
2183
+ export type EcrScanFrequency = (typeof EcrScanFrequency)[keyof typeof EcrScanFrequency];
2024
2184
  /**
2025
2185
  * @public
2026
2186
  * <p>Information on the Amazon ECR repository metadata associated with a finding.</p>
@@ -2081,34 +2241,44 @@ export interface ResourceScanMetadata {
2081
2241
  }
2082
2242
  /**
2083
2243
  * @public
2244
+ * @enum
2084
2245
  */
2085
- export declare enum ScanStatusReason {
2086
- ACCESS_DENIED = "ACCESS_DENIED",
2087
- EC2_INSTANCE_STOPPED = "EC2_INSTANCE_STOPPED",
2088
- EXCLUDED_BY_TAG = "EXCLUDED_BY_TAG",
2089
- IMAGE_SIZE_EXCEEDED = "IMAGE_SIZE_EXCEEDED",
2090
- INTERNAL_ERROR = "INTERNAL_ERROR",
2091
- NO_INVENTORY = "NO_INVENTORY",
2092
- NO_RESOURCES_FOUND = "NO_RESOURCES_FOUND",
2093
- PENDING_DISABLE = "PENDING_DISABLE",
2094
- PENDING_INITIAL_SCAN = "PENDING_INITIAL_SCAN",
2095
- RESOURCE_TERMINATED = "RESOURCE_TERMINATED",
2096
- SCAN_ELIGIBILITY_EXPIRED = "SCAN_ELIGIBILITY_EXPIRED",
2097
- SCAN_FREQUENCY_MANUAL = "SCAN_FREQUENCY_MANUAL",
2098
- SCAN_FREQUENCY_SCAN_ON_PUSH = "SCAN_FREQUENCY_SCAN_ON_PUSH",
2099
- STALE_INVENTORY = "STALE_INVENTORY",
2100
- SUCCESSFUL = "SUCCESSFUL",
2101
- UNMANAGED_EC2_INSTANCE = "UNMANAGED_EC2_INSTANCE",
2102
- UNSUPPORTED_OS = "UNSUPPORTED_OS",
2103
- UNSUPPORTED_RUNTIME = "UNSUPPORTED_RUNTIME"
2104
- }
2246
+ export declare const ScanStatusReason: {
2247
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
2248
+ readonly EC2_INSTANCE_STOPPED: "EC2_INSTANCE_STOPPED";
2249
+ readonly EXCLUDED_BY_TAG: "EXCLUDED_BY_TAG";
2250
+ readonly IMAGE_SIZE_EXCEEDED: "IMAGE_SIZE_EXCEEDED";
2251
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
2252
+ readonly NO_INVENTORY: "NO_INVENTORY";
2253
+ readonly NO_RESOURCES_FOUND: "NO_RESOURCES_FOUND";
2254
+ readonly PENDING_DISABLE: "PENDING_DISABLE";
2255
+ readonly PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN";
2256
+ readonly RESOURCE_TERMINATED: "RESOURCE_TERMINATED";
2257
+ readonly SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED";
2258
+ readonly SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL";
2259
+ readonly SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH";
2260
+ readonly STALE_INVENTORY: "STALE_INVENTORY";
2261
+ readonly SUCCESSFUL: "SUCCESSFUL";
2262
+ readonly UNMANAGED_EC2_INSTANCE: "UNMANAGED_EC2_INSTANCE";
2263
+ readonly UNSUPPORTED_OS: "UNSUPPORTED_OS";
2264
+ readonly UNSUPPORTED_RUNTIME: "UNSUPPORTED_RUNTIME";
2265
+ };
2105
2266
  /**
2106
2267
  * @public
2107
2268
  */
2108
- export declare enum ScanStatusCode {
2109
- ACTIVE = "ACTIVE",
2110
- INACTIVE = "INACTIVE"
2111
- }
2269
+ export type ScanStatusReason = (typeof ScanStatusReason)[keyof typeof ScanStatusReason];
2270
+ /**
2271
+ * @public
2272
+ * @enum
2273
+ */
2274
+ export declare const ScanStatusCode: {
2275
+ readonly ACTIVE: "ACTIVE";
2276
+ readonly INACTIVE: "INACTIVE";
2277
+ };
2278
+ /**
2279
+ * @public
2280
+ */
2281
+ export type ScanStatusCode = (typeof ScanStatusCode)[keyof typeof ScanStatusCode];
2112
2282
  /**
2113
2283
  * @public
2114
2284
  * <p>The status of the scan.</p>
@@ -2125,11 +2295,16 @@ export interface ScanStatus {
2125
2295
  }
2126
2296
  /**
2127
2297
  * @public
2298
+ * @enum
2128
2299
  */
2129
- export declare enum ScanType {
2130
- NETWORK = "NETWORK",
2131
- PACKAGE = "PACKAGE"
2132
- }
2300
+ export declare const ScanType: {
2301
+ readonly NETWORK: "NETWORK";
2302
+ readonly PACKAGE: "PACKAGE";
2303
+ };
2304
+ /**
2305
+ * @public
2306
+ */
2307
+ export type ScanType = (typeof ScanType)[keyof typeof ScanType];
2133
2308
  /**
2134
2309
  * @public
2135
2310
  * <p>An object that contains details about a resource covered by Amazon Inspector.</p>
@@ -2162,11 +2337,16 @@ export interface CoveredResource {
2162
2337
  }
2163
2338
  /**
2164
2339
  * @public
2340
+ * @enum
2165
2341
  */
2166
- export declare enum FilterAction {
2167
- NONE = "NONE",
2168
- SUPPRESS = "SUPPRESS"
2169
- }
2342
+ export declare const FilterAction: {
2343
+ readonly NONE: "NONE";
2344
+ readonly SUPPRESS: "SUPPRESS";
2345
+ };
2346
+ /**
2347
+ * @public
2348
+ */
2349
+ export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
2170
2350
  /**
2171
2351
  * @public
2172
2352
  * <p>Contains details on the time range used to filter findings.</p>
@@ -2462,11 +2642,16 @@ export declare class ServiceQuotaExceededException extends __BaseException {
2462
2642
  }
2463
2643
  /**
2464
2644
  * @public
2645
+ * @enum
2465
2646
  */
2466
- export declare enum ReportFormat {
2467
- CSV = "CSV",
2468
- JSON = "JSON"
2469
- }
2647
+ export declare const ReportFormat: {
2648
+ readonly CSV: "CSV";
2649
+ readonly JSON: "JSON";
2650
+ };
2651
+ /**
2652
+ * @public
2653
+ */
2654
+ export type ReportFormat = (typeof ReportFormat)[keyof typeof ReportFormat];
2470
2655
  /**
2471
2656
  * @public
2472
2657
  * <p>Contains details of the Amazon S3 bucket and KMS key used to export findings.</p>
@@ -2513,10 +2698,15 @@ export interface CreateFindingsReportResponse {
2513
2698
  }
2514
2699
  /**
2515
2700
  * @public
2701
+ * @enum
2516
2702
  */
2517
- export declare enum Currency {
2518
- USD = "USD"
2519
- }
2703
+ export declare const Currency: {
2704
+ readonly USD: "USD";
2705
+ };
2706
+ /**
2707
+ * @public
2708
+ */
2709
+ export type Currency = (typeof Currency)[keyof typeof Currency];
2520
2710
  /**
2521
2711
  * @public
2522
2712
  * <p>The CVSS score for a finding.</p>
@@ -2585,21 +2775,26 @@ export interface CvssScoreDetails {
2585
2775
  }
2586
2776
  /**
2587
2777
  * @public
2778
+ * @enum
2588
2779
  */
2589
- export declare enum RelationshipStatus {
2590
- ACCOUNT_SUSPENDED = "ACCOUNT_SUSPENDED",
2591
- CANNOT_CREATE_DETECTOR_IN_ORG_MASTER = "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER",
2592
- CREATED = "CREATED",
2593
- DELETED = "DELETED",
2594
- DISABLED = "DISABLED",
2595
- EMAIL_VERIFICATION_FAILED = "EMAIL_VERIFICATION_FAILED",
2596
- EMAIL_VERIFICATION_IN_PROGRESS = "EMAIL_VERIFICATION_IN_PROGRESS",
2597
- ENABLED = "ENABLED",
2598
- INVITED = "INVITED",
2599
- REGION_DISABLED = "REGION_DISABLED",
2600
- REMOVED = "REMOVED",
2601
- RESIGNED = "RESIGNED"
2602
- }
2780
+ export declare const RelationshipStatus: {
2781
+ readonly ACCOUNT_SUSPENDED: "ACCOUNT_SUSPENDED";
2782
+ readonly CANNOT_CREATE_DETECTOR_IN_ORG_MASTER: "CANNOT_CREATE_DETECTOR_IN_ORG_MASTER";
2783
+ readonly CREATED: "CREATED";
2784
+ readonly DELETED: "DELETED";
2785
+ readonly DISABLED: "DISABLED";
2786
+ readonly EMAIL_VERIFICATION_FAILED: "EMAIL_VERIFICATION_FAILED";
2787
+ readonly EMAIL_VERIFICATION_IN_PROGRESS: "EMAIL_VERIFICATION_IN_PROGRESS";
2788
+ readonly ENABLED: "ENABLED";
2789
+ readonly INVITED: "INVITED";
2790
+ readonly REGION_DISABLED: "REGION_DISABLED";
2791
+ readonly REMOVED: "REMOVED";
2792
+ readonly RESIGNED: "RESIGNED";
2793
+ };
2794
+ /**
2795
+ * @public
2796
+ */
2797
+ export type RelationshipStatus = (typeof RelationshipStatus)[keyof typeof RelationshipStatus];
2603
2798
  /**
2604
2799
  * @public
2605
2800
  * <p>Details of the Amazon Inspector delegated administrator for your organization.</p>
@@ -2616,11 +2811,16 @@ export interface DelegatedAdmin {
2616
2811
  }
2617
2812
  /**
2618
2813
  * @public
2814
+ * @enum
2619
2815
  */
2620
- export declare enum DelegatedAdminStatus {
2621
- DISABLE_IN_PROGRESS = "DISABLE_IN_PROGRESS",
2622
- ENABLED = "ENABLED"
2623
- }
2816
+ export declare const DelegatedAdminStatus: {
2817
+ readonly DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS";
2818
+ readonly ENABLED: "ENABLED";
2819
+ };
2820
+ /**
2821
+ * @public
2822
+ */
2823
+ export type DelegatedAdminStatus = (typeof DelegatedAdminStatus)[keyof typeof DelegatedAdminStatus];
2624
2824
  /**
2625
2825
  * @public
2626
2826
  * <p>Details of the Amazon Inspector delegated administrator for your organization.</p>
@@ -2673,12 +2873,17 @@ export interface DescribeOrganizationConfigurationResponse {
2673
2873
  }
2674
2874
  /**
2675
2875
  * @public
2876
+ * @enum
2676
2877
  */
2677
- export declare enum ResourceScanType {
2678
- EC2 = "EC2",
2679
- ECR = "ECR",
2680
- LAMBDA = "LAMBDA"
2681
- }
2878
+ export declare const ResourceScanType: {
2879
+ readonly EC2: "EC2";
2880
+ readonly ECR: "ECR";
2881
+ readonly LAMBDA: "LAMBDA";
2882
+ };
2883
+ /**
2884
+ * @public
2885
+ */
2886
+ export type ResourceScanType = (typeof ResourceScanType)[keyof typeof ResourceScanType];
2682
2887
  /**
2683
2888
  * @public
2684
2889
  */
@@ -2745,12 +2950,17 @@ export interface DisassociateMemberResponse {
2745
2950
  }
2746
2951
  /**
2747
2952
  * @public
2953
+ * @enum
2748
2954
  */
2749
- export declare enum EcrRescanDuration {
2750
- DAYS_180 = "DAYS_180",
2751
- DAYS_30 = "DAYS_30",
2752
- LIFETIME = "LIFETIME"
2753
- }
2955
+ export declare const EcrRescanDuration: {
2956
+ readonly DAYS_180: "DAYS_180";
2957
+ readonly DAYS_30: "DAYS_30";
2958
+ readonly LIFETIME: "LIFETIME";
2959
+ };
2960
+ /**
2961
+ * @public
2962
+ */
2963
+ export type EcrRescanDuration = (typeof EcrRescanDuration)[keyof typeof EcrRescanDuration];
2754
2964
  /**
2755
2965
  * @public
2756
2966
  * <p>Details about the ECR automated re-scan duration setting for your environment.</p>
@@ -2763,12 +2973,17 @@ export interface EcrConfiguration {
2763
2973
  }
2764
2974
  /**
2765
2975
  * @public
2976
+ * @enum
2766
2977
  */
2767
- export declare enum EcrRescanDurationStatus {
2768
- FAILED = "FAILED",
2769
- PENDING = "PENDING",
2770
- SUCCESS = "SUCCESS"
2771
- }
2978
+ export declare const EcrRescanDurationStatus: {
2979
+ readonly FAILED: "FAILED";
2980
+ readonly PENDING: "PENDING";
2981
+ readonly SUCCESS: "SUCCESS";
2982
+ };
2983
+ /**
2984
+ * @public
2985
+ */
2986
+ export type EcrRescanDurationStatus = (typeof EcrRescanDurationStatus)[keyof typeof EcrRescanDurationStatus];
2772
2987
  /**
2773
2988
  * @public
2774
2989
  * <p>Details about the state of any changes to the ECR automated re-scan duration setting.</p>
@@ -2863,20 +3078,30 @@ export interface ExploitabilityDetails {
2863
3078
  }
2864
3079
  /**
2865
3080
  * @public
3081
+ * @enum
2866
3082
  */
2867
- export declare enum ExploitAvailable {
2868
- NO = "NO",
2869
- YES = "YES"
2870
- }
3083
+ export declare const ExploitAvailable: {
3084
+ readonly NO: "NO";
3085
+ readonly YES: "YES";
3086
+ };
2871
3087
  /**
2872
3088
  * @public
2873
3089
  */
2874
- export declare enum ExternalReportStatus {
2875
- CANCELLED = "CANCELLED",
2876
- FAILED = "FAILED",
2877
- IN_PROGRESS = "IN_PROGRESS",
2878
- SUCCEEDED = "SUCCEEDED"
2879
- }
3090
+ export type ExploitAvailable = (typeof ExploitAvailable)[keyof typeof ExploitAvailable];
3091
+ /**
3092
+ * @public
3093
+ * @enum
3094
+ */
3095
+ export declare const ExternalReportStatus: {
3096
+ readonly CANCELLED: "CANCELLED";
3097
+ readonly FAILED: "FAILED";
3098
+ readonly IN_PROGRESS: "IN_PROGRESS";
3099
+ readonly SUCCEEDED: "SUCCEEDED";
3100
+ };
3101
+ /**
3102
+ * @public
3103
+ */
3104
+ export type ExternalReportStatus = (typeof ExternalReportStatus)[keyof typeof ExternalReportStatus];
2880
3105
  /**
2881
3106
  * @public
2882
3107
  * <p>Details about a filter.</p>
@@ -2925,12 +3150,17 @@ export interface Filter {
2925
3150
  }
2926
3151
  /**
2927
3152
  * @public
3153
+ * @enum
2928
3154
  */
2929
- export declare enum FixAvailable {
2930
- NO = "NO",
2931
- PARTIAL = "PARTIAL",
2932
- YES = "YES"
2933
- }
3155
+ export declare const FixAvailable: {
3156
+ readonly NO: "NO";
3157
+ readonly PARTIAL: "PARTIAL";
3158
+ readonly YES: "YES";
3159
+ };
3160
+ /**
3161
+ * @public
3162
+ */
3163
+ export type FixAvailable = (typeof FixAvailable)[keyof typeof FixAvailable];
2934
3164
  /**
2935
3165
  * @public
2936
3166
  * <p>Information about the Amazon Inspector score given to a finding.</p>
@@ -2981,11 +3211,16 @@ export interface PortRange {
2981
3211
  }
2982
3212
  /**
2983
3213
  * @public
3214
+ * @enum
2984
3215
  */
2985
- export declare enum NetworkProtocol {
2986
- TCP = "TCP",
2987
- UDP = "UDP"
2988
- }
3216
+ export declare const NetworkProtocol: {
3217
+ readonly TCP: "TCP";
3218
+ readonly UDP: "UDP";
3219
+ };
3220
+ /**
3221
+ * @public
3222
+ */
3223
+ export type NetworkProtocol = (typeof NetworkProtocol)[keyof typeof NetworkProtocol];
2989
3224
  /**
2990
3225
  * @public
2991
3226
  * <p>Contains the details of a network reachability finding.</p>
@@ -3006,25 +3241,30 @@ export interface NetworkReachabilityDetails {
3006
3241
  }
3007
3242
  /**
3008
3243
  * @public
3244
+ * @enum
3009
3245
  */
3010
- export declare enum PackageManager {
3011
- BUNDLER = "BUNDLER",
3012
- CARGO = "CARGO",
3013
- COMPOSER = "COMPOSER",
3014
- GOBINARY = "GOBINARY",
3015
- GOMOD = "GOMOD",
3016
- JAR = "JAR",
3017
- NODEPKG = "NODEPKG",
3018
- NPM = "NPM",
3019
- NUGET = "NUGET",
3020
- OS = "OS",
3021
- PIP = "PIP",
3022
- PIPENV = "PIPENV",
3023
- POETRY = "POETRY",
3024
- POM = "POM",
3025
- PYTHONPKG = "PYTHONPKG",
3026
- YARN = "YARN"
3027
- }
3246
+ export declare const PackageManager: {
3247
+ readonly BUNDLER: "BUNDLER";
3248
+ readonly CARGO: "CARGO";
3249
+ readonly COMPOSER: "COMPOSER";
3250
+ readonly GOBINARY: "GOBINARY";
3251
+ readonly GOMOD: "GOMOD";
3252
+ readonly JAR: "JAR";
3253
+ readonly NODEPKG: "NODEPKG";
3254
+ readonly NPM: "NPM";
3255
+ readonly NUGET: "NUGET";
3256
+ readonly OS: "OS";
3257
+ readonly PIP: "PIP";
3258
+ readonly PIPENV: "PIPENV";
3259
+ readonly POETRY: "POETRY";
3260
+ readonly POM: "POM";
3261
+ readonly PYTHONPKG: "PYTHONPKG";
3262
+ readonly YARN: "YARN";
3263
+ };
3264
+ /**
3265
+ * @public
3266
+ */
3267
+ export type PackageManager = (typeof PackageManager)[keyof typeof PackageManager];
3028
3268
  /**
3029
3269
  * @public
3030
3270
  * <p>Information on the vulnerable package identified by a finding.</p>
@@ -3165,13 +3405,18 @@ export interface ResourceDetails {
3165
3405
  }
3166
3406
  /**
3167
3407
  * @public
3408
+ * @enum
3168
3409
  */
3169
- export declare enum ResourceType {
3170
- AWS_EC2_INSTANCE = "AWS_EC2_INSTANCE",
3171
- AWS_ECR_CONTAINER_IMAGE = "AWS_ECR_CONTAINER_IMAGE",
3172
- AWS_ECR_REPOSITORY = "AWS_ECR_REPOSITORY",
3173
- AWS_LAMBDA_FUNCTION = "AWS_LAMBDA_FUNCTION"
3174
- }
3410
+ export declare const ResourceType: {
3411
+ readonly AWS_EC2_INSTANCE: "AWS_EC2_INSTANCE";
3412
+ readonly AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE";
3413
+ readonly AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY";
3414
+ readonly AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION";
3415
+ };
3416
+ /**
3417
+ * @public
3418
+ */
3419
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
3175
3420
  /**
3176
3421
  * @public
3177
3422
  * <p>Details about the resource involved in a finding.</p>
@@ -3204,30 +3449,45 @@ export interface Resource {
3204
3449
  }
3205
3450
  /**
3206
3451
  * @public
3452
+ * @enum
3207
3453
  */
3208
- export declare enum Severity {
3209
- CRITICAL = "CRITICAL",
3210
- HIGH = "HIGH",
3211
- INFORMATIONAL = "INFORMATIONAL",
3212
- LOW = "LOW",
3213
- MEDIUM = "MEDIUM",
3214
- UNTRIAGED = "UNTRIAGED"
3215
- }
3454
+ export declare const Severity: {
3455
+ readonly CRITICAL: "CRITICAL";
3456
+ readonly HIGH: "HIGH";
3457
+ readonly INFORMATIONAL: "INFORMATIONAL";
3458
+ readonly LOW: "LOW";
3459
+ readonly MEDIUM: "MEDIUM";
3460
+ readonly UNTRIAGED: "UNTRIAGED";
3461
+ };
3216
3462
  /**
3217
3463
  * @public
3218
3464
  */
3219
- export declare enum FindingStatus {
3220
- ACTIVE = "ACTIVE",
3221
- CLOSED = "CLOSED",
3222
- SUPPRESSED = "SUPPRESSED"
3223
- }
3465
+ export type Severity = (typeof Severity)[keyof typeof Severity];
3224
3466
  /**
3225
3467
  * @public
3468
+ * @enum
3226
3469
  */
3227
- export declare enum FindingType {
3228
- NETWORK_REACHABILITY = "NETWORK_REACHABILITY",
3229
- PACKAGE_VULNERABILITY = "PACKAGE_VULNERABILITY"
3230
- }
3470
+ export declare const FindingStatus: {
3471
+ readonly ACTIVE: "ACTIVE";
3472
+ readonly CLOSED: "CLOSED";
3473
+ readonly SUPPRESSED: "SUPPRESSED";
3474
+ };
3475
+ /**
3476
+ * @public
3477
+ */
3478
+ export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
3479
+ /**
3480
+ * @public
3481
+ * @enum
3482
+ */
3483
+ export declare const FindingType: {
3484
+ readonly NETWORK_REACHABILITY: "NETWORK_REACHABILITY";
3485
+ readonly PACKAGE_VULNERABILITY: "PACKAGE_VULNERABILITY";
3486
+ };
3487
+ /**
3488
+ * @public
3489
+ */
3490
+ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
3231
3491
  /**
3232
3492
  * @public
3233
3493
  * <p>Details about an Amazon Inspector finding.</p>
@@ -3349,15 +3609,20 @@ export interface GetFindingsReportStatusRequest {
3349
3609
  }
3350
3610
  /**
3351
3611
  * @public
3612
+ * @enum
3352
3613
  */
3353
- export declare enum ReportingErrorCode {
3354
- BUCKET_NOT_FOUND = "BUCKET_NOT_FOUND",
3355
- INCOMPATIBLE_BUCKET_REGION = "INCOMPATIBLE_BUCKET_REGION",
3356
- INTERNAL_ERROR = "INTERNAL_ERROR",
3357
- INVALID_PERMISSIONS = "INVALID_PERMISSIONS",
3358
- MALFORMED_KMS_KEY = "MALFORMED_KMS_KEY",
3359
- NO_FINDINGS_FOUND = "NO_FINDINGS_FOUND"
3360
- }
3614
+ export declare const ReportingErrorCode: {
3615
+ readonly BUCKET_NOT_FOUND: "BUCKET_NOT_FOUND";
3616
+ readonly INCOMPATIBLE_BUCKET_REGION: "INCOMPATIBLE_BUCKET_REGION";
3617
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
3618
+ readonly INVALID_PERMISSIONS: "INVALID_PERMISSIONS";
3619
+ readonly MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY";
3620
+ readonly NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND";
3621
+ };
3622
+ /**
3623
+ * @public
3624
+ */
3625
+ export type ReportingErrorCode = (typeof ReportingErrorCode)[keyof typeof ReportingErrorCode];
3361
3626
  /**
3362
3627
  * @public
3363
3628
  */
@@ -3429,12 +3694,17 @@ export interface GetMemberResponse {
3429
3694
  }
3430
3695
  /**
3431
3696
  * @public
3697
+ * @enum
3432
3698
  */
3433
- export declare enum Service {
3434
- EC2 = "EC2",
3435
- ECR = "ECR",
3436
- LAMBDA = "LAMBDA"
3437
- }
3699
+ export declare const Service: {
3700
+ readonly EC2: "EC2";
3701
+ readonly ECR: "ECR";
3702
+ readonly LAMBDA: "LAMBDA";
3703
+ };
3704
+ /**
3705
+ * @public
3706
+ */
3707
+ export type Service = (typeof Service)[keyof typeof Service];
3438
3708
  /**
3439
3709
  * @public
3440
3710
  */
@@ -3457,13 +3727,18 @@ export interface ListAccountPermissionsRequest {
3457
3727
  }
3458
3728
  /**
3459
3729
  * @public
3730
+ * @enum
3460
3731
  */
3461
- export declare enum Operation {
3462
- DISABLE_REPOSITORY = "DISABLE_REPOSITORY",
3463
- DISABLE_SCANNING = "DISABLE_SCANNING",
3464
- ENABLE_REPOSITORY = "ENABLE_REPOSITORY",
3465
- ENABLE_SCANNING = "ENABLE_SCANNING"
3466
- }
3732
+ export declare const Operation: {
3733
+ readonly DISABLE_REPOSITORY: "DISABLE_REPOSITORY";
3734
+ readonly DISABLE_SCANNING: "DISABLE_SCANNING";
3735
+ readonly ENABLE_REPOSITORY: "ENABLE_REPOSITORY";
3736
+ readonly ENABLE_SCANNING: "ENABLE_SCANNING";
3737
+ };
3738
+ /**
3739
+ * @public
3740
+ */
3741
+ export type Operation = (typeof Operation)[keyof typeof Operation];
3467
3742
  /**
3468
3743
  * @public
3469
3744
  * <p>Contains information on the permissions an account has within Amazon Inspector.</p>
@@ -3694,25 +3969,30 @@ export interface ListFindingAggregationsResponse {
3694
3969
  }
3695
3970
  /**
3696
3971
  * @public
3972
+ * @enum
3697
3973
  */
3698
- export declare enum SortField {
3699
- AWS_ACCOUNT_ID = "AWS_ACCOUNT_ID",
3700
- COMPONENT_TYPE = "COMPONENT_TYPE",
3701
- ECR_IMAGE_PUSHED_AT = "ECR_IMAGE_PUSHED_AT",
3702
- ECR_IMAGE_REGISTRY = "ECR_IMAGE_REGISTRY",
3703
- ECR_IMAGE_REPOSITORY_NAME = "ECR_IMAGE_REPOSITORY_NAME",
3704
- FINDING_STATUS = "FINDING_STATUS",
3705
- FINDING_TYPE = "FINDING_TYPE",
3706
- FIRST_OBSERVED_AT = "FIRST_OBSERVED_AT",
3707
- INSPECTOR_SCORE = "INSPECTOR_SCORE",
3708
- LAST_OBSERVED_AT = "LAST_OBSERVED_AT",
3709
- NETWORK_PROTOCOL = "NETWORK_PROTOCOL",
3710
- RESOURCE_TYPE = "RESOURCE_TYPE",
3711
- SEVERITY = "SEVERITY",
3712
- VENDOR_SEVERITY = "VENDOR_SEVERITY",
3713
- VULNERABILITY_ID = "VULNERABILITY_ID",
3714
- VULNERABILITY_SOURCE = "VULNERABILITY_SOURCE"
3715
- }
3974
+ export declare const SortField: {
3975
+ readonly AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID";
3976
+ readonly COMPONENT_TYPE: "COMPONENT_TYPE";
3977
+ readonly ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT";
3978
+ readonly ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY";
3979
+ readonly ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME";
3980
+ readonly FINDING_STATUS: "FINDING_STATUS";
3981
+ readonly FINDING_TYPE: "FINDING_TYPE";
3982
+ readonly FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT";
3983
+ readonly INSPECTOR_SCORE: "INSPECTOR_SCORE";
3984
+ readonly LAST_OBSERVED_AT: "LAST_OBSERVED_AT";
3985
+ readonly NETWORK_PROTOCOL: "NETWORK_PROTOCOL";
3986
+ readonly RESOURCE_TYPE: "RESOURCE_TYPE";
3987
+ readonly SEVERITY: "SEVERITY";
3988
+ readonly VENDOR_SEVERITY: "VENDOR_SEVERITY";
3989
+ readonly VULNERABILITY_ID: "VULNERABILITY_ID";
3990
+ readonly VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE";
3991
+ };
3992
+ /**
3993
+ * @public
3994
+ */
3995
+ export type SortField = (typeof SortField)[keyof typeof SortField];
3716
3996
  /**
3717
3997
  * @public
3718
3998
  * <p>Details about the criteria used to sort finding results.</p>
@@ -3842,13 +4122,18 @@ export interface ListUsageTotalsRequest {
3842
4122
  }
3843
4123
  /**
3844
4124
  * @public
4125
+ * @enum
3845
4126
  */
3846
- export declare enum UsageType {
3847
- EC2_INSTANCE_HOURS = "EC2_INSTANCE_HOURS",
3848
- ECR_INITIAL_SCAN = "ECR_INITIAL_SCAN",
3849
- ECR_RESCAN = "ECR_RESCAN",
3850
- LAMBDA_FUNCTION_HOURS = "LAMBDA_FUNCTION_HOURS"
3851
- }
4127
+ export declare const UsageType: {
4128
+ readonly EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS";
4129
+ readonly ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN";
4130
+ readonly ECR_RESCAN: "ECR_RESCAN";
4131
+ readonly LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS";
4132
+ };
4133
+ /**
4134
+ * @public
4135
+ */
4136
+ export type UsageType = (typeof UsageType)[keyof typeof UsageType];
3852
4137
  /**
3853
4138
  * @public
3854
4139
  * <p>Contains usage information about the cost of Amazon Inspector operation.</p>