@aws-sdk/client-macie2 3.301.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.
@@ -1,9 +1,10 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import { Macie2ServiceException as __BaseException } from "./Macie2ServiceException";
3
- export declare enum AdminStatus {
4
- DISABLING_IN_PROGRESS = "DISABLING_IN_PROGRESS",
5
- ENABLED = "ENABLED",
6
- }
3
+ export declare const AdminStatus: {
4
+ readonly DISABLING_IN_PROGRESS: "DISABLING_IN_PROGRESS";
5
+ readonly ENABLED: "ENABLED";
6
+ };
7
+ export type AdminStatus = (typeof AdminStatus)[keyof typeof AdminStatus];
7
8
  export interface AdminAccount {
8
9
  accountId?: string;
9
10
  status?: AdminStatus | string;
@@ -24,24 +25,32 @@ export interface BatchGetCustomDataIdentifierSummary {
24
25
  id?: string;
25
26
  name?: string;
26
27
  }
27
- export declare enum AllowsUnencryptedObjectUploads {
28
- FALSE = "FALSE",
29
- TRUE = "TRUE",
30
- UNKNOWN = "UNKNOWN",
31
- }
32
- export declare enum BucketMetadataErrorCode {
33
- ACCESS_DENIED = "ACCESS_DENIED",
34
- }
35
- export declare enum IsDefinedInJob {
36
- FALSE = "FALSE",
37
- TRUE = "TRUE",
38
- UNKNOWN = "UNKNOWN",
39
- }
40
- export declare enum IsMonitoredByJob {
41
- FALSE = "FALSE",
42
- TRUE = "TRUE",
43
- UNKNOWN = "UNKNOWN",
44
- }
28
+ export declare const AllowsUnencryptedObjectUploads: {
29
+ readonly FALSE: "FALSE";
30
+ readonly TRUE: "TRUE";
31
+ readonly UNKNOWN: "UNKNOWN";
32
+ };
33
+ export type AllowsUnencryptedObjectUploads =
34
+ (typeof AllowsUnencryptedObjectUploads)[keyof typeof AllowsUnencryptedObjectUploads];
35
+ export declare const BucketMetadataErrorCode: {
36
+ readonly ACCESS_DENIED: "ACCESS_DENIED";
37
+ };
38
+ export type BucketMetadataErrorCode =
39
+ (typeof BucketMetadataErrorCode)[keyof typeof BucketMetadataErrorCode];
40
+ export declare const IsDefinedInJob: {
41
+ readonly FALSE: "FALSE";
42
+ readonly TRUE: "TRUE";
43
+ readonly UNKNOWN: "UNKNOWN";
44
+ };
45
+ export type IsDefinedInJob =
46
+ (typeof IsDefinedInJob)[keyof typeof IsDefinedInJob];
47
+ export declare const IsMonitoredByJob: {
48
+ readonly FALSE: "FALSE";
49
+ readonly TRUE: "TRUE";
50
+ readonly UNKNOWN: "UNKNOWN";
51
+ };
52
+ export type IsMonitoredByJob =
53
+ (typeof IsMonitoredByJob)[keyof typeof IsMonitoredByJob];
45
54
  export interface JobDetails {
46
55
  isDefinedInJob?: IsDefinedInJob | string;
47
56
  isMonitoredByJob?: IsMonitoredByJob | string;
@@ -55,11 +64,13 @@ export interface ObjectCountByEncryptionType {
55
64
  unencrypted?: number;
56
65
  unknown?: number;
57
66
  }
58
- export declare enum EffectivePermission {
59
- NOT_PUBLIC = "NOT_PUBLIC",
60
- PUBLIC = "PUBLIC",
61
- UNKNOWN = "UNKNOWN",
62
- }
67
+ export declare const EffectivePermission: {
68
+ readonly NOT_PUBLIC: "NOT_PUBLIC";
69
+ readonly PUBLIC: "PUBLIC";
70
+ readonly UNKNOWN: "UNKNOWN";
71
+ };
72
+ export type EffectivePermission =
73
+ (typeof EffectivePermission)[keyof typeof EffectivePermission];
63
74
  export interface BlockPublicAccess {
64
75
  blockPublicAcls?: boolean;
65
76
  blockPublicPolicy?: boolean;
@@ -95,21 +106,23 @@ export interface ReplicationDetails {
95
106
  replicatedExternally?: boolean;
96
107
  replicationAccounts?: string[];
97
108
  }
98
- export declare enum Type {
99
- AES256 = "AES256",
100
- NONE = "NONE",
101
- aws_kms = "aws:kms",
102
- }
109
+ export declare const Type: {
110
+ readonly AES256: "AES256";
111
+ readonly NONE: "NONE";
112
+ readonly aws_kms: "aws:kms";
113
+ };
114
+ export type Type = (typeof Type)[keyof typeof Type];
103
115
  export interface BucketServerSideEncryption {
104
116
  kmsMasterKeyId?: string;
105
117
  type?: Type | string;
106
118
  }
107
- export declare enum SharedAccess {
108
- EXTERNAL = "EXTERNAL",
109
- INTERNAL = "INTERNAL",
110
- NOT_SHARED = "NOT_SHARED",
111
- UNKNOWN = "UNKNOWN",
112
- }
119
+ export declare const SharedAccess: {
120
+ readonly EXTERNAL: "EXTERNAL";
121
+ readonly INTERNAL: "INTERNAL";
122
+ readonly NOT_SHARED: "NOT_SHARED";
123
+ readonly UNKNOWN: "UNKNOWN";
124
+ };
125
+ export type SharedAccess = (typeof SharedAccess)[keyof typeof SharedAccess];
113
126
  export interface KeyValuePair {
114
127
  key?: string;
115
128
  value?: string;
@@ -151,22 +164,25 @@ export interface ClassificationScopeSummary {
151
164
  id?: string;
152
165
  name?: string;
153
166
  }
154
- export declare enum JobComparator {
155
- CONTAINS = "CONTAINS",
156
- EQ = "EQ",
157
- GT = "GT",
158
- GTE = "GTE",
159
- LT = "LT",
160
- LTE = "LTE",
161
- NE = "NE",
162
- STARTS_WITH = "STARTS_WITH",
163
- }
164
- export declare enum SimpleCriterionKeyForJob {
165
- ACCOUNT_ID = "ACCOUNT_ID",
166
- S3_BUCKET_EFFECTIVE_PERMISSION = "S3_BUCKET_EFFECTIVE_PERMISSION",
167
- S3_BUCKET_NAME = "S3_BUCKET_NAME",
168
- S3_BUCKET_SHARED_ACCESS = "S3_BUCKET_SHARED_ACCESS",
169
- }
167
+ export declare const JobComparator: {
168
+ readonly CONTAINS: "CONTAINS";
169
+ readonly EQ: "EQ";
170
+ readonly GT: "GT";
171
+ readonly GTE: "GTE";
172
+ readonly LT: "LT";
173
+ readonly LTE: "LTE";
174
+ readonly NE: "NE";
175
+ readonly STARTS_WITH: "STARTS_WITH";
176
+ };
177
+ export type JobComparator = (typeof JobComparator)[keyof typeof JobComparator];
178
+ export declare const SimpleCriterionKeyForJob: {
179
+ readonly ACCOUNT_ID: "ACCOUNT_ID";
180
+ readonly S3_BUCKET_EFFECTIVE_PERMISSION: "S3_BUCKET_EFFECTIVE_PERMISSION";
181
+ readonly S3_BUCKET_NAME: "S3_BUCKET_NAME";
182
+ readonly S3_BUCKET_SHARED_ACCESS: "S3_BUCKET_SHARED_ACCESS";
183
+ };
184
+ export type SimpleCriterionKeyForJob =
185
+ (typeof SimpleCriterionKeyForJob)[keyof typeof SimpleCriterionKeyForJob];
170
186
  export interface SimpleCriterionForJob {
171
187
  comparator?: JobComparator | string;
172
188
  key?: SimpleCriterionKeyForJob | string;
@@ -194,10 +210,12 @@ export interface CustomDataIdentifierSummary {
194
210
  export interface DetectedDataDetails {
195
211
  value: string | undefined;
196
212
  }
197
- export declare enum DataIdentifierType {
198
- CUSTOM = "CUSTOM",
199
- MANAGED = "MANAGED",
200
- }
213
+ export declare const DataIdentifierType: {
214
+ readonly CUSTOM: "CUSTOM";
215
+ readonly MANAGED: "MANAGED";
216
+ };
217
+ export type DataIdentifierType =
218
+ (typeof DataIdentifierType)[keyof typeof DataIdentifierType];
201
219
  export interface Detection {
202
220
  arn?: string;
203
221
  count?: number;
@@ -206,14 +224,17 @@ export interface Detection {
206
224
  suppressed?: boolean;
207
225
  type?: DataIdentifierType | string;
208
226
  }
209
- export declare enum FindingCategory {
210
- CLASSIFICATION = "CLASSIFICATION",
211
- POLICY = "POLICY",
212
- }
213
- export declare enum OriginType {
214
- AUTOMATED_SENSITIVE_DATA_DISCOVERY = "AUTOMATED_SENSITIVE_DATA_DISCOVERY",
215
- SENSITIVE_DATA_DISCOVERY_JOB = "SENSITIVE_DATA_DISCOVERY_JOB",
216
- }
227
+ export declare const FindingCategory: {
228
+ readonly CLASSIFICATION: "CLASSIFICATION";
229
+ readonly POLICY: "POLICY";
230
+ };
231
+ export type FindingCategory =
232
+ (typeof FindingCategory)[keyof typeof FindingCategory];
233
+ export declare const OriginType: {
234
+ readonly AUTOMATED_SENSITIVE_DATA_DISCOVERY: "AUTOMATED_SENSITIVE_DATA_DISCOVERY";
235
+ readonly SENSITIVE_DATA_DISCOVERY_JOB: "SENSITIVE_DATA_DISCOVERY_JOB";
236
+ };
237
+ export type OriginType = (typeof OriginType)[keyof typeof OriginType];
217
238
  export interface Cell {
218
239
  cellReference?: string;
219
240
  column?: number;
@@ -251,12 +272,14 @@ export interface CustomDataIdentifiers {
251
272
  detections?: CustomDetection[];
252
273
  totalCount?: number;
253
274
  }
254
- export declare enum SensitiveDataItemCategory {
255
- CREDENTIALS = "CREDENTIALS",
256
- CUSTOM_IDENTIFIER = "CUSTOM_IDENTIFIER",
257
- FINANCIAL_INFORMATION = "FINANCIAL_INFORMATION",
258
- PERSONAL_INFORMATION = "PERSONAL_INFORMATION",
259
- }
275
+ export declare const SensitiveDataItemCategory: {
276
+ readonly CREDENTIALS: "CREDENTIALS";
277
+ readonly CUSTOM_IDENTIFIER: "CUSTOM_IDENTIFIER";
278
+ readonly FINANCIAL_INFORMATION: "FINANCIAL_INFORMATION";
279
+ readonly PERSONAL_INFORMATION: "PERSONAL_INFORMATION";
280
+ };
281
+ export type SensitiveDataItemCategory =
282
+ (typeof SensitiveDataItemCategory)[keyof typeof SensitiveDataItemCategory];
260
283
  export interface DefaultDetection {
261
284
  count?: number;
262
285
  occurrences?: Occurrences;
@@ -286,9 +309,11 @@ export interface ClassificationDetails {
286
309
  originType?: OriginType | string;
287
310
  result?: ClassificationResult;
288
311
  }
289
- export declare enum FindingActionType {
290
- AWS_API_CALL = "AWS_API_CALL",
291
- }
312
+ export declare const FindingActionType: {
313
+ readonly AWS_API_CALL: "AWS_API_CALL";
314
+ };
315
+ export type FindingActionType =
316
+ (typeof FindingActionType)[keyof typeof FindingActionType];
292
317
  export interface ApiCallDetails {
293
318
  api?: string;
294
319
  apiServiceName?: string;
@@ -373,14 +398,16 @@ export interface UserIdentityRoot {
373
398
  arn?: string;
374
399
  principalId?: string;
375
400
  }
376
- export declare enum UserIdentityType {
377
- AWSAccount = "AWSAccount",
378
- AWSService = "AWSService",
379
- AssumedRole = "AssumedRole",
380
- FederatedUser = "FederatedUser",
381
- IAMUser = "IAMUser",
382
- Root = "Root",
383
- }
401
+ export declare const UserIdentityType: {
402
+ readonly AWSAccount: "AWSAccount";
403
+ readonly AWSService: "AWSService";
404
+ readonly AssumedRole: "AssumedRole";
405
+ readonly FederatedUser: "FederatedUser";
406
+ readonly IAMUser: "IAMUser";
407
+ readonly Root: "Root";
408
+ };
409
+ export type UserIdentityType =
410
+ (typeof UserIdentityType)[keyof typeof UserIdentityType];
384
411
  export interface UserIdentity {
385
412
  assumedRole?: AssumedRole;
386
413
  awsAccount?: AwsAccount;
@@ -399,12 +426,14 @@ export interface PolicyDetails {
399
426
  action?: FindingAction;
400
427
  actor?: FindingActor;
401
428
  }
402
- export declare enum EncryptionType {
403
- AES256 = "AES256",
404
- NONE = "NONE",
405
- UNKNOWN = "UNKNOWN",
406
- aws_kms = "aws:kms",
407
- }
429
+ export declare const EncryptionType: {
430
+ readonly AES256: "AES256";
431
+ readonly NONE: "NONE";
432
+ readonly UNKNOWN: "UNKNOWN";
433
+ readonly aws_kms: "aws:kms";
434
+ };
435
+ export type EncryptionType =
436
+ (typeof EncryptionType)[keyof typeof EncryptionType];
408
437
  export interface ServerSideEncryption {
409
438
  encryptionType?: EncryptionType | string;
410
439
  kmsMasterKeyId?: string;
@@ -423,17 +452,18 @@ export interface S3Bucket {
423
452
  publicAccess?: BucketPublicAccess;
424
453
  tags?: KeyValuePair[];
425
454
  }
426
- export declare enum StorageClass {
427
- DEEP_ARCHIVE = "DEEP_ARCHIVE",
428
- GLACIER = "GLACIER",
429
- GLACIER_IR = "GLACIER_IR",
430
- INTELLIGENT_TIERING = "INTELLIGENT_TIERING",
431
- ONEZONE_IA = "ONEZONE_IA",
432
- OUTPOSTS = "OUTPOSTS",
433
- REDUCED_REDUNDANCY = "REDUCED_REDUNDANCY",
434
- STANDARD = "STANDARD",
435
- STANDARD_IA = "STANDARD_IA",
436
- }
455
+ export declare const StorageClass: {
456
+ readonly DEEP_ARCHIVE: "DEEP_ARCHIVE";
457
+ readonly GLACIER: "GLACIER";
458
+ readonly GLACIER_IR: "GLACIER_IR";
459
+ readonly INTELLIGENT_TIERING: "INTELLIGENT_TIERING";
460
+ readonly ONEZONE_IA: "ONEZONE_IA";
461
+ readonly OUTPOSTS: "OUTPOSTS";
462
+ readonly REDUCED_REDUNDANCY: "REDUCED_REDUNDANCY";
463
+ readonly STANDARD: "STANDARD";
464
+ readonly STANDARD_IA: "STANDARD_IA";
465
+ };
466
+ export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
437
467
  export interface S3Object {
438
468
  bucketArn?: string;
439
469
  eTag?: string;
@@ -452,28 +482,31 @@ export interface ResourcesAffected {
452
482
  s3Bucket?: S3Bucket;
453
483
  s3Object?: S3Object;
454
484
  }
455
- export declare enum SeverityDescription {
456
- High = "High",
457
- Low = "Low",
458
- Medium = "Medium",
459
- }
485
+ export declare const SeverityDescription: {
486
+ readonly High: "High";
487
+ readonly Low: "Low";
488
+ readonly Medium: "Medium";
489
+ };
490
+ export type SeverityDescription =
491
+ (typeof SeverityDescription)[keyof typeof SeverityDescription];
460
492
  export interface Severity {
461
493
  description?: SeverityDescription | string;
462
494
  score?: number;
463
495
  }
464
- export declare enum FindingType {
465
- Policy_IAMUser_S3BlockPublicAccessDisabled = "Policy:IAMUser/S3BlockPublicAccessDisabled",
466
- Policy_IAMUser_S3BucketEncryptionDisabled = "Policy:IAMUser/S3BucketEncryptionDisabled",
467
- Policy_IAMUser_S3BucketPublic = "Policy:IAMUser/S3BucketPublic",
468
- Policy_IAMUser_S3BucketReplicatedExternally = "Policy:IAMUser/S3BucketReplicatedExternally",
469
- Policy_IAMUser_S3BucketSharedExternally = "Policy:IAMUser/S3BucketSharedExternally",
470
- Policy_IAMUser_S3BucketSharedWithCloudFront = "Policy:IAMUser/S3BucketSharedWithCloudFront",
471
- SensitiveData_S3Object_Credentials = "SensitiveData:S3Object/Credentials",
472
- SensitiveData_S3Object_CustomIdentifier = "SensitiveData:S3Object/CustomIdentifier",
473
- SensitiveData_S3Object_Financial = "SensitiveData:S3Object/Financial",
474
- SensitiveData_S3Object_Multiple = "SensitiveData:S3Object/Multiple",
475
- SensitiveData_S3Object_Personal = "SensitiveData:S3Object/Personal",
476
- }
496
+ export declare const FindingType: {
497
+ readonly Policy_IAMUser_S3BlockPublicAccessDisabled: "Policy:IAMUser/S3BlockPublicAccessDisabled";
498
+ readonly Policy_IAMUser_S3BucketEncryptionDisabled: "Policy:IAMUser/S3BucketEncryptionDisabled";
499
+ readonly Policy_IAMUser_S3BucketPublic: "Policy:IAMUser/S3BucketPublic";
500
+ readonly Policy_IAMUser_S3BucketReplicatedExternally: "Policy:IAMUser/S3BucketReplicatedExternally";
501
+ readonly Policy_IAMUser_S3BucketSharedExternally: "Policy:IAMUser/S3BucketSharedExternally";
502
+ readonly Policy_IAMUser_S3BucketSharedWithCloudFront: "Policy:IAMUser/S3BucketSharedWithCloudFront";
503
+ readonly SensitiveData_S3Object_Credentials: "SensitiveData:S3Object/Credentials";
504
+ readonly SensitiveData_S3Object_CustomIdentifier: "SensitiveData:S3Object/CustomIdentifier";
505
+ readonly SensitiveData_S3Object_Financial: "SensitiveData:S3Object/Financial";
506
+ readonly SensitiveData_S3Object_Multiple: "SensitiveData:S3Object/Multiple";
507
+ readonly SensitiveData_S3Object_Personal: "SensitiveData:S3Object/Personal";
508
+ };
509
+ export type FindingType = (typeof FindingType)[keyof typeof FindingType];
477
510
  export interface Finding {
478
511
  accountId?: string;
479
512
  archived?: boolean;
@@ -494,10 +527,12 @@ export interface Finding {
494
527
  type?: FindingType | string;
495
528
  updatedAt?: Date;
496
529
  }
497
- export declare enum FindingsFilterAction {
498
- ARCHIVE = "ARCHIVE",
499
- NOOP = "NOOP",
500
- }
530
+ export declare const FindingsFilterAction: {
531
+ readonly ARCHIVE: "ARCHIVE";
532
+ readonly NOOP: "NOOP";
533
+ };
534
+ export type FindingsFilterAction =
535
+ (typeof FindingsFilterAction)[keyof typeof FindingsFilterAction];
501
536
  export interface FindingsFilterListItem {
502
537
  action?: FindingsFilterAction | string;
503
538
  arn?: string;
@@ -509,30 +544,34 @@ export interface GroupCount {
509
544
  count?: number;
510
545
  groupKey?: string;
511
546
  }
512
- export declare enum RelationshipStatus {
513
- AccountSuspended = "AccountSuspended",
514
- Created = "Created",
515
- EmailVerificationFailed = "EmailVerificationFailed",
516
- EmailVerificationInProgress = "EmailVerificationInProgress",
517
- Enabled = "Enabled",
518
- Invited = "Invited",
519
- Paused = "Paused",
520
- RegionDisabled = "RegionDisabled",
521
- Removed = "Removed",
522
- Resigned = "Resigned",
523
- }
547
+ export declare const RelationshipStatus: {
548
+ readonly AccountSuspended: "AccountSuspended";
549
+ readonly Created: "Created";
550
+ readonly EmailVerificationFailed: "EmailVerificationFailed";
551
+ readonly EmailVerificationInProgress: "EmailVerificationInProgress";
552
+ readonly Enabled: "Enabled";
553
+ readonly Invited: "Invited";
554
+ readonly Paused: "Paused";
555
+ readonly RegionDisabled: "RegionDisabled";
556
+ readonly Removed: "Removed";
557
+ readonly Resigned: "Resigned";
558
+ };
559
+ export type RelationshipStatus =
560
+ (typeof RelationshipStatus)[keyof typeof RelationshipStatus];
524
561
  export interface Invitation {
525
562
  accountId?: string;
526
563
  invitationId?: string;
527
564
  invitedAt?: Date;
528
565
  relationshipStatus?: RelationshipStatus | string;
529
566
  }
530
- export declare enum ScopeFilterKey {
531
- OBJECT_EXTENSION = "OBJECT_EXTENSION",
532
- OBJECT_KEY = "OBJECT_KEY",
533
- OBJECT_LAST_MODIFIED_DATE = "OBJECT_LAST_MODIFIED_DATE",
534
- OBJECT_SIZE = "OBJECT_SIZE",
535
- }
567
+ export declare const ScopeFilterKey: {
568
+ readonly OBJECT_EXTENSION: "OBJECT_EXTENSION";
569
+ readonly OBJECT_KEY: "OBJECT_KEY";
570
+ readonly OBJECT_LAST_MODIFIED_DATE: "OBJECT_LAST_MODIFIED_DATE";
571
+ readonly OBJECT_SIZE: "OBJECT_SIZE";
572
+ };
573
+ export type ScopeFilterKey =
574
+ (typeof ScopeFilterKey)[keyof typeof ScopeFilterKey];
536
575
  export interface SimpleScopeTerm {
537
576
  comparator?: JobComparator | string;
538
577
  key?: ScopeFilterKey | string;
@@ -542,9 +581,10 @@ export interface TagValuePair {
542
581
  key?: string;
543
582
  value?: string;
544
583
  }
545
- export declare enum TagTarget {
546
- S3_OBJECT = "S3_OBJECT",
547
- }
584
+ export declare const TagTarget: {
585
+ readonly S3_OBJECT: "S3_OBJECT";
586
+ };
587
+ export type TagTarget = (typeof TagTarget)[keyof typeof TagTarget];
548
588
  export interface TagScopeTerm {
549
589
  comparator?: JobComparator | string;
550
590
  key?: string;
@@ -566,22 +606,26 @@ export interface S3BucketDefinitionForJob {
566
606
  accountId: string | undefined;
567
607
  buckets: string[] | undefined;
568
608
  }
569
- export declare enum JobStatus {
570
- CANCELLED = "CANCELLED",
571
- COMPLETE = "COMPLETE",
572
- IDLE = "IDLE",
573
- PAUSED = "PAUSED",
574
- RUNNING = "RUNNING",
575
- USER_PAUSED = "USER_PAUSED",
576
- }
577
- export declare enum JobType {
578
- ONE_TIME = "ONE_TIME",
579
- SCHEDULED = "SCHEDULED",
580
- }
581
- export declare enum LastRunErrorStatusCode {
582
- ERROR = "ERROR",
583
- NONE = "NONE",
584
- }
609
+ export declare const JobStatus: {
610
+ readonly CANCELLED: "CANCELLED";
611
+ readonly COMPLETE: "COMPLETE";
612
+ readonly IDLE: "IDLE";
613
+ readonly PAUSED: "PAUSED";
614
+ readonly RUNNING: "RUNNING";
615
+ readonly USER_PAUSED: "USER_PAUSED";
616
+ };
617
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
618
+ export declare const JobType: {
619
+ readonly ONE_TIME: "ONE_TIME";
620
+ readonly SCHEDULED: "SCHEDULED";
621
+ };
622
+ export type JobType = (typeof JobType)[keyof typeof JobType];
623
+ export declare const LastRunErrorStatusCode: {
624
+ readonly ERROR: "ERROR";
625
+ readonly NONE: "NONE";
626
+ };
627
+ export type LastRunErrorStatusCode =
628
+ (typeof LastRunErrorStatusCode)[keyof typeof LastRunErrorStatusCode];
585
629
  export interface LastRunErrorStatus {
586
630
  code?: LastRunErrorStatusCode | string;
587
631
  }
@@ -601,12 +645,14 @@ export interface JobSummary {
601
645
  name?: string;
602
646
  userPausedDetails?: UserPausedDetails;
603
647
  }
604
- export declare enum ListJobsFilterKey {
605
- createdAt = "createdAt",
606
- jobStatus = "jobStatus",
607
- jobType = "jobType",
608
- name = "name",
609
- }
648
+ export declare const ListJobsFilterKey: {
649
+ readonly createdAt: "createdAt";
650
+ readonly jobStatus: "jobStatus";
651
+ readonly jobType: "jobType";
652
+ readonly name: "name";
653
+ };
654
+ export type ListJobsFilterKey =
655
+ (typeof ListJobsFilterKey)[keyof typeof ListJobsFilterKey];
610
656
  export interface ListJobsFilterTerm {
611
657
  comparator?: JobComparator | string;
612
658
  key?: ListJobsFilterKey | string;
@@ -652,16 +698,20 @@ export interface ResourceProfileArtifact {
652
698
  classificationResultStatus: string | undefined;
653
699
  sensitive?: boolean;
654
700
  }
655
- export declare enum SearchResourcesComparator {
656
- EQ = "EQ",
657
- NE = "NE",
658
- }
659
- export declare enum SearchResourcesSimpleCriterionKey {
660
- ACCOUNT_ID = "ACCOUNT_ID",
661
- S3_BUCKET_EFFECTIVE_PERMISSION = "S3_BUCKET_EFFECTIVE_PERMISSION",
662
- S3_BUCKET_NAME = "S3_BUCKET_NAME",
663
- S3_BUCKET_SHARED_ACCESS = "S3_BUCKET_SHARED_ACCESS",
664
- }
701
+ export declare const SearchResourcesComparator: {
702
+ readonly EQ: "EQ";
703
+ readonly NE: "NE";
704
+ };
705
+ export type SearchResourcesComparator =
706
+ (typeof SearchResourcesComparator)[keyof typeof SearchResourcesComparator];
707
+ export declare const SearchResourcesSimpleCriterionKey: {
708
+ readonly ACCOUNT_ID: "ACCOUNT_ID";
709
+ readonly S3_BUCKET_EFFECTIVE_PERMISSION: "S3_BUCKET_EFFECTIVE_PERMISSION";
710
+ readonly S3_BUCKET_NAME: "S3_BUCKET_NAME";
711
+ readonly S3_BUCKET_SHARED_ACCESS: "S3_BUCKET_SHARED_ACCESS";
712
+ };
713
+ export type SearchResourcesSimpleCriterionKey =
714
+ (typeof SearchResourcesSimpleCriterionKey)[keyof typeof SearchResourcesSimpleCriterionKey];
665
715
  export interface SearchResourcesSimpleCriterion {
666
716
  comparator?: SearchResourcesComparator | string;
667
717
  key?: SearchResourcesSimpleCriterionKey | string;
@@ -687,39 +737,45 @@ export interface SuppressDataIdentifier {
687
737
  id?: string;
688
738
  type?: DataIdentifierType | string;
689
739
  }
690
- export declare enum UnavailabilityReasonCode {
691
- INVALID_CLASSIFICATION_RESULT = "INVALID_CLASSIFICATION_RESULT",
692
- OBJECT_EXCEEDS_SIZE_QUOTA = "OBJECT_EXCEEDS_SIZE_QUOTA",
693
- OBJECT_UNAVAILABLE = "OBJECT_UNAVAILABLE",
694
- UNSUPPORTED_FINDING_TYPE = "UNSUPPORTED_FINDING_TYPE",
695
- UNSUPPORTED_OBJECT_TYPE = "UNSUPPORTED_OBJECT_TYPE",
696
- }
697
- export declare enum ErrorCode {
698
- ClientError = "ClientError",
699
- InternalError = "InternalError",
700
- }
740
+ export declare const UnavailabilityReasonCode: {
741
+ readonly INVALID_CLASSIFICATION_RESULT: "INVALID_CLASSIFICATION_RESULT";
742
+ readonly OBJECT_EXCEEDS_SIZE_QUOTA: "OBJECT_EXCEEDS_SIZE_QUOTA";
743
+ readonly OBJECT_UNAVAILABLE: "OBJECT_UNAVAILABLE";
744
+ readonly UNSUPPORTED_FINDING_TYPE: "UNSUPPORTED_FINDING_TYPE";
745
+ readonly UNSUPPORTED_OBJECT_TYPE: "UNSUPPORTED_OBJECT_TYPE";
746
+ };
747
+ export type UnavailabilityReasonCode =
748
+ (typeof UnavailabilityReasonCode)[keyof typeof UnavailabilityReasonCode];
749
+ export declare const ErrorCode: {
750
+ readonly ClientError: "ClientError";
751
+ readonly InternalError: "InternalError";
752
+ };
753
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
701
754
  export interface UnprocessedAccount {
702
755
  accountId?: string;
703
756
  errorCode?: ErrorCode | string;
704
757
  errorMessage?: string;
705
758
  }
706
- export declare enum Currency {
707
- USD = "USD",
708
- }
709
- export declare enum Unit {
710
- TERABYTES = "TERABYTES",
711
- }
759
+ export declare const Currency: {
760
+ readonly USD: "USD";
761
+ };
762
+ export type Currency = (typeof Currency)[keyof typeof Currency];
763
+ export declare const Unit: {
764
+ readonly TERABYTES: "TERABYTES";
765
+ };
766
+ export type Unit = (typeof Unit)[keyof typeof Unit];
712
767
  export interface ServiceLimit {
713
768
  isServiceLimited?: boolean;
714
769
  unit?: Unit | string;
715
770
  value?: number;
716
771
  }
717
- export declare enum UsageType {
718
- AUTOMATED_OBJECT_MONITORING = "AUTOMATED_OBJECT_MONITORING",
719
- AUTOMATED_SENSITIVE_DATA_DISCOVERY = "AUTOMATED_SENSITIVE_DATA_DISCOVERY",
720
- DATA_INVENTORY_EVALUATION = "DATA_INVENTORY_EVALUATION",
721
- SENSITIVE_DATA_DISCOVERY = "SENSITIVE_DATA_DISCOVERY",
722
- }
772
+ export declare const UsageType: {
773
+ readonly AUTOMATED_OBJECT_MONITORING: "AUTOMATED_OBJECT_MONITORING";
774
+ readonly AUTOMATED_SENSITIVE_DATA_DISCOVERY: "AUTOMATED_SENSITIVE_DATA_DISCOVERY";
775
+ readonly DATA_INVENTORY_EVALUATION: "DATA_INVENTORY_EVALUATION";
776
+ readonly SENSITIVE_DATA_DISCOVERY: "SENSITIVE_DATA_DISCOVERY";
777
+ };
778
+ export type UsageType = (typeof UsageType)[keyof typeof UsageType];
723
779
  export interface UsageByAccount {
724
780
  currency?: Currency | string;
725
781
  estimatedCost?: string;
@@ -732,21 +788,25 @@ export interface UsageRecord {
732
788
  freeTrialStartDate?: Date;
733
789
  usage?: UsageByAccount[];
734
790
  }
735
- export declare enum UsageStatisticsFilterComparator {
736
- CONTAINS = "CONTAINS",
737
- EQ = "EQ",
738
- GT = "GT",
739
- GTE = "GTE",
740
- LT = "LT",
741
- LTE = "LTE",
742
- NE = "NE",
743
- }
744
- export declare enum UsageStatisticsFilterKey {
745
- accountId = "accountId",
746
- freeTrialStartDate = "freeTrialStartDate",
747
- serviceLimit = "serviceLimit",
748
- total = "total",
749
- }
791
+ export declare const UsageStatisticsFilterComparator: {
792
+ readonly CONTAINS: "CONTAINS";
793
+ readonly EQ: "EQ";
794
+ readonly GT: "GT";
795
+ readonly GTE: "GTE";
796
+ readonly LT: "LT";
797
+ readonly LTE: "LTE";
798
+ readonly NE: "NE";
799
+ };
800
+ export type UsageStatisticsFilterComparator =
801
+ (typeof UsageStatisticsFilterComparator)[keyof typeof UsageStatisticsFilterComparator];
802
+ export declare const UsageStatisticsFilterKey: {
803
+ readonly accountId: "accountId";
804
+ readonly freeTrialStartDate: "freeTrialStartDate";
805
+ readonly serviceLimit: "serviceLimit";
806
+ readonly total: "total";
807
+ };
808
+ export type UsageStatisticsFilterKey =
809
+ (typeof UsageStatisticsFilterKey)[keyof typeof UsageStatisticsFilterKey];
750
810
  export interface UsageStatisticsFilter {
751
811
  comparator?: UsageStatisticsFilterComparator | string;
752
812
  key?: UsageStatisticsFilterKey | string;
@@ -822,28 +882,34 @@ export interface AllowListCriteria {
822
882
  regex?: string;
823
883
  s3WordsList?: S3WordsList;
824
884
  }
825
- export declare enum AllowListStatusCode {
826
- OK = "OK",
827
- S3_OBJECT_ACCESS_DENIED = "S3_OBJECT_ACCESS_DENIED",
828
- S3_OBJECT_EMPTY = "S3_OBJECT_EMPTY",
829
- S3_OBJECT_NOT_FOUND = "S3_OBJECT_NOT_FOUND",
830
- S3_OBJECT_OVERSIZE = "S3_OBJECT_OVERSIZE",
831
- S3_THROTTLED = "S3_THROTTLED",
832
- S3_USER_ACCESS_DENIED = "S3_USER_ACCESS_DENIED",
833
- UNKNOWN_ERROR = "UNKNOWN_ERROR",
834
- }
885
+ export declare const AllowListStatusCode: {
886
+ readonly OK: "OK";
887
+ readonly S3_OBJECT_ACCESS_DENIED: "S3_OBJECT_ACCESS_DENIED";
888
+ readonly S3_OBJECT_EMPTY: "S3_OBJECT_EMPTY";
889
+ readonly S3_OBJECT_NOT_FOUND: "S3_OBJECT_NOT_FOUND";
890
+ readonly S3_OBJECT_OVERSIZE: "S3_OBJECT_OVERSIZE";
891
+ readonly S3_THROTTLED: "S3_THROTTLED";
892
+ readonly S3_USER_ACCESS_DENIED: "S3_USER_ACCESS_DENIED";
893
+ readonly UNKNOWN_ERROR: "UNKNOWN_ERROR";
894
+ };
895
+ export type AllowListStatusCode =
896
+ (typeof AllowListStatusCode)[keyof typeof AllowListStatusCode];
835
897
  export interface AllowListStatus {
836
898
  code: AllowListStatusCode | string | undefined;
837
899
  description?: string;
838
900
  }
839
- export declare enum AutomatedDiscoveryStatus {
840
- DISABLED = "DISABLED",
841
- ENABLED = "ENABLED",
842
- }
843
- export declare enum AvailabilityCode {
844
- AVAILABLE = "AVAILABLE",
845
- UNAVAILABLE = "UNAVAILABLE",
846
- }
901
+ export declare const AutomatedDiscoveryStatus: {
902
+ readonly DISABLED: "DISABLED";
903
+ readonly ENABLED: "ENABLED";
904
+ };
905
+ export type AutomatedDiscoveryStatus =
906
+ (typeof AutomatedDiscoveryStatus)[keyof typeof AutomatedDiscoveryStatus];
907
+ export declare const AvailabilityCode: {
908
+ readonly AVAILABLE: "AVAILABLE";
909
+ readonly UNAVAILABLE: "UNAVAILABLE";
910
+ };
911
+ export type AvailabilityCode =
912
+ (typeof AvailabilityCode)[keyof typeof AvailabilityCode];
847
913
  export interface BatchGetCustomDataIdentifiersRequest {
848
914
  ids?: string[];
849
915
  }
@@ -883,10 +949,11 @@ export interface BucketCriteriaAdditionalProperties {
883
949
  neq?: string[];
884
950
  prefix?: string;
885
951
  }
886
- export declare enum OrderBy {
887
- ASC = "ASC",
888
- DESC = "DESC",
889
- }
952
+ export declare const OrderBy: {
953
+ readonly ASC: "ASC";
954
+ readonly DESC: "DESC";
955
+ };
956
+ export type OrderBy = (typeof OrderBy)[keyof typeof OrderBy];
890
957
  export interface BucketSortCriteria {
891
958
  attributeName?: string;
892
959
  orderBy?: OrderBy | string;
@@ -911,11 +978,13 @@ export interface S3Destination {
911
978
  export interface ClassificationExportConfiguration {
912
979
  s3Destination?: S3Destination;
913
980
  }
914
- export declare enum ClassificationScopeUpdateOperation {
915
- ADD = "ADD",
916
- REMOVE = "REMOVE",
917
- REPLACE = "REPLACE",
918
- }
981
+ export declare const ClassificationScopeUpdateOperation: {
982
+ readonly ADD: "ADD";
983
+ readonly REMOVE: "REMOVE";
984
+ readonly REPLACE: "REPLACE";
985
+ };
986
+ export type ClassificationScopeUpdateOperation =
987
+ (typeof ClassificationScopeUpdateOperation)[keyof typeof ClassificationScopeUpdateOperation];
919
988
  export interface CreateAllowListRequest {
920
989
  clientToken?: string;
921
990
  criteria: AllowListCriteria | undefined;
@@ -927,12 +996,14 @@ export interface CreateAllowListResponse {
927
996
  arn?: string;
928
997
  id?: string;
929
998
  }
930
- export declare enum ManagedDataIdentifierSelector {
931
- ALL = "ALL",
932
- EXCLUDE = "EXCLUDE",
933
- INCLUDE = "INCLUDE",
934
- NONE = "NONE",
935
- }
999
+ export declare const ManagedDataIdentifierSelector: {
1000
+ readonly ALL: "ALL";
1001
+ readonly EXCLUDE: "EXCLUDE";
1002
+ readonly INCLUDE: "INCLUDE";
1003
+ readonly NONE: "NONE";
1004
+ };
1005
+ export type ManagedDataIdentifierSelector =
1006
+ (typeof ManagedDataIdentifierSelector)[keyof typeof ManagedDataIdentifierSelector];
936
1007
  export interface JobScopingBlock {
937
1008
  and?: JobScopeTerm[];
938
1009
  }
@@ -949,15 +1020,16 @@ export interface DailySchedule {}
949
1020
  export interface MonthlySchedule {
950
1021
  dayOfMonth?: number;
951
1022
  }
952
- export declare enum DayOfWeek {
953
- FRIDAY = "FRIDAY",
954
- MONDAY = "MONDAY",
955
- SATURDAY = "SATURDAY",
956
- SUNDAY = "SUNDAY",
957
- THURSDAY = "THURSDAY",
958
- TUESDAY = "TUESDAY",
959
- WEDNESDAY = "WEDNESDAY",
960
- }
1023
+ export declare const DayOfWeek: {
1024
+ readonly FRIDAY: "FRIDAY";
1025
+ readonly MONDAY: "MONDAY";
1026
+ readonly SATURDAY: "SATURDAY";
1027
+ readonly SUNDAY: "SUNDAY";
1028
+ readonly THURSDAY: "THURSDAY";
1029
+ readonly TUESDAY: "TUESDAY";
1030
+ readonly WEDNESDAY: "WEDNESDAY";
1031
+ };
1032
+ export type DayOfWeek = (typeof DayOfWeek)[keyof typeof DayOfWeek];
961
1033
  export interface WeeklySchedule {
962
1034
  dayOfWeek?: DayOfWeek | string;
963
1035
  }
@@ -985,11 +1057,13 @@ export interface CreateClassificationJobResponse {
985
1057
  jobArn?: string;
986
1058
  jobId?: string;
987
1059
  }
988
- export declare enum DataIdentifierSeverity {
989
- HIGH = "HIGH",
990
- LOW = "LOW",
991
- MEDIUM = "MEDIUM",
992
- }
1060
+ export declare const DataIdentifierSeverity: {
1061
+ readonly HIGH: "HIGH";
1062
+ readonly LOW: "LOW";
1063
+ readonly MEDIUM: "MEDIUM";
1064
+ };
1065
+ export type DataIdentifierSeverity =
1066
+ (typeof DataIdentifierSeverity)[keyof typeof DataIdentifierSeverity];
993
1067
  export interface SeverityLevel {
994
1068
  occurrencesThreshold: number | undefined;
995
1069
  severity: DataIdentifierSeverity | string | undefined;
@@ -1140,15 +1214,18 @@ export interface DisassociateMemberRequest {
1140
1214
  id: string | undefined;
1141
1215
  }
1142
1216
  export interface DisassociateMemberResponse {}
1143
- export declare enum FindingPublishingFrequency {
1144
- FIFTEEN_MINUTES = "FIFTEEN_MINUTES",
1145
- ONE_HOUR = "ONE_HOUR",
1146
- SIX_HOURS = "SIX_HOURS",
1147
- }
1148
- export declare enum MacieStatus {
1149
- ENABLED = "ENABLED",
1150
- PAUSED = "PAUSED",
1151
- }
1217
+ export declare const FindingPublishingFrequency: {
1218
+ readonly FIFTEEN_MINUTES: "FIFTEEN_MINUTES";
1219
+ readonly ONE_HOUR: "ONE_HOUR";
1220
+ readonly SIX_HOURS: "SIX_HOURS";
1221
+ };
1222
+ export type FindingPublishingFrequency =
1223
+ (typeof FindingPublishingFrequency)[keyof typeof FindingPublishingFrequency];
1224
+ export declare const MacieStatus: {
1225
+ readonly ENABLED: "ENABLED";
1226
+ readonly PAUSED: "PAUSED";
1227
+ };
1228
+ export type MacieStatus = (typeof MacieStatus)[keyof typeof MacieStatus];
1152
1229
  export interface EnableMacieRequest {
1153
1230
  clientToken?: string;
1154
1231
  findingPublishingFrequency?: FindingPublishingFrequency | string;
@@ -1160,10 +1237,12 @@ export interface EnableOrganizationAdminAccountRequest {
1160
1237
  clientToken?: string;
1161
1238
  }
1162
1239
  export interface EnableOrganizationAdminAccountResponse {}
1163
- export declare enum FindingStatisticsSortAttributeName {
1164
- count = "count",
1165
- groupKey = "groupKey",
1166
- }
1240
+ export declare const FindingStatisticsSortAttributeName: {
1241
+ readonly count: "count";
1242
+ readonly groupKey: "groupKey";
1243
+ };
1244
+ export type FindingStatisticsSortAttributeName =
1245
+ (typeof FindingStatisticsSortAttributeName)[keyof typeof FindingStatisticsSortAttributeName];
1167
1246
  export interface FindingStatisticsSortCriteria {
1168
1247
  attributeName?: FindingStatisticsSortAttributeName | string;
1169
1248
  orderBy?: OrderBy | string;
@@ -1281,12 +1360,13 @@ export interface SecurityHubConfiguration {
1281
1360
  export interface GetFindingsPublicationConfigurationResponse {
1282
1361
  securityHubConfiguration?: SecurityHubConfiguration;
1283
1362
  }
1284
- export declare enum GroupBy {
1285
- classificationDetails_jobId = "classificationDetails.jobId",
1286
- resourcesAffected_s3Bucket_name = "resourcesAffected.s3Bucket.name",
1287
- severity_description = "severity.description",
1288
- type = "type",
1289
- }
1363
+ export declare const GroupBy: {
1364
+ readonly classificationDetails_jobId: "classificationDetails.jobId";
1365
+ readonly resourcesAffected_s3Bucket_name: "resourcesAffected.s3Bucket.name";
1366
+ readonly severity_description: "severity.description";
1367
+ readonly type: "type";
1368
+ };
1369
+ export type GroupBy = (typeof GroupBy)[keyof typeof GroupBy];
1290
1370
  export interface GetFindingStatisticsRequest {
1291
1371
  findingCriteria?: FindingCriteria;
1292
1372
  groupBy: GroupBy | string | undefined;
@@ -1347,10 +1427,11 @@ export interface GetResourceProfileResponse {
1347
1427
  statistics?: ResourceStatistics;
1348
1428
  }
1349
1429
  export interface GetRevealConfigurationRequest {}
1350
- export declare enum RevealStatus {
1351
- DISABLED = "DISABLED",
1352
- ENABLED = "ENABLED",
1353
- }
1430
+ export declare const RevealStatus: {
1431
+ readonly DISABLED: "DISABLED";
1432
+ readonly ENABLED: "ENABLED";
1433
+ };
1434
+ export type RevealStatus = (typeof RevealStatus)[keyof typeof RevealStatus];
1354
1435
  export interface RevealConfiguration {
1355
1436
  kmsKeyId?: string;
1356
1437
  status: RevealStatus | string | undefined;
@@ -1361,11 +1442,13 @@ export interface GetRevealConfigurationResponse {
1361
1442
  export interface GetSensitiveDataOccurrencesRequest {
1362
1443
  findingId: string | undefined;
1363
1444
  }
1364
- export declare enum RevealRequestStatus {
1365
- ERROR = "ERROR",
1366
- PROCESSING = "PROCESSING",
1367
- SUCCESS = "SUCCESS",
1368
- }
1445
+ export declare const RevealRequestStatus: {
1446
+ readonly ERROR: "ERROR";
1447
+ readonly PROCESSING: "PROCESSING";
1448
+ readonly SUCCESS: "SUCCESS";
1449
+ };
1450
+ export type RevealRequestStatus =
1451
+ (typeof RevealRequestStatus)[keyof typeof RevealRequestStatus];
1369
1452
  export interface GetSensitiveDataOccurrencesResponse {
1370
1453
  error?: string;
1371
1454
  sensitiveDataOccurrences?: Record<string, DetectedDataDetails[]>;
@@ -1403,20 +1486,23 @@ export interface GetSensitivityInspectionTemplateResponse {
1403
1486
  name?: string;
1404
1487
  sensitivityInspectionTemplateId?: string;
1405
1488
  }
1406
- export declare enum UsageStatisticsSortKey {
1407
- accountId = "accountId",
1408
- freeTrialStartDate = "freeTrialStartDate",
1409
- serviceLimitValue = "serviceLimitValue",
1410
- total = "total",
1411
- }
1489
+ export declare const UsageStatisticsSortKey: {
1490
+ readonly accountId: "accountId";
1491
+ readonly freeTrialStartDate: "freeTrialStartDate";
1492
+ readonly serviceLimitValue: "serviceLimitValue";
1493
+ readonly total: "total";
1494
+ };
1495
+ export type UsageStatisticsSortKey =
1496
+ (typeof UsageStatisticsSortKey)[keyof typeof UsageStatisticsSortKey];
1412
1497
  export interface UsageStatisticsSortBy {
1413
1498
  key?: UsageStatisticsSortKey | string;
1414
1499
  orderBy?: OrderBy | string;
1415
1500
  }
1416
- export declare enum TimeRange {
1417
- MONTH_TO_DATE = "MONTH_TO_DATE",
1418
- PAST_30_DAYS = "PAST_30_DAYS",
1419
- }
1501
+ export declare const TimeRange: {
1502
+ readonly MONTH_TO_DATE: "MONTH_TO_DATE";
1503
+ readonly PAST_30_DAYS: "PAST_30_DAYS";
1504
+ };
1505
+ export type TimeRange = (typeof TimeRange)[keyof typeof TimeRange];
1420
1506
  export interface GetUsageStatisticsRequest {
1421
1507
  filterBy?: UsageStatisticsFilter[];
1422
1508
  maxResults?: number;
@@ -1448,12 +1534,14 @@ export interface ListJobsFilterCriteria {
1448
1534
  excludes?: ListJobsFilterTerm[];
1449
1535
  includes?: ListJobsFilterTerm[];
1450
1536
  }
1451
- export declare enum ListJobsSortAttributeName {
1452
- createdAt = "createdAt",
1453
- jobStatus = "jobStatus",
1454
- jobType = "jobType",
1455
- name = "name",
1456
- }
1537
+ export declare const ListJobsSortAttributeName: {
1538
+ readonly createdAt: "createdAt";
1539
+ readonly jobStatus: "jobStatus";
1540
+ readonly jobType: "jobType";
1541
+ readonly name: "name";
1542
+ };
1543
+ export type ListJobsSortAttributeName =
1544
+ (typeof ListJobsSortAttributeName)[keyof typeof ListJobsSortAttributeName];
1457
1545
  export interface ListJobsSortCriteria {
1458
1546
  attributeName?: ListJobsSortAttributeName | string;
1459
1547
  orderBy?: OrderBy | string;