@aws-sdk/client-macie2 3.428.0 → 3.430.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.
@@ -324,12 +324,12 @@ export interface SearchResourcesSortCriteria {
324
324
  * @public
325
325
  * <p>The property to sort the results by.</p>
326
326
  */
327
- attributeName?: SearchResourcesSortAttributeName | string;
327
+ attributeName?: SearchResourcesSortAttributeName;
328
328
  /**
329
329
  * @public
330
330
  * <p>The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.</p>
331
331
  */
332
- orderBy?: OrderBy | string;
332
+ orderBy?: OrderBy;
333
333
  }
334
334
  /**
335
335
  * @public
@@ -499,7 +499,7 @@ export interface UpdateAutomatedDiscoveryConfigurationRequest {
499
499
  * @public
500
500
  * <p>The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account.</p> <p>When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.</p>
501
501
  */
502
- status: AutomatedDiscoveryStatus | string | undefined;
502
+ status: AutomatedDiscoveryStatus | undefined;
503
503
  }
504
504
  /**
505
505
  * @public
@@ -519,7 +519,7 @@ export interface UpdateClassificationJobRequest {
519
519
  * @public
520
520
  * <p>The new status for the job. Valid values are:</p> <ul><li><p>CANCELLED - Stops the job permanently and cancels it. This value is valid only if the job's current status is IDLE, PAUSED, RUNNING, or USER_PAUSED.</p> <p>If you specify this value and the job's current status is RUNNING, Amazon Macie immediately begins to stop all processing tasks for the job. You can't resume or restart a job after you cancel it.</p></li> <li><p>RUNNING - Resumes the job. This value is valid only if the job's current status is USER_PAUSED.</p> <p>If you paused the job while it was actively running and you specify this value less than 30 days after you paused the job, Macie immediately resumes processing from the point where you paused the job. Otherwise, Macie resumes the job according to the schedule and other settings for the job.</p></li> <li><p>USER_PAUSED - Pauses the job temporarily. This value is valid only if the job's current status is IDLE, PAUSED, or RUNNING. If you specify this value and the job's current status is RUNNING, Macie immediately begins to pause all processing tasks for the job.</p> <p>If you pause a one-time job and you don't resume it within 30 days, the job expires and Macie cancels the job. If you pause a recurring job when its status is RUNNING and you don't resume it within 30 days, the job run expires and Macie cancels the run. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.</p></li></ul>
521
521
  */
522
- jobStatus: JobStatus | string | undefined;
522
+ jobStatus: JobStatus | undefined;
523
523
  }
524
524
  /**
525
525
  * @public
@@ -540,7 +540,7 @@ export interface S3ClassificationScopeExclusionUpdate {
540
540
  * @public
541
541
  * <p>Specifies how to apply the changes to the exclusion list. Valid values are:</p> <ul><li><p>ADD - Append the specified bucket names to the current list.</p></li> <li><p>REMOVE - Remove the specified bucket names from the current list.</p></li> <li><p>REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.</p></li></ul>
542
542
  */
543
- operation: ClassificationScopeUpdateOperation | string | undefined;
543
+ operation: ClassificationScopeUpdateOperation | undefined;
544
544
  }
545
545
  /**
546
546
  * @public
@@ -581,7 +581,7 @@ export interface UpdateFindingsFilterRequest {
581
581
  * @public
582
582
  * <p>The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.</p>
583
583
  */
584
- action?: FindingsFilterAction | string;
584
+ action?: FindingsFilterAction;
585
585
  /**
586
586
  * @public
587
587
  * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
@@ -636,12 +636,12 @@ export interface UpdateMacieSessionRequest {
636
636
  * @public
637
637
  * <p>Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).</p>
638
638
  */
639
- findingPublishingFrequency?: FindingPublishingFrequency | string;
639
+ findingPublishingFrequency?: FindingPublishingFrequency;
640
640
  /**
641
641
  * @public
642
642
  * <p>Specifies a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.</p>
643
643
  */
644
- status?: MacieStatus | string;
644
+ status?: MacieStatus;
645
645
  }
646
646
  /**
647
647
  * @public
@@ -661,7 +661,7 @@ export interface UpdateMemberSessionRequest {
661
661
  * @public
662
662
  * <p>Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.</p>
663
663
  */
