cdk-docker-image-deployment 0.0.88 → 0.0.89

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 (82) hide show
  1. package/.jsii +3 -3
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/aws-sdk/CHANGELOG.md +29 -1
  6. package/node_modules/aws-sdk/README.md +1 -1
  7. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.examples.json +5 -0
  8. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +284 -0
  9. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +16 -0
  10. package/node_modules/aws-sdk/apis/compute-optimizer-2019-11-01.min.json +31 -13
  11. package/node_modules/aws-sdk/apis/config-2014-11-12.min.json +282 -134
  12. package/node_modules/aws-sdk/apis/config-2014-11-12.paginators.json +6 -0
  13. package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +2824 -1317
  14. package/node_modules/aws-sdk/apis/ec2-2016-11-15.paginators.json +42 -0
  15. package/node_modules/aws-sdk/apis/eks-2017-11-01.min.json +87 -52
  16. package/node_modules/aws-sdk/apis/firehose-2015-08-04.min.json +128 -27
  17. package/node_modules/aws-sdk/apis/fsx-2018-03-01.min.json +156 -130
  18. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +341 -298
  19. package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +205 -28
  20. package/node_modules/aws-sdk/apis/kms-2014-11-01.examples.json +359 -50
  21. package/node_modules/aws-sdk/apis/kms-2014-11-01.min.json +127 -72
  22. package/node_modules/aws-sdk/apis/kms-2014-11-01.paginators.json +0 -7
  23. package/node_modules/aws-sdk/apis/lambda-2015-03-31.min.json +69 -50
  24. package/node_modules/aws-sdk/apis/lambda-2015-03-31.waiters2.json +26 -0
  25. package/node_modules/aws-sdk/apis/license-manager-user-subscriptions-2018-05-10.min.json +82 -9
  26. package/node_modules/aws-sdk/apis/macie2-2020-01-01.min.json +793 -112
  27. package/node_modules/aws-sdk/apis/macie2-2020-01-01.paginators.json +33 -0
  28. package/node_modules/aws-sdk/apis/metadata.json +16 -0
  29. package/node_modules/aws-sdk/apis/omics-2022-11-28.examples.json +5 -0
  30. package/node_modules/aws-sdk/apis/omics-2022-11-28.min.json +3722 -0
  31. package/node_modules/aws-sdk/apis/omics-2022-11-28.paginators.json +100 -0
  32. package/node_modules/aws-sdk/apis/omics-2022-11-28.waiters2.json +498 -0
  33. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.examples.json +5 -0
  34. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +1082 -0
  35. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.paginators.json +29 -0
  36. package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +5991 -325
  37. package/node_modules/aws-sdk/apis/s3control-2018-08-20.min.json +138 -28
  38. package/node_modules/aws-sdk/apis/securityhub-2018-10-26.min.json +23 -16
  39. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.examples.json +5 -0
  40. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.min.json +1041 -0
  41. package/node_modules/aws-sdk/apis/securitylake-2018-05-10.paginators.json +28 -0
  42. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.examples.json +5 -0
  43. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.min.json +578 -0
  44. package/node_modules/aws-sdk/apis/simspaceweaver-2022-10-28.paginators.json +14 -0
  45. package/node_modules/aws-sdk/clients/all.d.ts +5 -0
  46. package/node_modules/aws-sdk/clients/all.js +6 -1
  47. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +309 -0
  48. package/node_modules/aws-sdk/clients/arczonalshift.js +18 -0
  49. package/node_modules/aws-sdk/clients/computeoptimizer.d.ts +28 -5
  50. package/node_modules/aws-sdk/clients/configservice.d.ts +233 -6
  51. package/node_modules/aws-sdk/clients/ec2.d.ts +1851 -20
  52. package/node_modules/aws-sdk/clients/eks.d.ts +58 -8
  53. package/node_modules/aws-sdk/clients/firehose.d.ts +263 -48
  54. package/node_modules/aws-sdk/clients/fsx.d.ts +70 -21
  55. package/node_modules/aws-sdk/clients/glue.d.ts +66 -0
  56. package/node_modules/aws-sdk/clients/inspector2.d.ts +289 -15
  57. package/node_modules/aws-sdk/clients/kms.d.ts +198 -92
  58. package/node_modules/aws-sdk/clients/lambda.d.ts +132 -94
  59. package/node_modules/aws-sdk/clients/licensemanagerusersubscriptions.d.ts +62 -4
  60. package/node_modules/aws-sdk/clients/macie2.d.ts +637 -54
  61. package/node_modules/aws-sdk/clients/omics.d.ts +4175 -0
  62. package/node_modules/aws-sdk/clients/omics.js +19 -0
  63. package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +1508 -0
  64. package/node_modules/aws-sdk/clients/opensearchserverless.js +18 -0
  65. package/node_modules/aws-sdk/clients/quicksight.d.ts +9833 -2835
  66. package/node_modules/aws-sdk/clients/s3control.d.ts +69 -0
  67. package/node_modules/aws-sdk/clients/securityhub.d.ts +14 -0
  68. package/node_modules/aws-sdk/clients/securitylake.d.ts +1049 -0
  69. package/node_modules/aws-sdk/clients/securitylake.js +18 -0
  70. package/node_modules/aws-sdk/clients/simspaceweaver.d.ts +647 -0
  71. package/node_modules/aws-sdk/clients/simspaceweaver.js +18 -0
  72. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +39 -13
  73. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +264 -37
  74. package/node_modules/aws-sdk/dist/aws-sdk.js +3615 -1676
  75. package/node_modules/aws-sdk/dist/aws-sdk.min.js +79 -78
  76. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +10 -0
  77. package/node_modules/aws-sdk/lib/core.d.ts +4 -0
  78. package/node_modules/aws-sdk/lib/core.js +1 -1
  79. package/node_modules/aws-sdk/lib/event_listeners.js +26 -9
  80. package/node_modules/aws-sdk/lib/region_config.js +11 -2
  81. package/node_modules/aws-sdk/package.json +1 -1
  82. package/package.json +3 -3
@@ -133,11 +133,11 @@ declare class Macie2 extends Service {
133
133
  */
134
134
  deleteMember(callback?: (err: AWSError, data: Macie2.Types.DeleteMemberResponse) => void): Request<Macie2.Types.DeleteMemberResponse, AWSError>;
135
135
  /**
136
- * Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
136
+ * Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
137
137
  */
138
138
  describeBuckets(params: Macie2.Types.DescribeBucketsRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeBucketsResponse) => void): Request<Macie2.Types.DescribeBucketsResponse, AWSError>;
139
139
  /**
140
- * Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
140
+ * Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
141
141
  */
142
142
  describeBuckets(callback?: (err: AWSError, data: Macie2.Types.DescribeBucketsResponse) => void): Request<Macie2.Types.DescribeBucketsResponse, AWSError>;
143
143
  /**
@@ -229,11 +229,19 @@ declare class Macie2 extends Service {
229
229
  */
230
230
  getAllowList(callback?: (err: AWSError, data: Macie2.Types.GetAllowListResponse) => void): Request<Macie2.Types.GetAllowListResponse, AWSError>;
231
231
  /**
232
- * Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
232
+ * Retrieves the configuration settings and status of automated sensitive data discovery for an account.
233
+ */
234
+ getAutomatedDiscoveryConfiguration(params: Macie2.Types.GetAutomatedDiscoveryConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.GetAutomatedDiscoveryConfigurationResponse) => void): Request<Macie2.Types.GetAutomatedDiscoveryConfigurationResponse, AWSError>;
235
+ /**
236
+ * Retrieves the configuration settings and status of automated sensitive data discovery for an account.
237
+ */
238
+ getAutomatedDiscoveryConfiguration(callback?: (err: AWSError, data: Macie2.Types.GetAutomatedDiscoveryConfigurationResponse) => void): Request<Macie2.Types.GetAutomatedDiscoveryConfigurationResponse, AWSError>;
239
+ /**
240
+ * Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
233
241
  */
234
242
  getBucketStatistics(params: Macie2.Types.GetBucketStatisticsRequest, callback?: (err: AWSError, data: Macie2.Types.GetBucketStatisticsResponse) => void): Request<Macie2.Types.GetBucketStatisticsResponse, AWSError>;
235
243
  /**
236
- * Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
244
+ * Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
237
245
  */
238
246
  getBucketStatistics(callback?: (err: AWSError, data: Macie2.Types.GetBucketStatisticsResponse) => void): Request<Macie2.Types.GetBucketStatisticsResponse, AWSError>;
239
247
  /**
@@ -244,6 +252,14 @@ declare class Macie2 extends Service {
244
252
  * Retrieves the configuration settings for storing data classification results.
245
253
  */
246
254
  getClassificationExportConfiguration(callback?: (err: AWSError, data: Macie2.Types.GetClassificationExportConfigurationResponse) => void): Request<Macie2.Types.GetClassificationExportConfigurationResponse, AWSError>;
255
+ /**
256
+ * Retrieves the classification scope settings for an account.
257
+ */
258
+ getClassificationScope(params: Macie2.Types.GetClassificationScopeRequest, callback?: (err: AWSError, data: Macie2.Types.GetClassificationScopeResponse) => void): Request<Macie2.Types.GetClassificationScopeResponse, AWSError>;
259
+ /**
260
+ * Retrieves the classification scope settings for an account.
261
+ */
262
+ getClassificationScope(callback?: (err: AWSError, data: Macie2.Types.GetClassificationScopeResponse) => void): Request<Macie2.Types.GetClassificationScopeResponse, AWSError>;
247
263
  /**
248
264
  * Retrieves the criteria and other settings for a custom data identifier.
249
265
  */
