@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.
@@ -26,7 +26,7 @@ export interface AdminAccount {
26
26
  * @public
27
27
  * <p>The current status of the account as the delegated Amazon Macie administrator account for the organization.</p>
28
28
  */
29
- status?: AdminStatus | string;
29
+ status?: AdminStatus;
30
30
  }
31
31
  /**
32
32
  * @public
@@ -159,12 +159,12 @@ export interface JobDetails {
159
159
  * @public
160
160
  * <p>Specifies whether any one-time or recurring jobs are configured to analyze data in the bucket. Possible values are:</p> <ul><li><p>TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more jobs and at least one of those jobs has a status other than CANCELLED. Or the bucket matched the bucket criteria (S3BucketCriteriaForJob) for at least one job that previously ran.</p></li> <li><p>FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any jobs, all the jobs that explicitly include the bucket in their bucket definitions have a status of CANCELLED, or the bucket didn't match the bucket criteria (S3BucketCriteriaForJob) for any jobs that previously ran.</p></li> <li><p>UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.</p></li></ul>
161
161
  */
162
- isDefinedInJob?: IsDefinedInJob | string;
162
+ isDefinedInJob?: IsDefinedInJob;
163
163
  /**
164
164
  * @public
165
165
  * <p>Specifies whether any recurring jobs are configured to analyze data in the bucket. Possible values are:</p> <ul><li><p>TRUE - The bucket is explicitly included in the bucket definition (S3BucketDefinitionForJob) for one or more recurring jobs or the bucket matches the bucket criteria (S3BucketCriteriaForJob) for one or more recurring jobs. At least one of those jobs has a status other than CANCELLED.</p></li> <li><p>FALSE - The bucket isn't explicitly included in the bucket definition (S3BucketDefinitionForJob) for any recurring jobs, the bucket doesn't match the bucket criteria (S3BucketCriteriaForJob) for any recurring jobs, or all the recurring jobs that are configured to analyze data in the bucket have a status of CANCELLED.</p></li> <li><p>UNKNOWN - An exception occurred when Amazon Macie attempted to retrieve job data for the bucket.</p></li></ul>
166
166
  */
167
- isMonitoredByJob?: IsMonitoredByJob | string;
167
+ isMonitoredByJob?: IsMonitoredByJob;
168
168
  /**
169
169
  * @public
170
170
  * <p>The unique identifier for the job that ran most recently and is configured to analyze data in the bucket, either the latest run of a recurring job or the only run of a one-time job.</p> <p>This value is typically null if the value for the isDefinedInJob property is FALSE or UNKNOWN.</p>
@@ -335,7 +335,7 @@ export interface BucketPublicAccess {
335
335
  * @public
336
336
  * <p>Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:</p> <ul><li><p>NOT_PUBLIC - The bucket isn't publicly accessible.</p></li> <li><p>PUBLIC - The bucket is publicly accessible.</p></li> <li><p>UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.</p></li></ul>
337
337
  */
338
- effectivePermission?: EffectivePermission | string;
338
+ effectivePermission?: EffectivePermission;
339
339
  /**
340
340
  * @public
341
341
  * <p>The account-level and bucket-level permissions settings for the bucket.</p>
@@ -390,7 +390,7 @@ export interface BucketServerSideEncryption {
390
390
  * @public
391
391
  * <p>The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:</p> <ul><li><p>AES256 - New objects are encrypted with an Amazon S3 managed key. They use SSE-S3 encryption.</p></li> <li><p>aws:kms - New objects are encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key. They use SSE-KMS encryption.</p></li> <li><p>NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.</p></li></ul>
392
392
  */
393
- type?: Type | string;
393
+ type?: Type;
394
394
  }
395
395
  /**
396
396
  * @public
@@ -457,7 +457,7 @@ export interface BucketMetadata {
457
457
  * @public
458
458
  * <p>Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are added to the bucket. Possible values are:</p> <ul><li><p>FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header.</p></li> <li><p>TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header.</p></li> <li><p>UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.</p></li></ul> <p>Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.</p>
459
459
  */
460
- allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads | string;
460
+ allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads;
461
461
  /**
462
462
  * @public
463
463
  * <p>The Amazon Resource Name (ARN) of the bucket.</p>
@@ -487,7 +487,7 @@ export interface BucketMetadata {
487
487
  * @public
488
488
  * <p>The error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.</p>
489
489
  */
490
- errorCode?: BucketMetadataErrorCode | string;
490
+ errorCode?: BucketMetadataErrorCode;
491
491
  /**
492
492
  * @public
493
493
  * <p>A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.</p>
@@ -547,7 +547,7 @@ export interface BucketMetadata {
547
547
  * @public
548
548
  * <p>Specifies whether the bucket is shared with another Amazon Web Services account, an Amazon CloudFront origin access identity (OAI), or a CloudFront origin access control (OAC). Possible values are:</p> <ul><li><p>EXTERNAL - The bucket is shared with one or more of the following or any combination of the following: a CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't part of your Amazon Macie organization.</p></li> <li><p>INTERNAL - The bucket is shared with one or more Amazon Web Services accounts that are part of your Amazon Macie organization. It isn't shared with a CloudFront OAI or OAC.</p></li> <li><p>NOT_SHARED - The bucket isn't shared with another Amazon Web Services account, a CloudFront OAI, or a CloudFront OAC.</p></li> <li><p>UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.</p></li></ul> <p>An <i>Amazon Macie organization</i> is a set of Macie accounts that are centrally managed as a group of related accounts through Organizations or by Macie invitation.</p>
549
549
  */
