@aws-sdk/client-inspector2 3.428.0 → 3.429.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.
@@ -37,23 +37,23 @@ export interface ResourceStatus {
37
37
  * @public
38
38
  * <p>The status of Amazon Inspector scanning for Amazon EC2 resources.</p>
39
39
  */
40
- ec2: Status | string | undefined;
40
+ ec2: Status | undefined;
41
41
  /**
42
42
  * @public
43
43
  * <p>The status of Amazon Inspector scanning for Amazon ECR resources.</p>
44
44
  */
45
- ecr: Status | string | undefined;
45
+ ecr: Status | undefined;
46
46
  /**
47
47
  * @public
48
48
  * <p>The status of Amazon Inspector scanning for AWS Lambda function.</p>
49
49
  */
50
- lambda?: Status | string;
50
+ lambda?: Status;
51
51
  /**
52
52
  * @public
53
53
  * <p>The status of Amazon Inspector scanning for custom application code for Amazon Web Services Lambda functions.
54
54
  * </p>
55
55
  */
56
- lambdaCode?: Status | string;
56
+ lambdaCode?: Status;
57
57
  }
58
58
  /**
59
59
  * @public
@@ -69,7 +69,7 @@ export interface Account {
69
69
  * @public
70
70
  * <p>The status of Amazon Inspector for the account.</p>
71
71
  */
72
- status: Status | string | undefined;
72
+ status: Status | undefined;
73
73
  /**
74
74
  * @public
75
75
  * <p>Details of the status of Amazon Inspector scans by resource type.</p>
@@ -137,22 +137,22 @@ export interface AccountAggregation {
137
137
  * @public
138
138
  * <p>The type of finding.</p>
139
139
  */
140
- findingType?: AggregationFindingType | string;
140
+ findingType?: AggregationFindingType;
141
141
  /**
142
142
  * @public
143
143
  * <p>The type of resource.</p>
144
144
  */
145
- resourceType?: AggregationResourceType | string;
145
+ resourceType?: AggregationResourceType;
146
146
  /**
147
147
  * @public
148
148
  * <p>The sort order (ascending or descending).</p>
149
149
  */
150
- sortOrder?: SortOrder | string;
150
+ sortOrder?: SortOrder;
151
151
  /**
152
152
  * @public
153
153
  * <p>The value to sort by.</p>
154
154
  */
155
- sortBy?: AccountSortBy | string;
155
+ sortBy?: AccountSortBy;
156
156
  }
157
157
  /**
158
158
  * @public
@@ -229,12 +229,12 @@ export interface State {
229
229
  * @public
230
230
  * <p>The status of Amazon Inspector for the account.</p>
231
231
  */
232
- status: Status | string | undefined;
232
+ status: Status | undefined;
233
233
  /**
234
234
  * @public
235
235
  * <p>The error code explaining why the account failed to enable Amazon Inspector.</p>
236
236
  */
237
- errorCode: ErrorCode | string | undefined;
237
+ errorCode: ErrorCode | undefined;
238
238
  /**
239
239
  * @public
240
240
  * <p>The error message received when the account failed to enable Amazon Inspector.</p>
@@ -310,7 +310,7 @@ export interface StringFilter {
310
310
  * @public
311
311
  * <p>The operator to use when comparing values in the filter.</p>
312
312
  */
313
- comparison: StringComparison | string | undefined;
313
+ comparison: StringComparison | undefined;
314
314
  /**
315
315
  * @public
316
316
  * <p>The value to filter on.</p>
@@ -345,12 +345,12 @@ export interface AmiAggregation {
345
345
  * @public
346
346
  * <p>The order to sort results by.</p>
347
347
  */
348
- sortOrder?: SortOrder | string;
348
+ sortOrder?: SortOrder;
349
349
  /**
350
350
  * @public
351
351
  * <p>The value to sort results by.</p>
352
352
  */
353
- sortBy?: AmiSortBy | string;
353
+ sortBy?: AmiSortBy;
354
354
  }
355
355
  /**
356
356
  * @public
@@ -399,12 +399,12 @@ export interface AwsEcrContainerAggregation {
399
399
  * @public
400
400
  * <p>The sort order (ascending or descending).</p>
401
401
  */
402
- sortOrder?: SortOrder | string;
402
+ sortOrder?: SortOrder;
403
403
  /**
404
404
  * @public
405
405
  * <p>The value to sort by.</p>
406
406
  */
407
- sortBy?: AwsEcrContainerSortBy | string;
407
+ sortBy?: AwsEcrContainerSortBy;
408
408
  }
409
409
  /**
410
410
  * @public
@@ -426,7 +426,7 @@ export interface MapFilter {
426
426
  * @public
427
427
  * <p>The operator to use when comparing values in the filter.</p>
428
428
  */
429
- comparison: MapComparison | string | undefined;
429
+ comparison: MapComparison | undefined;
430
430
  /**
431
431
  * @public
432
432
  * <p>The tag key used in the filter.</p>
@@ -483,12 +483,12 @@ export interface Ec2InstanceAggregation {
483
483
  * @public
484
484
  * <p>The order to sort results by.</p>
485
485
  */