664
- status: MacieStatus | string | undefined;
664
+ status: MacieStatus | undefined;
665
665
  }
666
666
  /**
667
667
  * @public
@@ -7,7 +7,7 @@ export declare const AdminStatus: {
7
7
  export type AdminStatus = (typeof AdminStatus)[keyof typeof AdminStatus];
8
8
  export interface AdminAccount {
9
9
  accountId?: string;
10
- status?: AdminStatus | string;
10
+ status?: AdminStatus;
11
11
  }
12
12
  export interface AllowListSummary {
13
13
  arn?: string;
@@ -52,8 +52,8 @@ export declare const IsMonitoredByJob: {
52
52
  export type IsMonitoredByJob =
53
53
  (typeof IsMonitoredByJob)[keyof typeof IsMonitoredByJob];
54
54
  export interface JobDetails {
55
- isDefinedInJob?: IsDefinedInJob | string;
56
- isMonitoredByJob?: IsMonitoredByJob | string;
55
+ isDefinedInJob?: IsDefinedInJob;
56
+ isMonitoredByJob?: IsMonitoredByJob;
57
57
  lastJobId?: string;
58
58
  lastJobRunTime?: Date;
59
59
  }
@@ -98,7 +98,7 @@ export interface BucketPermissionConfiguration {
98
98
  bucketLevelPermissions?: BucketLevelPermissions;
99
99
  }
100
100
  export interface BucketPublicAccess {
101
- effectivePermission?: EffectivePermission | string;
101
+ effectivePermission?: EffectivePermission;
102
102
  permissionConfiguration?: BucketPermissionConfiguration;
103
103
  }
104
104
  export interface ReplicationDetails {
@@ -114,7 +114,7 @@ export declare const Type: {
114
114
  export type Type = (typeof Type)[keyof typeof Type];
115
115
  export interface BucketServerSideEncryption {
116
116
  kmsMasterKeyId?: string;
117
- type?: Type | string;
117
+ type?: Type;
118
118
  }
119
119
  export declare const SharedAccess: {
120
120
  readonly EXTERNAL: "EXTERNAL";
@@ -134,13 +134,13 @@ export interface ObjectLevelStatistics {
134
134
  }
135
135
  export interface BucketMetadata {
136
136
  accountId?: string;
137
- allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads | string;
137
+ allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads;
138
138
  bucketArn?: string;
139
139
  bucketCreatedAt?: Date;
140
140
  bucketName?: string;
141
141
  classifiableObjectCount?: number;
142
142
  classifiableSizeInBytes?: number;
143
- errorCode?: BucketMetadataErrorCode | string;
143
+ errorCode?: BucketMetadataErrorCode;
144
144
  errorMessage?: string;
145
145
  jobDetails?: JobDetails;
146
146
  lastAutomatedDiscoveryTime?: Date;
@@ -152,7 +152,7 @@ export interface BucketMetadata {
152
152
  replicationDetails?: ReplicationDetails;
153
153
  sensitivityScore?: number;
154
154
  serverSideEncryption?: BucketServerSideEncryption;
155
- sharedAccess?: SharedAccess | string;
155
+ sharedAccess?: SharedAccess;
156
156
  sizeInBytes?: number;
157
157
  sizeInBytesCompressed?: number;
158
158
  tags?: KeyValuePair[];
@@ -184,8 +184,8 @@ export declare const SimpleCriterionKeyForJob: {
184
184
  export type SimpleCriterionKeyForJob =
185
185
  (typeof SimpleCriterionKeyForJob)[keyof typeof SimpleCriterionKeyForJob];
186
186
  export interface SimpleCriterionForJob {
187
- comparator?: JobComparator | string;
188
- key?: SimpleCriterionKeyForJob | string;
187
+ comparator?: JobComparator;
188
+ key?: SimpleCriterionKeyForJob;
189
189
  values?: string[];
190
190
  }
191
191
  export interface TagCriterionPairForJob {
@@ -193,7 +193,7 @@ export interface TagCriterionPairForJob {
193
193
  value?: string;
194
194
  }
195
195
  export interface TagCriterionForJob {
196
- comparator?: JobComparator | string;
196
+ comparator?: JobComparator;
197
197
  tagValues?: TagCriterionPairForJob[];
198
198
  }
199
199
  export interface CriteriaForJob {
@@ -222,7 +222,7 @@ export interface Detection {
222
222
  id?: string;
223
223
  name?: string;
224
224
  suppressed?: boolean;
225
- type?: DataIdentifierType | string;
225
+ type?: DataIdentifierType;
226
226
  }
227
227
  export declare const FindingCategory: {
228
228
  readonly CLASSIFICATION: "CLASSIFICATION";
@@ -286,7 +286,7 @@ export interface DefaultDetection {
286
286
  type?: string;
287
287
  }
288
288
  export interface SensitiveDataItem {
289
- category?: SensitiveDataItemCategory | string;
289
+ category?: SensitiveDataItemCategory;
290
290
  detections?: DefaultDetection[];
291
291
  totalCount?: number;
292
292
  }
@@ -306,7 +306,7 @@ export interface ClassificationDetails {
306
306
  detailedResultsLocation?: string;
307
307
  jobArn?: string;
308
308
  jobId?: string;
309
- originType?: OriginType | string;
309
+ originType?: OriginType;
310
310
  result?: ClassificationResult;
311
311
  }
312
312
  export declare const FindingActionType: {
@@ -321,7 +321,7 @@ export interface ApiCallDetails {
321
321
  lastSeen?: Date;
322
322
  }
323
323
  export interface FindingAction {
324
- actionType?: FindingActionType | string;
324
+ actionType?: FindingActionType;
325
325
  apiCallDetails?: ApiCallDetails;
326
326
  }
327
327
  export interface DomainDetails {
@@ -415,7 +415,7 @@ export interface UserIdentity {
415
415
  federatedUser?: FederatedUser;
416
416
  iamUser?: IamUser;
417
417
  root?: UserIdentityRoot;
418
- type?: UserIdentityType | string;
418
+ type?: UserIdentityType;
419
419
  }
420
420
  export interface FindingActor {
421
421
  domainDetails?: DomainDetails;
@@ -435,7 +435,7 @@ export declare const EncryptionType: {
435
435
  export type EncryptionType =
436
436
  (typeof EncryptionType)[keyof typeof EncryptionType];
437
437
  export interface ServerSideEncryption {
438
- encryptionType?: EncryptionType | string;
438
+ encryptionType?: EncryptionType;
439
439
  kmsMasterKeyId?: string;
440
440
  }
441
441
  export interface S3BucketOwner {
@@ -443,7 +443,7 @@ export interface S3BucketOwner {
443
443
  id?: string;
444
444
  }
445
445
  export interface S3Bucket {
446
- allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads | string;
446
+ allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads;
447
447
  arn?: string;
448
448
  createdAt?: Date;
449
449
  defaultServerSideEncryption?: ServerSideEncryption;
@@ -474,7 +474,7 @@ export interface S3Object {
474
474
  publicAccess?: boolean;
475
475
  serverSideEncryption?: ServerSideEncryption;
476
476
  size?: number;
477
- storageClass?: StorageClass | string;
477
+ storageClass?: StorageClass;
478
478
  tags?: KeyValuePair[];
479
479
  versionId?: string;
480
480
  }
@@ -490,7 +490,7 @@ export declare const SeverityDescription: {
490
490
  export type SeverityDescription =
491
491
  (typeof SeverityDescription)[keyof typeof SeverityDescription];
492
492
  export interface Severity {
493
- description?: SeverityDescription | string;
493
+ description?: SeverityDescription;
494
494
  score?: number;
495
495
  }
496
496
  export declare const FindingType: {
@@ -510,7 +510,7 @@ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
510
510
  export interface Finding {
511
511
  accountId?: string;
512
512
  archived?: boolean;
513
- category?: FindingCategory | string;
513
+ category?: FindingCategory;
514
514
  classificationDetails?: ClassificationDetails;
515
515
  count?: number;
516
516
  createdAt?: Date;
@@ -524,7 +524,7 @@ export interface Finding {
524
524
  schemaVersion?: string;
525
525
  severity?: Severity;
526
526
  title?: string;
527
- type?: FindingType | string;
527
+ type?: FindingType;
528
528
  updatedAt?: Date;
529
529
  }
530
530
  export declare const FindingsFilterAction: {
@@ -534,7 +534,7 @@ export declare const FindingsFilterAction: {
534
534
  export type FindingsFilterAction =
535
535
  (typeof FindingsFilterAction)[keyof typeof FindingsFilterAction];
536
536
  export interface FindingsFilterListItem {
537
- action?: FindingsFilterAction | string;
537
+ action?: FindingsFilterAction;
538
538
  arn?: string;
539
539
  id?: string;
540
540
  name?: string;
@@ -562,7 +562,7 @@ export interface Invitation {
562
562
  accountId?: string;
563
563
  invitationId?: string;
564
564
  invitedAt?: Date;
565
- relationshipStatus?: RelationshipStatus | string;
565
+ relationshipStatus?: RelationshipStatus;
566
566
  }
567
567
  export declare const ScopeFilterKey: {
568
568
  readonly OBJECT_EXTENSION: "OBJECT_EXTENSION";
@@ -573,8 +573,8 @@ export declare const ScopeFilterKey: {
573
573
  export type ScopeFilterKey =
574
574
  (typeof ScopeFilterKey)[keyof typeof ScopeFilterKey];
575
575
  export interface SimpleScopeTerm {
576
- comparator?: JobComparator | string;
577
- key?: ScopeFilterKey | string;
576
+ comparator?: JobComparator;
577
+ key?: ScopeFilterKey;
578
578
  values?: string[];
579
579
  }
580
580
  export interface TagValuePair {
@@ -586,10 +586,10 @@ export declare const TagTarget: {
586
586
  };
587
587
  export type TagTarget = (typeof TagTarget)[keyof typeof TagTarget];
588
588
  export interface TagScopeTerm {
589
- comparator?: JobComparator | string;
589
+ comparator?: JobComparator;
590
590
  key?: string;
591
591
  tagValues?: TagValuePair[];
592
- target?: TagTarget | string;
592
+ target?: TagTarget;
593
593
  }
594
594
  export interface JobScopeTerm {
595
595
  simpleScopeTerm?: SimpleScopeTerm;
@@ -627,7 +627,7 @@ export declare const LastRunErrorStatusCode: {
627
627
  export type LastRunErrorStatusCode =
628
628
  (typeof LastRunErrorStatusCode)[keyof typeof LastRunErrorStatusCode];
629
629
  export interface LastRunErrorStatus {
630
- code?: LastRunErrorStatusCode | string;
630
+ code?: LastRunErrorStatusCode;
631
631
  }
632
632
  export interface UserPausedDetails {
633
633
  jobExpiresAt?: Date;
@@ -639,8 +639,8 @@ export interface JobSummary {
639
639
  bucketDefinitions?: S3BucketDefinitionForJob[];
640
640
  createdAt?: Date;
641
641
  jobId?: string;
642
- jobStatus?: JobStatus | string;
643
- jobType?: JobType | string;
642
+ jobStatus?: JobStatus;
643
+ jobType?: JobType;
644
644
  lastRunErrorStatus?: LastRunErrorStatus;
645
645
  name?: string;
646
646
  userPausedDetails?: UserPausedDetails;
@@ -654,12 +654,12 @@ export declare const ListJobsFilterKey: {
654
654
  export type ListJobsFilterKey =
655
655
  (typeof ListJobsFilterKey)[keyof typeof ListJobsFilterKey];
656
656
  export interface ListJobsFilterTerm {
657
- comparator?: JobComparator | string;
658
- key?: ListJobsFilterKey | string;
657
+ comparator?: JobComparator;
658
+ key?: ListJobsFilterKey;
659
659
  values?: string[];
660
660
  }
661
661
  export interface ManagedDataIdentifierSummary {
662
- category?: SensitiveDataItemCategory | string;
662
+ category?: SensitiveDataItemCategory;
663
663
  id?: string;
664
664
  }
665
665
  export interface MatchingBucket {
@@ -667,7 +667,7 @@ export interface MatchingBucket {
667
667
  bucketName?: string;
668
668
  classifiableObjectCount?: number;
669
669
  classifiableSizeInBytes?: number;
670
- errorCode?: BucketMetadataErrorCode | string;
670
+ errorCode?: BucketMetadataErrorCode;
671
671
  errorMessage?: string;
672
672
  jobDetails?: JobDetails;
673
673
  lastAutomatedDiscoveryTime?: Date;
@@ -689,7 +689,7 @@ export interface Member {
689
689
  email?: string;
690
690
  invitedAt?: Date;
691
691
  masterAccountId?: string;
692
- relationshipStatus?: RelationshipStatus | string;
692
+ relationshipStatus?: RelationshipStatus;
693
693
  tags?: Record<string, string>;
694
694
  updatedAt?: Date;
695
695
  }
@@ -713,8 +713,8 @@ export declare const SearchResourcesSimpleCriterionKey: {
713
713
  export type SearchResourcesSimpleCriterionKey =
714
714
  (typeof SearchResourcesSimpleCriterionKey)[keyof typeof SearchResourcesSimpleCriterionKey];
715
715
  export interface SearchResourcesSimpleCriterion {
716
- comparator?: SearchResourcesComparator | string;
717
- key?: SearchResourcesSimpleCriterionKey | string;
716
+ comparator?: SearchResourcesComparator;
717
+ key?: SearchResourcesSimpleCriterionKey;
718
718
  values?: string[];
719
719
  }
720
720
  export interface SearchResourcesTagCriterionPair {
@@ -722,7 +722,7 @@ export interface SearchResourcesTagCriterionPair {
722
722
  value?: string;
723
723
  }
724
724
  export interface SearchResourcesTagCriterion {
725
- comparator?: SearchResourcesComparator | string;
725
+ comparator?: SearchResourcesComparator;
726
726
  tagValues?: SearchResourcesTagCriterionPair[];
727
727
  }
728
728
  export interface SearchResourcesCriteria {
@@ -735,7 +735,7 @@ export interface SensitivityInspectionTemplatesEntry {
735
735
  }
736
736
  export interface SuppressDataIdentifier {
737
737
  id?: string;
738
- type?: DataIdentifierType | string;
738
+ type?: DataIdentifierType;
739
739
  }
740
740
  export declare const UnavailabilityReasonCode: {
741
741
  readonly INVALID_CLASSIFICATION_RESULT: "INVALID_CLASSIFICATION_RESULT";
@@ -753,7 +753,7 @@ export declare const ErrorCode: {
753
753
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
754
754
  export interface UnprocessedAccount {
755
755
  accountId?: string;
756
- errorCode?: ErrorCode | string;
756
+ errorCode?: ErrorCode;
757
757
  errorMessage?: string;
758
758
  }
759
759
  export declare const Currency: {
@@ -766,7 +766,7 @@ export declare const Unit: {
766
766
  export type Unit = (typeof Unit)[keyof typeof Unit];
767
767
  export interface ServiceLimit {
768
768
  isServiceLimited?: boolean;
769
- unit?: Unit | string;
769
+ unit?: Unit;
770
770
  value?: number;
771
771
  }
772
772
  export declare const UsageType: {
@@ -777,10 +777,10 @@ export declare const UsageType: {
777
777
  };
778
778
  export type UsageType = (typeof UsageType)[keyof typeof UsageType];
779
779
  export interface UsageByAccount {
780
- currency?: Currency | string;
780
+ currency?: Currency;
781
781
  estimatedCost?: string;
782
782
  serviceLimit?: ServiceLimit;
783
- type?: UsageType | string;
783
+ type?: UsageType;
784
784
  }
785
785
  export interface UsageRecord {
786
786
  accountId?: string;
@@ -808,14 +808,14 @@ export declare const UsageStatisticsFilterKey: {
808
808
  export type UsageStatisticsFilterKey =
809
809
  (typeof UsageStatisticsFilterKey)[keyof typeof UsageStatisticsFilterKey];
810
810
  export interface UsageStatisticsFilter {
811
- comparator?: UsageStatisticsFilterComparator | string;
812
- key?: UsageStatisticsFilterKey | string;
811
+ comparator?: UsageStatisticsFilterComparator;
812
+ key?: UsageStatisticsFilterKey;
813
813
  values?: string[];
814
814
  }
815
815
  export interface UsageTotal {
816
- currency?: Currency | string;
816
+ currency?: Currency;
817
817
  estimatedCost?: string;
818
- type?: UsageType | string;
818
+ type?: UsageType;
819
819
  }
820
820
  export interface AcceptInvitationRequest {
821
821
  administratorAccountId?: string;
@@ -895,7 +895,7 @@ export declare const AllowListStatusCode: {
895
895
  export type AllowListStatusCode =
896
896
  (typeof AllowListStatusCode)[keyof typeof AllowListStatusCode];
897
897
  export interface AllowListStatus {
898
- code: AllowListStatusCode | string | undefined;
898
+ code: AllowListStatusCode | undefined;
899
899
  description?: string;
900
900
  }
901
901
  export declare const AutomatedDiscoveryStatus: {
@@ -956,7 +956,7 @@ export declare const OrderBy: {
956
956
  export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
957
957
  export interface BucketSortCriteria {
958
958
  attributeName?: string;
959
- orderBy?: OrderBy | string;
959
+ orderBy?: OrderBy;
960
960
  }
961
961
  export interface SensitivityAggregations {
962
962
  classifiableSizeInBytes?: number;
@@ -1032,7 +1032,7 @@ export declare const DayOfWeek: {
1032
1032
  };
1033
1033
  export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
1034
1034
  export interface WeeklySchedule {
1035
- dayOfWeek?: DayOfWeek | string;
1035
+ dayOfWeek?: DayOfWeek;
1036
1036
  }
1037
1037
  export interface JobScheduleFrequency {
1038
1038
  dailySchedule?: DailySchedule;
@@ -1045,9 +1045,9 @@ export interface CreateClassificationJobRequest {
1045
1045
  customDataIdentifierIds?: string[];
1046
1046
  description?: string;
1047
1047
  initialRun?: boolean;
1048
- jobType: JobType | string | undefined;
1048
+ jobType: JobType | undefined;
1049
1049
  managedDataIdentifierIds?: string[];
1050
- managedDataIdentifierSelector?: ManagedDataIdentifierSelector | string;
1050
+ managedDataIdentifierSelector?: ManagedDataIdentifierSelector;
1051
1051
  name: string | undefined;
1052
1052
  s3JobDefinition: S3JobDefinition | undefined;
1053
1053
  samplingPercentage?: number;
@@ -1067,7 +1067,7 @@ export type DataIdentifierSeverity =
1067
1067
  (typeof DataIdentifierSeverity)[keyof typeof DataIdentifierSeverity];
1068
1068
  export interface SeverityLevel {
1069
1069
  occurrencesThreshold: number | undefined;
1070
- severity: DataIdentifierSeverity | string | undefined;
1070
+ severity: DataIdentifierSeverity | undefined;
1071
1071
  }
1072
1072
  export interface CreateCustomDataIdentifierRequest {
1073
1073
  clientToken?: string;
@@ -1096,7 +1096,7 @@ export interface FindingCriteria {
1096
1096
  criterion?: Record<string, CriterionAdditionalProperties>;
1097
1097
  }
1098
1098
  export interface CreateFindingsFilterRequest {
1099
- action: FindingsFilterAction | string | undefined;
1099
+ action: FindingsFilterAction | undefined;
1100
1100
  clientToken?: string;
1101
1101
  description?: string;
1102
1102
  findingCriteria: FindingCriteria | undefined;
@@ -1124,7 +1124,7 @@ export interface CreateMemberResponse {
1124
1124
  arn?: string;
1125
1125
  }
1126
1126
  export interface CreateSampleFindingsRequest {
1127
- findingTypes?: (FindingType | string)[];
1127
+ findingTypes?: FindingType[];
1128
1128
  }
1129
1129
  export interface CreateSampleFindingsResponse {}
1130
1130
  export interface DeclineInvitationsRequest {
@@ -1182,12 +1182,12 @@ export interface DescribeClassificationJobResponse {
1182
1182
  initialRun?: boolean;
1183
1183
  jobArn?: string;
1184
1184
  jobId?: string;
1185
- jobStatus?: JobStatus | string;
1186
- jobType?: JobType | string;
1185
+ jobStatus?: JobStatus;
1186
+ jobType?: JobType;
1187
1187
  lastRunErrorStatus?: LastRunErrorStatus;
1188
1188
  lastRunTime?: Date;
1189
1189
  managedDataIdentifierIds?: string[];
1190
- managedDataIdentifierSelector?: ManagedDataIdentifierSelector | string;
1190
+ managedDataIdentifierSelector?: ManagedDataIdentifierSelector;
1191
1191
  name?: string;
1192
1192
  s3JobDefinition?: S3JobDefinition;
1193
1193
  samplingPercentage?: number;
@@ -1229,8 +1229,8 @@ export declare const MacieStatus: {
1229
1229
  export type MacieStatus = (typeof MacieStatus)[keyof typeof MacieStatus];
1230
1230
  export interface EnableMacieRequest {
1231
1231
  clientToken?: string;
1232
- findingPublishingFrequency?: FindingPublishingFrequency | string;
1233
- status?: MacieStatus | string;
1232
+ findingPublishingFrequency?: FindingPublishingFrequency;
1233
+ status?: MacieStatus;
1234
1234
  }
1235
1235
  export interface EnableMacieResponse {}
1236
1236
  export interface EnableOrganizationAdminAccountRequest {
@@ -1245,8 +1245,8 @@ export declare const FindingStatisticsSortAttributeName: {
1245
1245
  export type FindingStatisticsSortAttributeName =
1246
1246
  (typeof FindingStatisticsSortAttributeName)[keyof typeof FindingStatisticsSortAttributeName];
1247
1247
  export interface FindingStatisticsSortCriteria {
1248
- attributeName?: FindingStatisticsSortAttributeName | string;
1249
- orderBy?: OrderBy | string;
1248
+ attributeName?: FindingStatisticsSortAttributeName;
1249
+ orderBy?: OrderBy;
1250
1250
  }
1251
1251
  export interface GetAdministratorAccountRequest {}
1252
1252
  export interface GetAdministratorAccountResponse {
@@ -1273,7 +1273,7 @@ export interface GetAutomatedDiscoveryConfigurationResponse {
1273
1273
  firstEnabledAt?: Date;
1274
1274
  lastUpdatedAt?: Date;
1275
1275
  sensitivityInspectionTemplateId?: string;
1276
- status?: AutomatedDiscoveryStatus | string;
1276
+ status?: AutomatedDiscoveryStatus;
1277
1277
  }
1278
1278
  export interface GetBucketStatisticsRequest {
1279
1279
  accountId?: string;
@@ -1331,7 +1331,7 @@ export interface GetCustomDataIdentifierResponse {
1331
1331
  }
1332
1332
  export interface SortCriteria {
1333
1333
  attributeName?: string;
1334
- orderBy?: OrderBy | string;
1334
+ orderBy?: OrderBy;
1335
1335
  }
1336
1336
  export interface GetFindingsRequest {
1337
1337
  findingIds: string[] | undefined;
@@ -1344,7 +1344,7 @@ export interface GetFindingsFilterRequest {
1344
1344
  id: string | undefined;
1345
1345
  }
1346
1346
  export interface GetFindingsFilterResponse {
1347
- action?: FindingsFilterAction | string;
1347
+ action?: FindingsFilterAction;
1348
1348
  arn?: string;
1349
1349
  description?: string;
1350
1350
  findingCriteria?: FindingCriteria;
@@ -1370,7 +1370,7 @@ export declare const GroupBy: {
1370
1370
  export type GroupBy = (typeof GroupBy)[keyof typeof GroupBy];
1371
1371
  export interface GetFindingStatisticsRequest {
1372
1372
  findingCriteria?: FindingCriteria;
1373
- groupBy: GroupBy | string | undefined;
1373
+ groupBy: GroupBy | undefined;
1374
1374
  size?: number;
1375
1375
  sortCriteria?: FindingStatisticsSortCriteria;
1376
1376
  }
@@ -1384,9 +1384,9 @@ export interface GetInvitationsCountResponse {
1384
1384
  export interface GetMacieSessionRequest {}
1385
1385
  export interface GetMacieSessionResponse {
1386
1386
  createdAt?: Date;
1387
- findingPublishingFrequency?: FindingPublishingFrequency | string;
1387
+ findingPublishingFrequency?: FindingPublishingFrequency;
1388
1388
  serviceRole?: string;
1389
- status?: MacieStatus | string;
1389
+ status?: MacieStatus;
1390
1390
  updatedAt?: Date;
1391
1391
  }
1392
1392
  export interface GetMasterAccountRequest {}
@@ -1403,7 +1403,7 @@ export interface GetMemberResponse {
1403
1403
  email?: string;
1404
1404
  invitedAt?: Date;
1405
1405
  masterAccountId?: string;
1406
- relationshipStatus?: RelationshipStatus | string;
1406
+ relationshipStatus?: RelationshipStatus;
1407
1407
  tags?: Record<string, string>;
1408
1408
  updatedAt?: Date;
1409
1409
  }
@@ -1435,7 +1435,7 @@ export declare const RevealStatus: {
1435
1435
  export type RevealStatus = (typeof RevealStatus)[keyof typeof RevealStatus];
1436
1436
  export interface RevealConfiguration {
1437
1437
  kmsKeyId?: string;
1438
- status: RevealStatus | string | undefined;
1438
+ status: RevealStatus | undefined;
1439
1439
  }
1440
1440
  export interface GetRevealConfigurationResponse {
1441
1441
  configuration?: RevealConfiguration;
@@ -1453,7 +1453,7 @@ export type RevealRequestStatus =
1453
1453
  export interface GetSensitiveDataOccurrencesResponse {
1454
1454
  error?: string;
1455
1455
  sensitiveDataOccurrences?: Record<string, DetectedDataDetails[]>;
1456
- status?: RevealRequestStatus | string;
1456
+ status?: RevealRequestStatus;
1457
1457
  }
1458
1458
  export declare class UnprocessableEntityException extends __BaseException {
1459
1459
  readonly name: "UnprocessableEntityException";
@@ -1466,8 +1466,8 @@ export interface GetSensitiveDataOccurrencesAvailabilityRequest {
1466
1466
  findingId: string | undefined;
1467
1467
  }
1468
1468
  export interface GetSensitiveDataOccurrencesAvailabilityResponse {
1469
- code?: AvailabilityCode | string;
1470
- reasons?: (UnavailabilityReasonCode | string)[];
1469
+ code?: AvailabilityCode;
1470
+ reasons?: UnavailabilityReasonCode[];
1471
1471
  }
1472
1472
  export interface GetSensitivityInspectionTemplateRequest {
1473
1473
  id: string | undefined;
@@ -1496,8 +1496,8 @@ export declare const UsageStatisticsSortKey: {
1496
1496
  export type UsageStatisticsSortKey =
1497
1497
  (typeof UsageStatisticsSortKey)[keyof typeof UsageStatisticsSortKey];
1498
1498
  export interface UsageStatisticsSortBy {
1499
- key?: UsageStatisticsSortKey | string;
1500
- orderBy?: OrderBy | string;
1499
+ key?: UsageStatisticsSortKey;
1500
+ orderBy?: OrderBy;
1501
1501
  }
1502
1502
  export declare const TimeRange: {
1503
1503
  readonly MONTH_TO_DATE: "MONTH_TO_DATE";
@@ -1509,18 +1509,18 @@ export interface GetUsageStatisticsRequest {
1509
1509
  maxResults?: number;
1510
1510
  nextToken?: string;
1511
1511
  sortBy?: UsageStatisticsSortBy;
1512
- timeRange?: TimeRange | string;
1512
+ timeRange?: TimeRange;
1513
1513
  }
1514
1514
  export interface GetUsageStatisticsResponse {
1515
1515
  nextToken?: string;
1516
1516
  records?: UsageRecord[];
1517
- timeRange?: TimeRange | string;
1517
+ timeRange?: TimeRange;
1518
1518
  }
1519
1519
  export interface GetUsageTotalsRequest {
1520
1520
  timeRange?: string;
1521
1521
  }
1522
1522
  export interface GetUsageTotalsResponse {
1523
- timeRange?: TimeRange | string;
1523
+ timeRange?: TimeRange;
1524
1524
  usageTotals?: UsageTotal[];
1525
1525
  }
1526
1526
  export interface ListAllowListsRequest {
@@ -1544,8 +1544,8 @@ export declare const ListJobsSortAttributeName: {
1544
1544
  export type ListJobsSortAttributeName =
1545
1545
  (typeof ListJobsSortAttributeName)[keyof typeof ListJobsSortAttributeName];
1546
1546
  export interface ListJobsSortCriteria {
1547
- attributeName?: ListJobsSortAttributeName | string;
1548
- orderBy?: OrderBy | string;
1547
+ attributeName?: ListJobsSortAttributeName;
1548
+ orderBy?: OrderBy;
1549
1549
  }
1550
1550
  export interface ListClassificationJobsRequest {
1551
1551
  filterCriteria?: ListJobsFilterCriteria;