550
- sharedAccess?: SharedAccess | string;
550
+ sharedAccess?: SharedAccess;
551
551
  /**
552
552
  * @public
553
553
  * <p>The total storage size, in bytes, of the bucket.</p> <p>If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.</p>
@@ -636,12 +636,12 @@ export interface SimpleCriterionForJob {
636
636
  * @public
637
637
  * <p>The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).</p>
638
638
  */
639
- comparator?: JobComparator | string;
639
+ comparator?: JobComparator;
640
640
  /**
641
641
  * @public
642
642
  * <p>The property to use in the condition.</p>
643
643
  */
644
- key?: SimpleCriterionKeyForJob | string;
644
+ key?: SimpleCriterionKeyForJob;
645
645
  /**
646
646
  * @public
647
647
  * <p>An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:</p> <ul><li><p>ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the bucket.</p></li> <li><p>S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the <a href="https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketpublicaccess-effectivepermission">BucketPublicAccess.effectivePermission</a> property of a bucket.</p></li> <li><p>S3_BUCKET_NAME - A string that represents the name of a bucket.</p></li> <li><p>S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the <a href="https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-sharedaccess">BucketMetadata.sharedAccess</a> property of a bucket.</p></li></ul> <p>Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.</p>
@@ -673,7 +673,7 @@ export interface TagCriterionForJob {
673
673
  * @public
674
674
  * <p>The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).</p>
675
675
  */
676
- comparator?: JobComparator | string;
676
+ comparator?: JobComparator;
677
677
  /**
678
678
  * @public
679
679
  * <p>The tag keys, tag values, or tag key and value pairs to use in the condition.</p>
@@ -784,7 +784,7 @@ export interface Detection {
784
784
  * @public
785
785
  * <p>The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.</p>
786
786
  */
787
- type?: DataIdentifierType | string;
787
+ type?: DataIdentifierType;
788
788
  }
789
789
  /**
790
790
  * @public
@@ -1011,7 +1011,7 @@ export interface SensitiveDataItem {
1011
1011
  * @public
1012
1012
  * <p>The category of sensitive data that was detected. For example: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.</p>
1013
1013
  */
1014
- category?: SensitiveDataItemCategory | string;
1014
+ category?: SensitiveDataItemCategory;
1015
1015
  /**
1016
1016
  * @public
1017
1017
  * <p>An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.</p>
@@ -1099,7 +1099,7 @@ export interface ClassificationDetails {
1099
1099
  * @public
1100
1100
  * <p>Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.</p>
1101
1101
  */
1102
- originType?: OriginType | string;
1102
+ originType?: OriginType;
1103
1103
  /**
1104
1104
  * @public
1105
1105
  * <p>The status and other details of the finding.</p>
@@ -1152,7 +1152,7 @@ export interface FindingAction {
1152
1152
  * @public
1153
1153
  * <p>The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.</p>
1154
1154
  */
1155
- actionType?: FindingActionType | string;
1155
+ actionType?: FindingActionType;
1156
1156
  /**
1157
1157
  * @public
1158
1158
  * <p>The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.</p>
@@ -1524,7 +1524,7 @@ export interface UserIdentity {
1524
1524
  * @public
1525
1525
  * <p>The type of entity that performed the action.</p>
1526
1526
  */
1527
- type?: UserIdentityType | string;
1527
+ type?: UserIdentityType;
1528
1528
  }
1529
1529
  /**
1530
1530
  * @public
@@ -1586,7 +1586,7 @@ export interface ServerSideEncryption {
1586
1586
  * @public
1587
1587
  * <p>The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption settings aren't configured for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.</p>
1588
1588
  */
1589
- encryptionType?: EncryptionType | string;
1589
+ encryptionType?: EncryptionType;
1590
1590
  /**
1591
1591
  * @public
1592
1592
  * <p>The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used to encrypt data in the bucket or the object. This value is null if an KMS key isn't used to encrypt the data.</p>
@@ -1618,7 +1618,7 @@ export interface S3Bucket {
1618
1618
  * @public
1619
1619
  * <p>Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are added to the bucket. Possible values are:</p> <ul><li><p>FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header.</p></li> <li><p>TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header.</p></li> <li><p>UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.</p></li></ul> <p>Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.</p>
1620
1620
  */
1621
- allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads | string;
1621
+ allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads;
1622
1622
  /**
1623
1623
  * @public
1624
1624
  * <p>The Amazon Resource Name (ARN) of the bucket.</p>
@@ -1728,7 +1728,7 @@ export interface S3Object {
1728
1728
  * @public
1729
1729
  * <p>The storage class of the object.</p>
1730
1730
  */
1731
- storageClass?: StorageClass | string;
1731
+ storageClass?: StorageClass;
1732
1732
  /**
1733
1733
  * @public
1734
1734
  * <p>The tags that are associated with the object.</p>
@@ -1778,7 +1778,7 @@ export interface Severity {
1778
1778
  * @public
1779
1779
  * <p>The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).</p>
1780
1780
  */
1781
- description?: SeverityDescription | string;
1781
+ description?: SeverityDescription;
1782
1782
  /**
1783
1783
  * @public
1784
1784
  * <p>The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).</p>
@@ -1825,7 +1825,7 @@ export interface Finding {
1825
1825
  * @public
1826
1826
  * <p>The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.</p>
1827
1827
  */
1828
- category?: FindingCategory | string;
1828
+ category?: FindingCategory;
1829
1829
  /**
1830
1830
  * @public
1831
1831
  * <p>The details of a sensitive data finding. This value is null for a policy finding.</p>
@@ -1895,7 +1895,7 @@ export interface Finding {
1895
1895
  * @public
1896
1896
  * <p>The type of the finding.</p>
1897
1897
  */