@@ -293,11 +309,11 @@ declare class Macie2 extends Service {
293
309
  */
294
310
  getInvitationsCount(callback?: (err: AWSError, data: Macie2.Types.GetInvitationsCountResponse) => void): Request<Macie2.Types.GetInvitationsCountResponse, AWSError>;
295
311
  /**
296
- * Retrieves the current status and configuration settings for an Amazon Macie account.
312
+ * Retrieves the status and configuration settings for an Amazon Macie account.
297
313
  */
298
314
  getMacieSession(params: Macie2.Types.GetMacieSessionRequest, callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
299
315
  /**
300
- * Retrieves the current status and configuration settings for an Amazon Macie account.
316
+ * Retrieves the status and configuration settings for an Amazon Macie account.
301
317
  */
302
318
  getMacieSession(callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
303
319
  /**
@@ -316,6 +332,14 @@ declare class Macie2 extends Service {
316
332
  * Retrieves information about an account that's associated with an Amazon Macie administrator account.
317
333
  */
318
334
  getMember(callback?: (err: AWSError, data: Macie2.Types.GetMemberResponse) => void): Request<Macie2.Types.GetMemberResponse, AWSError>;
335
+ /**
336
+ * Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
337
+ */
338
+ getResourceProfile(params: Macie2.Types.GetResourceProfileRequest, callback?: (err: AWSError, data: Macie2.Types.GetResourceProfileResponse) => void): Request<Macie2.Types.GetResourceProfileResponse, AWSError>;
339
+ /**
340
+ * Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
341
+ */
342
+ getResourceProfile(callback?: (err: AWSError, data: Macie2.Types.GetResourceProfileResponse) => void): Request<Macie2.Types.GetResourceProfileResponse, AWSError>;
319
343
  /**
320
344
  * Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
321
345
  */
@@ -340,6 +364,14 @@ declare class Macie2 extends Service {
340
364
  * Checks whether occurrences of sensitive data can be retrieved for a finding.
341
365
  */
342
366
  getSensitiveDataOccurrencesAvailability(callback?: (err: AWSError, data: Macie2.Types.GetSensitiveDataOccurrencesAvailabilityResponse) => void): Request<Macie2.Types.GetSensitiveDataOccurrencesAvailabilityResponse, AWSError>;
367
+ /**
368
+ * Retrieves the settings for the sensitivity inspection template for an account.
369
+ */
370
+ getSensitivityInspectionTemplate(params: Macie2.Types.GetSensitivityInspectionTemplateRequest, callback?: (err: AWSError, data: Macie2.Types.GetSensitivityInspectionTemplateResponse) => void): Request<Macie2.Types.GetSensitivityInspectionTemplateResponse, AWSError>;
371
+ /**
372
+ * Retrieves the settings for the sensitivity inspection template for an account.
373
+ */
374
+ getSensitivityInspectionTemplate(callback?: (err: AWSError, data: Macie2.Types.GetSensitivityInspectionTemplateResponse) => void): Request<Macie2.Types.GetSensitivityInspectionTemplateResponse, AWSError>;
343
375
  /**
344
376
  * Retrieves (queries) quotas and aggregated usage data for one or more accounts.
345
377
  */
@@ -372,6 +404,14 @@ declare class Macie2 extends Service {
372
404
  * Retrieves a subset of information about one or more classification jobs.
373
405
  */
374
406
  listClassificationJobs(callback?: (err: AWSError, data: Macie2.Types.ListClassificationJobsResponse) => void): Request<Macie2.Types.ListClassificationJobsResponse, AWSError>;
407
+ /**
408
+ * Retrieves a subset of information about the classification scope for an account.
409
+ */
410
+ listClassificationScopes(params: Macie2.Types.ListClassificationScopesRequest, callback?: (err: AWSError, data: Macie2.Types.ListClassificationScopesResponse) => void): Request<Macie2.Types.ListClassificationScopesResponse, AWSError>;
411
+ /**
412
+ * Retrieves a subset of information about the classification scope for an account.
413
+ */
414
+ listClassificationScopes(callback?: (err: AWSError, data: Macie2.Types.ListClassificationScopesResponse) => void): Request<Macie2.Types.ListClassificationScopesResponse, AWSError>;
375
415
  /**
376
416
  * Retrieves a subset of information about all the custom data identifiers for an account.
377
417
  */
@@ -428,6 +468,30 @@ declare class Macie2 extends Service {
428
468
  * Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
429
469
  */
430
470
  listOrganizationAdminAccounts(callback?: (err: AWSError, data: Macie2.Types.ListOrganizationAdminAccountsResponse) => void): Request<Macie2.Types.ListOrganizationAdminAccountsResponse, AWSError>;
471
+ /**
472
+ * Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
473
+ */
474
+ listResourceProfileArtifacts(params: Macie2.Types.ListResourceProfileArtifactsRequest, callback?: (err: AWSError, data: Macie2.Types.ListResourceProfileArtifactsResponse) => void): Request<Macie2.Types.ListResourceProfileArtifactsResponse, AWSError>;
475
+ /**
476
+ * Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
477
+ */
478
+ listResourceProfileArtifacts(callback?: (err: AWSError, data: Macie2.Types.ListResourceProfileArtifactsResponse) => void): Request<Macie2.Types.ListResourceProfileArtifactsResponse, AWSError>;
479
+ /**
480
+ * Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
481
+ */
482
+ listResourceProfileDetections(params: Macie2.Types.ListResourceProfileDetectionsRequest, callback?: (err: AWSError, data: Macie2.Types.ListResourceProfileDetectionsResponse) => void): Request<Macie2.Types.ListResourceProfileDetectionsResponse, AWSError>;
483
+ /**
484
+ * Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
485
+ */
486
+ listResourceProfileDetections(callback?: (err: AWSError, data: Macie2.Types.ListResourceProfileDetectionsResponse) => void): Request<Macie2.Types.ListResourceProfileDetectionsResponse, AWSError>;
487
+ /**
488
+ * Retrieves a subset of information about the sensitivity inspection template for an account.
489
+ */
490
+ listSensitivityInspectionTemplates(params: Macie2.Types.ListSensitivityInspectionTemplatesRequest, callback?: (err: AWSError, data: Macie2.Types.ListSensitivityInspectionTemplatesResponse) => void): Request<Macie2.Types.ListSensitivityInspectionTemplatesResponse, AWSError>;
491
+ /**
492
+ * Retrieves a subset of information about the sensitivity inspection template for an account.
493
+ */
494
+ listSensitivityInspectionTemplates(callback?: (err: AWSError, data: Macie2.Types.ListSensitivityInspectionTemplatesResponse) => void): Request<Macie2.Types.ListSensitivityInspectionTemplatesResponse, AWSError>;
431
495
  /**
432
496
  * Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
433
497
  */
@@ -492,6 +556,14 @@ declare class Macie2 extends Service {
492
556
  * Updates the settings for an allow list.
493
557
  */
494
558
  updateAllowList(callback?: (err: AWSError, data: Macie2.Types.UpdateAllowListResponse) => void): Request<Macie2.Types.UpdateAllowListResponse, AWSError>;
559
+ /**
560
+ * Enables or disables automated sensitive data discovery for an account.
561
+ */
562
+ updateAutomatedDiscoveryConfiguration(params: Macie2.Types.UpdateAutomatedDiscoveryConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateAutomatedDiscoveryConfigurationResponse) => void): Request<Macie2.Types.UpdateAutomatedDiscoveryConfigurationResponse, AWSError>;
563
+ /**
564
+ * Enables or disables automated sensitive data discovery for an account.
565
+ */
566
+ updateAutomatedDiscoveryConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateAutomatedDiscoveryConfigurationResponse) => void): Request<Macie2.Types.UpdateAutomatedDiscoveryConfigurationResponse, AWSError>;
495
567
  /**
496
568
  * Changes the status of a classification job.
497
569
  */
@@ -500,6 +572,14 @@ declare class Macie2 extends Service {
500
572
  * Changes the status of a classification job.
501
573
  */
502
574
  updateClassificationJob(callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationJobResponse) => void): Request<Macie2.Types.UpdateClassificationJobResponse, AWSError>;
575
+ /**
576
+ * Updates the classification scope settings for an account.
577
+ */
578
+ updateClassificationScope(params: Macie2.Types.UpdateClassificationScopeRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationScopeResponse) => void): Request<Macie2.Types.UpdateClassificationScopeResponse, AWSError>;
579
+ /**
580
+ * Updates the classification scope settings for an account.
581
+ */
582
+ updateClassificationScope(callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationScopeResponse) => void): Request<Macie2.Types.UpdateClassificationScopeResponse, AWSError>;
503
583
  /**
504
584
  * Updates the criteria and other settings for a findings filter.
505
585
  */
@@ -532,6 +612,22 @@ declare class Macie2 extends Service {
532
612
  * Updates the Amazon Macie configuration settings for an organization in Organizations.
533
613
  */
534
614
  updateOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateOrganizationConfigurationResponse) => void): Request<Macie2.Types.UpdateOrganizationConfigurationResponse, AWSError>;
615
+ /**
616
+ * Updates the sensitivity score for an S3 bucket.
617
+ */
618
+ updateResourceProfile(params: Macie2.Types.UpdateResourceProfileRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateResourceProfileResponse) => void): Request<Macie2.Types.UpdateResourceProfileResponse, AWSError>;
619
+ /**
620
+ * Updates the sensitivity score for an S3 bucket.
621
+ */
622
+ updateResourceProfile(callback?: (err: AWSError, data: Macie2.Types.UpdateResourceProfileResponse) => void): Request<Macie2.Types.UpdateResourceProfileResponse, AWSError>;
623
+ /**
624
+ * Updates the sensitivity scoring settings for an S3 bucket.
625
+ */
626
+ updateResourceProfileDetections(params: Macie2.Types.UpdateResourceProfileDetectionsRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateResourceProfileDetectionsResponse) => void): Request<Macie2.Types.UpdateResourceProfileDetectionsResponse, AWSError>;
627
+ /**
628
+ * Updates the sensitivity scoring settings for an S3 bucket.
629
+ */
630
+ updateResourceProfileDetections(callback?: (err: AWSError, data: Macie2.Types.UpdateResourceProfileDetectionsResponse) => void): Request<Macie2.Types.UpdateResourceProfileDetectionsResponse, AWSError>;
535
631
  /**
536
632
  * Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
537
633
  */