486
- sortOrder?: SortOrder | string;
486
+ sortOrder?: SortOrder;
487
487
  /**
488
488
  * @public
489
489
  * <p>The value to sort results by.</p>
490
490
  */
491
- sortBy?: Ec2InstanceSortBy | string;
491
+ sortBy?: Ec2InstanceSortBy;
492
492
  }
493
493
  /**
494
494
  * @public
@@ -512,22 +512,22 @@ export interface FindingTypeAggregation {
512
512
  * @public
513
513
  * <p>The finding type to aggregate.</p>
514
514
  */
515
- findingType?: AggregationFindingType | string;
515
+ findingType?: AggregationFindingType;
516
516
  /**
517
517
  * @public
518
518
  * <p>The resource type to aggregate.</p>
519
519
  */
520
- resourceType?: AggregationResourceType | string;
520
+ resourceType?: AggregationResourceType;
521
521
  /**
522
522
  * @public
523
523
  * <p>The order to sort results by.</p>
524
524
  */
525
- sortOrder?: SortOrder | string;
525
+ sortOrder?: SortOrder;
526
526
  /**
527
527
  * @public
528
528
  * <p>The value to sort results by.</p>
529
529
  */
530
- sortBy?: FindingTypeSortBy | string;
530
+ sortBy?: FindingTypeSortBy;
531
531
  }
532
532
  /**
533
533
  * @public
@@ -566,12 +566,12 @@ export interface ImageLayerAggregation {
566
566
  * @public
567
567
  * <p>The order to sort results by.</p>
568
568
  */
569
- sortOrder?: SortOrder | string;
569
+ sortOrder?: SortOrder;
570
570
  /**
571
571
  * @public
572
572
  * <p>The value to sort results by.</p>
573
573
  */
574
- sortBy?: ImageLayerSortBy | string;
574
+ sortBy?: ImageLayerSortBy;
575
575
  }
576
576
  /**
577
577
  * @public
@@ -615,12 +615,12 @@ export interface LambdaFunctionAggregation {
615
615
  * @public
616
616
  * <p>The order to use for sorting the results.</p>
617
617
  */
618
- sortOrder?: SortOrder | string;
618
+ sortOrder?: SortOrder;
619
619
  /**
620
620
  * @public
621
621
  * <p>The finding severity to use for sorting the results.</p>
622
622
  */
623
- sortBy?: LambdaFunctionSortBy | string;
623
+ sortBy?: LambdaFunctionSortBy;
624
624
  }
625
625
  /**
626
626
  * @public
@@ -660,12 +660,12 @@ export interface LambdaLayerAggregation {
660
660
  * @public
661
661
  * <p>The order to use for sorting the results.</p>
662
662
  */
663
- sortOrder?: SortOrder | string;
663
+ sortOrder?: SortOrder;
664
664
  /**
665
665
  * @public
666
666
  * <p>The finding severity to use for sorting the results.</p>
667
667
  */
668
- sortBy?: LambdaLayerSortBy | string;
668
+ sortBy?: LambdaLayerSortBy;
669
669
  }
670
670
  /**
671
671
  * @public
@@ -694,12 +694,12 @@ export interface PackageAggregation {
694
694
  * @public
695
695
  * <p>The order to sort results by.</p>
696
696
  */
697
- sortOrder?: SortOrder | string;
697
+ sortOrder?: SortOrder;
698
698
  /**
699
699
  * @public
700
700
  * <p>The value to sort results by.</p>
701
701
  */
702
- sortBy?: PackageSortBy | string;
702
+ sortBy?: PackageSortBy;
703
703
  }
704
704
  /**
705
705
  * @public
@@ -729,12 +729,12 @@ export interface RepositoryAggregation {
729
729
  * @public
730
730
  * <p>The order to sort results by.</p>
731
731
  */
732
- sortOrder?: SortOrder | string;
732
+ sortOrder?: SortOrder;
733
733
  /**
734
734
  * @public
735
735
  * <p>The value to sort results by.</p>
736
736
  */
737
- sortBy?: RepositorySortBy | string;
737
+ sortBy?: RepositorySortBy;
738
738
  }
739
739
  /**
740
740
  * @public
@@ -768,22 +768,22 @@ export interface TitleAggregation {
768
768
  * @public
769
769
  * <p>The resource type to aggregate on.</p>
770
770
  */
771
- resourceType?: AggregationResourceType | string;
771
+ resourceType?: AggregationResourceType;
772
772
  /**
773
773
  * @public
774
774
  * <p>The order to sort results by.</p>
775
775
  */
776
- sortOrder?: SortOrder | string;
776
+ sortOrder?: SortOrder;
777
777
  /**
778
778
  * @public
779
779
  * <p>The value to sort results by.</p>
780
780
  */