1898
- type?: FindingType | string;
1898
+ type?: FindingType;
1899
1899
  /**
1900
1900
  * @public
1901
1901
  * <p>The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.</p>
@@ -1923,7 +1923,7 @@ export interface FindingsFilterListItem {
1923
1923
  * @public
1924
1924
  * <p>The action that's performed on findings that match the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.</p>
1925
1925
  */
1926
- action?: FindingsFilterAction | string;
1926
+ action?: FindingsFilterAction;
1927
1927
  /**
1928
1928
  * @public
1929
1929
  * <p>The Amazon Resource Name (ARN) of the filter.</p>
@@ -2005,7 +2005,7 @@ export interface Invitation {
2005
2005
  * @public
2006
2006
  * <p>The status of the relationship between the account that sent the invitation and the account that received the invitation.</p>
2007
2007
  */
2008
- relationshipStatus?: RelationshipStatus | string;
2008
+ relationshipStatus?: RelationshipStatus;
2009
2009
  }
2010
2010
  /**
2011
2011
  * @public
@@ -2030,12 +2030,12 @@ export interface SimpleScopeTerm {
2030
2030
  * @public
2031
2031
  * <p>The operator to use in the condition. Valid values for each supported property (key) are:</p> <ul><li><p>OBJECT_EXTENSION - EQ (equals) or NE (not equals)</p></li> <li><p>OBJECT_KEY - STARTS_WITH</p></li> <li><p>OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS</p></li> <li><p>OBJECT_SIZE - Any operator except CONTAINS</p></li></ul>
2032
2032
  */
2033
- comparator?: JobComparator | string;
2033
+ comparator?: JobComparator;
2034
2034
  /**
2035
2035
  * @public
2036
2036
  * <p>The object property to use in the condition.</p>
2037
2037
  */
2038
- key?: ScopeFilterKey | string;
2038
+ key?: ScopeFilterKey;
2039
2039
  /**
2040
2040
  * @public
2041
2041
  * <p>An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.</p> <p>Valid values for each supported property (key) are:</p> <ul><li><p>OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf</p></li> <li><p>OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.</p></li> <li><p>OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z</p></li> <li><p>OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.</p></li></ul> <p>Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.</p>
@@ -2078,7 +2078,7 @@ export interface TagScopeTerm {
2078
2078
  * @public
2079
2079
  * <p>The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).</p>
2080
2080
  */
2081
- comparator?: JobComparator | string;
2081
+ comparator?: JobComparator;
2082
2082
  /**
2083
2083
  * @public
2084
2084
  * <p>The object property to use in the condition. The only valid value is TAG.</p>
@@ -2093,7 +2093,7 @@ export interface TagScopeTerm {
2093
2093
  * @public
2094
2094
  * <p>The type of object to apply the condition to.</p>
2095
2095
  */
2096
- target?: TagTarget | string;
2096
+ target?: TagTarget;
2097
2097
  }
2098
2098
  /**
2099
2099
  * @public
@@ -2203,7 +2203,7 @@ export interface LastRunErrorStatus {
2203
2203
  * @public
2204
2204
  * <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run. Possible values are:</p> <ul><li><p>ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.</p></li> <li><p>NONE - No errors occurred. Macie processed all the data specified for the job.</p></li></ul>
2205
2205
  */
2206
- code?: LastRunErrorStatusCode | string;
2206
+ code?: LastRunErrorStatusCode;
2207
2207
  }
2208
2208
  /**
2209
2209
  * @public
@@ -2255,12 +2255,12 @@ export interface JobSummary {
2255
2255
  * @public
2256
2256
  * <p>The current status of the job. Possible values are:</p> <ul><li><p>CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.</p></li> <li><p>COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.</p></li> <li><p>IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.</p></li> <li><p>PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.</p></li> <li><p>RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.</p></li> <li><p>USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.</p></li></ul>
2257
2257
  */
2258
- jobStatus?: JobStatus | string;
2258
+ jobStatus?: JobStatus;
2259
2259
  /**
2260
2260
  * @public
2261
2261
  * <p>The schedule for running the job. Possible values are:</p> <ul><li><p>ONE_TIME - The job runs only once.</p></li> <li><p>SCHEDULED - The job runs on a daily, weekly, or monthly basis.</p></li></ul>
2262
2262
  */
2263
- jobType?: JobType | string;
2263
+ jobType?: JobType;
2264
2264
  /**
2265
2265
  * @public
2266
2266
  * <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.</p>
@@ -2300,12 +2300,12 @@ export interface ListJobsFilterTerm {
2300
2300
  * @public
2301
2301
  * <p>The operator to use to filter the results.</p>
2302
2302
  */
2303
- comparator?: JobComparator | string;
2303
+ comparator?: JobComparator;
2304
2304
  /**
2305
2305
  * @public
2306
2306
  * <p>The property to use to filter the results.</p>
2307
2307
  */
2308
- key?: ListJobsFilterKey | string;
2308
+ key?: ListJobsFilterKey;
2309
2309
  /**
2310
2310
  * @public
2311
2311
  * <p>An array that lists one or more values to use to filter the results.</p>
@@ -2321,7 +2321,7 @@ export interface ManagedDataIdentifierSummary {
2321
2321
  * @public
2322
2322
  * <p>The category of sensitive data that the managed data identifier detects: CREDENTIALS, for credentials data such as private keys or Amazon Web Services secret access keys; FINANCIAL_INFORMATION, for financial data such as credit card numbers; or, PERSONAL_INFORMATION, for personal health information, such as health insurance identification numbers, or personally identifiable information, such as passport numbers.</p>
2323
2323
  */
