cdk-comprehend-s3olap 2.0.83 → 2.0.86

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 (50) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-comprehend-s3olap.js +2 -2
  3. package/lib/comprehend-lambdas.js +2 -2
  4. package/lib/iam-roles.js +4 -4
  5. package/node_modules/aws-sdk/CHANGELOG.md +15 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/controltower-2018-05-10.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/controltower-2018-05-10.min.json +148 -0
  9. package/node_modules/aws-sdk/apis/controltower-2018-05-10.paginators.json +10 -0
  10. package/node_modules/aws-sdk/apis/greengrassv2-2020-11-30.min.json +26 -19
  11. package/node_modules/aws-sdk/apis/identitystore-2020-06-15.min.json +732 -15
  12. package/node_modules/aws-sdk/apis/identitystore-2020-06-15.paginators.json +16 -2
  13. package/node_modules/aws-sdk/apis/iotthingsgraph-2018-09-06.min.json +105 -35
  14. package/node_modules/aws-sdk/apis/ivs-2020-07-14.min.json +25 -19
  15. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.min.json +282 -31
  16. package/node_modules/aws-sdk/apis/lookoutequipment-2020-12-15.paginators.json +10 -0
  17. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +390 -119
  18. package/node_modules/aws-sdk/apis/metadata.json +3 -0
  19. package/node_modules/aws-sdk/apis/rds-data-2018-08-01.min.json +132 -132
  20. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +483 -459
  21. package/node_modules/aws-sdk/clients/all.d.ts +1 -0
  22. package/node_modules/aws-sdk/clients/all.js +2 -1
  23. package/node_modules/aws-sdk/clients/cloudfront.d.ts +7 -7
  24. package/node_modules/aws-sdk/clients/codegurureviewer.d.ts +134 -134
  25. package/node_modules/aws-sdk/clients/controltower.d.ts +169 -0
  26. package/node_modules/aws-sdk/clients/controltower.js +18 -0
  27. package/node_modules/aws-sdk/clients/greengrassv2.d.ts +22 -13
  28. package/node_modules/aws-sdk/clients/identitystore.d.ts +806 -22
  29. package/node_modules/aws-sdk/clients/iotthingsgraph.d.ts +2 -2
  30. package/node_modules/aws-sdk/clients/ivs.d.ts +9 -0
  31. package/node_modules/aws-sdk/clients/lookoutequipment.d.ts +399 -10
  32. package/node_modules/aws-sdk/clients/macie2.d.ts +289 -41
  33. package/node_modules/aws-sdk/clients/rdsdataservice.d.ts +130 -130
  34. package/node_modules/aws-sdk/clients/route53.d.ts +1 -1
  35. package/node_modules/aws-sdk/clients/sagemaker.d.ts +63 -17
  36. package/node_modules/aws-sdk/clients/sso.d.ts +19 -19
  37. package/node_modules/aws-sdk/clients/ssoadmin.d.ts +115 -115
  38. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  39. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +51 -14
  40. package/node_modules/aws-sdk/dist/aws-sdk.js +6 -3
  41. package/node_modules/aws-sdk/dist/aws-sdk.min.js +33 -33
  42. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
  43. package/node_modules/aws-sdk/lib/core.js +1 -1
  44. package/node_modules/aws-sdk/package.json +1 -1
  45. package/node_modules/es-abstract/2020/SameValueNonNumeric.js +1 -1
  46. package/node_modules/es-abstract/2021/SameValueNonNumeric.js +1 -1
  47. package/node_modules/es-abstract/2022/SameValueNonNumeric.js +1 -1
  48. package/node_modules/es-abstract/CHANGELOG.md +8 -0
  49. package/node_modules/es-abstract/package.json +9 -8
  50. package/package.json +5 -5