781
- sortBy?: TitleSortBy | string;
781
+ sortBy?: TitleSortBy;
782
782
  /**
783
783
  * @public
784
784
  * <p>The type of finding to aggregate on.</p>
785
785
  */
786
- findingType?: AggregationFindingType | string;
786
+ findingType?: AggregationFindingType;
787
787
  }
788
788
  /**
789
789
  * @public
@@ -1711,7 +1711,7 @@ export declare class ValidationException extends __BaseException {
1711
1711
  * @public
1712
1712
  * <p>The reason for the validation failure.</p>
1713
1713
  */
1714
- reason: ValidationExceptionReason | string | undefined;
1714
+ reason: ValidationExceptionReason | undefined;
1715
1715
  /**
1716
1716
  * @public
1717
1717
  * <p>The fields that failed validation.</p>
@@ -1953,7 +1953,7 @@ export interface AwsLambdaFunctionDetails {
1953
1953
  * @public
1954
1954
  * <p>The runtime environment for the AWS Lambda function.</p>
1955
1955
  */
1956
- runtime: Runtime | string | undefined;
1956
+ runtime: Runtime | undefined;
1957
1957
  /**
1958
1958
  * @public
1959
1959
  * <p>The SHA256 hash of the AWS Lambda function's deployment package.</p>
@@ -1984,13 +1984,13 @@ export interface AwsLambdaFunctionDetails {
1984
1984
  * @public
1985
1985
  * <p>The type of deployment package. Set to <code>Image</code> for container image and set <code>Zip</code> for .zip file archive.</p>
1986
1986
  */
1987
- packageType?: PackageType | string;
1987
+ packageType?: PackageType;
1988
1988
  /**
1989
1989
  * @public
1990
1990
  * <p>The instruction set architecture that the AWS Lambda function supports. Architecture is a string array with one of the
1991
1991
  * valid values. The default architecture value is <code>x86_64</code>.</p>
1992
1992
  */
1993
- architectures?: (Architecture | string)[];
1993
+ architectures?: Architecture[];
1994
1994
  /**
1995
1995
  * @public
1996
1996
  * <p>The date and time that a user last updated the configuration, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601 format</a>
@@ -2034,7 +2034,7 @@ export interface FailedAccount {
2034
2034
  * @public
2035
2035
  * <p>The status of Amazon Inspector for the account.</p>
2036
2036
  */
2037
- status?: Status | string;
2037
+ status?: Status;
2038
2038
  /**
2039
2039
  * @public
2040
2040
  * <p>An object detailing which resources Amazon Inspector is enabled to scan for the account.</p>
@@ -2044,7 +2044,7 @@ export interface FailedAccount {
2044
2044
  * @public
2045
2045
  * <p>The error code explaining why the account failed to enable Amazon Inspector.</p>
2046
2046
  */
2047
- errorCode: ErrorCode | string | undefined;
2047
+ errorCode: ErrorCode | undefined;
2048
2048
  /**
2049
2049
  * @public
2050
2050
  * <p>The error message received when the account failed to enable Amazon Inspector.</p>
@@ -2179,7 +2179,7 @@ export interface CodeSnippetError {
2179
2179
  * @public
2180
2180
  * <p>The error code for the error that prevented a code snippet from being retrieved.</p>
2181
2181
  */
2182
- errorCode: CodeSnippetErrorCode | string | undefined;
2182
+ errorCode: CodeSnippetErrorCode | undefined;
2183
2183
  /**
2184
2184
  * @public
2185
2185
  * <p>The error message received when Amazon Inspector failed to retrieve a code snippet.</p>
@@ -2239,7 +2239,7 @@ export interface FindingDetailsError {
2239
2239
  * @public
2240
2240
  * <p>The error code.</p>
2241
2241
  */
2242
- errorCode: FindingDetailsErrorCode | string | undefined;
2242
+ errorCode: FindingDetailsErrorCode | undefined;
2243
2243
  /**
2244
2244
  * @public
2245
2245
  * <p>The error message.</p>
@@ -2420,7 +2420,7 @@ export interface FreeTrialInfo {
2420
2420
  * @public
2421
2421
  * <p>The type of scan covered by the Amazon Inspector free trail.</p>
2422
2422
  */
2423
- type: FreeTrialType | string | undefined;
2423
+ type: FreeTrialType | undefined;
2424
2424
  /**
2425
2425
  * @public
2426
2426
  * <p>The date and time that the Amazon Inspector free trail started for a given account.</p>
@@ -2435,7 +2435,7 @@ export interface FreeTrialInfo {
2435
2435
  * @public
2436
2436
  * <p>The order to sort results by.</p>
2437
2437
  */
2438
- status: FreeTrialStatus | string | undefined;
2438
+ status: FreeTrialStatus | undefined;
2439
2439
  }
2440
2440
  /**
2441
2441
  * @public
@@ -2479,7 +2479,7 @@ export interface FreeTrialInfoError {
2479
2479
  * @public
2480
2480
  * <p>The error code.</p>
2481
2481
  */