2324
- category?: SensitiveDataItemCategory | string;
2324
+ category?: SensitiveDataItemCategory;
2325
2325
  /**
2326
2326
  * @public
2327
2327
  * <p>The unique identifier for the managed data identifier. This is a string that describes the type of sensitive data that the managed data identifier detects. For example: OPENSSH_PRIVATE_KEY for OpenSSH private keys, CREDIT_CARD_NUMBER for credit card numbers, or USA_PASSPORT_NUMBER for US passport numbers.</p>
@@ -2357,7 +2357,7 @@ export interface MatchingBucket {
2357
2357
  * @public
2358
2358
  * <p>The error code for an error that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. If this value is ACCESS_DENIED, Macie doesn't have permission to retrieve the information. For example, the bucket has a restrictive bucket policy and Amazon S3 denied the request. If this value is null, Macie was able to retrieve and process the information.</p>
2359
2359
  */
2360
- errorCode?: BucketMetadataErrorCode | string;
2360
+ errorCode?: BucketMetadataErrorCode;
2361
2361
  /**
2362
2362
  * @public
2363
2363
  * <p>A brief description of the error (errorCode) that prevented Amazon Macie from retrieving and processing information about the bucket and the bucket's objects. This value is null if Macie was able to retrieve and process the information.</p>
@@ -2459,7 +2459,7 @@ export interface Member {
2459
2459
  * @public
2460
2460
  * <p>The current status of the relationship between the account and the administrator account.</p>
2461
2461
  */
2462
- relationshipStatus?: RelationshipStatus | string;
2462
+ relationshipStatus?: RelationshipStatus;
2463
2463
  /**
2464
2464
  * @public
2465
2465
  * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.</p>
@@ -2527,12 +2527,12 @@ export interface SearchResourcesSimpleCriterion {
2527
2527
  * @public
2528
2528
  * <p>The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).</p>
2529
2529
  */
2530
- comparator?: SearchResourcesComparator | string;
2530
+ comparator?: SearchResourcesComparator;
2531
2531
  /**
2532
2532
  * @public
2533
2533
  * <p>The property to use in the condition.</p>
2534
2534
  */
2535
- key?: SearchResourcesSimpleCriterionKey | string;
2535
+ key?: SearchResourcesSimpleCriterionKey;
2536
2536
  /**
2537
2537
  * @public
2538
2538
  * <p>An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:</p> <ul><li><p>ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.</p></li> <li><p>S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the <a href="https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketpublicaccess-effectivepermission">BucketPublicAccess.effectivePermission</a> property of an S3 bucket.</p></li> <li><p>S3_BUCKET_NAME - A string that represents the name of an S3 bucket.</p></li> <li><p>S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the <a href="https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-sharedaccess">BucketMetadata.sharedAccess</a> property of an S3 bucket.</p></li></ul> <p>Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.</p>
@@ -2564,7 +2564,7 @@ export interface SearchResourcesTagCriterion {
2564
2564
  * @public
2565
2565
  * <p>The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).</p>
2566
2566
  */
2567
- comparator?: SearchResourcesComparator | string;
2567
+ comparator?: SearchResourcesComparator;
2568
2568
  /**
2569
2569
  * @public
2570
2570
  * <p>The tag keys, tag values, or tag key and value pairs to use in the condition.</p>
@@ -2617,7 +2617,7 @@ export interface SuppressDataIdentifier {
2617
2617
  * @public
2618
2618
  * <p>The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.</p>
2619
2619
  */
2620
- type?: DataIdentifierType | string;
2620
+ type?: DataIdentifierType;
2621
2621
  }
2622
2622
  /**
2623
2623
  * @public
@@ -2660,7 +2660,7 @@ export interface UnprocessedAccount {
2660
2660
  * @public
2661
2661
  * <p>The source of the issue or delay in processing the request.</p>
2662
2662
  */
2663
- errorCode?: ErrorCode | string;
2663
+ errorCode?: ErrorCode;
2664
2664
  /**
2665
2665
  * @public
2666
2666
  * <p>The reason why the request hasn't been processed.</p>
@@ -2703,7 +2703,7 @@ export interface ServiceLimit {
2703
2703
  * @public
2704
2704
  * <p>The unit of measurement for the value specified by the value field.</p>
2705
2705
  */
2706
- unit?: Unit | string;
2706
+ unit?: Unit;
2707
2707
  /**
2708
2708
  * @public
2709
2709
  * <p>The value for the metric specified by the UsageByAccount.type field in the response.</p>
@@ -2733,7 +2733,7 @@ export interface UsageByAccount {
2733
2733
  * @public
2734
2734
  * <p>The type of currency that the value for the metric (estimatedCost) is reported in.</p>
2735
2735
  */
2736
- currency?: Currency | string;
2736
+ currency?: Currency;
2737
2737
  /**
2738
2738
  * @public
2739
2739
  * <p>The estimated value for the metric.</p>
@@ -2748,7 +2748,7 @@ export interface UsageByAccount {
2748
2748
  * @public
2749
2749
  * <p>The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.</p>
2750
2750
  */
2751
- type?: UsageType | string;
2751
+ type?: UsageType;
2752
2752
  }
2753
2753
  /**
2754
2754
  * @public
@@ -2816,12 +2816,12 @@ export interface UsageStatisticsFilter {
2816
2816
  * @public
2817
2817
  * <p>The operator to use in the condition. If the value for the key property is accountId, this value must be CONTAINS. If the value for the key property is any other supported field, this value can be EQ, GT, GTE, LT, LTE, or NE.</p>
2818
2818
  */
2819
- comparator?: UsageStatisticsFilterComparator | string;
2819
+ comparator?: UsageStatisticsFilterComparator;
2820
2820
  /**
2821
2821
  * @public
2822
2822
  * <p>The field to use in the condition.</p>
2823
2823
  */
