@aws-sdk/client-macie2 3.160.0 → 3.163.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/Macie2.js +75 -0
  3. package/dist-cjs/commands/CreateAllowListCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteAllowListCommand.js +36 -0
  5. package/dist-cjs/commands/GetAllowListCommand.js +36 -0
  6. package/dist-cjs/commands/ListAllowListsCommand.js +36 -0
  7. package/dist-cjs/commands/UntagResourceCommand.js +2 -1
  8. package/dist-cjs/commands/UpdateAllowListCommand.js +36 -0
  9. package/dist-cjs/commands/UpdateClassificationJobCommand.js +3 -3
  10. package/dist-cjs/commands/UpdateFindingsFilterCommand.js +3 -3
  11. package/dist-cjs/commands/UpdateMacieSessionCommand.js +3 -3
  12. package/dist-cjs/commands/UpdateMemberSessionCommand.js +3 -3
  13. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  14. package/dist-cjs/commands/UpdateRevealConfigurationCommand.js +3 -3
  15. package/dist-cjs/commands/index.js +5 -0
  16. package/dist-cjs/endpoints.js +1 -0
  17. package/dist-cjs/models/index.js +1 -0
  18. package/dist-cjs/models/models_0.js +65 -58
  19. package/dist-cjs/models/models_1.js +63 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +432 -3
  21. package/dist-es/Macie2.js +75 -0
  22. package/dist-es/commands/CreateAllowListCommand.js +39 -0
  23. package/dist-es/commands/DeleteAllowListCommand.js +39 -0
  24. package/dist-es/commands/GetAllowListCommand.js +39 -0
  25. package/dist-es/commands/ListAllowListsCommand.js +39 -0
  26. package/dist-es/commands/UntagResourceCommand.js +2 -1
  27. package/dist-es/commands/UpdateAllowListCommand.js +39 -0
  28. package/dist-es/commands/UpdateClassificationJobCommand.js +1 -1
  29. package/dist-es/commands/UpdateFindingsFilterCommand.js +1 -1
  30. package/dist-es/commands/UpdateMacieSessionCommand.js +1 -1
  31. package/dist-es/commands/UpdateMemberSessionCommand.js +1 -1
  32. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +1 -1
  33. package/dist-es/commands/UpdateRevealConfigurationCommand.js +1 -1
  34. package/dist-es/commands/index.js +5 -0
  35. package/dist-es/endpoints.js +1 -0
  36. package/dist-es/models/index.js +1 -0
  37. package/dist-es/models/models_0.js +23 -13
  38. package/dist-es/models/models_1.js +16 -0
  39. package/dist-es/protocols/Aws_restJson1.js +567 -1
  40. package/dist-types/Macie2.d.ts +42 -7
  41. package/dist-types/Macie2Client.d.ts +7 -2
  42. package/dist-types/commands/CreateAllowListCommand.d.ts +35 -0
  43. package/dist-types/commands/DeleteAllowListCommand.d.ts +35 -0
  44. package/dist-types/commands/GetAllowListCommand.d.ts +35 -0
  45. package/dist-types/commands/GetRevealConfigurationCommand.d.ts +1 -1
  46. package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +1 -1
  47. package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +1 -1
  48. package/dist-types/commands/ListAllowListsCommand.d.ts +35 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  50. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -2
  52. package/dist-types/commands/UpdateAllowListCommand.d.ts +35 -0
  53. package/dist-types/commands/UpdateClassificationJobCommand.d.ts +1 -1
  54. package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateMacieSessionCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateMemberSessionCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +2 -2
  59. package/dist-types/commands/index.d.ts +5 -0
  60. package/dist-types/models/index.d.ts +1 -0
  61. package/dist-types/models/models_0.d.ts +268 -176
  62. package/dist-types/models/models_1.d.ts +187 -0
  63. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  64. package/dist-types/ts3.4/Macie2.d.ts +25 -0
  65. package/dist-types/ts3.4/Macie2Client.d.ts +7 -2
  66. package/dist-types/ts3.4/commands/CreateAllowListCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/DeleteAllowListCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/GetAllowListCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListAllowListsCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -1
  71. package/dist-types/ts3.4/commands/UpdateAllowListCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/UpdateClassificationJobCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdateFindingsFilterCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdateMacieSessionCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdateMemberSessionCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateRevealConfigurationCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  79. package/dist-types/ts3.4/models/index.d.ts +1 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +136 -88
  81. package/dist-types/ts3.4/models/models_1.d.ts +109 -0
  82. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
  83. package/package.json +27 -27
@@ -17,6 +17,35 @@ export interface AdminAccount {
17
17
  */
18
18
  status?: AdminStatus | string;
19
19
  }