2482
- code: FreeTrialInfoErrorCode | string | undefined;
2482
+ code: FreeTrialInfoErrorCode | undefined;
2483
2483
  /**
2484
2484
  * @public
2485
2485
  * <p>The error message returned.</p>
@@ -2542,7 +2542,7 @@ export interface MemberAccountEc2DeepInspectionStatusState {
2542
2542
  * @public
2543
2543
  * <p>The state of Amazon Inspector deep inspection in the member account.</p>
2544
2544
  */
2545
- status?: Ec2DeepInspectionStatus | string;
2545
+ status?: Ec2DeepInspectionStatus;
2546
2546
  /**
2547
2547
  * @public
2548
2548
  * <p>The error message explaining why the account failed to activate Amazon Inspector deep inspection.</p>
@@ -2563,7 +2563,7 @@ export interface FailedMemberAccountEc2DeepInspectionStatusState {
2563
2563
  * @public
2564
2564
  * <p>The status of EC2 scanning in the account that failed to activate Amazon Inspector deep inspection.</p>
2565
2565
  */
2566
- ec2ScanStatus?: Status | string;
2566
+ ec2ScanStatus?: Status;
2567
2567
  /**
2568
2568
  * @public
2569
2569
  * <p>The error message explaining why the account failed to activate Amazon Inspector deep inspection.</p>
@@ -2796,7 +2796,7 @@ export interface Counts {
2796
2796
  * @public
2797
2797
  * <p>The key associated with this group</p>
2798
2798
  */
2799
- groupKey?: GroupKey | string;
2799
+ groupKey?: GroupKey;
2800
2800
  }
2801
2801
  /**
2802
2802
  * @public
@@ -2835,7 +2835,7 @@ export interface CoverageStringFilter {
2835
2835
  * @public
2836
2836
  * <p>The operator to compare strings on.</p>
2837
2837
  */
2838
- comparison: CoverageStringComparison | string | undefined;
2838
+ comparison: CoverageStringComparison | undefined;
2839
2839
  /**
2840
2840
  * @public
2841
2841
  * <p>The value to compare strings on.</p>
@@ -2862,7 +2862,7 @@ export interface CoverageMapFilter {
2862
2862
  * @public
2863
2863
  * <p>The operator to compare coverage on.</p>
2864
2864
  */
2865
- comparison: CoverageMapComparison | string | undefined;
2865
+ comparison: CoverageMapComparison | undefined;
2866
2866
  /**
2867
2867
  * @public
2868
2868
  * <p>The tag key associated with the coverage map filter.</p>
@@ -2992,7 +2992,7 @@ export interface Ec2Metadata {
2992
2992
  * @public
2993
2993
  * <p>The platform of the instance.</p>
2994
2994
  */
2995
- platform?: Ec2Platform | string;
2995
+ platform?: Ec2Platform;
2996
2996
  }
2997
2997
  /**
2998
2998
  * @public
@@ -3032,7 +3032,7 @@ export interface EcrRepositoryMetadata {
3032
3032
  * @public
3033
3033
  * <p>The frequency of scans.</p>
3034
3034
  */
3035
- scanFrequency?: EcrScanFrequency | string;
3035
+ scanFrequency?: EcrScanFrequency;
3036
3036
  }
3037
3037
  /**
3038
3038
  * @public
@@ -3058,7 +3058,7 @@ export interface LambdaFunctionMetadata {
3058
3058
  * @public
3059
3059
  * <p>An AWS Lambda function's runtime.</p>
3060
3060
  */
3061
- runtime?: Runtime | string;
3061
+ runtime?: Runtime;
3062
3062
  }
3063
3063
  /**
3064
3064
  * @public
@@ -3141,7 +3141,7 @@ export interface ScanStatus {
3141
3141
  * @public
3142
3142
  * <p>The status code of the scan.</p>
3143
3143
  */
3144
- statusCode: ScanStatusCode | string | undefined;
3144
+ statusCode: ScanStatusCode | undefined;
3145
3145
  /**
3146
3146
  * @public
3147
3147
  * <p>The scan status. Possible return values and descriptions are: </p>
@@ -3195,7 +3195,7 @@ export interface ScanStatus {
3195
3195
  * <code>DEEP_INSPECTION_NO_INVENTORY</code> The Amazon Inspector plugin hasn't yet been able to collect an inventory of packages for this instance. This is usually the result of a pending scan, however, if this status persists after 6 hours, use SSM to ensure that the required Amazon Inspector associations exist and are running for the instance.</p>
3196
3196
  * <p/>
3197
3197
  */
3198
- reason: ScanStatusReason | string | undefined;
3198
+ reason: ScanStatusReason | undefined;
3199
3199
  }
3200
3200
  /**
3201
3201
  * @public
@@ -3219,7 +3219,7 @@ export interface CoveredResource {
3219
3219
  * @public
3220
3220
  * <p>The type of the covered resource.</p>
3221
3221
  */