2824
- key?: UsageStatisticsFilterKey | string;
2824
+ key?: UsageStatisticsFilterKey;
2825
2825
  /**
2826
2826
  * @public
2827
2827
  * <p>An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value.</p> <p>Valid values for each supported field are:</p> <ul><li><p>accountId - The unique identifier for an Amazon Web Services account.</p></li> <li><p>freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account.</p></li> <li><p>serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota.</p></li> <li><p>total - A string that represents the current estimated cost for an account.</p></li></ul>
@@ -2837,7 +2837,7 @@ export interface UsageTotal {
2837
2837
  * @public
2838
2838
  * <p>The type of currency that the value for the metric (estimatedCost) is reported in.</p>
2839
2839
  */
2840
- currency?: Currency | string;
2840
+ currency?: Currency;
2841
2841
  /**
2842
2842
  * @public
2843
2843
  * <p>The estimated value for the metric.</p>
@@ -2847,7 +2847,7 @@ export interface UsageTotal {
2847
2847
  * @public
2848
2848
  * <p>The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.</p>
2849
2849
  */
2850
- type?: UsageType | string;
2850
+ type?: UsageType;
2851
2851
  }
2852
2852
  /**
2853
2853
  * @public
@@ -3033,7 +3033,7 @@ export interface AllowListStatus {
3033
3033
  * @public
3034
3034
  * <p>The current status of the allow list. If the list's criteria specify a regular expression (regex), this value is typically OK. Amazon Macie can compile the expression.</p> <p>If the list's criteria specify an S3 object, possible values are:</p> <ul><li><p>OK - Macie can retrieve and parse the contents of the object.</p></li> <li><p>S3_OBJECT_ACCESS_DENIED - Macie isn't allowed to access the object or the object is encrypted with a customer managed KMS key that Macie isn't allowed to use. Check the bucket policy and other permissions settings for the bucket and the object. If the object is encrypted, also ensure that it's encrypted with a key that Macie is allowed to use.</p></li> <li><p>S3_OBJECT_EMPTY - Macie can retrieve the object but the object doesn't contain any content. Ensure that the object contains the correct entries. Also ensure that the list's criteria specify the correct bucket and object names.</p></li> <li><p>S3_OBJECT_NOT_FOUND - The object doesn't exist in Amazon S3. Ensure that the list's criteria specify the correct bucket and object names.</p></li> <li><p>S3_OBJECT_OVERSIZE - Macie can retrieve the object. However, the object contains too many entries or its storage size exceeds the quota for an allow list. Try breaking the list into multiple files and ensure that each file doesn't exceed any quotas. Then configure list settings in Macie for each file.</p></li> <li><p>S3_THROTTLED - Amazon S3 throttled the request to retrieve the object. Wait a few minutes and then try again.</p></li> <li><p>S3_USER_ACCESS_DENIED - Amazon S3 denied the request to retrieve the object. If the specified object exists, you're not allowed to access it or it's encrypted with an KMS key that you're not allowed to use. Work with your Amazon Web Services administrator to ensure that the list's criteria specify the correct bucket and object names, and you have read access to the bucket and the object. If the object is encrypted, also ensure that it's encrypted with a key that you're allowed to use.</p></li> <li><p>UNKNOWN_ERROR - A transient or internal error occurred when Macie attempted to retrieve or parse the object. Wait a few minutes and then try again. A list can also have this status if it's encrypted with a key that Amazon S3 and Macie can't access or use.</p></li></ul>
3035
3035
  */
3036
- code: AllowListStatusCode | string | undefined;
3036
+ code: AllowListStatusCode | undefined;
3037
3037
  /**
3038
3038
  * @public
3039
3039
  * <p>A brief description of the status of the allow list. Amazon Macie uses this value to provide additional information about an error that occurred when Macie tried to access and use the list's criteria.</p>
@@ -3255,7 +3255,7 @@ export interface BucketSortCriteria {
3255
3255
  * @public
3256
3256
  * <p>The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.</p>
3257
3257
  */
3258
- orderBy?: OrderBy | string;
3258
+ orderBy?: OrderBy;
3259
3259
  }
3260
3260
  /**
3261
3261
  * @public
@@ -3505,7 +3505,7 @@ export interface WeeklySchedule {
3505
3505
  * @public
3506
3506
  * <p>The day of the week when Amazon Macie runs the job.</p>
3507
3507
  */
3508
- dayOfWeek?: DayOfWeek | string;
3508
+ dayOfWeek?: DayOfWeek;
3509
3509
  }
3510
3510
  /**
3511
3511
  * @public
@@ -3561,7 +3561,7 @@ export interface CreateClassificationJobRequest {
3561
3561
  * @public
3562
3562
  * <p>The schedule for running the job. Valid values are:</p> <ul><li><p>ONE_TIME - Run the job only once. If you specify this value, don't specify a value for the scheduleFrequency property.</p></li> <li><p>SCHEDULED - Run the job on a daily, weekly, or monthly basis. If you specify this value, use the scheduleFrequency property to define the recurrence pattern for the job.</p></li></ul>
3563
3563
  */