@@ -540,6 +636,14 @@ declare class Macie2 extends Service {
540
636
  * Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
541
637
  */
542
638
  updateRevealConfiguration(callback?: (err: AWSError, data: Macie2.Types.UpdateRevealConfigurationResponse) => void): Request<Macie2.Types.UpdateRevealConfigurationResponse, AWSError>;
639
+ /**
640
+ * Updates the settings for the sensitivity inspection template for an account.
641
+ */
642
+ updateSensitivityInspectionTemplate(params: Macie2.Types.UpdateSensitivityInspectionTemplateRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateSensitivityInspectionTemplateResponse) => void): Request<Macie2.Types.UpdateSensitivityInspectionTemplateResponse, AWSError>;
643
+ /**
644
+ * Updates the settings for the sensitivity inspection template for an account.
645
+ */
646
+ updateSensitivityInspectionTemplate(callback?: (err: AWSError, data: Macie2.Types.UpdateSensitivityInspectionTemplateResponse) => void): Request<Macie2.Types.UpdateSensitivityInspectionTemplateResponse, AWSError>;
543
647
  /**
544
648
  * Waits for the findingRevealed state by periodically calling the underlying Macie2.getSensitiveDataOccurrencesoperation every 2 seconds (at most 60 times). Wait until the sensitive data occurrences are ready.
545
649
  */
@@ -691,6 +795,7 @@ declare namespace Macie2 {
691
795
  */
692
796
  sessionContext?: SessionContext;
693
797
  }
798
+ export type AutomatedDiscoveryStatus = "ENABLED"|"DISABLED"|string;
694
799
  export type AvailabilityCode = "AVAILABLE"|"UNAVAILABLE"|string;