3222
- resourceType: CoverageResourceType | string | undefined;
3222
+ resourceType: CoverageResourceType | undefined;
3223
3223
  /**
3224
3224
  * @public
3225
3225
  * <p>The ID of the covered resource.</p>
@@ -3234,7 +3234,7 @@ export interface CoveredResource {
3234
3234
  * @public
3235
3235
  * <p>The Amazon Inspector scan type covering the resource.</p>
3236
3236
  */
3237
- scanType: ScanType | string | undefined;
3237
+ scanType: ScanType | undefined;
3238
3238
  /**
3239
3239
  * @public
3240
3240
  * <p>The status of the scan covering the resource.</p>
@@ -3578,7 +3578,7 @@ export interface CreateFilterRequest {
3578
3578
  * @public
3579
3579
  * <p>Defines the action that is to be applied to the findings that match the filter.</p>
3580
3580
  */
3581
- action: FilterAction | string | undefined;
3581
+ action: FilterAction | undefined;
3582
3582
  /**
3583
3583
  * @public
3584
3584
  * <p>A description of the filter.</p>
@@ -3681,7 +3681,7 @@ export interface CreateFindingsReportRequest {
3681
3681
  * @public
3682
3682
  * <p>The format to generate the report in.</p>
3683
3683
  */
3684
- reportFormat: ReportFormat | string | undefined;
3684
+ reportFormat: ReportFormat | undefined;
3685
3685
  /**
3686
3686
  * @public
3687
3687
  * <p>The Amazon S3 export destination for the report.</p>
@@ -3731,7 +3731,7 @@ export interface ResourceStringFilter {
3731
3731
  * @public
3732
3732
  * <p>The filter's comparison.</p>
3733
3733
  */
3734
- comparison: ResourceStringComparison | string | undefined;
3734
+ comparison: ResourceStringComparison | undefined;
3735
3735
  /**
3736
3736
  * @public
3737
3737
  * <p>The filter's value.</p>
@@ -3758,7 +3758,7 @@ export interface ResourceMapFilter {
3758
3758
  * @public
3759
3759
  * <p>The filter's comparison.</p>
3760
3760
  */
3761
- comparison: ResourceMapComparison | string | undefined;
3761
+ comparison: ResourceMapComparison | undefined;
3762
3762
  /**
3763
3763
  * @public
3764
3764
  * <p>The filter's key.</p>
@@ -3829,7 +3829,7 @@ export interface CreateSbomExportRequest {
3829
3829
  * @public
3830
3830
  * <p>The output format for the software bill of materials (SBOM) report.</p>
3831
3831
  */
3832
- reportFormat: SbomReportFormat | string | undefined;
3832
+ reportFormat: SbomReportFormat | undefined;
3833
3833
  /**
3834
3834
  * @public
3835
3835
  * <p>Contains details of the Amazon S3 bucket and KMS key used to export findings.</p>
@@ -4003,7 +4003,7 @@ export interface DelegatedAdmin {
4003
4003
  * @public
4004
4004
  * <p>The status of the Amazon Inspector delegated administrator.</p>
4005
4005
  */
4006
- relationshipStatus?: RelationshipStatus | string;
4006
+ relationshipStatus?: RelationshipStatus;
4007
4007
  }
4008
4008
  /**
4009
4009
  * @public
@@ -4031,7 +4031,7 @@ export interface DelegatedAdminAccount {
4031
4031
  * @public
4032
4032
  * <p>The status of the Amazon Inspector delegated administrator.</p>
4033
4033
  */
4034
- status?: DelegatedAdminStatus | string;
4034
+ status?: DelegatedAdminStatus;
4035
4035
  }
4036
4036
  /**
4037
4037
  * @public
@@ -4100,7 +4100,7 @@ export interface DisableRequest {
4100
4100
  * @public
4101
4101
  * <p>The resource scan types you want to disable.</p>
4102
4102
  */
4103
- resourceTypes?: (ResourceScanType | string)[];
4103
+ resourceTypes?: ResourceScanType[];
4104
4104
  }
4105
4105
  /**
4106
4106
  * @public
@@ -4181,7 +4181,7 @@ export interface EcrConfiguration {
4181
4181
  * @public
4182
4182
  * <p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>
4183
4183
  */
4184
- rescanDuration: EcrRescanDuration | string | undefined;
4184
+ rescanDuration: EcrRescanDuration | undefined;
4185
4185
  }
4186
4186
  /**
4187
4187
  * @public
@@ -4205,12 +4205,12 @@ export interface EcrRescanDurationState {
4205
4205
  * @public
4206
4206
  * <p>The ECR automated re-scan duration defines how long an ECR image will be actively scanned by Amazon Inspector. When the number of days since an image was last pushed exceeds the automated re-scan duration the monitoring state of that image becomes <code>inactive</code> and all associated findings are scheduled for closure.</p>
4207
4207
  */