3564
- jobType: JobType | string | undefined;
3564
+ jobType: JobType | undefined;
3565
3565
  /**
3566
3566
  * @public
3567
3567
  * <p>An array of unique identifiers, one for each managed data identifier for the job to include (use) or exclude (not use) when it analyzes data. Inclusion or exclusion depends on the managed data identifier selection type that you specify for the job (managedDataIdentifierSelector).</p> <p>To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.</p>
@@ -3571,7 +3571,7 @@ export interface CreateClassificationJobRequest {
3571
3571
  * @public
3572
3572
  * <p>The selection type to apply when determining which managed data identifiers the job uses to analyze data. Valid values are:</p> <ul><li><p>ALL - Use all managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li> <li><p>EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.</p></li> <li><p>INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.</p></li> <li><p>NONE - Don't use any managed data identifiers. If you specify this value, specify at least one value for the customDataIdentifierIds property and don't specify any values for the managedDataIdentifierIds property.</p></li> <li><p>RECOMMENDED (default) - Use the recommended set of managed data identifiers. If you specify this value, don't specify any values for the managedDataIdentifierIds property.</p></li></ul> <p>If you don't specify a value for this property, the job uses the recommended set of managed data identifiers.</p> <p>If the job is a recurring job and you specify ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If you specify RECOMMENDED for a recurring job, each job run automatically uses all the managed data identifiers that are in the recommended set when the run starts.</p> <p>For information about individual managed data identifiers or to determine which ones are in the recommended set, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> and <a href="https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-mdis-recommended.html">Recommended managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.</p>
3573
3573
  */
3574
- managedDataIdentifierSelector?: ManagedDataIdentifierSelector | string;
3574
+ managedDataIdentifierSelector?: ManagedDataIdentifierSelector;
3575
3575
  /**
3576
3576
  * @public
3577
3577
  * <p>A custom name for the job. The name can contain as many as 500 characters.</p>
@@ -3640,7 +3640,7 @@ export interface SeverityLevel {
3640
3640
  * @public
3641
3641
  * <p>The severity to assign to a finding: if the number of occurrences is greater than or equal to the specified threshold (occurrencesThreshold); and, if applicable, the number of occurrences is less than the threshold for the next consecutive severity level for the custom data identifier, moving from LOW to HIGH.</p>
3642
3642
  */
3643
- severity: DataIdentifierSeverity | string | undefined;
3643
+ severity: DataIdentifierSeverity | undefined;
3644
3644
  }
3645
3645
  /**
3646
3646
  * @public
@@ -3762,7 +3762,7 @@ export interface CreateFindingsFilterRequest {
3762
3762
  * @public
3763
3763
  * <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>
3764
3764
  */
3765
- action: FindingsFilterAction | string | undefined;
3765
+ action: FindingsFilterAction | undefined;
3766
3766
  /**
3767
3767
  * @public
3768
3768
  * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
@@ -3872,7 +3872,7 @@ export interface CreateSampleFindingsRequest {
3872
3872
  * @public
3873
3873
  * <p>An array of finding types, one for each type of sample finding to create. To create a sample of every type of finding that Amazon Macie supports, don't include this array in your request.</p>
3874
3874
  */
3875
- findingTypes?: (FindingType | string)[];
3875
+ findingTypes?: FindingType[];
3876
3876
  }
3877
3877
  /**
3878
3878
  * @public
@@ -4098,12 +4098,12 @@ export interface DescribeClassificationJobResponse {
4098
4098
  * @public
4099
4099
  * <p>The current status of the job. Possible values are:</p> <ul><li><p>CANCELLED - You cancelled the job or, if it's a one-time job, you paused the job and didn't resume it within 30 days.</p></li> <li><p>COMPLETE - For a one-time job, Amazon Macie finished processing the data specified for the job. This value doesn't apply to recurring jobs.</p></li> <li><p>IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs.</p></li> <li><p>PAUSED - Macie started running the job but additional processing would exceed the monthly sensitive data discovery quota for your account or one or more member accounts that the job analyzes data for.</p></li> <li><p>RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress.</p></li> <li><p>USER_PAUSED - You paused the job. If you paused the job while it had a status of RUNNING and you don't resume it within 30 days of pausing it, the job or job run will expire and be cancelled, depending on the job's type. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.</p></li></ul>
4100
4100
  */
4101
- jobStatus?: JobStatus | string;
4101
+ jobStatus?: JobStatus;
4102
4102
  /**
4103
4103
  * @public
4104
4104
  * <p>The schedule for running the job. Possible values are:</p> <ul><li><p>ONE_TIME - The job runs only once.</p></li> <li><p>SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.</p></li></ul>
4105
4105
  */
4106
- jobType?: JobType | string;
4106
+ jobType?: JobType;
4107
4107
  /**
4108
4108
  * @public
4109
4109
  * <p>Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this value indicates the error status of the job's most recent run.</p>
@@ -4123,7 +4123,7 @@ export interface DescribeClassificationJobResponse {
4123
4123
  * @public
4124
4124
  * <p>The selection type that determines which managed data identifiers the job uses when it analyzes data. Possible values are:</p> <ul><li><p>ALL - Use all managed data identifiers.</p></li> <li><p>EXCLUDE - Use all managed data identifiers except the ones specified by the managedDataIdentifierIds property.</p></li> <li><p>INCLUDE - Use only the managed data identifiers specified by the managedDataIdentifierIds property.</p></li> <li><p>NONE - Don't use any managed data identifiers. Use only custom data identifiers (customDataIdentifierIds).</p></li> <li><p>RECOMMENDED (default) - Use the recommended set of managed data identifiers.</p></li></ul> <p>If this value is null, the job uses the recommended set of managed data identifiers.</p> <p>If the job is a recurring job and this value is ALL or EXCLUDE, each job run automatically uses new managed data identifiers that are released. If this value is null or RECOMMENDED for a recurring job, each job run uses all the managed data identifiers that are in the recommended set when the run starts.</p> <p>For information about individual managed data identifiers or to determine which ones are in the recommended set, see <a href="https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html">Using managed data identifiers</a> and <a href="https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-mdis-recommended.html">Recommended managed data identifiers</a> in the <i>Amazon Macie User Guide</i>.</p>
4125
4125
  */