@@ -28,6 +28,14 @@ declare class Macie2 extends Service {
28
28
  * Retrieves information about one or more custom data identifiers.
29
29
  */
30
30
  batchGetCustomDataIdentifiers(callback?: (err: AWSError, data: Macie2.Types.BatchGetCustomDataIdentifiersResponse) => void): Request<Macie2.Types.BatchGetCustomDataIdentifiersResponse, AWSError>;
31
+ /**
32
+ * Creates and defines the settings for an allow list.
33
+ */
34
+ createAllowList(params: Macie2.Types.CreateAllowListRequest, callback?: (err: AWSError, data: Macie2.Types.CreateAllowListResponse) => void): Request<Macie2.Types.CreateAllowListResponse, AWSError>;
35
+ /**
36
+ * Creates and defines the settings for an allow list.
37
+ */
38
+ createAllowList(callback?: (err: AWSError, data: Macie2.Types.CreateAllowListResponse) => void): Request<Macie2.Types.CreateAllowListResponse, AWSError>;
31
39
  /**
32
40
  * Creates and defines the settings for a classification job.
33
41
  */
@@ -84,6 +92,14 @@ declare class Macie2 extends Service {
84
92
  * Declines Amazon Macie membership invitations that were received from specific accounts.
85
93
  */
86
94
  declineInvitations(callback?: (err: AWSError, data: Macie2.Types.DeclineInvitationsResponse) => void): Request<Macie2.Types.DeclineInvitationsResponse, AWSError>;
95
+ /**
96
+ * Deletes an allow list.
97
+ */
98
+ deleteAllowList(params: Macie2.Types.DeleteAllowListRequest, callback?: (err: AWSError, data: Macie2.Types.DeleteAllowListResponse) => void): Request<Macie2.Types.DeleteAllowListResponse, AWSError>;
99
+ /**
100
+ * Deletes an allow list.
101
+ */
102
+ deleteAllowList(callback?: (err: AWSError, data: Macie2.Types.DeleteAllowListResponse) => void): Request<Macie2.Types.DeleteAllowListResponse, AWSError>;
87
103
  /**
88
104
  * Soft deletes a custom data identifier.
89
105
  */
@@ -204,6 +220,14 @@ declare class Macie2 extends Service {
204
220
  * Retrieves information about the Amazon Macie administrator account for an account.
205
221
  */
206
222
  getAdministratorAccount(callback?: (err: AWSError, data: Macie2.Types.GetAdministratorAccountResponse) => void): Request<Macie2.Types.GetAdministratorAccountResponse, AWSError>;
223
+ /**
224
+ * Retrieves the settings and status of an allow list.
225
+ */
226
+ getAllowList(params: Macie2.Types.GetAllowListRequest, callback?: (err: AWSError, data: Macie2.Types.GetAllowListResponse) => void): Request<Macie2.Types.GetAllowListResponse, AWSError>;
227
+ /**
228
+ * Retrieves the settings and status of an allow list.
229
+ */
230
+ getAllowList(callback?: (err: AWSError, data: Macie2.Types.GetAllowListResponse) => void): Request<Macie2.Types.GetAllowListResponse, AWSError>;
207
231
  /**
208
232
  * Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
209
233
  */
@@ -293,27 +317,27 @@ declare class Macie2 extends Service {
293
317
  */
294
318
  getMember(callback?: (err: AWSError, data: Macie2.Types.GetMemberResponse) => void): Request<Macie2.Types.GetMemberResponse, AWSError>;
295
319
  /**
296
- * Retrieves the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.
320
+ * Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
297
321
  */
298
322
  getRevealConfiguration(params: Macie2.Types.GetRevealConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.GetRevealConfigurationResponse) => void): Request<Macie2.Types.GetRevealConfigurationResponse, AWSError>;
299
323
  /**
300
- * Retrieves the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.
324
+ * Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
301
325
  */
302
326
  getRevealConfiguration(callback?: (err: AWSError, data: Macie2.Types.GetRevealConfigurationResponse) => void): Request<Macie2.Types.GetRevealConfigurationResponse, AWSError>;
303
327
  /**
304
- * Retrieves (reveals) occurrences of sensitive data reported by a finding.
328
+ * Retrieves occurrences of sensitive data reported by a finding.
305
329
  */
306
330
  getSensitiveDataOccurrences(params: Macie2.Types.GetSensitiveDataOccurrencesRequest, callback?: (err: AWSError, data: Macie2.Types.GetSensitiveDataOccurrencesResponse) => void): Request<Macie2.Types.GetSensitiveDataOccurrencesResponse, AWSError>;
307
331
  /**
308
- * Retrieves (reveals) occurrences of sensitive data reported by a finding.
332
+ * Retrieves occurrences of sensitive data reported by a finding.
309
333
  */
310
334
  getSensitiveDataOccurrences(callback?: (err: AWSError, data: Macie2.Types.GetSensitiveDataOccurrencesResponse) => void): Request<Macie2.Types.GetSensitiveDataOccurrencesResponse, AWSError>;
311
335
  /**
312
- * Checks whether occurrences of sensitive data can be retrieved (revealed) for a finding.
336
+ * Checks whether occurrences of sensitive data can be retrieved for a finding.
313
337
  */
314
338
  getSensitiveDataOccurrencesAvailability(params: Macie2.Types.GetSensitiveDataOccurrencesAvailabilityRequest, callback?: (err: AWSError, data: Macie2.Types.GetSensitiveDataOccurrencesAvailabilityResponse) => void): Request<Macie2.Types.GetSensitiveDataOccurrencesAvailabilityResponse, AWSError>;
315
339
  /**
316
- * Checks whether occurrences of sensitive data can be retrieved (revealed) for a finding.
340
+ * Checks whether occurrences of sensitive data can be retrieved for a finding.
317
341
  */
318
342
  getSensitiveDataOccurrencesAvailability(callback?: (err: AWSError, data: Macie2.Types.GetSensitiveDataOccurrencesAvailabilityResponse) => void): Request<Macie2.Types.GetSensitiveDataOccurrencesAvailabilityResponse, AWSError>;
319
343
  /**
@@ -332,6 +356,14 @@ declare class Macie2 extends Service {
332
356
  * Retrieves (queries) aggregated usage data for an account.
333
357
  */
334
358
  getUsageTotals(callback?: (err: AWSError, data: Macie2.Types.GetUsageTotalsResponse) => void): Request<Macie2.Types.GetUsageTotalsResponse, AWSError>;
359
+ /**
360
+ * Retrieves a subset of information about all the allow lists for an account.
361
+ */
362
+ listAllowLists(params: Macie2.Types.ListAllowListsRequest, callback?: (err: AWSError, data: Macie2.Types.ListAllowListsResponse) => void): Request<Macie2.Types.ListAllowListsResponse, AWSError>;
363
+ /**
364
+ * Retrieves a subset of information about all the allow lists for an account.
365
+ */
366
+ listAllowLists(callback?: (err: AWSError, data: Macie2.Types.ListAllowListsResponse) => void): Request<Macie2.Types.ListAllowListsResponse, AWSError>;
335
367
  /**
336
368
  * Retrieves a subset of information about one or more classification jobs.
337
369
  */
@@ -397,11 +429,11 @@ declare class Macie2 extends Service {
397
429
  */
398
430
  listOrganizationAdminAccounts(callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request<Macie2.Types.ListOrganizationAdminAccountsResponse, AWSError>;
399
431
  /**
400
- * Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
432
+ * Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
401
433
  */
402
434
  listTagsForResource(params: Macie2.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: Macie2.Types.ListTagsForResourceResponse) => void): Request<Macie2.Types.ListTagsForResourceResponse, AWSError>;
403
435
  /**
404
- * Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
436
+ * Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
405
437
  */
406
438
  listTagsForResource(callback?: (err: AWSError, data: Macie2.Types.ListTagsForResourceResponse) => void): Request<Macie2.Types.ListTagsForResourceResponse, AWSError>;
407
439
  /**
@@ -429,11 +461,11 @@ declare class Macie2 extends Service {
429
461
  */
430
462
  searchResources(callback?: (err: AWSError, data: Macie2.Types.SearchResourcesResponse) => void): Request<Macie2.Types.SearchResourcesResponse, AWSError>;
431
463
  /**
432
- * Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
464
+ * Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
433
465
  */
434
466
  tagResource(params: Macie2.Types.TagResourceRequest, callback?: (err: AWSError, data: Macie2.Types.TagResourceResponse) => void): Request<Macie2.Types.TagResourceResponse, AWSError>;
435
467
  /**
436
- * Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
468
+ * Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
437
469
  */
438
470
  tagResource(callback?: (err: AWSError, data: Macie2.Types.TagResourceResponse) => void): Request<Macie2.Types.TagResourceResponse, AWSError>;
439
471
  /**
@@ -445,13 +477,21 @@ declare class Macie2 extends Service {
445
477
  */
446
478
  testCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.TestCustomDataIdentifierResponse) => void): Request<Macie2.Types.TestCustomDataIdentifierResponse, AWSError>;
447
479
  /**
448
- * Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
480
+ * Removes one or more tags (keys and values) from an Amazon Macie resource.
449
481
  */
450
482
  untagResource(params: Macie2.Types.UntagResourceRequest, callback?: (err: AWSError, data: Macie2.Types.UntagResourceResponse) => void): Request<Macie2.Types.UntagResourceResponse, AWSError>;
451
483
  /**
452
- * Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
484
+ * Removes one or more tags (keys and values) from an Amazon Macie resource.
453
485
  */
454
486
  untagResource(callback?: (err: AWSError, data: Macie2.Types.UntagResourceResponse) => void): Request<Macie2.Types.UntagResourceResponse, AWSError>;
487
+ /**
488
+ * Updates the settings for an allow list.
489
+ */
490
+ updateAllowList(params: Macie2.Types.UpdateAllowListRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateAllowListResponse) => void): Request<Macie2.Types.UpdateAllowListResponse, AWSError>;
491
+ /**
492
+ * Updates the settings for an allow list.
493
+ */
494
+ updateAllowList(callback?: (err: AWSError, data: Macie2.Types.UpdateAllowListResponse) => void): Request<Macie2.Types.UpdateAllowListResponse, AWSError>;
455
495
  /**
456
496
  * Changes the status of a classification job.
457
497
  */
@@ -493,11 +533,11 @@ declare class Macie2 extends Service {
493
533
  */
494
534
  updateOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Macie2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
495
535
  /**
496
- * Updates the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.
536
+ * Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
497
537
  */
498
538
  updateRevealConfiguration(params: Macie2.Types.UpdateRevealConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateRevealConfigurationResponse) => void): Request<Macie2.Types.UpdateRevealConfigurationResponse, AWSError>;
499
539
  /**
500
- * Updates the status and configuration settings for retrieving (revealing) occurrences of sensitive data reported by findings.
540
+ * Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
501
541
  */
502
542
  updateRevealConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateRevealConfigurationResponse) => void): Request<Macie2.Types.UpdateRevealConfigurationResponse, AWSError>;