20
+ /**
21
+ * <p>Provides a subset of information about an allow list.</p>
22
+ */
23
+ export interface AllowListSummary {
24
+ /**
25
+ * <p>The Amazon Resource Name (ARN) of the allow list.</p>
26
+ */
27
+ arn?: string;
28
+ /**
29
+ * <p>The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.</p>
30
+ */
31
+ createdAt?: Date;
32
+ /**
33
+ * <p>The custom description of the allow list.</p>
34
+ */
35
+ description?: string;
36
+ /**
37
+ * <p>The unique identifier for the allow list.</p>
38
+ */
39
+ id?: string;
40
+ /**
41
+ * <p>The custom name of the allow list.</p>
42
+ */
43
+ name?: string;
44
+ /**
45
+ * <p>The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.</p>
46
+ */
47
+ updatedAt?: Date;
48
+ }
20
49
  /**
21
50
  * <p>Provides information about a custom data identifier.</p>
22
51
  */
@@ -568,11 +597,11 @@ export interface _Record {
568
597
  recordIndex?: number;
569
598
  }
570
599
  /**
571
- * <p>Specifies the location of 1-15 occurrences of sensitive data that was detected by a managed data identifier or a custom data identifier and produced a sensitive data finding. Depending on the file or storage format of the affected S3 object, you can optionally retrieve (reveal) sample occurrences of the sensitive data that was detected.</p>
600
+ * <p>Specifies the location of 1-15 occurrences of sensitive data that was detected by a managed data identifier or a custom data identifier and produced a sensitive data finding.</p>
572
601
  */
573
602
  export interface Occurrences {
574
603
  /**
575
- * <p>An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.</p><p>Each Cell object specifies a cell or field that contains the sensitive data.</p>
604
+ * <p>An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. This value is null for all other types of files.</p> <p>Each Cell object specifies a cell or field that contains the sensitive data.</p>
576
605
  */
577
606
  cells?: Cell[];
578
607
  /**
@@ -584,7 +613,7 @@ export interface Occurrences {
584
613
  */
585
614
  offsetRanges?: Range[];
586
615
  /**
587
- * <p>An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.</p><p>Each Page object specifies a page that contains the sensitive data.</p>
616
+ * <p>An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. This value is null for all other types of files.</p> <p>Each Page object specifies a page that contains the sensitive data.</p>
588
617
  */
589
618
  pages?: Page[];
590
619
  /**
@@ -1368,7 +1397,7 @@ export interface FindingsFilterListItem {
1368
1397
  */
1369
1398
  name?: string;
1370
1399
  /**
1371
- * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.</p>
1400
+ * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.</p>
1372
1401
  */
1373
1402
  tags?: Record<string, string>;
1374
1403
  }
@@ -1744,7 +1773,7 @@ export interface Member {
1744
1773
  */
1745
1774
  relationshipStatus?: RelationshipStatus | string;
1746
1775
  /**
1747
- * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.</p>
1776
+ * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.</p>
1748
1777
  */
1749
1778
  tags?: Record<string, string>;
1750
1779
  /**
@@ -2066,6 +2095,55 @@ export interface AccountDetail {
2066
2095
  */
2067
2096
  email: string | undefined;
2068
2097
  }