4126
- managedDataIdentifierSelector?: ManagedDataIdentifierSelector | string;
4126
+ managedDataIdentifierSelector?: ManagedDataIdentifierSelector;
4127
4127
  /**
4128
4128
  * @public
4129
4129
  * <p>The custom name of the job.</p>
@@ -4278,12 +4278,12 @@ export interface EnableMacieRequest {
4278
4278
  * @public
4279
4279
  * <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>
4280
4280
  */
4281
- findingPublishingFrequency?: FindingPublishingFrequency | string;
4281
+ findingPublishingFrequency?: FindingPublishingFrequency;
4282
4282
  /**
4283
4283
  * @public
4284
4284
  * <p>Specifies the new status for the account. To enable Amazon Macie and start all Macie activities for the account, set this value to ENABLED.</p>
4285
4285
  */
4286
- status?: MacieStatus | string;
4286
+ status?: MacieStatus;
4287
4287
  }
4288
4288
  /**
4289
4289
  * @public
@@ -4331,12 +4331,12 @@ export interface FindingStatisticsSortCriteria {
4331
4331
  * @public
4332
4332
  * <p>The grouping to sort the results by. Valid values are: count, sort the results by the number of findings in each group of results; and, groupKey, sort the results by the name of each group of results.</p>
4333
4333
  */
4334
- attributeName?: FindingStatisticsSortAttributeName | string;
4334
+ attributeName?: FindingStatisticsSortAttributeName;
4335
4335
  /**
4336
4336
  * @public
4337
4337
  * <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>
4338
4338
  */
4339
- orderBy?: OrderBy | string;
4339
+ orderBy?: OrderBy;
4340
4340
  }
4341
4341
  /**
4342
4342
  * @public
@@ -4451,7 +4451,7 @@ export interface GetAutomatedDiscoveryConfigurationResponse {
4451
4451
  * @public
4452
4452
  * <p>The current status of the automated sensitive data discovery configuration for the account. Possible values are: ENABLED, use the specified settings to perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account.</p>
4453
4453
  */
4454
- status?: AutomatedDiscoveryStatus | string;
4454
+ status?: AutomatedDiscoveryStatus;
4455
4455
  }
4456
4456
  /**
4457
4457
  * @public
@@ -4694,7 +4694,7 @@ export interface SortCriteria {
4694
4694
  * @public
4695
4695
  * <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>
4696
4696
  */
4697
- orderBy?: OrderBy | string;
4697
+ orderBy?: OrderBy;
4698
4698
  }
4699
4699
  /**
4700
4700
  * @public
@@ -4739,7 +4739,7 @@ export interface GetFindingsFilterResponse {
4739
4739
  * @public
4740
4740
  * <p>The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.</p>
4741
4741
  */
4742
- action?: FindingsFilterAction | string;
4742
+ action?: FindingsFilterAction;
4743
4743
  /**
4744
4744
  * @public
4745
4745
  * <p>The Amazon Resource Name (ARN) of the filter.</p>
@@ -4834,7 +4834,7 @@ export interface GetFindingStatisticsRequest {
4834
4834
  * @public
4835
4835
  * <p>The finding property to use to group the query results. Valid values are:</p> <ul><li><p>classificationDetails.jobId - The unique identifier for the classification job that produced the finding.</p></li> <li><p>resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to.</p></li> <li><p>severity.description - The severity level of the finding, such as High or Medium.</p></li> <li><p>type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.</p></li></ul>
4836
4836
  */
4837
- groupBy: GroupBy | string | undefined;
4837
+ groupBy: GroupBy | undefined;
4838
4838
  /**
4839
4839
  * @public
4840
4840
  * <p>The maximum number of items to include in each page of the response.</p>
@@ -4889,7 +4889,7 @@ export interface GetMacieSessionResponse {
4889
4889
  * @public
4890
4890
  * <p>The frequency with which Amazon Macie publishes updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly Amazon CloudWatch Events).</p>
4891
4891
  */
4892
- findingPublishingFrequency?: FindingPublishingFrequency | string;
4892
+ findingPublishingFrequency?: FindingPublishingFrequency;
4893
4893
  /**
4894
4894
  * @public
4895
4895
  * <p>The Amazon Resource Name (ARN) of the service-linked role that allows Amazon Macie to monitor and analyze data in Amazon Web Services resources for the account.</p>
@@ -4899,7 +4899,7 @@ export interface GetMacieSessionResponse {
4899
4899
  * @public
4900
4900
  * <p>The current status of the Amazon Macie account. Possible values are: PAUSED, the account is enabled but all Macie activities are suspended (paused) for the account; and, ENABLED, the account is enabled and all Macie activities are enabled for the account.</p>
4901
4901
  */
4902
- status?: MacieStatus | string;
4902
+ status?: MacieStatus;
4903
4903
  /**
4904
4904
  * @public
4905
4905
  * <p>The date and time, in UTC and extended ISO 8601 format, of the most recent change to the status of the Amazon Macie account.</p>
@@ -4969,7 +4969,7 @@ export interface GetMemberResponse {
4969
4969
  * @public
4970
4970
  * <p>The current status of the relationship between the account and the administrator account.</p>
4971
4971
  */