4208
- rescanDuration?: EcrRescanDuration | string;
4208
+ rescanDuration?: EcrRescanDuration;
4209
4209
  /**
4210
4210
  * @public
4211
4211
  * <p>The status of changes to the ECR automated re-scan duration.</p>
4212
4212
  */
4213
- status?: EcrRescanDurationStatus | string;
4213
+ status?: EcrRescanDurationStatus;
4214
4214
  /**
4215
4215
  * @public
4216
4216
  * <p>A timestamp representing when the last time the ECR scan duration setting was changed.</p>
@@ -4241,7 +4241,7 @@ export interface EnableRequest {
4241
4241
  * @public
4242
4242
  * <p>The resource scan types you want to enable.</p>
4243
4243
  */
4244
- resourceTypes: (ResourceScanType | string)[] | undefined;
4244
+ resourceTypes: ResourceScanType[] | undefined;
4245
4245
  /**
4246
4246
  * @public
4247
4247
  * <p>The idempotency token for the request.</p>
@@ -4378,7 +4378,7 @@ export interface Filter {
4378
4378
  * @public
4379
4379
  * <p>The action that is to be applied to the findings that match the filter.</p>
4380
4380
  */
4381
- action: FilterAction | string | undefined;
4381
+ action: FilterAction | undefined;
4382
4382
  /**
4383
4383
  * @public
4384
4384
  * <p>The date and time this filter was created at.</p>
@@ -4498,7 +4498,7 @@ export interface NetworkReachabilityDetails {
4498
4498
  * @public
4499
4499
  * <p>The protocol associated with a finding.</p>
4500
4500
  */
4501
- protocol: NetworkProtocol | string | undefined;
4501
+ protocol: NetworkProtocol | undefined;
4502
4502
  /**
4503
4503
  * @public
4504
4504
  * <p>An object that contains details about a network path associated with a finding.</p>
@@ -4571,7 +4571,7 @@ export interface VulnerablePackage {
4571
4571
  * @public
4572
4572
  * <p>The package manager of the vulnerable package.</p>
4573
4573
  */
4574
- packageManager?: PackageManager | string;
4574
+ packageManager?: PackageManager;
4575
4575
  /**
4576
4576
  * @public
4577
4577
  * <p>The file path of the vulnerable package.</p>
@@ -4720,7 +4720,7 @@ export interface Resource {
4720
4720
  * @public
4721
4721
  * <p>The type of resource.</p>
4722
4722
  */
4723
- type: ResourceType | string | undefined;
4723
+ type: ResourceType | undefined;
4724
4724
  /**
4725
4725
  * @public
4726
4726
  * <p>The ID of the resource.</p>
@@ -4808,7 +4808,7 @@ export interface Finding {
4808
4808
  * @public
4809
4809
  * <p>The type of the finding. The <code>type</code> value determines the valid values for <code>resource</code> in your request. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding types</a> in the Amazon Inspector user guide.</p>
4810
4810
  */
4811
- type: FindingType | string | undefined;
4811
+ type: FindingType | undefined;
4812
4812
  /**
4813
4813
  * @public
4814
4814
  * <p>The description of the finding.</p>
@@ -4828,7 +4828,7 @@ export interface Finding {
4828
4828
  * @public
4829
4829
  * <p>The severity of the finding. <code>UNTRIAGED</code> applies to <code>PACKAGE_VULNERABILITY</code> type findings that the vendor has not assigned a severity yet. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-severity.html">Severity levels for findings</a> in the Amazon Inspector user guide.</p>
4830
4830
  */
4831
- severity: Severity | string | undefined;
4831
+ severity: Severity | undefined;
4832
4832
  /**
4833
4833
  * @public
4834
4834
  * <p>The date and time that the finding was first observed.</p>
@@ -4848,7 +4848,7 @@ export interface Finding {
4848
4848
  * @public
4849
4849
  * <p>The status of the finding.</p>
4850
4850
  */
4851
- status: FindingStatus | string | undefined;
4851
+ status: FindingStatus | undefined;
4852
4852
  /**
4853
4853
  * @public
4854
4854
  * <p>Contains information on the resources involved in a finding. The <code>resource</code> value determines the valid values for <code>type</code> in your request. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-types.html">Finding types</a> in the Amazon Inspector user guide.</p>
@@ -4878,12 +4878,12 @@ export interface Finding {
4878
4878
  * @public
4879
4879
  * <p>Details on whether a fix is available through a version update. This value can be <code>YES</code>, <code>NO</code>, or <code>PARTIAL</code>. A <code>PARTIAL</code> fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.</p>
4880
4880
  */
4881
- fixAvailable?: FixAvailable | string;
4881
+ fixAvailable?: FixAvailable;
4882
4882
  /**
4883
4883
  * @public
4884
4884
  * <p>If a finding discovered in your environment has an exploit available.</p>
4885
4885
  */