503
543
  /**
@@ -563,6 +603,53 @@ declare namespace Macie2 {
563
603
  status?: AdminStatus;
564
604
  }
565
605
  export type AdminStatus = "ENABLED"|"DISABLING_IN_PROGRESS"|string;
606
+ export interface AllowListCriteria {
607
+ /**
608
+ * The regular expression (regex) that defines the text pattern to ignore. The expression can contain as many as 512 characters.
609
+ */
610
+ regex?: __stringMin1Max512PatternSS;
611
+ /**
612
+ * The location and name of the S3 object that lists specific text to ignore.
613
+ */
614
+ s3WordsList?: S3WordsList;
615
+ }
616
+ export interface AllowListStatus {
617
+ /**
618
+ * 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. If the list's criteria specify an S3 object, possible values are: OK - Macie can retrieve and parse the contents of the object. 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. 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. 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. 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. S3_THROTTLED - Amazon S3 throttled the request to retrieve the object. Wait a few minutes and then try again. 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. 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.
619
+ */
620
+ code: AllowListStatusCode;
621
+ /**
622
+ * 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.
623
+ */
624
+ description?: __stringMin1Max1024PatternSS;
625
+ }
626
+ export type AllowListStatusCode = "OK"|"S3_OBJECT_NOT_FOUND"|"S3_USER_ACCESS_DENIED"|"S3_OBJECT_ACCESS_DENIED"|"S3_THROTTLED"|"S3_OBJECT_OVERSIZE"|"S3_OBJECT_EMPTY"|"UNKNOWN_ERROR"|string;
627
+ export interface AllowListSummary {
628
+ /**
629
+ * The Amazon Resource Name (ARN) of the allow list.
630
+ */
631
+ arn?: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922;
632
+ /**
633
+ * The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.
634
+ */
635
+ createdAt?: __timestampIso8601;
636
+ /**
637
+ * The custom description of the allow list.
638
+ */
639
+ description?: __stringMin1Max512PatternSS;
640
+ /**
641
+ * The unique identifier for the allow list.
642
+ */
643
+ id?: __stringMin22Max22PatternAZ0922;
644
+ /**
645
+ * The custom name of the allow list.
646
+ */
647
+ name?: __stringMin1Max128Pattern;
648
+ /**
649
+ * The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.
650
+ */
651
+ updatedAt?: __timestampIso8601;
652
+ }
566
653
  export type AllowsUnencryptedObjectUploads = "TRUE"|"FALSE"|"UNKNOWN"|string;