4972
- relationshipStatus?: RelationshipStatus | string;
4972
+ relationshipStatus?: RelationshipStatus;
4973
4973
  /**
4974
4974
  * @public
4975
4975
  * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.</p>
@@ -5098,7 +5098,7 @@ export interface RevealConfiguration {
5098
5098
  * @public
5099
5099
  * <p>The status of the configuration for the Amazon Macie account. In a request, valid values are: ENABLED, enable the configuration for the account; and, DISABLED, disable the configuration for the account. In a response, possible values are: ENABLED, the configuration is currently enabled for the account; and, DISABLED, the configuration is currently disabled for the account.</p>
5100
5100
  */
5101
- status: RevealStatus | string | undefined;
5101
+ status: RevealStatus | undefined;
5102
5102
  }
5103
5103
  /**
5104
5104
  * @public
@@ -5151,7 +5151,7 @@ export interface GetSensitiveDataOccurrencesResponse {
5151
5151
  * @public
5152
5152
  * <p>The status of the request to retrieve occurrences of sensitive data reported by the finding. Possible values are:</p> <ul><li><p>ERROR - An error occurred when Amazon Macie attempted to locate, retrieve, or encrypt the sensitive data. The error value indicates the nature of the error that occurred.</p></li> <li><p>PROCESSING - Macie is processing the request.</p></li> <li><p>SUCCESS - Macie successfully located, retrieved, and encrypted the sensitive data.</p></li></ul>
5153
5153
  */
5154
- status?: RevealRequestStatus | string;
5154
+ status?: RevealRequestStatus;
5155
5155
  }
5156
5156
  /**
5157
5157
  * @public
@@ -5183,12 +5183,12 @@ export interface GetSensitiveDataOccurrencesAvailabilityResponse {
5183
5183
  * @public
5184
5184
  * <p>Specifies whether occurrences of sensitive data can be retrieved for the finding. Possible values are: AVAILABLE, the sensitive data can be retrieved; and, UNAVAILABLE, the sensitive data can't be retrieved. If this value is UNAVAILABLE, the reasons array indicates why the data can't be retrieved.</p>
5185
5185
  */
5186
- code?: AvailabilityCode | string;
5186
+ code?: AvailabilityCode;
5187
5187
  /**
5188
5188
  * @public
5189
5189
  * <p>Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are:</p> <ul><li><p>INVALID_CLASSIFICATION_RESULT - Amazon Macie can't verify the location of the sensitive data to retrieve. There isn't a corresponding sensitive data discovery result for the finding. Or the sensitive data discovery result specified by the classificationDetails.detailedResultsLocation field of the finding isn't available, is malformed or corrupted, or uses an unsupported storage format.</p></li> <li><p>OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data.</p></li> <li><p>OBJECT_UNAVAILABLE - The affected S3 object isn't available. The object might have been renamed, moved, or deleted. Or the object was changed after Macie created the finding.</p></li> <li><p>UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding.</p></li> <li><p>UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data.</p></li></ul> <p>This value is null if sensitive data can be retrieved for the finding.</p>
5190
5190
  */
5191
- reasons?: (UnavailabilityReasonCode | string)[];
5191
+ reasons?: UnavailabilityReasonCode[];
5192
5192
  }
5193
5193
  /**
5194
5194
  * @public
@@ -5285,12 +5285,12 @@ export interface UsageStatisticsSortBy {
5285
5285
  * @public
5286
5286
  * <p>The field to sort the results by.</p>
5287
5287
  */
5288
- key?: UsageStatisticsSortKey | string;
5288
+ key?: UsageStatisticsSortKey;
5289
5289
  /**
5290
5290
  * @public
5291
5291
  * <p>The sort order to apply to the results, based on the value for the field specified by the key property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.</p>
5292
5292
  */
5293
- orderBy?: OrderBy | string;
5293
+ orderBy?: OrderBy;
5294
5294
  }
5295
5295
  /**
5296
5296
  * @public
@@ -5332,7 +5332,7 @@ export interface GetUsageStatisticsRequest {
5332
5332
  * @public
5333
5333
  * <p>The inclusive time period to query usage data for. Valid values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days. If you don't specify a value, Amazon Macie provides usage data for the preceding 30 days.</p>
5334
5334
  */
5335
- timeRange?: TimeRange | string;
5335
+ timeRange?: TimeRange;
5336
5336
  }
5337
5337
  /**
5338
5338
  * @public
@@ -5352,7 +5352,7 @@ export interface GetUsageStatisticsResponse {
5352
5352
  * @public
5353
5353
  * <p>The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.</p>
5354
5354
  */
5355
- timeRange?: TimeRange | string;
5355
+ timeRange?: TimeRange;
5356
5356
  }
5357
5357
  /**
5358
5358
  * @public
@@ -5372,7 +5372,7 @@ export interface GetUsageTotalsResponse {
5372
5372
  * @public
5373
5373
  * <p>The inclusive time period that the usage data applies to. Possible values are: MONTH_TO_DATE, for the current calendar month to date; and, PAST_30_DAYS, for the preceding 30 days.</p>
5374
5374
  */
5375
- timeRange?: TimeRange | string;
5375
+ timeRange?: TimeRange;
5376
5376
  /**
5377
5377
  * @public
5378
5378
  * <p>An array of objects that contains the results of the query. Each object contains the data for a specific usage metric.</p>
@@ -5448,12 +5448,12 @@ export interface ListJobsSortCriteria {
5448
5448
  * @public
5449
5449
  * <p>The property to sort the results by.</p>
5450
5450
  */
5451
- attributeName?: ListJobsSortAttributeName | string;
5451
+ attributeName?: ListJobsSortAttributeName;
5452
5452
  /**
5453
5453
  * @public
5454
5454
  * <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>
5455
5455
  */
5456
- orderBy?: OrderBy | string;
5456
+ orderBy?: OrderBy;
5457
5457
  }
5458
5458
  /**
5459
5459
  * @public