4886
- exploitAvailable?: ExploitAvailable | string;
4886
+ exploitAvailable?: ExploitAvailable;
4887
4887
  /**
4888
4888
  * @public
4889
4889
  * <p>The details of an exploit available for a finding discovered in your environment.</p>
@@ -4953,7 +4953,7 @@ export interface GetEc2DeepInspectionConfigurationResponse {
4953
4953
  * @public
4954
4954
  * <p>The activation status of Amazon Inspector deep inspection in your account.</p>
4955
4955
  */
4956
- status?: Ec2DeepInspectionStatus | string;
4956
+ status?: Ec2DeepInspectionStatus;
4957
4957
  /**
4958
4958
  * @public
4959
4959
  * <p>An error message explaining why Amazon Inspector deep inspection configurations could not be retrieved for your account.</p>
@@ -4968,12 +4968,12 @@ export interface GetEncryptionKeyRequest {
4968
4968
  * @public
4969
4969
  * <p>The scan type the key encrypts.</p>
4970
4970
  */
4971
- scanType: ScanType | string | undefined;
4971
+ scanType: ScanType | undefined;
4972
4972
  /**
4973
4973
  * @public
4974
4974
  * <p>The resource type the key encrypts.</p>
4975
4975
  */
4976
- resourceType: ResourceType | string | undefined;
4976
+ resourceType: ResourceType | undefined;
4977
4977
  }
4978
4978
  /**
4979
4979
  * @public
@@ -5024,12 +5024,12 @@ export interface GetFindingsReportStatusResponse {
5024
5024
  * @public
5025
5025
  * <p>The status of the report.</p>
5026
5026
  */
5027
- status?: ExternalReportStatus | string;
5027
+ status?: ExternalReportStatus;
5028
5028
  /**
5029
5029
  * @public
5030
5030
  * <p>The error code of the report.</p>
5031
5031
  */
5032
- errorCode?: ReportingErrorCode | string;
5032
+ errorCode?: ReportingErrorCode;
5033
5033
  /**
5034
5034
  * @public
5035
5035
  * <p>The error message of the report.</p>
@@ -5070,7 +5070,7 @@ export interface Member {
5070
5070
  * @public
5071
5071
  * <p>The status of the member account.</p>
5072
5072
  */
5073
- relationshipStatus?: RelationshipStatus | string;
5073
+ relationshipStatus?: RelationshipStatus;
5074
5074
  /**
5075
5075
  * @public
5076
5076
  * <p>The Amazon Web Services account ID of the Amazon Inspector delegated administrator for this member account.</p>
@@ -5115,17 +5115,17 @@ export interface GetSbomExportResponse {
5115
5115
  * @public
5116
5116
  * <p>The format of the software bill of materials (SBOM) report.</p>
5117
5117
  */
5118
- format?: SbomReportFormat | string;
5118
+ format?: SbomReportFormat;
5119
5119
  /**
5120
5120
  * @public
5121
5121
  * <p>The status of the software bill of materials (SBOM) report.</p>
5122
5122
  */
5123
- status?: ExternalReportStatus | string;
5123
+ status?: ExternalReportStatus;
5124
5124
  /**
5125
5125
  * @public
5126
5126
  * <p>An error code.</p>
5127
5127
  */
5128
- errorCode?: ReportingErrorCode | string;
5128
+ errorCode?: ReportingErrorCode;
5129
5129
  /**
5130
5130
  * @public
5131
5131
  * <p>An error message.</p>
@@ -5163,7 +5163,7 @@ export interface ListAccountPermissionsRequest {
5163
5163
  * @public
5164
5164
  * <p>The service scan type to check permissions for.</p>
5165
5165
  */
5166
- service?: Service | string;
5166
+ service?: Service;
5167
5167
  /**
5168
5168
  * @public
5169
5169
  * <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
@@ -5198,12 +5198,12 @@ export interface Permission {
5198
5198
  * @public
5199
5199
  * <p>The services that the permissions allow an account to perform the given operations for.</p>
5200
5200
  */
5201
- service: Service | string | undefined;
5201
+ service: Service | undefined;
5202
5202
  /**
5203
5203
  * @public
5204
5204
  * <p>The operations that can be performed with the given permissions.</p>
5205
5205
  */
5206
- operation: Operation | string | undefined;
5206
+ operation: Operation | undefined;
5207
5207
  }
5208
5208
  /**
5209
5209
  * @public
@@ -5276,7 +5276,7 @@ export interface ListCoverageStatisticsRequest {
5276
5276
  * @public
5277
5277
  * <p>The value to group the results by.</p>
5278
5278
  */
5279
- groupBy?: GroupKey | string;
5279
+ groupBy?: GroupKey;
5280
5280
  /**
5281
5281
  * @public
5282
5282
  * <p>A token to use for paginating results that are returned in the response. Set the value
@@ -5355,7 +5355,7 @@ export interface ListFiltersRequest {
5355
5355
  * @public
5356
5356
  * <p>The action the filter applies to matched findings.</p>
5357
5357
  */