695
800
  export interface AwsAccount {
696
801
  /**
@@ -742,7 +847,7 @@ declare namespace Macie2 {
742
847
  }
743
848
  export interface BatchGetCustomDataIdentifiersResponse {
744
849
  /**
745
- * An array of objects, one for each custom data identifier that meets the criteria specified in the request.
850
+ * An array of objects, one for each custom data identifier that matches the criteria specified in the request.
746
851
  */
747
852
  customDataIdentifiers?: __listOfBatchGetCustomDataIdentifierSummary;
748
853
  /**
@@ -824,11 +929,11 @@ declare namespace Macie2 {
824
929
  }
825
930
  export interface BucketCountPolicyAllowsUnencryptedObjectUploads {
826
931
  /**
827
- * The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.
932
+ * The total number of buckets that don't have a bucket policy or have a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, the policy doesn't require PutObject requests to include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
828
933
  */
829
934
  allowsUnencryptedObjectUploads?: __long;
830
935
  /**
831
- * The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.
936
+ * The total number of buckets whose bucket policies require server-side encryption of new objects. PutObject requests for these buckets must include a valid server-side encryption header: the x-amz-server-side-encryption header with a value of AES256 or aws:kms, or the x-amz-server-side-encryption-customer-algorithm header with a value of AES256.
832
937
  */
833
938
  deniesUnencryptedObjectUploads?: __long;
834
939
  /**
@@ -887,7 +992,7 @@ declare namespace Macie2 {
887
992
  */
888
993
  accountId?: __string;
889
994
  /**
890
- * Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are: FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms. TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms. UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects.
995
+ * Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are: FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header. TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header. UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects. Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.
891
996
  */
892
997
  allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads;
893
998
  /**
@@ -895,7 +1000,7 @@ declare namespace Macie2 {
895
1000
  */
896
1001
  bucketArn?: __string;
897
1002
  /**
898
- * The date and time, in UTC and extended ISO 8601 format, when the bucket was created.
1003
+ * The date and time, in UTC and extended ISO 8601 format, when the bucket was created, or changes such as edits to the bucket's policy were most recently made to the bucket.
899
1004
  */
900
1005
  bucketCreatedAt?: __timestampIso8601;
901
1006
  /**
@@ -922,6 +1027,10 @@ declare namespace Macie2 {
922
1027
  * Specifies whether any one-time or recurring classification jobs are configured to analyze data in the bucket, and, if so, the details of the job that ran most recently.
923
1028
  */
924
1029
  jobDetails?: JobDetails;
1030
+ /**
1031
+ * The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently performed automated sensitive data discovery for the bucket. This value is null if automated sensitive data discovery is currently disabled for your account.
1032
+ */
1033
+ lastAutomatedDiscoveryTime?: __timestampIso8601;
925
1034
  /**
926
1035
  * The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved both bucket and object metadata from Amazon S3 for the bucket.
927
1036
  */
@@ -946,6 +1055,10 @@ declare namespace Macie2 {
946
1055
  * Specifies whether the bucket is configured to replicate one or more objects to buckets for other Amazon Web Services accounts and, if so, which accounts.
947
1056
  */
948
1057
  replicationDetails?: ReplicationDetails;
1058
+ /**
1059
+ * The sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). This value is null if automated sensitive data discovery is currently disabled for your account.
1060
+ */
1061
+ sensitivityScore?: __integer;
949
1062
  /**
950
1063
  * Specifies whether the bucket encrypts new objects by default and, if so, the type of server-side encryption that's used.
951
1064
  */
@@ -1022,7 +1135,7 @@ declare namespace Macie2 {
1022
1135
  }
1023
1136
  export interface BucketSortCriteria {
1024
1137
  /**
1025
- * The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, or sizeInBytes.
1138
+ * The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes.
1026
1139
  */
1027
1140
  attributeName?: __string;
1028
1141
  /**
@@ -1030,6 +1143,24 @@ declare namespace Macie2 {
1030
1143
  */
1031
1144
  orderBy?: OrderBy;
1032
1145
  }
1146
+ export interface BucketStatisticsBySensitivity {
1147
+ /**
1148
+ * The aggregated statistical data for all buckets that have a sensitivity score of -1.
1149
+ */
1150
+ classificationError?: SensitivityAggregations;
1151
+ /**
1152
+ * The aggregated statistical data for all buckets that have a sensitivity score of 50.
1153
+ */
1154
+ notClassified?: SensitivityAggregations;
1155
+ /**
1156
+ * The aggregated statistical data for all buckets that have a sensitivity score of 0-49.
1157
+ */
1158
+ notSensitive?: SensitivityAggregations;
1159
+ /**
1160
+ * The aggregated statistical data for all buckets that have a sensitivity score of 51-100.
1161
+ */
1162
+ sensitive?: SensitivityAggregations;
1163
+ }
1033
1164
  export interface Cell {
1034
1165
  /**
1035
1166
  * The location of the cell, as an absolute cell reference, that contains the sensitive data, for example Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.
@@ -1051,19 +1182,19 @@ declare namespace Macie2 {
1051
1182
  export type Cells = Cell[];
1052
1183
  export interface ClassificationDetails {
1053
1184
  /**
1054
- * The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
1185
+ * The path to the folder or file in Amazon S3 that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
1055
1186
  */
1056
1187
  detailedResultsLocation?: __string;
1057
1188
  /**
1058
- * The Amazon Resource Name (ARN) of the classification job that produced the finding.
1189
+ * The Amazon Resource Name (ARN) of the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
1059
1190
  */
1060
1191
  jobArn?: __string;
1061
1192
  /**
1062
- * The unique identifier for the classification job that produced the finding.
1193
+ * The unique identifier for the classification job that produced the finding. This value is null if the origin of the finding (originType) is AUTOMATED_SENSITIVE_DATA_DISCOVERY.
1063
1194
  */
1064
1195
  jobId?: __string;
1065
1196
  /**
1066
- * Specifies how Amazon Macie found the sensitive data that produced the finding: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job.
1197
+ * Specifies how Amazon Macie found the sensitive data that produced the finding. Possible values are: SENSITIVE_DATA_DISCOVERY_JOB, for a classification job; and, AUTOMATED_SENSITIVE_DATA_DISCOVERY, for automated sensitive data discovery.
1067
1198
  */
1068
1199
  originType?: OriginType;
1069
1200
  /**
@@ -1113,6 +1244,19 @@ declare namespace Macie2 {
1113
1244
  */
1114
1245
  reason?: __string;
1115
1246
  }
1247
+ export type ClassificationScopeId = string;
1248
+ export type ClassificationScopeName = string;
1249
+ export interface ClassificationScopeSummary {
1250
+ /**
1251
+ * The unique identifier for the classification scope.
1252
+ */
1253
+ id?: ClassificationScopeId;
1254
+ /**
1255
+ * The name of the classification scope.
1256
+ */
1257
+ name?: ClassificationScopeName;
1258
+ }
1259
+ export type ClassificationScopeUpdateOperation = "ADD"|"REPLACE"|"REMOVE"|string;
1116
1260
  export interface CreateAllowListRequest {
1117
1261
  /**
1118
1262
  * A unique, case-sensitive token that you provide to ensure the idempotency of the request.
@@ -1255,7 +1399,7 @@ declare namespace Macie2 {
1255
1399
  }
1256
1400
  export interface CreateFindingsFilterRequest {
1257
1401
  /**
1258
- * 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.
1402
+ * The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
1259
1403
  */
1260
1404
  action: FindingsFilterAction;
1261
1405
  /**
@@ -1439,6 +1583,7 @@ declare namespace Macie2 {
1439
1583
  export interface DailySchedule {
1440
1584
  }
1441
1585
  export type DataIdentifierSeverity = "LOW"|"MEDIUM"|"HIGH"|string;
1586
+ export type DataIdentifierType = "CUSTOM"|"MANAGED"|string;
1442
1587
  export type DayOfWeek = "SUNDAY"|"MONDAY"|"TUESDAY"|"WEDNESDAY"|"THURSDAY"|"FRIDAY"|"SATURDAY"|string;
1443
1588
  export interface DeclineInvitationsRequest {
1444
1589
  /**
@@ -1535,7 +1680,7 @@ declare namespace Macie2 {
1535
1680
  }
1536
1681
  export interface DescribeBucketsResponse {
1537
1682
  /**
1538
- * An array of objects, one for each bucket that meets the filter criteria specified in the request.
1683
+ * An array of objects, one for each bucket that matches the filter criteria specified in the request.
1539
1684
  */
1540
1685
  buckets?: __listOfBucketMetadata;
1541
1686
  /**
@@ -1653,6 +1798,32 @@ declare namespace Macie2 {
1653
1798
  */
1654
1799
  value: __stringMin1Max128;
1655
1800
  }
1801
+ export interface Detection {
1802
+ /**
1803
+ * If the sensitive data was detected by a custom data identifier, the Amazon Resource Name (ARN) of the custom data identifier that detected the data. Otherwise, this value is null.
1804
+ */
1805
+ arn?: __string;
1806
+ /**
1807
+ * The total number of occurrences of the sensitive data.
1808
+ */
1809
+ count?: __long;
1810
+ /**
1811
+ * The unique identifier for the custom data identifier or managed data identifier that detected the sensitive data. For additional details about a specified managed data identifier, see Using managed data identifiers in the Amazon Macie User Guide.
1812
+ */
1813
+ id?: __string;
1814
+ /**
1815
+ * The name of the custom data identifier or managed data identifier that detected the sensitive data. For a managed data identifier, this value is the same as the unique identifier (id).
1816
+ */
1817
+ name?: __string;
1818
+ /**
1819
+ * Specifies whether occurrences of this type of sensitive data are excluded (true) or included (false) in the bucket's sensitivity score.
1820
+ */
1821
+ suppressed?: __boolean;
1822
+ /**
1823
+ * The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
1824
+ */
1825
+ type?: DataIdentifierType;
1826
+ }
1656
1827
  export interface DisableMacieRequest {
1657
1828
  }
1658
1829
  export interface DisableMacieResponse {
@@ -1758,11 +1929,11 @@ declare namespace Macie2 {
1758
1929
  */
1759
1930
  classificationDetails?: ClassificationDetails;
1760
1931
  /**
1761
- * The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
1932
+ * The total number of occurrences of the finding. For sensitive data findings, this value is always 1. All sensitive data findings are considered unique.
1762
1933
  */
1763
1934
  count?: __long;
1764
1935
  /**
1765
- * The date and time, in UTC and extended ISO 8601 format, when the finding was created.
1936
+ * The date and time, in UTC and extended ISO 8601 format, when Amazon Macie created the finding.
1766
1937
  */
1767
1938
  createdAt?: __timestampIso8601;
1768
1939
  /**
@@ -1810,7 +1981,7 @@ declare namespace Macie2 {
1810
1981
  */
1811
1982
  type?: FindingType;
1812
1983
  /**
1813
- * The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
1984
+ * The date and time, in UTC and extended ISO 8601 format, when Amazon Macie last updated the finding. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new.
1814
1985
  */
1815
1986
  updatedAt?: __timestampIso8601;
1816
1987
  }
@@ -1862,7 +2033,7 @@ declare namespace Macie2 {
1862
2033
  export type FindingsFilterAction = "ARCHIVE"|"NOOP"|string;
1863
2034
  export interface FindingsFilterListItem {
1864
2035
  /**
1865
- * The action that's performed on findings that meet the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
2036
+ * The action that's performed on findings that match the filter criteria. Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
1866
2037
  */
1867
2038
  action?: FindingsFilterAction;
1868
2039
  /**
@@ -1934,6 +2105,34 @@ declare namespace Macie2 {
1934
2105
  */
1935
2106
  updatedAt?: __timestampIso8601;
1936
2107
  }
2108
+ export interface GetAutomatedDiscoveryConfigurationRequest {
2109
+ }
2110
+ export interface GetAutomatedDiscoveryConfigurationResponse {
2111
+ /**
2112
+ * The unique identifier for the classification scope that's used when performing automated sensitive data discovery for the account. The classification scope specifies S3 buckets to exclude from automated sensitive data discovery.
2113
+ */
2114
+ classificationScopeId?: ClassificationScopeId;
2115
+ /**
2116
+ * The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was most recently disabled for the account. This value is null if automated sensitive data discovery wasn't enabled and subsequently disabled for the account.
2117
+ */
2118
+ disabledAt?: Timestamp;
2119
+ /**
2120
+ * The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was initially enabled for the account. This value is null if automated sensitive data discovery has never been enabled for the account.
2121
+ */
2122
+ firstEnabledAt?: Timestamp;
2123
+ /**
2124
+ * The date and time, in UTC and extended ISO 8601 format, when automated sensitive data discovery was most recently enabled or disabled for the account.
2125
+ */
2126
+ lastUpdatedAt?: Timestamp;
2127
+ /**
2128
+ * The unique identifier for the sensitivity inspection template that's used when performing automated sensitive data discovery for the account. The template specifies which allow lists, custom data identifiers, and managed data identifiers to use when analyzing data.
2129
+ */
2130
+ sensitivityInspectionTemplateId?: SensitivityInspectionTemplateId;
2131
+ /**
2132
+ * The current status of the automated sensitive data discovery configuration for the account. Possible values are: ENABLED, use the specified settings to perform automated sensitive data discovery activities for the account; and, DISABLED, don't perform automated sensitive data discovery activities for the account.
2133
+ */
2134
+ status?: AutomatedDiscoveryStatus;
2135
+ }
1937
2136
  export interface GetBucketStatisticsRequest {
1938
2137
  /**
1939
2138
  * The unique identifier for the Amazon Web Services account.
@@ -1961,12 +2160,16 @@ declare namespace Macie2 {
1961
2160
  * The total number of buckets that are or aren't shared with another Amazon Web Services account.
1962
2161
  */
1963
2162
  bucketCountBySharedAccessType?: BucketCountBySharedAccessType;
2163
+ /**
2164
+ * The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for each statistic is 0.
2165
+ */
2166
+ bucketStatisticsBySensitivity?: BucketStatisticsBySensitivity;
1964
2167
  /**
1965
2168
  * The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
1966
2169
  */
1967
2170
  classifiableObjectCount?: __long;
1968
2171
  /**
1969
- * The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format. If versioning is enabled for any of the buckets, Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
2172
+ * The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
1970
2173
  */
1971
2174
  classifiableSizeInBytes?: __long;
1972
2175
  /**
@@ -1978,11 +2181,11 @@ declare namespace Macie2 {
1978
2181
  */
1979
2182
  objectCount?: __long;
1980
2183
  /**
1981
- * The total storage size, in bytes, of the buckets. If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each object in those buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
2184
+ * The total storage size, in bytes, of the buckets. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
1982
2185
  */
1983
2186
  sizeInBytes?: __long;
1984
2187
  /**
1985
- * The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets. If versioning is enabled for any of the buckets, Amazon Macie calculates this value based on the size of the latest version of each applicable object in those buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
2188
+ * The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.
1986
2189
  */
1987
2190
  sizeInBytesCompressed?: __long;
1988
2191
  /**
@@ -2002,6 +2205,26 @@ declare namespace Macie2 {
2002
2205
  */
2003
2206
  configuration?: ClassificationExportConfiguration;
2004
2207
  }
2208
+ export interface GetClassificationScopeRequest {
2209
+ /**
2210
+ * The unique identifier for the Amazon Macie resource that the request applies to.
2211
+ */
2212
+ id: __string;
2213
+ }
2214
+ export interface GetClassificationScopeResponse {
2215
+ /**
2216
+ * The unique identifier for the classification scope.
2217
+ */
2218
+ id?: ClassificationScopeId;
2219
+ /**
2220
+ * The name of the classification scope.
2221
+ */
2222
+ name?: ClassificationScopeName;
2223
+ /**
2224
+ * The S3 buckets that are excluded from automated sensitive data discovery.
2225
+ */
2226
+ s3?: S3ClassificationScope;
2227
+ }
2005
2228
  export interface GetCustomDataIdentifierRequest {
2006
2229
  /**
2007
2230
  * The unique identifier for the Amazon Macie resource that the request applies to.
@@ -2078,7 +2301,7 @@ declare namespace Macie2 {
2078
2301
  }
2079
2302
  export interface GetFindingStatisticsResponse {
2080
2303
  /**
2081
- * An array of objects, one for each group of findings that meet the filter criteria specified in the request.
2304
+ * An array of objects, one for each group of findings that matches the filter criteria specified in the request.
2082
2305
  */
2083
2306
  countsByGroup?: __listOfGroupCount;
2084
2307
  }
@@ -2090,7 +2313,7 @@ declare namespace Macie2 {
2090
2313
  }
2091
2314
  export interface GetFindingsFilterResponse {
2092
2315
  /**
2093
- * The action that's performed on findings that meet the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
2316
+ * The action that's performed on findings that match the filter criteria (findingCriteria). Possible values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
2094
2317
  */
2095
2318
  action?: FindingsFilterAction;
2096
2319
  /**
@@ -2142,7 +2365,7 @@ declare namespace Macie2 {
2142
2365
  }
2143
2366
  export interface GetFindingsResponse {
2144
2367
  /**
2145
- * An array of objects, one for each finding that meets the criteria specified in the request.
2368
+ * An array of objects, one for each finding that matches the criteria specified in the request.
2146
2369
  */
2147
2370
  findings?: __listOfFinding;
2148
2371
  }
@@ -2230,6 +2453,30 @@ declare namespace Macie2 {
2230
2453
  */
2231
2454
  updatedAt?: __timestampIso8601;
2232
2455
  }
2456
+ export interface GetResourceProfileRequest {
2457
+ /**
2458
+ * The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
2459
+ */
2460
+ resourceArn: __string;
2461
+ }
2462
+ export interface GetResourceProfileResponse {
2463
+ /**
2464
+ * The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently recalculated sensitive data discovery statistics and details for the bucket. If the bucket's sensitivity score is calculated automatically, this includes the score.
2465
+ */
2466
+ profileUpdatedAt?: __timestampIso8601;
2467
+ /**
2468
+ * The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). By default, this score is calculated automatically based on the amount of data that Amazon Macie has analyzed in the bucket and the amount of sensitive data that Macie has found in the bucket.
2469
+ */
2470
+ sensitivityScore?: __integer;
2471
+ /**
2472
+ * Specifies whether the bucket's current sensitivity score was set manually. If this value is true, the score was manually changed to 100. If this value is false, the score was calculated automatically by Amazon Macie.
2473
+ */
2474
+ sensitivityScoreOverridden?: __boolean;
2475
+ /**
2476
+ * The sensitive data discovery statistics for the bucket. The statistics capture the results of automated sensitive data discovery activities that Amazon Macie has performed for the bucket.
2477
+ */
2478
+ statistics?: ResourceStatistics;
2479
+ }
2233
2480
  export interface GetRevealConfigurationRequest {
2234
2481
  }
2235
2482
  export interface GetRevealConfigurationResponse {
@@ -2274,6 +2521,34 @@ declare namespace Macie2 {
2274
2521
  */
2275
2522
  status?: RevealRequestStatus;
2276
2523
  }
2524
+ export interface GetSensitivityInspectionTemplateRequest {
2525
+ /**
2526
+ * The unique identifier for the Amazon Macie resource that the request applies to.
2527
+ */
2528
+ id: __string;
2529
+ }
2530
+ export interface GetSensitivityInspectionTemplateResponse {
2531
+ /**
2532
+ * The custom description of the template.
2533
+ */
2534
+ description?: __string;
2535
+ /**
2536
+ * The managed data identifiers that are explicitly excluded (not used) when analyzing data.
2537
+ */
2538
+ excludes?: SensitivityInspectionTemplateExcludes;
2539
+ /**
2540
+ * The allow lists, custom data identifiers, and managed data identifiers that are included (used) when analyzing data.
2541
+ */
2542
+ includes?: SensitivityInspectionTemplateIncludes;
2543
+ /**
2544
+ * The name of the template.
2545
+ */
2546
+ name?: __string;
2547
+ /**
2548
+ * The unique identifier for the template.
2549
+ */
2550
+ sensitivityInspectionTemplateId?: SensitivityInspectionTemplateId;
2551
+ }
2277
2552
  export interface GetUsageStatisticsRequest {
2278
2553
  /**
2279
2554
  * An array of objects, one for each condition to use to filter the query results. If you specify more than one condition, Amazon Macie uses an AND operator to join the conditions.
@@ -2302,7 +2577,7 @@ declare namespace Macie2 {
2302
2577
  */
2303
2578
  nextToken?: __string;
2304
2579
  /**
2305
- * An array of objects that contains the results of the query. Each object contains the data for an account that meets the filter criteria specified in the request.
2580
+ * An array of objects that contains the results of the query. Each object contains the data for an account that matches the filter criteria specified in the request.
2306
2581
  */
2307
2582
  records?: __listOfUsageRecord;
2308
2583
  /**
@@ -2492,6 +2767,10 @@ declare namespace Macie2 {
2492
2767
  }
2493
2768
  export type JobStatus = "RUNNING"|"PAUSED"|"CANCELLED"|"COMPLETE"|"IDLE"|"USER_PAUSED"|string;
2494
2769
  export interface JobSummary {
2770
+ /**
2771
+ * The property- and tag-based conditions that determine which S3 buckets are included or excluded from the job's analysis. Each time the job runs, the job uses these criteria to determine which buckets to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
2772
+ */
2773
+ bucketCriteria?: S3BucketCriteriaForJob;
2495
2774
  /**
2496
2775
  * An array of objects, one for each Amazon Web Services account that owns specific S3 buckets for the job to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
2497
2776
  */
@@ -2524,10 +2803,6 @@ declare namespace Macie2 {
2524
2803
  * If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job or job run will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
2525
2804
  */
2526
2805
  userPausedDetails?: UserPausedDetails;
2527
- /**
2528
- * The property- and tag-based conditions that determine which S3 buckets are included or excluded from the job's analysis. Each time the job runs, the job uses these criteria to determine which buckets to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
2529
- */
2530
- bucketCriteria?: S3BucketCriteriaForJob;
2531
2806
  }
2532
2807
  export type JobType = "ONE_TIME"|"SCHEDULED"|string;
2533
2808
  export interface KeyValuePair {
@@ -2588,7 +2863,7 @@ declare namespace Macie2 {
2588
2863
  }
2589
2864
  export interface ListClassificationJobsResponse {
2590
2865
  /**
2591
- * An array of objects, one for each job that meets the filter criteria specified in the request.
2866
+ * An array of objects, one for each job that matches the filter criteria specified in the request.
2592
2867
  */
2593
2868
  items?: __listOfJobSummary;
2594
2869
  /**
@@ -2596,6 +2871,26 @@ declare namespace Macie2 {
2596
2871
  */
2597
2872
  nextToken?: __string;
2598
2873
  }
2874
+ export interface ListClassificationScopesRequest {
2875
+ /**
2876
+ * The name of the classification scope to retrieve the unique identifier for.
2877
+ */
2878
+ name?: __string;
2879
+ /**
2880
+ * The nextToken string that specifies which page of results to return in a paginated response.
2881
+ */
2882
+ nextToken?: __string;
2883
+ }
2884
+ export interface ListClassificationScopesResponse {
2885
+ /**
2886
+ * An array that specifies the unique identifier and name of the classification scope for the account.
2887
+ */
2888
+ classificationScopes?: __listOfClassificationScopeSummary;
2889
+ /**
2890
+ * 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.
2891
+ */
2892
+ nextToken?: NextToken;
2893
+ }
2599
2894
  export interface ListCustomDataIdentifiersRequest {
2600
2895
  /**
2601
2896
  * The maximum number of items to include in each page of the response.
@@ -2656,7 +2951,7 @@ declare namespace Macie2 {
2656
2951
  }
2657
2952
  export interface ListFindingsResponse {
2658
2953
  /**
2659
- * An array of strings, where each string is the unique identifier for a finding that meets the filter criteria specified in the request.
2954
+ * An array of strings, where each string is the unique identifier for a finding that matches the filter criteria specified in the request.
2660
2955
  */
2661
2956
  findingIds?: __listOf__string;
2662
2957
  /**
@@ -2752,7 +3047,7 @@ declare namespace Macie2 {
2752
3047
  }
2753
3048
  export interface ListMembersResponse {
2754
3049
  /**
2755
- * An array of objects, one for each account that's associated with the administrator account and meets the criteria specified in the request.
3050
+ * An array of objects, one for each account that's associated with the administrator account and matches the criteria specified in the request.
2756
3051
  */
2757
3052
  members?: __listOfMember;
2758
3053
  /**
@@ -2780,6 +3075,70 @@ declare namespace Macie2 {
2780
3075
  */
2781
3076
  nextToken?: __string;
2782
3077
  }
3078
+ export interface ListResourceProfileArtifactsRequest {
3079
+ /**
3080
+ * The nextToken string that specifies which page of results to return in a paginated response.
3081
+ */
3082
+ nextToken?: __string;
3083
+ /**
3084
+ * The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
3085
+ */
3086
+ resourceArn: __string;
3087
+ }
3088
+ export interface ListResourceProfileArtifactsResponse {
3089
+ /**
3090
+ * An array of objects, one for each S3 object that Amazon Macie selected for analysis.
3091
+ */
3092
+ artifacts?: __listOfResourceProfileArtifact;
3093
+ /**
3094
+ * 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.
3095
+ */
3096
+ nextToken?: __string;
3097
+ }
3098
+ export interface ListResourceProfileDetectionsRequest {
3099
+ /**
3100
+ * The maximum number of items to include in each page of a paginated response.
3101
+ */
3102
+ maxResults?: MaxResults;
3103
+ /**
3104
+ * The nextToken string that specifies which page of results to return in a paginated response.
3105
+ */
3106
+ nextToken?: __string;
3107
+ /**
3108
+ * The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
3109
+ */
3110
+ resourceArn: __string;
3111
+ }
3112
+ export interface ListResourceProfileDetectionsResponse {
3113
+ /**
3114
+ * An array of objects, one for each type of sensitive data that Amazon Macie found in the bucket. Each object reports the number of occurrences of the specified type and provides information about the custom data identifier or managed data identifier that detected the data.
3115
+ */
3116
+ detections?: __listOfDetection;
3117
+ /**
3118
+ * 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.
3119
+ */
3120
+ nextToken?: __string;
3121
+ }
3122
+ export interface ListSensitivityInspectionTemplatesRequest {
3123
+ /**
3124
+ * The maximum number of items to include in each page of a paginated response.
3125
+ */
3126
+ maxResults?: MaxResults;
3127
+ /**
3128
+ * The nextToken string that specifies which page of results to return in a paginated response.
3129
+ */
3130
+ nextToken?: __string;
3131
+ }
3132
+ export interface ListSensitivityInspectionTemplatesResponse {
3133
+ /**
3134
+ * 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.
3135
+ */
3136
+ nextToken?: __string;
3137
+ /**
3138
+ * An array that specifies the unique identifier and name of the sensitivity inspection template for the account.
3139
+ */
3140
+ sensitivityInspectionTemplates?: __listOfSensitivityInspectionTemplatesEntry;
3141
+ }
2783
3142
  export interface ListTagsForResourceRequest {
2784
3143
  /**
2785
3144
  * The Amazon Resource Name (ARN) of the resource.
@@ -2833,14 +3192,22 @@ declare namespace Macie2 {
2833
3192
  * Specifies whether any one-time or recurring classification jobs are configured to analyze objects in the bucket, and, if so, the details of the job that ran most recently.
2834
3193
  */
2835
3194
  jobDetails?: JobDetails;
3195
+ /**
3196
+ * The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently performed automated sensitive data discovery for the bucket. This value is null if automated sensitive data discovery is currently disabled for your account.
3197
+ */
3198
+ lastAutomatedDiscoveryTime?: __timestampIso8601;
2836
3199
  /**
2837
3200
  * The total number of objects in the bucket.
2838
3201
  */
2839
3202
  objectCount?: __long;
2840
3203
  /**
2841
- * The total number of objects that are in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
3204
+ * The total number of objects in the bucket, grouped by server-side encryption type. This includes a grouping that reports the total number of objects that aren't encrypted or use client-side encryption.
2842
3205
  */
2843
3206
  objectCountByEncryptionType?: ObjectCountByEncryptionType;
3207
+ /**
3208
+ * The current sensitivity score for the bucket, ranging from -1 (no analysis due to an error) to 100 (sensitive). This value is null if automated sensitive data discovery is currently disabled for your account.
3209
+ */
3210
+ sensitivityScore?: __integer;
2844
3211
  /**
2845
3212
  * The total storage size, in bytes, of the bucket. If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.
2846
3213
  */
@@ -2909,6 +3276,7 @@ declare namespace Macie2 {
2909
3276
  */
2910
3277
  dayOfMonth?: __integer;
2911
3278
  }
3279
+ export type NextToken = string;
2912
3280
  export interface ObjectCountByEncryptionType {
2913
3281
  /**
2914
3282
  * The total number of objects that are encrypted with a customer-provided key. The objects use customer-provided server-side encryption (SSE-C).
@@ -2968,7 +3336,7 @@ declare namespace Macie2 {
2968
3336
  records?: Records;
2969
3337
  }
2970
3338
  export type OrderBy = "ASC"|"DESC"|string;
2971
- export type OriginType = "SENSITIVE_DATA_DISCOVERY_JOB"|string;
3339
+ export type OriginType = "SENSITIVE_DATA_DISCOVERY_JOB"|"AUTOMATED_SENSITIVE_DATA_DISCOVERY"|string;
2972
3340
  export interface Page {
2973
3341
  /**
2974
3342
  * Reserved for future use.
@@ -3059,6 +3427,58 @@ declare namespace Macie2 {
3059
3427
  */
3060
3428
  replicationAccounts?: __listOf__string;
3061
3429
  }
3430
+ export interface ResourceProfileArtifact {
3431
+ /**
3432
+ * The Amazon Resource Name (ARN) of the object.
3433
+ */
3434
+ arn: __string;
3435
+ /**
3436
+ * The status of the analysis. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the object. PARTIAL - Macie analyzed only a subset of data in the object. For example, the object is an archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the object. For example, the object is a malformed file.
3437
+ */
3438
+ classificationResultStatus: __string;
3439
+ /**
3440
+ * Specifies whether Amazon Macie found sensitive data in the object.
3441
+ */
3442
+ sensitive?: __boolean;
3443
+ }
3444
+ export interface ResourceStatistics {
3445
+ /**
3446
+ * The total amount of data, in bytes, that Amazon Macie has analyzed in the bucket.
3447
+ */
3448
+ totalBytesClassified?: __long;
3449
+ /**
3450
+ * The total number of occurrences of sensitive data that Amazon Macie has found in the bucket's objects. This includes occurrences that are currently suppressed by the sensitivity scoring settings for the bucket (totalDetectionsSuppressed).
3451
+ */
3452
+ totalDetections?: __long;
3453
+ /**
3454
+ * The total number of occurrences of sensitive data that are currently suppressed by the sensitivity scoring settings for the bucket. These represent occurrences of sensitive data that Amazon Macie found in the bucket's objects, but the occurrences were manually suppressed. By default, suppressed occurrences are excluded from the bucket's sensitivity score.
3455
+ */
3456
+ totalDetectionsSuppressed?: __long;
3457
+ /**
3458
+ * The total number of objects that Amazon Macie has analyzed in the bucket.
3459
+ */
3460
+ totalItemsClassified?: __long;
3461
+ /**
3462
+ * The total number of the bucket's objects that Amazon Macie has found sensitive data in.
3463
+ */
3464
+ totalItemsSensitive?: __long;
3465
+ /**
3466
+ * The total number of objects that Amazon Macie hasn't analyzed in the bucket due to an error or issue. For example, the object is a malformed file. This value includes objects that Macie hasn't analyzed for reasons reported by other statistics in the ResourceStatistics object.
3467
+ */
3468
+ totalItemsSkipped?: __long;
3469
+ /**
3470
+ * The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with a key that Macie isn't allowed to use.
3471
+ */
3472
+ totalItemsSkippedInvalidEncryption?: __long;
3473
+ /**
3474
+ * The total number of objects that Amazon Macie hasn't analyzed in the bucket because the objects are encrypted with an KMS key that was disabled or deleted.
3475
+ */
3476
+ totalItemsSkippedInvalidKms?: __long;
3477
+ /**
3478
+ * The total number of objects that Amazon Macie hasn't analyzed in the bucket because Macie isn't allowed to access the objects.
3479
+ */
3480
+ totalItemsSkippedPermissionDenied?: __long;
3481
+ }
3062
3482
  export interface ResourcesAffected {
3063
3483
  /**
3064
3484
  * The details of the S3 bucket that the finding applies to.
@@ -3083,7 +3503,7 @@ declare namespace Macie2 {
3083
3503
  export type RevealStatus = "ENABLED"|"DISABLED"|string;
3084
3504
  export interface S3Bucket {
3085
3505
  /**
3086
- * Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are: FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms. TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms. UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.
3506
+ * Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are: FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include a valid server-side encryption header. TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include a valid server-side encryption header. UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of new objects. Valid server-side encryption headers are: x-amz-server-side-encryption with a value of AES256 or aws:kms, and x-amz-server-side-encryption-customer-algorithm with a value of AES256.
3087
3507
  */
3088
3508
  allowsUnencryptedObjectUploads?: AllowsUnencryptedObjectUploads;
3089
3509
  /**
@@ -3135,6 +3555,7 @@ declare namespace Macie2 {
3135
3555
  */
3136
3556
  buckets: __listOf__string;
3137
3557
  }
3558
+ export type S3BucketName = string;
3138
3559
  export interface S3BucketOwner {
3139
3560
  /**
3140
3561
  * The display name of the account that owns the bucket.
@@ -3145,6 +3566,34 @@ declare namespace Macie2 {
3145
3566
  */
3146
3567
  id?: __string;
3147
3568
  }
3569
+ export interface S3ClassificationScope {
3570
+ /**
3571
+ * The S3 buckets that are excluded.
3572
+ */
3573
+ excludes: S3ClassificationScopeExclusion;
3574
+ }
3575
+ export interface S3ClassificationScopeExclusion {
3576
+ /**
3577
+ * An array of strings, one for each S3 bucket that is excluded. Each string is the full name of an excluded bucket.
3578
+ */
3579
+ bucketNames: __listOfS3BucketName;
3580
+ }
3581
+ export interface S3ClassificationScopeExclusionUpdate {
3582
+ /**
3583
+ * Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.
3584
+ */
3585
+ bucketNames: __listOfS3BucketName;
3586
+ /**
3587
+ * Specifies how to apply the changes to the exclusion list. Valid values are: ADD - Append the specified bucket names to the current list. REMOVE - Remove the specified bucket names from the current list. REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.
3588
+ */
3589
+ operation: ClassificationScopeUpdateOperation;
3590
+ }
3591
+ export interface S3ClassificationScopeUpdate {
3592
+ /**
3593
+ * The names of the S3 buckets to add or remove from the list.
3594
+ */
3595
+ excludes: S3ClassificationScopeExclusionUpdate;
3596
+ }
3148
3597
  export interface S3Destination {
3149
3598
  /**
3150
3599
  * The name of the bucket.
@@ -3160,6 +3609,10 @@ declare namespace Macie2 {
3160
3609
  kmsKeyArn: __string;
3161
3610
  }
3162
3611
  export interface S3JobDefinition {
3612
+ /**
3613
+ * The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
3614
+ */
3615
+ bucketCriteria?: S3BucketCriteriaForJob;
3163
3616
  /**
3164
3617
  * An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
3165
3618
  */
@@ -3168,10 +3621,6 @@ declare namespace Macie2 {
3168
3621
  * The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
3169
3622
  */
3170
3623
  scoping?: Scoping;
3171
- /**
3172
- * The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
3173
- */
3174
- bucketCriteria?: S3BucketCriteriaForJob;
3175
3624
  }
3176
3625
  export interface S3Object {
3177
3626
  /**
@@ -3291,7 +3740,7 @@ declare namespace Macie2 {
3291
3740
  }
3292
3741
  export interface SearchResourcesResponse {
3293
3742
  /**
3294
- * An array of objects, one for each resource that meets the filter criteria specified in the request.
3743
+ * An array of objects, one for each resource that matches the filter criteria specified in the request.
3295
3744
  */
3296
3745
  matchingResources?: __listOfMatchingResource;
3297
3746
  /**
@@ -3372,6 +3821,55 @@ declare namespace Macie2 {
3372
3821
  }
3373
3822
  export type SensitiveDataItemCategory = "FINANCIAL_INFORMATION"|"PERSONAL_INFORMATION"|"CREDENTIALS"|"CUSTOM_IDENTIFIER"|string;
3374
3823
  export type SensitiveDataOccurrences = {[key: string]: __listOfDetectedDataDetails};
3824
+ export interface SensitivityAggregations {
3825
+ /**
3826
+ * The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.
3827
+ */
3828
+ classifiableSizeInBytes?: __long;
3829
+ /**
3830
+ * The total number of buckets that are publicly accessible based on a combination of permissions settings for each bucket.
3831
+ */
3832
+ publiclyAccessibleCount?: __long;
3833
+ /**
3834
+ * The total number of buckets.
3835
+ */
3836
+ totalCount?: __long;
3837
+ /**
3838
+ * The total storage size, in bytes, of the buckets. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.
3839
+ */
3840
+ totalSizeInBytes?: __long;
3841
+ }
3842
+ export interface SensitivityInspectionTemplateExcludes {
3843
+ /**
3844
+ * An array of unique identifiers, one for each managed data identifier to exclude. To retrieve a list of valid values, use the ListManagedDataIdentifiers operation.
3845
+ */
3846
+ managedDataIdentifierIds?: __listOf__string;
3847
+ }
3848
+ export type SensitivityInspectionTemplateId = string;
3849
+ export interface SensitivityInspectionTemplateIncludes {
3850
+ /**
3851
+ * An array of unique identifiers, one for each allow list to include.
3852
+ */
3853
+ allowListIds?: __listOf__string;
3854
+ /**
3855
+ * An array of unique identifiers, one for each custom data identifier to include.
3856
+ */
3857
+ customDataIdentifierIds?: __listOf__string;
3858
+ /**
3859
+ * An array of unique identifiers, one for each managed data identifier to include. Amazon Macie uses these managed data identifiers in addition to managed data identifiers that are subsequently released and recommended for automated sensitive data discovery. To retrieve a list of valid values for the managed data identifiers that are currently available, use the ListManagedDataIdentifiers operation.
3860
+ */
3861
+ managedDataIdentifierIds?: __listOf__string;
3862
+ }
3863
+ export interface SensitivityInspectionTemplatesEntry {
3864
+ /**
3865
+ * The unique identifier for the sensitivity inspection template for the account.
3866
+ */
3867
+ id?: __string;
3868
+ /**
3869
+ * The name of the sensitivity inspection template for the account.
3870
+ */
3871
+ name?: __string;
3872
+ }
3375
3873
  export interface ServerSideEncryption {
3376
3874
  /**
3377
3875
  * The server-side encryption algorithm that's used when storing data in the bucket or object. If default encryption is disabled for the bucket or the object isn't encrypted using server-side encryption, this value is NONE.
@@ -3511,6 +4009,16 @@ declare namespace Macie2 {
3511
4009
  numberOfRuns?: __double;
3512
4010
  }
3513
4011
  export type StorageClass = "STANDARD"|"REDUCED_REDUNDANCY"|"STANDARD_IA"|"INTELLIGENT_TIERING"|"DEEP_ARCHIVE"|"ONEZONE_IA"|"GLACIER"|string;
4012
+ export interface SuppressDataIdentifier {
4013
+ /**
4014
+ * The unique identifier for the custom data identifier or managed data identifier that detected the type of sensitive data to exclude or include in the score.
4015
+ */
4016
+ id?: __string;
4017
+ /**
4018
+ * The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.
4019
+ */
4020
+ type?: DataIdentifierType;
4021
+ }
3514
4022
  export interface TagCriterionForJob {
3515
4023
  /**
3516
4024
  * The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
@@ -3602,6 +4110,7 @@ declare namespace Macie2 {
3602
4110
  matchCount?: __integer;
3603
4111
  }
3604
4112
  export type TimeRange = "MONTH_TO_DATE"|"PAST_30_DAYS"|string;
4113
+ export type Timestamp = Date;
3605
4114
  export type Type = "NONE"|"AES256"|"aws:kms"|string;
3606
4115
  export type UnavailabilityReasonCode = "OBJECT_EXCEEDS_SIZE_QUOTA"|"UNSUPPORTED_OBJECT_TYPE"|"UNSUPPORTED_FINDING_TYPE"|"INVALID_CLASSIFICATION_RESULT"|"OBJECT_UNAVAILABLE"|string;
3607
4116
  export type Unit = "TERABYTES"|string;
@@ -3659,6 +4168,14 @@ declare namespace Macie2 {
3659
4168
  */
3660
4169
  id?: __stringMin22Max22PatternAZ0922;
3661
4170
  }
4171
+ export interface UpdateAutomatedDiscoveryConfigurationRequest {
4172
+ /**
4173
+ * The new status of automated sensitive data discovery for the account. Valid values are: ENABLED, start or resume automated sensitive data discovery activities for the account; and, DISABLED, stop performing automated sensitive data discovery activities for the account. When you enable automated sensitive data discovery for the first time, Amazon Macie uses default configuration settings to determine which data sources to analyze and which managed data identifiers to use. To change these settings, use the UpdateClassificationScope and UpdateSensitivityInspectionTemplate operations, respectively. If you change the settings and subsequently disable the configuration, Amazon Macie retains your changes.
4174
+ */
4175
+ status: AutomatedDiscoveryStatus;
4176
+ }
4177
+ export interface UpdateAutomatedDiscoveryConfigurationResponse {
4178
+ }
3662
4179
  export interface UpdateClassificationJobRequest {
3663
4180
  /**
3664
4181
  * The unique identifier for the classification job.
@@ -3671,11 +4188,27 @@ declare namespace Macie2 {
3671
4188
  }
3672
4189
  export interface UpdateClassificationJobResponse {
3673
4190
  }
4191
+ export interface UpdateClassificationScopeRequest {
4192
+ /**
4193
+ * The unique identifier for the Amazon Macie resource that the request applies to.
4194
+ */
4195
+ id: __string;
4196
+ /**
4197
+ * The S3 buckets to add or remove from the exclusion list defined by the classification scope.
4198
+ */
4199
+ s3?: S3ClassificationScopeUpdate;
4200
+ }
4201
+ export interface UpdateClassificationScopeResponse {
4202
+ }
3674
4203
  export interface UpdateFindingsFilterRequest {
3675
4204
  /**
3676
- * 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.
4205
+ * The action to perform on findings that match the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.
3677
4206
  */
3678
4207
  action?: FindingsFilterAction;
4208
+ /**
4209
+ * A unique, case-sensitive token that you provide to ensure the idempotency of the request.
4210
+ */
4211
+ clientToken?: __string;
3679
4212
  /**
3680
4213
  * A custom description of the filter. The description can contain as many as 512 characters. 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.
3681
4214
  */
@@ -3696,10 +4229,6 @@ declare namespace Macie2 {
3696
4229
  * 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.
3697
4230
  */
3698
4231
  position?: __integer;
3699
- /**
3700
- * A unique, case-sensitive token that you provide to ensure the idempotency of the request.
3701
- */
3702
- clientToken?: __string;
3703
4232
  }
3704
4233
  export interface UpdateFindingsFilterResponse {
3705
4234
  /**
@@ -3743,6 +4272,30 @@ declare namespace Macie2 {
3743
4272
  }
3744
4273
  export interface UpdateOrganizationConfigurationResponse {
3745
4274
  }
4275
+ export interface UpdateResourceProfileDetectionsRequest {
4276
+ /**
4277
+ * The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
4278
+ */
4279
+ resourceArn: __string;
4280
+ /**
4281
+ * An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.
4282
+ */
4283
+ suppressDataIdentifiers?: __listOfSuppressDataIdentifier;
4284
+ }
4285
+ export interface UpdateResourceProfileDetectionsResponse {
4286
+ }
4287
+ export interface UpdateResourceProfileRequest {
4288
+ /**
4289
+ * The Amazon Resource Name (ARN) of the S3 bucket that the request applies to.
4290
+ */
4291
+ resourceArn: __string;
4292
+ /**
4293
+ * The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the Sensitive label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.
4294
+ */
4295
+ sensitivityScoreOverride?: __integer;
4296
+ }
4297
+ export interface UpdateResourceProfileResponse {
4298
+ }
3746
4299
  export interface UpdateRevealConfigurationRequest {
3747
4300
  /**
3748
4301
  * The new configuration settings and the status of the configuration for the account.
@@ -3755,6 +4308,26 @@ declare namespace Macie2 {
3755
4308
  */
3756
4309
  configuration?: RevealConfiguration;
3757
4310
  }
4311
+ export interface UpdateSensitivityInspectionTemplateRequest {
4312
+ /**
4313
+ * A custom description of the template.
4314
+ */
4315
+ description?: __string;
4316
+ /**
4317
+ * The managed data identifiers to explicitly exclude (not use) when analyzing data. To exclude an allow list or custom data identifier that's currently included by the template, update the values for the SensitivityInspectionTemplateIncludes.allowListIds and SensitivityInspectionTemplateIncludes.customDataIdentifierIds properties, respectively.
4318
+ */
4319
+ excludes?: SensitivityInspectionTemplateExcludes;
4320
+ /**
4321
+ * The unique identifier for the Amazon Macie resource that the request applies to.
4322
+ */
4323
+ id: __string;
4324
+ /**
4325
+ * The allow lists, custom data identifiers, and managed data identifiers to include (use) when analyzing data.
4326
+ */
4327
+ includes?: SensitivityInspectionTemplateIncludes;
4328
+ }
4329
+ export interface UpdateSensitivityInspectionTemplateResponse {
4330
+ }
3758
4331
  export interface UsageByAccount {
3759
4332
  /**
3760
4333
  * The type of currency that the value for the metric (estimatedCost) is reported in.
@@ -3769,7 +4342,7 @@ declare namespace Macie2 {
3769
4342
  */
3770
4343
  serviceLimit?: ServiceLimit;
3771
4344
  /**
3772
- * The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.
4345
+ * The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
3773
4346
  */
3774
4347
  type?: UsageType;
3775
4348
  }
@@ -3779,7 +4352,11 @@ declare namespace Macie2 {
3779
4352
  */
3780
4353
  accountId?: __string;
3781
4354
  /**
3782
- * The date and time, in UTC and extended ISO 8601 format, when the free trial started for the account.
4355
+ * The date and time, in UTC and extended ISO 8601 format, when the free trial of automated sensitive data discovery started for the account. If the account is a member account in an organization, this value is the same as the value for the organization's Amazon Macie administrator account.
4356
+ */
4357
+ automatedDiscoveryFreeTrialStartDate?: __timestampIso8601;
4358
+ /**
4359
+ * The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for the account.
3783
4360
  */
3784
4361
  freeTrialStartDate?: __timestampIso8601;
3785
4362
  /**
@@ -3797,7 +4374,7 @@ declare namespace Macie2 {
3797
4374
  */
3798
4375
  key?: UsageStatisticsFilterKey;
3799
4376
  /**
3800
- * An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value. Valid values for each supported field are: accountId - The unique identifier for an Amazon Web Services account. freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the free trial started for an account. serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota. total - A string that represents the current estimated cost for an account.
4377
+ * An array that lists values to use in the condition, based on the value for the field specified by the key property. If the value for the key property is accountId, this array can specify multiple values. Otherwise, this array can specify only one value. Valid values for each supported field are: accountId - The unique identifier for an Amazon Web Services account. freeTrialStartDate - The date and time, in UTC and extended ISO 8601 format, when the Amazon Macie free trial started for an account. serviceLimit - A Boolean (true or false) value that indicates whether an account has reached its monthly quota. total - A string that represents the current estimated cost for an account.
3801
4378
  */
3802
4379
  values?: __listOf__string;
3803
4380
  }
@@ -3824,11 +4401,11 @@ declare namespace Macie2 {
3824
4401
  */
3825
4402
  estimatedCost?: __string;
3826
4403
  /**
3827
- * The name of the metric. Possible values are: DATA_INVENTORY_EVALUATION, for monitoring S3 buckets; and, SENSITIVE_DATA_DISCOVERY, for analyzing S3 objects to detect sensitive data.
4404
+ * The name of the metric. Possible values are: AUTOMATED_OBJECT_MONITORING, to monitor S3 objects for automated sensitive data discovery; AUTOMATED_SENSITIVE_DATA_DISCOVERY, to analyze S3 objects for automated sensitive data discovery; DATA_INVENTORY_EVALUATION, to monitor S3 buckets; and, SENSITIVE_DATA_DISCOVERY, to run classification jobs.
3828
4405
  */
3829
4406
  type?: UsageType;
3830
4407
  }
3831
- export type UsageType = "DATA_INVENTORY_EVALUATION"|"SENSITIVE_DATA_DISCOVERY"|string;
4408
+ export type UsageType = "DATA_INVENTORY_EVALUATION"|"SENSITIVE_DATA_DISCOVERY"|"AUTOMATED_SENSITIVE_DATA_DISCOVERY"|"AUTOMATED_OBJECT_MONITORING"|string;
3832
4409
  export interface UserIdentity {
3833
4410
  /**
3834
4411
  * If the action was performed with temporary security credentials that were obtained using the AssumeRole operation of the Security Token Service (STS) API, the identifiers, session context, and other details about the identity.
@@ -3901,9 +4478,11 @@ declare namespace Macie2 {
3901
4478
  export type __listOfAllowListSummary = AllowListSummary[];
3902
4479
  export type __listOfBatchGetCustomDataIdentifierSummary = BatchGetCustomDataIdentifierSummary[];
3903
4480
  export type __listOfBucketMetadata = BucketMetadata[];
4481
+ export type __listOfClassificationScopeSummary = ClassificationScopeSummary[];
3904
4482
  export type __listOfCriteriaForJob = CriteriaForJob[];
3905
4483
  export type __listOfCustomDataIdentifierSummary = CustomDataIdentifierSummary[];
3906
4484
  export type __listOfDetectedDataDetails = DetectedDataDetails[];
4485
+ export type __listOfDetection = Detection[];
3907
4486
  export type __listOfFinding = Finding[];
3908
4487
  export type __listOfFindingType = FindingType[];
3909
4488
  export type __listOfFindingsFilterListItem = FindingsFilterListItem[];
@@ -3916,9 +4495,13 @@ declare namespace Macie2 {
3916
4495
  export type __listOfManagedDataIdentifierSummary = ManagedDataIdentifierSummary[];
3917
4496
  export type __listOfMatchingResource = MatchingResource[];
3918
4497
  export type __listOfMember = Member[];
4498
+ export type __listOfResourceProfileArtifact = ResourceProfileArtifact[];
3919
4499
  export type __listOfS3BucketDefinitionForJob = S3BucketDefinitionForJob[];
4500
+ export type __listOfS3BucketName = S3BucketName[];
3920
4501
  export type __listOfSearchResourcesCriteria = SearchResourcesCriteria[];
3921
4502
  export type __listOfSearchResourcesTagCriterionPair = SearchResourcesTagCriterionPair[];
4503
+ export type __listOfSensitivityInspectionTemplatesEntry = SensitivityInspectionTemplatesEntry[];
4504
+ export type __listOfSuppressDataIdentifier = SuppressDataIdentifier[];
3922
4505
  export type __listOfTagCriterionPairForJob = TagCriterionPairForJob[];
3923
4506
  export type __listOfTagValuePair = TagValuePair[];
3924
4507
  export type __listOfUnavailabilityReasonCode = UnavailabilityReasonCode[];