567
654
  export interface ApiCallDetails {
568
655
  /**
@@ -1026,7 +1113,43 @@ declare namespace Macie2 {
1026
1113
  */
1027
1114
  reason?: __string;
1028
1115
  }
1116
+ export interface CreateAllowListRequest {
1117
+ /**
1118
+ * A unique, case-sensitive token that you provide to ensure the idempotency of the request.
1119
+ */
1120
+ clientToken: __string;
1121
+ /**
1122
+ * 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.
1123
+ */
1124
+ criteria: AllowListCriteria;
1125
+ /**
1126
+ * A custom description of the allow list. The description can contain as many as 512 characters.
1127
+ */
1128
+ description?: __stringMin1Max512PatternSS;
1129
+ /**
1130
+ * A custom name for the allow list. The name can contain as many as 128 characters.
1131
+ */
1132
+ name: __stringMin1Max128Pattern;
1133
+ /**
1134
+ * A map of key-value pairs that specifies the tags to associate with the allow list. 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.
1135
+ */
1136
+ tags?: TagMap;
1137
+ }
1138
+ export interface CreateAllowListResponse {
1139
+ /**
1140
+ * The Amazon Resource Name (ARN) of the allow list.
1141
+ */
1142
+ arn?: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922;
1143
+ /**
1144
+ * The unique identifier for the allow list.
1145
+ */
1146
+ id?: __stringMin22Max22PatternAZ0922;
1147
+ }
1029
1148
  export interface CreateClassificationJobRequest {
1149
+ /**
1150
+ * An array of unique identifiers, one for each allow list for the job to use when it analyzes data.
1151
+ */
1152
+ allowListIds?: __listOf__string;
1030
1153
  /**
1031
1154
  * A unique, case-sensitive token that you provide to ensure the idempotency of the request.
1032
1155
  */
@@ -1040,7 +1163,7 @@ declare namespace Macie2 {
1040
1163
  */
1041
1164
  description?: __string;
1042
1165
  /**
1043
- * 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.If you configure the job to run only once, don't specify a value for this property.
1166
+ * 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. If you configure the job to run only once, don't specify a value for this property.
1044
1167
  */
1045
1168
  initialRun?: __boolean;
1046
1169
  /**
@@ -1048,7 +1171,7 @@ declare namespace Macie2 {
1048
1171
  */
1049
1172
  jobType: JobType;
1050
1173
  /**
1051
- * 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).To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
1174
+ * 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). To retrieve a list of valid values for this property, use the ListManagedDataIdentifiers operation.
1052
1175
  */
1053
1176
  managedDataIdentifierIds?: __listOf__string;
1054
1177
  /**
@@ -1344,9 +1467,21 @@ declare namespace Macie2 {
1344
1467
  type?: __string;
1345
1468
  }
1346
1469
  export type DefaultDetections = DefaultDetection[];
1470
+ export interface DeleteAllowListRequest {
1471
+ /**
1472
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1473
+ */
1474
+ id: __string;
1475
+ /**
1476
+ * Specifies whether to force deletion of the allow list, even if active classification jobs are configured to use the list. 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.
1477
+ */
1478
+ ignoreJobChecks?: __string;
1479
+ }
1480
+ export interface DeleteAllowListResponse {
1481
+ }
1347
1482
  export interface DeleteCustomDataIdentifierRequest {
1348
1483
  /**
1349
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
1484
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1350
1485
  */
1351
1486
  id: __string;
1352
1487
  }
@@ -1354,7 +1489,7 @@ declare namespace Macie2 {
1354
1489
  }
1355
1490
  export interface DeleteFindingsFilterRequest {
1356
1491
  /**
1357
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
1492
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1358
1493
  */
1359
1494
  id: __string;
1360
1495
  }
@@ -1374,7 +1509,7 @@ declare namespace Macie2 {
1374
1509
  }
1375
1510
  export interface DeleteMemberRequest {
1376
1511
  /**
1377
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
1512
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1378
1513
  */
1379
1514
  id: __string;
1380
1515
  }
@@ -1415,6 +1550,10 @@ declare namespace Macie2 {
1415
1550
  jobId: __string;
1416
1551
  }
1417
1552
  export interface DescribeClassificationJobResponse {
1553
+ /**
1554
+ * An array of unique identifiers, one for each allow list that the job uses when it analyzes data.
1555
+ */
1556
+ allowListIds?: __listOf__string;
1418
1557
  /**
1419
1558
  * The token that was provided to ensure the idempotency of the request to create the job.
1420
1559
  */
@@ -1424,7 +1563,7 @@ declare namespace Macie2 {
1424
1563
  */
1425
1564
  createdAt?: __timestampIso8601;
1426
1565
  /**
1427
- * 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.
1566
+ * 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.
1428
1567
  */
1429
1568
  customDataIdentifierIds?: __listOf__string;
1430
1569
  /**
@@ -1536,7 +1675,7 @@ declare namespace Macie2 {
1536
1675
  }
1537
1676
  export interface DisassociateMemberRequest {
1538
1677
  /**
1539
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
1678
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1540
1679
  */
1541
1680
  id: __string;
1542
1681
  }
@@ -1555,7 +1694,7 @@ declare namespace Macie2 {
1555
1694
  */
1556
1695
  clientToken?: __string;
1557
1696
  /**
1558
- * 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).
1697
+ * 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).
1559
1698
  */
1560
1699
  findingPublishingFrequency?: FindingPublishingFrequency;
1561
1700
  /**
@@ -1739,7 +1878,7 @@ declare namespace Macie2 {
1739
1878
  */
1740
1879
  name?: __string;
1741
1880
  /**
1742
- * A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.
1881
+ * A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
1743
1882
  */
1744
1883
  tags?: TagMap;
1745
1884
  }
@@ -1751,6 +1890,50 @@ declare namespace Macie2 {
1751
1890
  */
1752
1891
  administrator?: Invitation;
1753
1892
  }
1893
+ export interface GetAllowListRequest {
1894
+ /**
1895
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1896
+ */
1897
+ id: __string;
1898
+ }
1899
+ export interface GetAllowListResponse {
1900
+ /**
1901
+ * The Amazon Resource Name (ARN) of the allow list.
1902
+ */
1903
+ arn?: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922;
1904
+ /**
1905
+ * The date and time, in UTC and extended ISO 8601 format, when the allow list was created in Amazon Macie.
1906
+ */
1907
+ createdAt?: __timestampIso8601;
1908
+ /**
1909
+ * 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.
1910
+ */
1911
+ criteria?: AllowListCriteria;
1912
+ /**
1913
+ * The custom description of the allow list.
1914
+ */
1915
+ description?: __stringMin1Max512PatternSS;
1916
+ /**
1917
+ * The unique identifier for the allow list.
1918
+ */
1919
+ id?: __stringMin22Max22PatternAZ0922;
1920
+ /**
1921
+ * The custom name of the allow list.
1922
+ */
1923
+ name?: __stringMin1Max128Pattern;
1924
+ /**
1925
+ * The current status of the allow list, which indicates whether Amazon Macie can access and use the list's criteria.
1926
+ */
1927
+ status?: AllowListStatus;
1928
+ /**
1929
+ * A map of key-value pairs that specifies which tags (keys and values) are associated with the allow list.
1930
+ */
1931
+ tags?: TagMap;
1932
+ /**
1933
+ * The date and time, in UTC and extended ISO 8601 format, when the allow list's settings were most recently changed in Amazon Macie.
1934
+ */
1935
+ updatedAt?: __timestampIso8601;
1936
+ }
1754
1937
  export interface GetBucketStatisticsRequest {
1755
1938
  /**
1756
1939
  * The unique identifier for the Amazon Web Services account.
@@ -1821,7 +2004,7 @@ declare namespace Macie2 {
1821
2004
  }
1822
2005
  export interface GetCustomDataIdentifierRequest {
1823
2006
  /**
1824
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
2007
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1825
2008
  */
1826
2009
  id: __string;
1827
2010
  }
@@ -1901,7 +2084,7 @@ declare namespace Macie2 {
1901
2084
  }
1902
2085
  export interface GetFindingsFilterRequest {
1903
2086
  /**
1904
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
2087
+ * The unique identifier for the Amazon Macie resource that the request applies to.
1905
2088
  */
1906
2089
  id: __string;
1907
2090
  }
@@ -1935,7 +2118,7 @@ declare namespace Macie2 {
1935
2118
  */
1936
2119
  position?: __integer;
1937
2120
  /**
1938
- * A map of key-value pairs that identifies the tags (keys and values) that are associated with the filter.
2121
+ * A map of key-value pairs that specifies which tags (keys and values) are associated with the filter.
1939
2122
  */
1940
2123
  tags?: TagMap;
1941
2124
  }
@@ -1979,7 +2162,7 @@ declare namespace Macie2 {
1979
2162
  */
1980
2163
  createdAt?: __timestampIso8601;
1981
2164
  /**
1982
- * 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).
2165
+ * 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).
1983
2166
  */
1984
2167
  findingPublishingFrequency?: FindingPublishingFrequency;
1985
2168
  /**
@@ -2005,7 +2188,7 @@ declare namespace Macie2 {
2005
2188
  }
2006
2189
  export interface GetMemberRequest {
2007
2190
  /**
2008
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
2191
+ * The unique identifier for the Amazon Macie resource that the request applies to.
2009
2192
  */
2010
2193
  id: __string;
2011
2194
  }
@@ -2039,7 +2222,7 @@ declare namespace Macie2 {
2039
2222
  */
2040
2223
  relationshipStatus?: RelationshipStatus;
2041
2224
  /**
2042
- * A map of key-value pairs that identifies the tags (keys and values) that are associated with the member account in Amazon Macie.
2225
+ * A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
2043
2226
  */
2044
2227
  tags?: TagMap;
2045
2228
  /**
@@ -2067,7 +2250,7 @@ declare namespace Macie2 {
2067
2250
  */
2068
2251
  code?: AvailabilityCode;
2069
2252
  /**
2070
- * Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are: 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. OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data. 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. UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding. UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data. This value is null if sensitive data can be retrieved for the finding.
2253
+ * Specifies why occurrences of sensitive data can't be retrieved for the finding. Possible values are: 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. OBJECT_EXCEEDS_SIZE_QUOTA - The storage size of the affected S3 object exceeds the size quota for retrieving occurrences of sensitive data. 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. UNSUPPORTED_FINDING_TYPE - The specified finding isn't a sensitive data finding. UNSUPPORTED_OBJECT_TYPE - The affected S3 object uses a file or storage format that Macie doesn't support for retrieving occurrences of sensitive data. This value is null if sensitive data can be retrieved for the finding.
2071
2254
  */
2072
2255
  reasons?: __listOfUnavailabilityReasonCode;
2073
2256
  }
@@ -2365,6 +2548,26 @@ declare namespace Macie2 {
2365
2548
  code?: LastRunErrorStatusCode;
2366
2549
  }
2367
2550
  export type LastRunErrorStatusCode = "NONE"|"ERROR"|string;
2551
+ export interface ListAllowListsRequest {
2552
+ /**
2553
+ * The maximum number of items to include in each page of a paginated response.
2554
+ */
2555
+ maxResults?: MaxResults;
2556
+ /**
2557
+ * The nextToken string that specifies which page of results to return in a paginated response.
2558
+ */
2559
+ nextToken?: __string;
2560
+ }
2561
+ export interface ListAllowListsResponse {
2562
+ /**
2563
+ * An array of objects, one for each allow list.
2564
+ */
2565
+ allowLists?: __listOfAllowListSummary;
2566
+ /**
2567
+ * 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.
2568
+ */
2569
+ nextToken?: __string;
2570
+ }
2368
2571
  export interface ListClassificationJobsRequest {
2369
2572
  /**
2370
2573
  * The criteria to use to filter the results.
@@ -2579,13 +2782,13 @@ declare namespace Macie2 {
2579
2782
  }
2580
2783
  export interface ListTagsForResourceRequest {
2581
2784
  /**
2582
- * The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.
2785
+ * The Amazon Resource Name (ARN) of the resource.
2583
2786
  */
2584
2787
  resourceArn: __string;
2585
2788
  }
2586
2789
  export interface ListTagsForResourceResponse {
2587
2790
  /**
2588
- * A map of key-value pairs that identifies the tags (keys and values) that are associated with the resource.
2791
+ * A map of key-value pairs that specifies which tags (keys and values) are associated with the resource.
2589
2792
  */
2590
2793
  tags?: TagMap;
2591
2794
  }
@@ -2692,7 +2895,7 @@ declare namespace Macie2 {
2692
2895
  */
2693
2896
  relationshipStatus?: RelationshipStatus;
2694
2897
  /**
2695
- * A map of key-value pairs that identifies the tags (keys and values) that are associated with the account in Amazon Macie.
2898
+ * A map of key-value pairs that specifies which tags (keys and values) are associated with the account in Amazon Macie.
2696
2899
  */
2697
2900
  tags?: TagMap;
2698
2901
  /**
@@ -2744,7 +2947,7 @@ declare namespace Macie2 {
2744
2947
  }
2745
2948
  export interface Occurrences {
2746
2949
  /**
2747
- * 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.Each Cell object specifies a cell or field that contains the sensitive data.
2950
+ * 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. Each Cell object specifies a cell or field that contains the sensitive data.
2748
2951
  */
2749
2952
  cells?: Cells;
2750
2953
  /**
@@ -2756,7 +2959,7 @@ declare namespace Macie2 {
2756
2959
  */
2757
2960
  offsetRanges?: Ranges;
2758
2961
  /**
2759
- * 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.Each Page object specifies a page that contains the sensitive data.
2962
+ * 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. Each Page object specifies a page that contains the sensitive data.
2760
2963
  */
2761
2964
  pages?: Pages;
2762
2965
  /**
@@ -3020,6 +3223,16 @@ declare namespace Macie2 {
3020
3223
  */
3021
3224
  versionId?: __string;
3022
3225
  }
3226
+ export interface S3WordsList {
3227
+ /**
3228
+ * The full name of the S3 bucket that contains the object.
3229
+ */
3230
+ bucketName: __stringMin3Max255PatternAZaZ093255;
3231
+ /**
3232
+ * The full name (key) of the object.
3233
+ */
3234
+ objectKey: __stringMin1Max1024PatternSS;
3235
+ }
3023
3236
  export type ScopeFilterKey = "OBJECT_EXTENSION"|"OBJECT_LAST_MODIFIED_DATE"|"OBJECT_SIZE"|"OBJECT_KEY"|string;
3024
3237
  export interface Scoping {
3025
3238
  /**
@@ -3321,7 +3534,7 @@ declare namespace Macie2 {
3321
3534
  export type TagMap = {[key: string]: __string};
3322
3535
  export interface TagResourceRequest {
3323
3536
  /**
3324
- * The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.
3537
+ * The Amazon Resource Name (ARN) of the resource.
3325
3538
  */
3326
3539
  resourceArn: __string;
3327
3540
  /**
@@ -3408,16 +3621,44 @@ declare namespace Macie2 {
3408
3621
  }
3409
3622
  export interface UntagResourceRequest {
3410
3623
  /**
3411
- * The Amazon Resource Name (ARN) of the classification job, custom data identifier, findings filter, or member account.
3624
+ * The Amazon Resource Name (ARN) of the resource.
3412
3625
  */
3413
3626
  resourceArn: __string;
3414
3627
  /**
3415
- * 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;).
3628
+ * 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;).
3416
3629
  */
3417
3630
  tagKeys: __listOf__string;
3418
3631
  }
3419
3632
  export interface UntagResourceResponse {
3420
3633
  }
3634
+ export interface UpdateAllowListRequest {
3635
+ /**
3636
+ * 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 that defines a text pattern to ignore (regex). You can change a list's underlying criteria, such as the name of the S3 object or the regular expression to use. However, you can't change the type from s3WordsList to regex or the other way around.
3637
+ */
3638
+ criteria: AllowListCriteria;
3639
+ /**
3640
+ * A custom description of the allow list. The description can contain as many as 512 characters.
3641
+ */
3642
+ description?: __stringMin1Max512PatternSS;
3643
+ /**
3644
+ * The unique identifier for the Amazon Macie resource that the request applies to.
3645
+ */
3646
+ id: __string;
3647
+ /**
3648
+ * A custom name for the allow list. The name can contain as many as 128 characters.
3649
+ */
3650
+ name: __stringMin1Max128Pattern;
3651
+ }
3652
+ export interface UpdateAllowListResponse {
3653
+ /**
3654
+ * The Amazon Resource Name (ARN) of the allow list.
3655
+ */
3656
+ arn?: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922;
3657
+ /**
3658
+ * The unique identifier for the allow list.
3659
+ */
3660
+ id?: __stringMin22Max22PatternAZ0922;
3661
+ }
3421
3662
  export interface UpdateClassificationJobRequest {
3422
3663
  /**
3423
3664
  * The unique identifier for the classification job.
@@ -3444,7 +3685,7 @@ declare namespace Macie2 {
3444
3685
  */
3445
3686
  findingCriteria?: FindingCriteria;
3446
3687
  /**
3447
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
3688
+ * The unique identifier for the Amazon Macie resource that the request applies to.
3448
3689
  */
3449
3690
  id: __string;
3450
3691
  /**
@@ -3472,7 +3713,7 @@ declare namespace Macie2 {
3472
3713
  }
3473
3714
  export interface UpdateMacieSessionRequest {
3474
3715
  /**
3475
- * 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).
3716
+ * 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).
3476
3717
  */
3477
3718
  findingPublishingFrequency?: FindingPublishingFrequency;
3478
3719
  /**
@@ -3484,7 +3725,7 @@ declare namespace Macie2 {
3484
3725
  }
3485
3726
  export interface UpdateMemberSessionRequest {
3486
3727
  /**
3487
- * The unique identifier for the Amazon Macie resource or account that the request applies to.
3728
+ * The unique identifier for the Amazon Macie resource that the request applies to.
3488
3729
  */
3489
3730
  id: __string;
3490
3731
  /**
@@ -3657,6 +3898,7 @@ declare namespace Macie2 {
3657
3898
  export type __double = number;
3658
3899
  export type __integer = number;
3659
3900
  export type __listOfAdminAccount = AdminAccount[];
3901
+ export type __listOfAllowListSummary = AllowListSummary[];
3660
3902
  export type __listOfBatchGetCustomDataIdentifierSummary = BatchGetCustomDataIdentifierSummary[];
3661
3903
  export type __listOfBucketMetadata = BucketMetadata[];
3662
3904
  export type __listOfCriteriaForJob = CriteriaForJob[];
@@ -3688,8 +3930,14 @@ declare namespace Macie2 {
3688
3930
  export type __listOf__string = __string[];
3689
3931
  export type __long = number;
3690
3932
  export type __string = string;
3933
+ export type __stringMin1Max1024PatternSS = string;
3691
3934
  export type __stringMin1Max128 = string;
3935
+ export type __stringMin1Max128Pattern = string;
3692
3936
  export type __stringMin1Max2048 = string;
3937
+ export type __stringMin1Max512PatternSS = string;
3938
+ export type __stringMin22Max22PatternAZ0922 = string;
3939
+ export type __stringMin3Max255PatternAZaZ093255 = string;
3940
+ export type __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922 = string;
3693
3941
  export type __timestampIso8601 = Date;
3694
3942
  /**
3695
3943
  * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.