5358
- action?: FilterAction | string;
5358
+ action?: FilterAction;
5359
5359
  /**
5360
5360
  * @public
5361
5361
  * <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
@@ -5393,7 +5393,7 @@ export interface ListFindingAggregationsRequest {
5393
5393
  * @public
5394
5394
  * <p>The type of the aggregation request.</p>
5395
5395
  */
5396
- aggregationType: AggregationType | string | undefined;
5396
+ aggregationType: AggregationType | undefined;
5397
5397
  /**
5398
5398
  * @public
5399
5399
  * <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the <code>nextToken</code> value returned from the previous request to continue listing results after the first page.</p>
@@ -5423,7 +5423,7 @@ export interface ListFindingAggregationsResponse {
5423
5423
  * @public
5424
5424
  * <p>The type of aggregation to perform.</p>
5425
5425
  */
5426
- aggregationType: AggregationType | string | undefined;
5426
+ aggregationType: AggregationType | undefined;
5427
5427
  /**
5428
5428
  * @public
5429
5429
  * <p>Objects that contain the results of an aggregation operation.</p>
@@ -5474,12 +5474,12 @@ export interface SortCriteria {
5474
5474
  * @public
5475
5475
  * <p>The finding detail field by which results are sorted.</p>
5476
5476
  */
5477
- field: SortField | string | undefined;
5477
+ field: SortField | undefined;
5478
5478
  /**
5479
5479
  * @public
5480
5480
  * <p>The order by which findings are sorted.</p>
5481
5481
  */
5482
- sortOrder: SortOrder | string | undefined;
5482
+ sortOrder: SortOrder | undefined;
5483
5483
  }
5484
5484
  /**
5485
5485
  * @public
@@ -5625,7 +5625,7 @@ export interface Usage {
5625
5625
  * @public
5626
5626
  * <p>The type scan.</p>
5627
5627
  */
5628
- type?: UsageType | string;
5628
+ type?: UsageType;
5629
5629
  /**
5630
5630
  * @public
5631
5631
  * <p>The total of usage.</p>
@@ -5640,7 +5640,7 @@ export interface Usage {
5640
5640
  * @public
5641
5641
  * <p>The currency type used when calculating usage data.</p>
5642
5642
  */
5643
- currency?: Currency | string;
5643
+ currency?: Currency;
5644
5644
  }
5645
5645
  /**
5646
5646
  * @public
@@ -5681,12 +5681,12 @@ export interface ResetEncryptionKeyRequest {
5681
5681
  * @public
5682
5682
  * <p>The scan type the key encrypts.</p>
5683
5683
  */
5684
- scanType: ScanType | string | undefined;
5684
+ scanType: ScanType | undefined;
5685
5685
  /**
5686
5686
  * @public
5687
5687
  * <p>The resource type the key encrypts.</p>
5688
5688
  */
5689
- resourceType: ResourceType | string | undefined;
5689
+ resourceType: ResourceType | undefined;
5690
5690
  }
5691
5691
  /**
5692
5692
  * @public
@@ -5758,7 +5758,7 @@ export interface Vulnerability {
5758
5758
  * @public
5759
5759
  * <p>The source of the vulnerability information. Possible results are <code>RHEL</code>, <code>AMAZON_CVE</code>, <code>DEBIAN</code> or <code>NVD</code>.</p>
5760
5760
  */
5761
- source?: VulnerabilitySource | string;
5761
+ source?: VulnerabilitySource;
5762
5762
  /**
5763
5763
  * @public
5764
5764
  * <p>A description of the vulnerability.</p>
@@ -5928,7 +5928,7 @@ export interface UpdateEc2DeepInspectionConfigurationResponse {
5928
5928
  * @public
5929
5929
  * <p>The status of Amazon Inspector deep inspection in your account.</p>
5930
5930
  */
5931
- status?: Ec2DeepInspectionStatus | string;
5931
+ status?: Ec2DeepInspectionStatus;
5932
5932
  /**
5933
5933
  * @public
5934
5934
  * <p>An error message explaining why new Amazon Inspector deep inspection custom paths could not be added.</p>
@@ -5948,12 +5948,12 @@ export interface UpdateEncryptionKeyRequest {
5948
5948
  * @public
5949
5949
  * <p>The scan type for the encryption key.</p>
5950
5950
  */
5951
- scanType: ScanType | string | undefined;
5951
+ scanType: ScanType | undefined;
5952
5952
  /**
5953
5953
  * @public
5954
5954
  * <p>The resource type for the encryption key.</p>
5955
5955
  */
5956
- resourceType: ResourceType | string | undefined;
5956
+ resourceType: ResourceType | undefined;
5957
5957
  }
5958
5958
  /**
5959
5959
  * @public
@@ -5968,7 +5968,7 @@ export interface UpdateFilterRequest {
5968
5968
  * @public
5969
5969
  * <p>Specifies the action that is to be applied to the findings that match the filter.</p>
5970
5970
  */
5971
- action?: FilterAction | string;
5971
+ action?: FilterAction;
5972
5972
  /**
5973
5973
  * @public
5974
5974
  * <p>A description of the filter.</p>