2098
+ /**
2099
+ * <p>Provides information about an S3 object that lists specific text to ignore.</p>
2100
+ */
2101
+ export interface S3WordsList {
2102
+ /**
2103
+ * <p>The full name of the S3 bucket that contains the object.</p>
2104
+ */
2105
+ bucketName: string | undefined;
2106
+ /**
2107
+ * <p>The full name (key) of the object.</p>
2108
+ */
2109
+ objectKey: string | undefined;
2110
+ }
2111
+ /**
2112
+ * <p>Specifies the criteria for an allow list. The criteria must specify a regular expression (regex) or an S3 object (s3WordsList). It can't specify both.</p>
2113
+ */
2114
+ export interface AllowListCriteria {
2115
+ /**
2116
+ * <p>The regular expression (<i>regex</i>) that defines the text pattern to ignore. The expression can contain as many as 512 characters.</p>
2117
+ */
2118
+ regex?: string;
2119
+ /**
2120
+ * <p>The location and name of the S3 object that lists specific text to ignore.</p>
2121
+ */
2122
+ s3WordsList?: S3WordsList;
2123
+ }
2124
+ export declare enum AllowListStatusCode {
2125
+ OK = "OK",
2126
+ S3_OBJECT_ACCESS_DENIED = "S3_OBJECT_ACCESS_DENIED",
2127
+ S3_OBJECT_EMPTY = "S3_OBJECT_EMPTY",
2128
+ S3_OBJECT_NOT_FOUND = "S3_OBJECT_NOT_FOUND",
2129
+ S3_OBJECT_OVERSIZE = "S3_OBJECT_OVERSIZE",
2130
+ S3_THROTTLED = "S3_THROTTLED",
2131
+ S3_USER_ACCESS_DENIED = "S3_USER_ACCESS_DENIED",
2132
+ UNKNOWN_ERROR = "UNKNOWN_ERROR"
2133
+ }
2134
+ /**
2135
+ * <p>Provides information about the current status of an allow list, which indicates whether Amazon Macie can access and use the list's criteria.</p>
2136
+ */
2137
+ export interface AllowListStatus {
2138
+ /**
2139
+ * <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>
2140
+ */
2141
+ code: AllowListStatusCode | string | undefined;
2142
+ /**
2143
+ * <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>
2144
+ */
2145
+ description?: string;
2146
+ }
2069
2147
  export declare enum AvailabilityCode {
2070
2148
  AVAILABLE = "AVAILABLE",
2071
2149
  UNAVAILABLE = "UNAVAILABLE"
@@ -2242,6 +2320,38 @@ export interface ClassificationExportConfiguration {
2242
2320
  */
2243
2321
  s3Destination?: S3Destination;
2244
2322
  }
2323
+ export interface CreateAllowListRequest {
2324
+ /**
2325
+ * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
2326
+ */
2327
+ clientToken?: string;
2328
+ /**
2329
+ * <p>The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.</p>
2330
+ */
2331
+ criteria: AllowListCriteria | undefined;
2332
+ /**
2333
+ * <p>A custom description of the allow list. The description can contain as many as 512 characters.</p>
2334
+ */
2335
+ description?: string;
2336
+ /**
2337
+ * <p>A custom name for the allow list. The name can contain as many as 128 characters.</p>
2338
+ */
2339
+ name: string | undefined;
2340
+ /**
2341
+ * <p>A map of key-value pairs that specifies the tags to associate with the allow list.</p> <p>An allow list can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>
2342
+ */
2343
+ tags?: Record<string, string>;
2344
+ }
2345
+ export interface CreateAllowListResponse {
2346
+ /**
2347
+ * <p>The Amazon Resource Name (ARN) of the allow list.</p>
2348
+ */
2349
+ arn?: string;
2350
+ /**
2351
+ * <p>The unique identifier for the allow list.</p>
2352
+ */
2353
+ id?: string;
2354
+ }
2245
2355
  export declare enum ManagedDataIdentifierSelector {
2246
2356
  ALL = "ALL",
2247
2357
  EXCLUDE = "EXCLUDE",
@@ -2337,6 +2447,10 @@ export interface JobScheduleFrequency {
2337
2447
  weeklySchedule?: WeeklySchedule;
2338
2448
  }
2339
2449
  export interface CreateClassificationJobRequest {
2450
+ /**
2451
+ * <p>An array of unique identifiers, one for each allow list for the job to use when it analyzes data.</p>
2452
+ */
2453
+ allowListIds?: string[];
2340
2454
  /**
2341
2455
  * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
2342
2456
  */
@@ -2350,7 +2464,7 @@ export interface CreateClassificationJobRequest {
2350
2464
  */
2351
2465
  description?: string;
2352
2466
  /**
2353
- * <p>For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.</p><p>If you configure the job to run only once, don't specify a value for this property.</p>
2467
+ * <p>For a recurring job, specifies whether to analyze all existing, eligible objects immediately after the job is created (true). To analyze only those objects that are created or changed after you create the job and before the job's first scheduled run, set this value to false.</p> <p>If you configure the job to run only once, don't specify a value for this property.</p>
2354
2468
  */
2355
2469
  initialRun?: boolean;
2356
2470
  /**
@@ -2358,7 +2472,7 @@ export interface CreateClassificationJobRequest {
2358
2472
  */
2359
2473
  jobType: JobType | string | undefined;
2360
2474
  /**
2361
- * <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>
2475
+ * <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>
2362
2476
  */
2363
2477
  managedDataIdentifierIds?: string[];
2364
2478
  /**
@@ -2596,9 +2710,21 @@ export interface DeclineInvitationsResponse {
2596
2710
  */
2597
2711
  unprocessedAccounts?: UnprocessedAccount[];
2598
2712
  }
2713
+ export interface DeleteAllowListRequest {
2714
+ /**
2715
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
2716
+ */
2717
+ id: string | undefined;
2718
+ /**
2719
+ * <p>Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list.</p> <p>When you try to delete an allow list, Amazon Macie checks for classification jobs that use the list and have a status other than COMPLETE or CANCELLED. By default, Macie rejects your request if any jobs meet these criteria. To skip these checks and delete the list, set this value to true. To delete the list only if no active jobs are configured to use it, set this value to false.</p>
2720
+ */
2721
+ ignoreJobChecks?: string;
2722
+ }
2723
+ export interface DeleteAllowListResponse {
2724
+ }
2599
2725
  export interface DeleteCustomDataIdentifierRequest {
2600
2726
  /**
2601
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
2727
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
2602
2728
  */
2603
2729
  id: string | undefined;
2604
2730
  }
@@ -2606,7 +2732,7 @@ export interface DeleteCustomDataIdentifierResponse {
2606
2732
  }
2607
2733
  export interface DeleteFindingsFilterRequest {
2608
2734
  /**
2609
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
2735
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
2610
2736
  */
2611
2737
  id: string | undefined;
2612
2738
  }
@@ -2626,7 +2752,7 @@ export interface DeleteInvitationsResponse {
2626
2752
  }
2627
2753
  export interface DeleteMemberRequest {
2628
2754
  /**
2629
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
2755
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
2630
2756
  */
2631
2757
  id: string | undefined;
2632
2758
  }
@@ -2680,6 +2806,10 @@ export interface Statistics {
2680
2806
  numberOfRuns?: number;
2681
2807
  }
2682
2808
  export interface DescribeClassificationJobResponse {
2809
+ /**
2810
+ * <p>An array of unique identifiers, one for each allow list that the job uses when it analyzes data.</p>
2811
+ */
2812
+ allowListIds?: string[];
2683
2813
  /**
2684
2814
  * <p>The token that was provided to ensure the idempotency of the request to create the job.</p>
2685
2815
  */
@@ -2689,7 +2819,7 @@ export interface DescribeClassificationJobResponse {
2689
2819
  */
2690
2820
  createdAt?: Date;
2691
2821
  /**
2692
- * <p>An array of unique identifiers, one for each custom data identifier that the job uses to analyze data. This value is null if the job uses only managed data identifiers to analyze data.</p>
2822
+ * <p>An array of unique identifiers, one for each custom data identifier that the job uses when it analyzes data. This value is null if the job uses only managed data identifiers to analyze data.</p>
2693
2823
  */
2694
2824
  customDataIdentifierIds?: string[];
2695
2825
  /**
@@ -2795,7 +2925,7 @@ export interface DisassociateFromMasterAccountResponse {
2795
2925
  }
2796
2926
  export interface DisassociateMemberRequest {
2797
2927
  /**
2798
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
2928
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
2799
2929
  */
2800
2930
  id: string | undefined;
2801
2931
  }
@@ -2816,7 +2946,7 @@ export interface EnableMacieRequest {
2816
2946
  */
2817
2947
  clientToken?: string;
2818
2948
  /**
2819
- * <p>Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).</p>
2949
+ * <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>
2820
2950
  */
2821
2951
  findingPublishingFrequency?: FindingPublishingFrequency | string;
2822
2952
  /**
@@ -2863,6 +2993,50 @@ export interface GetAdministratorAccountResponse {
2863
2993
  */
2864
2994
  administrator?: Invitation;
2865
2995
  }
2996
+ export interface GetAllowListRequest {
2997
+ /**
2998
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
2999
+ */
3000
+ id: string | undefined;
3001
+ }
3002
+ export interface GetAllowListResponse {
3003
+ /**
3004
+ * <p>The Amazon Resource Name (ARN) of the allow list.</p>
3005
+ */
3006
+ arn?: string;
3007
+ /**
3008
+ * <p>The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.</p>
3009
+ */
3010
+ createdAt?: Date;
3011
+ /**
3012
+ * <p>The criteria that specify the text or text pattern to ignore. The criteria can be the location and name of an S3 object that lists specific text to ignore (s3WordsList), or a regular expression (regex) that defines a text pattern to ignore.</p>
3013
+ */
3014
+ criteria?: AllowListCriteria;
3015
+ /**
3016
+ * <p>The custom description of the allow list.</p>
3017
+ */
3018
+ description?: string;
3019
+ /**
3020
+ * <p>The unique identifier for the allow list.</p>
3021
+ */
3022
+ id?: string;
3023
+ /**
3024
+ * <p>The custom name of the allow list.</p>
3025
+ */
3026
+ name?: string;
3027
+ /**
3028
+ * <p>The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.</p>
3029
+ */
3030
+ status?: AllowListStatus;
3031
+ /**
3032
+ * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the allow list.</p>
3033
+ */
3034
+ tags?: Record<string, string>;
3035
+ /**
3036
+ * <p>The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.</p>
3037
+ */
3038
+ updatedAt?: Date;
3039
+ }
2866
3040
  export interface GetBucketStatisticsRequest {
2867
3041
  /**
2868
3042
  * <p>The unique identifier for the Amazon Web Services account.</p>
@@ -2933,7 +3107,7 @@ export interface GetClassificationExportConfigurationResponse {
2933
3107
  }
2934
3108
  export interface GetCustomDataIdentifierRequest {
2935
3109
  /**
2936
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
3110
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
2937
3111
  */
2938
3112
  id: string | undefined;
2939
3113
  }
@@ -3018,7 +3192,7 @@ export interface GetFindingsResponse {
3018
3192
  }
3019
3193
  export interface GetFindingsFilterRequest {
3020
3194
  /**
3021
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
3195
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
3022
3196
  */
3023
3197
  id: string | undefined;
3024
3198
  }
@@ -3052,7 +3226,7 @@ export interface GetFindingsFilterResponse {
3052
3226
  */
3053
3227
  position?: number;
3054
3228
  /**
3055
- * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.</p>
3229
+ * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.</p>
3056
3230
  */
3057
3231
  tags?: Record<string, string>;
3058
3232
  }
@@ -3123,7 +3297,7 @@ export interface GetMacieSessionResponse {
3123
3297
  */
3124
3298
  createdAt?: Date;
3125
3299
  /**
3126
- * <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 called Amazon CloudWatch Events).</p>
3300
+ * <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>
3127
3301
  */
3128
3302
  findingPublishingFrequency?: FindingPublishingFrequency | string;
3129
3303
  /**
@@ -3149,7 +3323,7 @@ export interface GetMasterAccountResponse {
3149
3323
  }
3150
3324
  export interface GetMemberRequest {
3151
3325
  /**
3152
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
3326
+ * <p>The unique identifier for the Amazon Macie resource that the request applies to.</p>
3153
3327
  */
3154
3328
  id: string | undefined;
3155
3329
  }
@@ -3183,7 +3357,7 @@ export interface GetMemberResponse {
3183
3357
  */
3184
3358
  relationshipStatus?: RelationshipStatus | string;
3185
3359
  /**
3186
- * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.</p>
3360
+ * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.</p>
3187
3361
  */
3188
3362
  tags?: Record<string, string>;
3189
3363
  /**
@@ -3198,7 +3372,7 @@ export declare enum RevealStatus {
3198
3372
  ENABLED = "ENABLED"
3199
3373
  }
3200
3374
  /**
3201
- * <p>Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. When you enable the configuration for the first time, your request must specify an AWS Key Management Service (AWS KMS) key. Otherwise, an error occurs. Macie uses the specified key to encrypt the sensitive data that you retrieve.</p>
3375
+ * <p>Specifies the configuration settings for retrieving occurrences of sensitive data reported by findings, and the status of the configuration for an Amazon Macie account. When you enable the configuration for the first time, your request must specify an Key Management Service (KMS) key. Otherwise, an error occurs. Macie uses the specified key to encrypt the sensitive data that you retrieve.</p>
3202
3376
  */
3203
3377
  export interface RevealConfiguration {
3204
3378
  /**
@@ -3264,7 +3438,7 @@ export interface GetSensitiveDataOccurrencesAvailabilityResponse {
3264
3438
  */
3265
3439
  code?: AvailabilityCode | string;
3266
3440
  /**
3267
- * <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 Amazon 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>
3441
+ * <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>
3268
3442
  */
3269
3443
  reasons?: (UnavailabilityReasonCode | string)[];
3270
3444
  }
@@ -3343,6 +3517,26 @@ export interface GetUsageTotalsResponse {
3343
3517
  */
3344
3518
  usageTotals?: UsageTotal[];
3345
3519
  }
3520
+ export interface ListAllowListsRequest {
3521
+ /**
3522
+ * <p>The maximum number of items to include in each page of a paginated response.</p>
3523
+ */
3524
+ maxResults?: number;
3525
+ /**
3526
+ * <p>The nextToken string that specifies which page of results to return in a paginated response.</p>
3527
+ */
3528
+ nextToken?: string;
3529
+ }
3530
+ export interface ListAllowListsResponse {
3531
+ /**
3532
+ * <p>An array of objects, one for each allow list.</p>
3533
+ */
3534
+ allowLists?: AllowListSummary[];
3535
+ /**
3536
+ * <p>The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.</p>
3537
+ */
3538
+ nextToken?: string;
3539
+ }
3346
3540
  /**
3347
3541
  * <p>Specifies criteria for filtering the results of a request for information about classification jobs.</p>
3348
3542
  */
@@ -3553,13 +3747,13 @@ export interface ListOrganizationAdminAccountsResponse {
3553
3747
  }
3554
3748
  export interface ListTagsForResourceRequest {
3555
3749
  /**
3556
- * <p>The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.</p>
3750
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
3557
3751
  */
3558
3752
  resourceArn: string | undefined;
3559
3753
  }
3560
3754
  export interface ListTagsForResourceResponse {
3561
3755
  /**
3562
- * <p>A map of key-value pairs that identifies the tags (keys and values) that are associated with the resource.</p>
3756
+ * <p>A map of key-value pairs that specifies which tags (keys and values) are associated with the resource.</p>
3563
3757
  */
3564
3758
  tags?: Record<string, string>;
3565
3759
  }
@@ -3658,7 +3852,7 @@ export interface SearchResourcesResponse {
3658
3852
  }
3659
3853
  export interface TagResourceRequest {
3660
3854
  /**
3661
- * <p>The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.</p>
3855
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
3662
3856
  */
3663
3857
  resourceArn: string | undefined;
3664
3858
  /**
@@ -3698,116 +3892,22 @@ export interface TestCustomDataIdentifierResponse {
3698
3892
  }
3699
3893
  export interface UntagResourceRequest {
3700
3894
  /**
3701
- * <p>The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.</p>
3895
+ * <p>The Amazon Resource Name (ARN) of the resource.</p>
3702
3896
  */
3703
3897
  resourceArn: string | undefined;
3704
3898
  /**
3705
- * <p>One or more tags (keys) to remove from the resource. In an HTTP request to remove multiple tags, append the tagKeys parameter and argument for each tag to remove, and separate them with an ampersand (&amp;).</p>
3899
+ * <p>One or more tags (keys) to remove from the resource. In an HTTP request to remove multiple tags, append the tagKeys parameter and argument for each tag to remove, separated by an ampersand (&amp;).</p>
3706
3900
  */
3707
3901
  tagKeys: string[] | undefined;
3708
3902
  }
3709
- export interface UntagResourceResponse {
3710
- }
3711
- export interface UpdateClassificationJobRequest {
3712
- /**
3713
- * <p>The unique identifier for the classification job.</p>
3714
- */
3715
- jobId: string | undefined;
3716
- /**
3717
- * <p>The new status for the job. Valid values are:</p> <ul><li><p>CANCELLED - Stops the job permanently and cancels it. This value is valid only if the job's current status is IDLE, PAUSED, RUNNING, or USER_PAUSED.</p> <p>If you specify this value and the job's current status is RUNNING, Amazon Macie immediately begins to stop all processing tasks for the job. You can't resume or restart a job after you cancel it.</p></li> <li><p>RUNNING - Resumes the job. This value is valid only if the job's current status is USER_PAUSED.</p> <p>If you paused the job while it was actively running and you specify this value less than 30 days after you paused the job, Macie immediately resumes processing from the point where you paused the job. Otherwise, Macie resumes the job according to the schedule and other settings for the job.</p></li> <li><p>USER_PAUSED - Pauses the job temporarily. This value is valid only if the job's current status is IDLE, PAUSED, or RUNNING. If you specify this value and the job's current status is RUNNING, Macie immediately begins to pause all processing tasks for the job.</p> <p>If you pause a one-time job and you don't resume it within 30 days, the job expires and Macie cancels the job. If you pause a recurring job when its status is RUNNING and you don't resume it within 30 days, the job run expires and Macie cancels the run. To check the expiration date, refer to the UserPausedDetails.jobExpiresAt property.</p></li></ul>
3718
- */
3719
- jobStatus: JobStatus | string | undefined;
3720
- }
3721
- export interface UpdateClassificationJobResponse {
3722
- }
3723
- export interface UpdateFindingsFilterRequest {
3724
- /**
3725
- * <p>The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.</p>
3726
- */
3727
- action?: FindingsFilterAction | string;
3728
- /**
3729
- * <p>A custom description of the filter. The description can contain as many as 512 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see this description, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3730
- */
3731
- description?: string;
3732
- /**
3733
- * <p>The criteria to use to filter findings.</p>
3734
- */
3735
- findingCriteria?: FindingCriteria;
3736
- /**
3737
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
3738
- */
3739
- id: string | undefined;
3740
- /**
3741
- * <p>A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.</p> <p>We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.</p>
3742
- */
3743
- name?: string;
3744
- /**
3745
- * <p>The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.</p>
3746
- */
3747
- position?: number;
3748
- /**
3749
- * <p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>
3750
- */
3751
- clientToken?: string;
3752
- }
3753
- export interface UpdateFindingsFilterResponse {
3754
- /**
3755
- * <p>The Amazon Resource Name (ARN) of the filter that was updated.</p>
3756
- */
3757
- arn?: string;
3758
- /**
3759
- * <p>The unique identifier for the filter that was updated.</p>
3760
- */
3761
- id?: string;
3762
- }
3763
- export interface UpdateMacieSessionRequest {
3764
- /**
3765
- * <p>Specifies how often to publish updates to policy findings for the account. This includes publishing updates to Security Hub and Amazon EventBridge (formerly called Amazon CloudWatch Events).</p>
3766
- */
3767
- findingPublishingFrequency?: FindingPublishingFrequency | string;
3768
- /**
3769
- * <p>Specifies a new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.</p>
3770
- */
3771
- status?: MacieStatus | string;
3772
- }
3773
- export interface UpdateMacieSessionResponse {
3774
- }
3775
- export interface UpdateMemberSessionRequest {
3776
- /**
3777
- * <p>The unique identifier for the Amazon Macie resource or account that the request applies to.</p>
3778
- */
3779
- id: string | undefined;
3780
- /**
3781
- * <p>Specifies the new status for the account. Valid values are: ENABLED, resume all Amazon Macie activities for the account; and, PAUSED, suspend all Macie activities for the account.</p>
3782
- */
3783
- status: MacieStatus | string | undefined;
3784
- }
3785
- export interface UpdateMemberSessionResponse {
3786
- }
3787
- export interface UpdateOrganizationConfigurationRequest {
3788
- /**
3789
- * <p>Specifies whether to enable Amazon Macie automatically for an account when the account is added to the organization in Organizations.</p>
3790
- */
3791
- autoEnable: boolean | undefined;
3792
- }
3793
- export interface UpdateOrganizationConfigurationResponse {
3794
- }
3795
- export interface UpdateRevealConfigurationRequest {
3796
- /**
3797
- * <p>The new configuration settings and the status of the configuration for the account.</p>
3798
- */
3799
- configuration: RevealConfiguration | undefined;
3800
- }
3801
- export interface UpdateRevealConfigurationResponse {
3802
- /**
3803
- * <p>The new configuration settings and the status of the configuration for the account.</p>
3804
- */
3805
- configuration?: RevealConfiguration;
3806
- }
3807
3903
  /**
3808
3904
  * @internal
3809
3905
  */
3810
3906
  export declare const AdminAccountFilterSensitiveLog: (obj: AdminAccount) => any;
3907
+ /**
3908
+ * @internal
3909
+ */
3910
+ export declare const AllowListSummaryFilterSensitiveLog: (obj: AllowListSummary) => any;
3811
3911
  /**
3812
3912
  * @internal
3813
3913
  */
@@ -4172,6 +4272,18 @@ export declare const AcceptInvitationResponseFilterSensitiveLog: (obj: AcceptInv
4172
4272
  * @internal
4173
4273
  */
4174
4274
  export declare const AccountDetailFilterSensitiveLog: (obj: AccountDetail) => any;
4275
+ /**
4276
+ * @internal
4277
+ */
4278
+ export declare const S3WordsListFilterSensitiveLog: (obj: S3WordsList) => any;
4279
+ /**
4280
+ * @internal
4281
+ */
4282
+ export declare const AllowListCriteriaFilterSensitiveLog: (obj: AllowListCriteria) => any;
4283
+ /**
4284
+ * @internal
4285
+ */
4286
+ export declare const AllowListStatusFilterSensitiveLog: (obj: AllowListStatus) => any;
4175
4287
  /**
4176
4288
  * @internal
4177
4289
  */
@@ -4212,6 +4324,14 @@ export declare const S3DestinationFilterSensitiveLog: (obj: S3Destination) => an
4212
4324
  * @internal
4213
4325
  */
4214
4326
  export declare const ClassificationExportConfigurationFilterSensitiveLog: (obj: ClassificationExportConfiguration) => any;
4327
+ /**
4328
+ * @internal
4329
+ */
4330
+ export declare const CreateAllowListRequestFilterSensitiveLog: (obj: CreateAllowListRequest) => any;
4331
+ /**
4332
+ * @internal
4333
+ */
4334
+ export declare const CreateAllowListResponseFilterSensitiveLog: (obj: CreateAllowListResponse) => any;
4215
4335
  /**
4216
4336
  * @internal
4217
4337
  */
@@ -4308,6 +4428,14 @@ export declare const DeclineInvitationsRequestFilterSensitiveLog: (obj: DeclineI
4308
4428
  * @internal
4309
4429
  */
4310
4430
  export declare const DeclineInvitationsResponseFilterSensitiveLog: (obj: DeclineInvitationsResponse) => any;
4431
+ /**
4432
+ * @internal
4433
+ */
4434
+ export declare const DeleteAllowListRequestFilterSensitiveLog: (obj: DeleteAllowListRequest) => any;
4435
+ /**
4436
+ * @internal
4437
+ */
4438
+ export declare const DeleteAllowListResponseFilterSensitiveLog: (obj: DeleteAllowListResponse) => any;
4311
4439
  /**
4312
4440
  * @internal
4313
4441
  */
@@ -4436,6 +4564,14 @@ export declare const GetAdministratorAccountRequestFilterSensitiveLog: (obj: Get
4436
4564
  * @internal
4437
4565
  */
4438
4566
  export declare const GetAdministratorAccountResponseFilterSensitiveLog: (obj: GetAdministratorAccountResponse) => any;
4567
+ /**
4568
+ * @internal
4569
+ */
4570
+ export declare const GetAllowListRequestFilterSensitiveLog: (obj: GetAllowListRequest) => any;
4571
+ /**
4572
+ * @internal
4573
+ */
4574
+ export declare const GetAllowListResponseFilterSensitiveLog: (obj: GetAllowListResponse) => any;
4439
4575
  /**
4440
4576
  * @internal
4441
4577
  */
@@ -4580,6 +4716,14 @@ export declare const GetUsageTotalsRequestFilterSensitiveLog: (obj: GetUsageTota
4580
4716
  * @internal
4581
4717
  */
4582
4718
  export declare const GetUsageTotalsResponseFilterSensitiveLog: (obj: GetUsageTotalsResponse) => any;
4719
+ /**
4720
+ * @internal
4721
+ */
4722
+ export declare const ListAllowListsRequestFilterSensitiveLog: (obj: ListAllowListsRequest) => any;
4723
+ /**
4724
+ * @internal
4725
+ */
4726
+ export declare const ListAllowListsResponseFilterSensitiveLog: (obj: ListAllowListsResponse) => any;
4583
4727
  /**
4584
4728
  * @internal
4585
4729
  */
@@ -4716,55 +4860,3 @@ export declare const TestCustomDataIdentifierResponseFilterSensitiveLog: (obj: T
4716
4860
  * @internal
4717
4861
  */
4718
4862
  export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
4719
- /**
4720
- * @internal
4721
- */
4722
- export declare const UntagResourceResponseFilterSensitiveLog: (obj: UntagResourceResponse) => any;
4723
- /**
4724
- * @internal
4725
- */
4726
- export declare const UpdateClassificationJobRequestFilterSensitiveLog: (obj: UpdateClassificationJobRequest) => any;
4727
- /**
4728
- * @internal
4729
- */
4730
- export declare const UpdateClassificationJobResponseFilterSensitiveLog: (obj: UpdateClassificationJobResponse) => any;
4731
- /**
4732
- * @internal
4733
- */
4734
- export declare const UpdateFindingsFilterRequestFilterSensitiveLog: (obj: UpdateFindingsFilterRequest) => any;
4735
- /**
4736
- * @internal
4737
- */
4738
- export declare const UpdateFindingsFilterResponseFilterSensitiveLog: (obj: UpdateFindingsFilterResponse) => any;
4739
- /**
4740
- * @internal
4741
- */
4742
- export declare const UpdateMacieSessionRequestFilterSensitiveLog: (obj: UpdateMacieSessionRequest) => any;
4743
- /**
4744
- * @internal
4745
- */
4746
- export declare const UpdateMacieSessionResponseFilterSensitiveLog: (obj: UpdateMacieSessionResponse) => any;
4747
- /**
4748
- * @internal
4749
- */
4750
- export declare const UpdateMemberSessionRequestFilterSensitiveLog: (obj: UpdateMemberSessionRequest) => any;
4751
- /**
4752
- * @internal
4753
- */
4754
- export declare const UpdateMemberSessionResponseFilterSensitiveLog: (obj: UpdateMemberSessionResponse) => any;
4755
- /**
4756
- * @internal
4757
- */
4758
- export declare const UpdateOrganizationConfigurationRequestFilterSensitiveLog: (obj: UpdateOrganizationConfigurationRequest) => any;
4759
- /**
4760
- * @internal
4761
- */
4762
- export declare const UpdateOrganizationConfigurationResponseFilterSensitiveLog: (obj: UpdateOrganizationConfigurationResponse) => any;
4763
- /**
4764
- * @internal
4765
- */
4766
- export declare const UpdateRevealConfigurationRequestFilterSensitiveLog: (obj: UpdateRevealConfigurationRequest) => any;
4767
- /**
4768
- * @internal
4769
- */
4770
- export declare const UpdateRevealConfigurationResponseFilterSensitiveLog: (obj: UpdateRevealConfigurationResponse) => any;