aws-sdk-macie2 1.48.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -549,31 +549,23 @@ module Aws::Macie2
549
549
  # managed_data_identifier_selector: "ALL", # accepts ALL, EXCLUDE, INCLUDE, NONE
550
550
  # name: "__string", # required
551
551
  # s3_job_definition: { # required
552
- # bucket_definitions: [
553
- # {
554
- # account_id: "__string", # required
555
- # buckets: ["__string"], # required
556
- # },
557
- # ],
558
- # scoping: {
552
+ # bucket_criteria: {
559
553
  # excludes: {
560
554
  # and: [
561
555
  # {
562
- # simple_scope_term: {
556
+ # simple_criterion: {
563
557
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
564
- # key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
558
+ # key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
565
559
  # values: ["__string"],
566
560
  # },
567
- # tag_scope_term: {
561
+ # tag_criterion: {
568
562
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
569
- # key: "__string",
570
563
  # tag_values: [
571
564
  # {
572
565
  # key: "__string",
573
566
  # value: "__string",
574
567
  # },
575
568
  # ],
576
- # target: "S3_OBJECT", # accepts S3_OBJECT
577
569
  # },
578
570
  # },
579
571
  # ],
@@ -581,43 +573,49 @@ module Aws::Macie2
581
573
  # includes: {
582
574
  # and: [
583
575
  # {
584
- # simple_scope_term: {
576
+ # simple_criterion: {
585
577
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
586
- # key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
578
+ # key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
587
579
  # values: ["__string"],
588
580
  # },
589
- # tag_scope_term: {
581
+ # tag_criterion: {
590
582
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
591
- # key: "__string",
592
583
  # tag_values: [
593
584
  # {
594
585
  # key: "__string",
595
586
  # value: "__string",
596
587
  # },
597
588
  # ],
598
- # target: "S3_OBJECT", # accepts S3_OBJECT
599
589
  # },
600
590
  # },
601
591
  # ],
602
592
  # },
603
593
  # },
604
- # bucket_criteria: {
594
+ # bucket_definitions: [
595
+ # {
596
+ # account_id: "__string", # required
597
+ # buckets: ["__string"], # required
598
+ # },
599
+ # ],
600
+ # scoping: {
605
601
  # excludes: {
606
602
  # and: [
607
603
  # {
608
- # simple_criterion: {
604
+ # simple_scope_term: {
609
605
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
610
- # key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
606
+ # key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
611
607
  # values: ["__string"],
612
608
  # },
613
- # tag_criterion: {
609
+ # tag_scope_term: {
614
610
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
611
+ # key: "__string",
615
612
  # tag_values: [
616
613
  # {
617
614
  # key: "__string",
618
615
  # value: "__string",
619
616
  # },
620
617
  # ],
618
+ # target: "S3_OBJECT", # accepts S3_OBJECT
621
619
  # },
622
620
  # },
623
621
  # ],
@@ -625,19 +623,21 @@ module Aws::Macie2
625
623
  # includes: {
626
624
  # and: [
627
625
  # {
628
- # simple_criterion: {
626
+ # simple_scope_term: {
629
627
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
630
- # key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
628
+ # key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
631
629
  # values: ["__string"],
632
630
  # },
633
- # tag_criterion: {
631
+ # tag_scope_term: {
634
632
  # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
633
+ # key: "__string",
635
634
  # tag_values: [
636
635
  # {
637
636
  # key: "__string",
638
637
  # value: "__string",
639
638
  # },
640
639
  # ],
640
+ # target: "S3_OBJECT", # accepts S3_OBJECT
641
641
  # },
642
642
  # },
643
643
  # ],
@@ -755,8 +755,8 @@ module Aws::Macie2
755
755
  # filter.
756
756
  #
757
757
  # @option params [required, String] :action
758
- # The action to perform on findings that meet the filter criteria. To
759
- # suppress (automatically archive) findings that meet the criteria, set
758
+ # The action to perform on findings that match the filter criteria. To
759
+ # suppress (automatically archive) findings that match the criteria, set
760
760
  # this value to ARCHIVE. Valid values are:
761
761
  #
762
762
  # @option params [String] :client_token
@@ -1069,7 +1069,8 @@ module Aws::Macie2
1069
1069
  end
1070
1070
 
1071
1071
  # Retrieves (queries) statistical data and other information about one
1072
- # or more S3 buckets that Amazon Macie monitors and analyzes.
1072
+ # or more S3 buckets that Amazon Macie monitors and analyzes for an
1073
+ # account.
1073
1074
  #
1074
1075
  # @option params [Hash<String,Types::BucketCriteriaAdditionalProperties>] :criteria
1075
1076
  # Specifies, as a map, one or more property-based conditions that filter
@@ -1128,6 +1129,7 @@ module Aws::Macie2
1128
1129
  # resp.buckets[0].job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
1129
1130
  # resp.buckets[0].job_details.last_job_id #=> String
1130
1131
  # resp.buckets[0].job_details.last_job_run_time #=> Time
1132
+ # resp.buckets[0].last_automated_discovery_time #=> Time
1131
1133
  # resp.buckets[0].last_updated #=> Time
1132
1134
  # resp.buckets[0].object_count #=> Integer
1133
1135
  # resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
@@ -1153,6 +1155,7 @@ module Aws::Macie2
1153
1155
  # resp.buckets[0].replication_details.replicated_externally #=> Boolean
1154
1156
  # resp.buckets[0].replication_details.replication_accounts #=> Array
1155
1157
  # resp.buckets[0].replication_details.replication_accounts[0] #=> String
1158
+ # resp.buckets[0].sensitivity_score #=> Integer
1156
1159
  # resp.buckets[0].server_side_encryption.kms_master_key_id #=> String
1157
1160
  # resp.buckets[0].server_side_encryption.type #=> String, one of "NONE", "AES256", "aws:kms"
1158
1161
  # resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED", "UNKNOWN"
@@ -1233,6 +1236,24 @@ module Aws::Macie2
1233
1236
  # resp.managed_data_identifier_ids[0] #=> String
1234
1237
  # resp.managed_data_identifier_selector #=> String, one of "ALL", "EXCLUDE", "INCLUDE", "NONE"
1235
1238
  # resp.name #=> String
1239
+ # resp.s3_job_definition.bucket_criteria.excludes.and #=> Array
1240
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1241
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
1242
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
1243
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
1244
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1245
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
1246
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
1247
+ # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
1248
+ # resp.s3_job_definition.bucket_criteria.includes.and #=> Array
1249
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1250
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
1251
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values #=> Array
1252
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
1253
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1254
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
1255
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
1256
+ # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
1236
1257
  # resp.s3_job_definition.bucket_definitions #=> Array
1237
1258
  # resp.s3_job_definition.bucket_definitions[0].account_id #=> String
1238
1259
  # resp.s3_job_definition.bucket_definitions[0].buckets #=> Array
@@ -1259,24 +1280,6 @@ module Aws::Macie2
1259
1280
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].key #=> String
1260
1281
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].value #=> String
1261
1282
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
1262
- # resp.s3_job_definition.bucket_criteria.excludes.and #=> Array
1263
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1264
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
1265
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values #=> Array
1266
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].simple_criterion.values[0] #=> String
1267
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1268
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values #=> Array
1269
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].key #=> String
1270
- # resp.s3_job_definition.bucket_criteria.excludes.and[0].tag_criterion.tag_values[0].value #=> String
1271
- # resp.s3_job_definition.bucket_criteria.includes.and #=> Array
1272
- # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1273
- # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
1274
- # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values #=> Array
1275
- # resp.s3_job_definition.bucket_criteria.includes.and[0].simple_criterion.values[0] #=> String
1276
- # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1277
- # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
1278
- # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
1279
- # resp.s3_job_definition.bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
1280
1283
  # resp.sampling_percentage #=> Integer
1281
1284
  # resp.schedule_frequency.monthly_schedule.day_of_month #=> Integer
1282
1285
  # resp.schedule_frequency.weekly_schedule.day_of_week #=> String, one of "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"
@@ -1545,8 +1548,38 @@ module Aws::Macie2
1545
1548
  req.send_request(options)
1546
1549
  end
1547
1550
 
1548
- # Retrieves (queries) aggregated statistical data about S3 buckets that
1549
- # Amazon Macie monitors and analyzes.
1551
+ # Retrieves the configuration settings and status of automated sensitive
1552
+ # data discovery for an account.
1553
+ #
1554
+ # @return [Types::GetAutomatedDiscoveryConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1555
+ #
1556
+ # * {Types::GetAutomatedDiscoveryConfigurationResponse#classification_scope_id #classification_scope_id} => String
1557
+ # * {Types::GetAutomatedDiscoveryConfigurationResponse#disabled_at #disabled_at} => Time
1558
+ # * {Types::GetAutomatedDiscoveryConfigurationResponse#first_enabled_at #first_enabled_at} => Time
1559
+ # * {Types::GetAutomatedDiscoveryConfigurationResponse#last_updated_at #last_updated_at} => Time
1560
+ # * {Types::GetAutomatedDiscoveryConfigurationResponse#sensitivity_inspection_template_id #sensitivity_inspection_template_id} => String
1561
+ # * {Types::GetAutomatedDiscoveryConfigurationResponse#status #status} => String
1562
+ #
1563
+ # @example Response structure
1564
+ #
1565
+ # resp.classification_scope_id #=> String
1566
+ # resp.disabled_at #=> Time
1567
+ # resp.first_enabled_at #=> Time
1568
+ # resp.last_updated_at #=> Time
1569
+ # resp.sensitivity_inspection_template_id #=> String
1570
+ # resp.status #=> String, one of "ENABLED", "DISABLED"
1571
+ #
1572
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfiguration AWS API Documentation
1573
+ #
1574
+ # @overload get_automated_discovery_configuration(params = {})
1575
+ # @param [Hash] params ({})
1576
+ def get_automated_discovery_configuration(params = {}, options = {})
1577
+ req = build_request(:get_automated_discovery_configuration, params)
1578
+ req.send_request(options)
1579
+ end
1580
+
1581
+ # Retrieves (queries) aggregated statistical data about all the S3
1582
+ # buckets that Amazon Macie monitors and analyzes for an account.
1550
1583
  #
1551
1584
  # @option params [String] :account_id
1552
1585
  #
@@ -1557,6 +1590,7 @@ module Aws::Macie2
1557
1590
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
1558
1591
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_object_encryption_requirement #bucket_count_by_object_encryption_requirement} => Types::BucketCountPolicyAllowsUnencryptedObjectUploads
1559
1592
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
1593
+ # * {Types::GetBucketStatisticsResponse#bucket_statistics_by_sensitivity #bucket_statistics_by_sensitivity} => Types::BucketStatisticsBySensitivity
1560
1594
  # * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
1561
1595
  # * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
1562
1596
  # * {Types::GetBucketStatisticsResponse#last_updated #last_updated} => Time
@@ -1590,6 +1624,22 @@ module Aws::Macie2
1590
1624
  # resp.bucket_count_by_shared_access_type.internal #=> Integer
1591
1625
  # resp.bucket_count_by_shared_access_type.not_shared #=> Integer
1592
1626
  # resp.bucket_count_by_shared_access_type.unknown #=> Integer
1627
+ # resp.bucket_statistics_by_sensitivity.classification_error.classifiable_size_in_bytes #=> Integer
1628
+ # resp.bucket_statistics_by_sensitivity.classification_error.publicly_accessible_count #=> Integer
1629
+ # resp.bucket_statistics_by_sensitivity.classification_error.total_count #=> Integer
1630
+ # resp.bucket_statistics_by_sensitivity.classification_error.total_size_in_bytes #=> Integer
1631
+ # resp.bucket_statistics_by_sensitivity.not_classified.classifiable_size_in_bytes #=> Integer
1632
+ # resp.bucket_statistics_by_sensitivity.not_classified.publicly_accessible_count #=> Integer
1633
+ # resp.bucket_statistics_by_sensitivity.not_classified.total_count #=> Integer
1634
+ # resp.bucket_statistics_by_sensitivity.not_classified.total_size_in_bytes #=> Integer
1635
+ # resp.bucket_statistics_by_sensitivity.not_sensitive.classifiable_size_in_bytes #=> Integer
1636
+ # resp.bucket_statistics_by_sensitivity.not_sensitive.publicly_accessible_count #=> Integer
1637
+ # resp.bucket_statistics_by_sensitivity.not_sensitive.total_count #=> Integer
1638
+ # resp.bucket_statistics_by_sensitivity.not_sensitive.total_size_in_bytes #=> Integer
1639
+ # resp.bucket_statistics_by_sensitivity.sensitive.classifiable_size_in_bytes #=> Integer
1640
+ # resp.bucket_statistics_by_sensitivity.sensitive.publicly_accessible_count #=> Integer
1641
+ # resp.bucket_statistics_by_sensitivity.sensitive.total_count #=> Integer
1642
+ # resp.bucket_statistics_by_sensitivity.sensitive.total_size_in_bytes #=> Integer
1593
1643
  # resp.classifiable_object_count #=> Integer
1594
1644
  # resp.classifiable_size_in_bytes #=> Integer
1595
1645
  # resp.last_updated #=> Time
@@ -1634,6 +1684,38 @@ module Aws::Macie2
1634
1684
  req.send_request(options)
1635
1685
  end
1636
1686
 
1687
+ # Retrieves the classification scope settings for an account.
1688
+ #
1689
+ # @option params [required, String] :id
1690
+ #
1691
+ # @return [Types::GetClassificationScopeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1692
+ #
1693
+ # * {Types::GetClassificationScopeResponse#id #id} => String
1694
+ # * {Types::GetClassificationScopeResponse#name #name} => String
1695
+ # * {Types::GetClassificationScopeResponse#s3 #s3} => Types::S3ClassificationScope
1696
+ #
1697
+ # @example Request syntax with placeholder values
1698
+ #
1699
+ # resp = client.get_classification_scope({
1700
+ # id: "__string", # required
1701
+ # })
1702
+ #
1703
+ # @example Response structure
1704
+ #
1705
+ # resp.id #=> String
1706
+ # resp.name #=> String
1707
+ # resp.s3.excludes.bucket_names #=> Array
1708
+ # resp.s3.excludes.bucket_names[0] #=> String
1709
+ #
1710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScope AWS API Documentation
1711
+ #
1712
+ # @overload get_classification_scope(params = {})
1713
+ # @param [Hash] params ({})
1714
+ def get_classification_scope(params = {}, options = {})
1715
+ req = build_request(:get_classification_scope, params)
1716
+ req.send_request(options)
1717
+ end
1718
+
1637
1719
  # Retrieves the criteria and other settings for a custom data
1638
1720
  # identifier.
1639
1721
  #
@@ -1776,7 +1858,7 @@ module Aws::Macie2
1776
1858
  # resp.findings[0].classification_details.detailed_results_location #=> String
1777
1859
  # resp.findings[0].classification_details.job_arn #=> String
1778
1860
  # resp.findings[0].classification_details.job_id #=> String
1779
- # resp.findings[0].classification_details.origin_type #=> String, one of "SENSITIVE_DATA_DISCOVERY_JOB"
1861
+ # resp.findings[0].classification_details.origin_type #=> String, one of "SENSITIVE_DATA_DISCOVERY_JOB", "AUTOMATED_SENSITIVE_DATA_DISCOVERY"
1780
1862
  # resp.findings[0].classification_details.result.additional_occurrences #=> Boolean
1781
1863
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections #=> Array
1782
1864
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].arn #=> String
@@ -2045,8 +2127,8 @@ module Aws::Macie2
2045
2127
  req.send_request(options)
2046
2128
  end
2047
2129
 
2048
- # Retrieves the current status and configuration settings for an Amazon
2049
- # Macie account.
2130
+ # Retrieves the status and configuration settings for an Amazon Macie
2131
+ # account.
2050
2132
  #
2051
2133
  # @return [Types::GetMacieSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2052
2134
  #
@@ -2144,6 +2226,48 @@ module Aws::Macie2
2144
2226
  req.send_request(options)
2145
2227
  end
2146
2228
 
2229
+ # Retrieves (queries) sensitive data discovery statistics and the
2230
+ # sensitivity score for an S3 bucket.
2231
+ #
2232
+ # @option params [required, String] :resource_arn
2233
+ #
2234
+ # @return [Types::GetResourceProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2235
+ #
2236
+ # * {Types::GetResourceProfileResponse#profile_updated_at #profile_updated_at} => Time
2237
+ # * {Types::GetResourceProfileResponse#sensitivity_score #sensitivity_score} => Integer
2238
+ # * {Types::GetResourceProfileResponse#sensitivity_score_overridden #sensitivity_score_overridden} => Boolean
2239
+ # * {Types::GetResourceProfileResponse#statistics #statistics} => Types::ResourceStatistics
2240
+ #
2241
+ # @example Request syntax with placeholder values
2242
+ #
2243
+ # resp = client.get_resource_profile({
2244
+ # resource_arn: "__string", # required
2245
+ # })
2246
+ #
2247
+ # @example Response structure
2248
+ #
2249
+ # resp.profile_updated_at #=> Time
2250
+ # resp.sensitivity_score #=> Integer
2251
+ # resp.sensitivity_score_overridden #=> Boolean
2252
+ # resp.statistics.total_bytes_classified #=> Integer
2253
+ # resp.statistics.total_detections #=> Integer
2254
+ # resp.statistics.total_detections_suppressed #=> Integer
2255
+ # resp.statistics.total_items_classified #=> Integer
2256
+ # resp.statistics.total_items_sensitive #=> Integer
2257
+ # resp.statistics.total_items_skipped #=> Integer
2258
+ # resp.statistics.total_items_skipped_invalid_encryption #=> Integer
2259
+ # resp.statistics.total_items_skipped_invalid_kms #=> Integer
2260
+ # resp.statistics.total_items_skipped_permission_denied #=> Integer
2261
+ #
2262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfile AWS API Documentation
2263
+ #
2264
+ # @overload get_resource_profile(params = {})
2265
+ # @param [Hash] params ({})
2266
+ def get_resource_profile(params = {}, options = {})
2267
+ req = build_request(:get_resource_profile, params)
2268
+ req.send_request(options)
2269
+ end
2270
+
2147
2271
  # Retrieves the status and configuration settings for retrieving
2148
2272
  # occurrences of sensitive data reported by findings.
2149
2273
  #
@@ -2234,6 +2358,48 @@ module Aws::Macie2
2234
2358
  req.send_request(options)
2235
2359
  end
2236
2360
 
2361
+ # Retrieves the settings for the sensitivity inspection template for an
2362
+ # account.
2363
+ #
2364
+ # @option params [required, String] :id
2365
+ #
2366
+ # @return [Types::GetSensitivityInspectionTemplateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2367
+ #
2368
+ # * {Types::GetSensitivityInspectionTemplateResponse#description #description} => String
2369
+ # * {Types::GetSensitivityInspectionTemplateResponse#excludes #excludes} => Types::SensitivityInspectionTemplateExcludes
2370
+ # * {Types::GetSensitivityInspectionTemplateResponse#includes #includes} => Types::SensitivityInspectionTemplateIncludes
2371
+ # * {Types::GetSensitivityInspectionTemplateResponse#name #name} => String
2372
+ # * {Types::GetSensitivityInspectionTemplateResponse#sensitivity_inspection_template_id #sensitivity_inspection_template_id} => String
2373
+ #
2374
+ # @example Request syntax with placeholder values
2375
+ #
2376
+ # resp = client.get_sensitivity_inspection_template({
2377
+ # id: "__string", # required
2378
+ # })
2379
+ #
2380
+ # @example Response structure
2381
+ #
2382
+ # resp.description #=> String
2383
+ # resp.excludes.managed_data_identifier_ids #=> Array
2384
+ # resp.excludes.managed_data_identifier_ids[0] #=> String
2385
+ # resp.includes.allow_list_ids #=> Array
2386
+ # resp.includes.allow_list_ids[0] #=> String
2387
+ # resp.includes.custom_data_identifier_ids #=> Array
2388
+ # resp.includes.custom_data_identifier_ids[0] #=> String
2389
+ # resp.includes.managed_data_identifier_ids #=> Array
2390
+ # resp.includes.managed_data_identifier_ids[0] #=> String
2391
+ # resp.name #=> String
2392
+ # resp.sensitivity_inspection_template_id #=> String
2393
+ #
2394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplate AWS API Documentation
2395
+ #
2396
+ # @overload get_sensitivity_inspection_template(params = {})
2397
+ # @param [Hash] params ({})
2398
+ def get_sensitivity_inspection_template(params = {}, options = {})
2399
+ req = build_request(:get_sensitivity_inspection_template, params)
2400
+ req.send_request(options)
2401
+ end
2402
+
2237
2403
  # Retrieves (queries) quotas and aggregated usage data for one or more
2238
2404
  # accounts.
2239
2405
  #
@@ -2283,6 +2449,7 @@ module Aws::Macie2
2283
2449
  # resp.next_token #=> String
2284
2450
  # resp.records #=> Array
2285
2451
  # resp.records[0].account_id #=> String
2452
+ # resp.records[0].automated_discovery_free_trial_start_date #=> Time
2286
2453
  # resp.records[0].free_trial_start_date #=> Time
2287
2454
  # resp.records[0].usage #=> Array
2288
2455
  # resp.records[0].usage[0].currency #=> String, one of "USD"
@@ -2290,7 +2457,7 @@ module Aws::Macie2
2290
2457
  # resp.records[0].usage[0].service_limit.is_service_limited #=> Boolean
2291
2458
  # resp.records[0].usage[0].service_limit.unit #=> String, one of "TERABYTES"
2292
2459
  # resp.records[0].usage[0].service_limit.value #=> Integer
2293
- # resp.records[0].usage[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY"
2460
+ # resp.records[0].usage[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY", "AUTOMATED_SENSITIVE_DATA_DISCOVERY", "AUTOMATED_OBJECT_MONITORING"
2294
2461
  # resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
2295
2462
  #
2296
2463
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics AWS API Documentation
@@ -2323,7 +2490,7 @@ module Aws::Macie2
2323
2490
  # resp.usage_totals #=> Array
2324
2491
  # resp.usage_totals[0].currency #=> String, one of "USD"
2325
2492
  # resp.usage_totals[0].estimated_cost #=> String
2326
- # resp.usage_totals[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY"
2493
+ # resp.usage_totals[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY", "AUTOMATED_SENSITIVE_DATA_DISCOVERY", "AUTOMATED_OBJECT_MONITORING"
2327
2494
  #
2328
2495
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotals AWS API Documentation
2329
2496
  #
@@ -2346,6 +2513,8 @@ module Aws::Macie2
2346
2513
  # * {Types::ListAllowListsResponse#allow_lists #allow_lists} => Array&lt;Types::AllowListSummary&gt;
2347
2514
  # * {Types::ListAllowListsResponse#next_token #next_token} => String
2348
2515
  #
2516
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2517
+ #
2349
2518
  # @example Request syntax with placeholder values
2350
2519
  #
2351
2520
  # resp = client.list_allow_lists({
@@ -2425,19 +2594,6 @@ module Aws::Macie2
2425
2594
  # @example Response structure
2426
2595
  #
2427
2596
  # resp.items #=> Array
2428
- # resp.items[0].bucket_definitions #=> Array
2429
- # resp.items[0].bucket_definitions[0].account_id #=> String
2430
- # resp.items[0].bucket_definitions[0].buckets #=> Array
2431
- # resp.items[0].bucket_definitions[0].buckets[0] #=> String
2432
- # resp.items[0].created_at #=> Time
2433
- # resp.items[0].job_id #=> String
2434
- # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
2435
- # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
2436
- # resp.items[0].last_run_error_status.code #=> String, one of "NONE", "ERROR"
2437
- # resp.items[0].name #=> String
2438
- # resp.items[0].user_paused_details.job_expires_at #=> Time
2439
- # resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
2440
- # resp.items[0].user_paused_details.job_paused_at #=> Time
2441
2597
  # resp.items[0].bucket_criteria.excludes.and #=> Array
2442
2598
  # resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
2443
2599
  # resp.items[0].bucket_criteria.excludes.and[0].simple_criterion.key #=> String, one of "ACCOUNT_ID", "S3_BUCKET_NAME", "S3_BUCKET_EFFECTIVE_PERMISSION", "S3_BUCKET_SHARED_ACCESS"
@@ -2456,6 +2612,19 @@ module Aws::Macie2
2456
2612
  # resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values #=> Array
2457
2613
  # resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].key #=> String
2458
2614
  # resp.items[0].bucket_criteria.includes.and[0].tag_criterion.tag_values[0].value #=> String
2615
+ # resp.items[0].bucket_definitions #=> Array
2616
+ # resp.items[0].bucket_definitions[0].account_id #=> String
2617
+ # resp.items[0].bucket_definitions[0].buckets #=> Array
2618
+ # resp.items[0].bucket_definitions[0].buckets[0] #=> String
2619
+ # resp.items[0].created_at #=> Time
2620
+ # resp.items[0].job_id #=> String
2621
+ # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
2622
+ # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
2623
+ # resp.items[0].last_run_error_status.code #=> String, one of "NONE", "ERROR"
2624
+ # resp.items[0].name #=> String
2625
+ # resp.items[0].user_paused_details.job_expires_at #=> Time
2626
+ # resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
2627
+ # resp.items[0].user_paused_details.job_paused_at #=> Time
2459
2628
  # resp.next_token #=> String
2460
2629
  #
2461
2630
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
@@ -2467,6 +2636,43 @@ module Aws::Macie2
2467
2636
  req.send_request(options)
2468
2637
  end
2469
2638
 
2639
+ # Retrieves a subset of information about the classification scope for
2640
+ # an account.
2641
+ #
2642
+ # @option params [String] :name
2643
+ #
2644
+ # @option params [String] :next_token
2645
+ #
2646
+ # @return [Types::ListClassificationScopesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2647
+ #
2648
+ # * {Types::ListClassificationScopesResponse#classification_scopes #classification_scopes} => Array&lt;Types::ClassificationScopeSummary&gt;
2649
+ # * {Types::ListClassificationScopesResponse#next_token #next_token} => String
2650
+ #
2651
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2652
+ #
2653
+ # @example Request syntax with placeholder values
2654
+ #
2655
+ # resp = client.list_classification_scopes({
2656
+ # name: "__string",
2657
+ # next_token: "__string",
2658
+ # })
2659
+ #
2660
+ # @example Response structure
2661
+ #
2662
+ # resp.classification_scopes #=> Array
2663
+ # resp.classification_scopes[0].id #=> String
2664
+ # resp.classification_scopes[0].name #=> String
2665
+ # resp.next_token #=> String
2666
+ #
2667
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopes AWS API Documentation
2668
+ #
2669
+ # @overload list_classification_scopes(params = {})
2670
+ # @param [Hash] params ({})
2671
+ def list_classification_scopes(params = {}, options = {})
2672
+ req = build_request(:list_classification_scopes, params)
2673
+ req.send_request(options)
2674
+ end
2675
+
2470
2676
  # Retrieves a subset of information about all the custom data
2471
2677
  # identifiers for an account.
2472
2678
  #
@@ -2656,6 +2862,8 @@ module Aws::Macie2
2656
2862
  # * {Types::ListManagedDataIdentifiersResponse#items #items} => Array&lt;Types::ManagedDataIdentifierSummary&gt;
2657
2863
  # * {Types::ListManagedDataIdentifiersResponse#next_token #next_token} => String
2658
2864
  #
2865
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2866
+ #
2659
2867
  # @example Request syntax with placeholder values
2660
2868
  #
2661
2869
  # resp = client.list_managed_data_identifiers({
@@ -2763,6 +2971,125 @@ module Aws::Macie2
2763
2971
  req.send_request(options)
2764
2972
  end
2765
2973
 
2974
+ # Retrieves information about objects that were selected from an S3
2975
+ # bucket for automated sensitive data discovery.
2976
+ #
2977
+ # @option params [String] :next_token
2978
+ #
2979
+ # @option params [required, String] :resource_arn
2980
+ #
2981
+ # @return [Types::ListResourceProfileArtifactsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2982
+ #
2983
+ # * {Types::ListResourceProfileArtifactsResponse#artifacts #artifacts} => Array&lt;Types::ResourceProfileArtifact&gt;
2984
+ # * {Types::ListResourceProfileArtifactsResponse#next_token #next_token} => String
2985
+ #
2986
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2987
+ #
2988
+ # @example Request syntax with placeholder values
2989
+ #
2990
+ # resp = client.list_resource_profile_artifacts({
2991
+ # next_token: "__string",
2992
+ # resource_arn: "__string", # required
2993
+ # })
2994
+ #
2995
+ # @example Response structure
2996
+ #
2997
+ # resp.artifacts #=> Array
2998
+ # resp.artifacts[0].arn #=> String
2999
+ # resp.artifacts[0].classification_result_status #=> String
3000
+ # resp.artifacts[0].sensitive #=> Boolean
3001
+ # resp.next_token #=> String
3002
+ #
3003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifacts AWS API Documentation
3004
+ #
3005
+ # @overload list_resource_profile_artifacts(params = {})
3006
+ # @param [Hash] params ({})
3007
+ def list_resource_profile_artifacts(params = {}, options = {})
3008
+ req = build_request(:list_resource_profile_artifacts, params)
3009
+ req.send_request(options)
3010
+ end
3011
+
3012
+ # Retrieves information about the types and amount of sensitive data
3013
+ # that Amazon Macie found in an S3 bucket.
3014
+ #
3015
+ # @option params [Integer] :max_results
3016
+ #
3017
+ # @option params [String] :next_token
3018
+ #
3019
+ # @option params [required, String] :resource_arn
3020
+ #
3021
+ # @return [Types::ListResourceProfileDetectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3022
+ #
3023
+ # * {Types::ListResourceProfileDetectionsResponse#detections #detections} => Array&lt;Types::Detection&gt;
3024
+ # * {Types::ListResourceProfileDetectionsResponse#next_token #next_token} => String
3025
+ #
3026
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3027
+ #
3028
+ # @example Request syntax with placeholder values
3029
+ #
3030
+ # resp = client.list_resource_profile_detections({
3031
+ # max_results: 1,
3032
+ # next_token: "__string",
3033
+ # resource_arn: "__string", # required
3034
+ # })
3035
+ #
3036
+ # @example Response structure
3037
+ #
3038
+ # resp.detections #=> Array
3039
+ # resp.detections[0].arn #=> String
3040
+ # resp.detections[0].count #=> Integer
3041
+ # resp.detections[0].id #=> String
3042
+ # resp.detections[0].name #=> String
3043
+ # resp.detections[0].suppressed #=> Boolean
3044
+ # resp.detections[0].type #=> String, one of "CUSTOM", "MANAGED"
3045
+ # resp.next_token #=> String
3046
+ #
3047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetections AWS API Documentation
3048
+ #
3049
+ # @overload list_resource_profile_detections(params = {})
3050
+ # @param [Hash] params ({})
3051
+ def list_resource_profile_detections(params = {}, options = {})
3052
+ req = build_request(:list_resource_profile_detections, params)
3053
+ req.send_request(options)
3054
+ end
3055
+
3056
+ # Retrieves a subset of information about the sensitivity inspection
3057
+ # template for an account.
3058
+ #
3059
+ # @option params [Integer] :max_results
3060
+ #
3061
+ # @option params [String] :next_token
3062
+ #
3063
+ # @return [Types::ListSensitivityInspectionTemplatesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3064
+ #
3065
+ # * {Types::ListSensitivityInspectionTemplatesResponse#next_token #next_token} => String
3066
+ # * {Types::ListSensitivityInspectionTemplatesResponse#sensitivity_inspection_templates #sensitivity_inspection_templates} => Array&lt;Types::SensitivityInspectionTemplatesEntry&gt;
3067
+ #
3068
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3069
+ #
3070
+ # @example Request syntax with placeholder values
3071
+ #
3072
+ # resp = client.list_sensitivity_inspection_templates({
3073
+ # max_results: 1,
3074
+ # next_token: "__string",
3075
+ # })
3076
+ #
3077
+ # @example Response structure
3078
+ #
3079
+ # resp.next_token #=> String
3080
+ # resp.sensitivity_inspection_templates #=> Array
3081
+ # resp.sensitivity_inspection_templates[0].id #=> String
3082
+ # resp.sensitivity_inspection_templates[0].name #=> String
3083
+ #
3084
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplates AWS API Documentation
3085
+ #
3086
+ # @overload list_sensitivity_inspection_templates(params = {})
3087
+ # @param [Hash] params ({})
3088
+ def list_sensitivity_inspection_templates(params = {}, options = {})
3089
+ req = build_request(:list_sensitivity_inspection_templates, params)
3090
+ req.send_request(options)
3091
+ end
3092
+
2766
3093
  # Retrieves the tags (keys and values) that are associated with an
2767
3094
  # Amazon Macie resource.
2768
3095
  #
@@ -2797,8 +3124,8 @@ module Aws::Macie2
2797
3124
  #
2798
3125
  # @option params [required, Types::ClassificationExportConfiguration] :configuration
2799
3126
  # Specifies where to store data classification results, and the
2800
- # encryption settings to use when storing results in that location.
2801
- # Currently, you can store classification results only in an S3 bucket.
3127
+ # encryption settings to use when storing results in that location. The
3128
+ # location must be an S3 bucket.
2802
3129
  #
2803
3130
  # @return [Types::PutClassificationExportConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2804
3131
  #
@@ -2959,12 +3286,14 @@ module Aws::Macie2
2959
3286
  # resp.matching_resources[0].matching_bucket.job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
2960
3287
  # resp.matching_resources[0].matching_bucket.job_details.last_job_id #=> String
2961
3288
  # resp.matching_resources[0].matching_bucket.job_details.last_job_run_time #=> Time
3289
+ # resp.matching_resources[0].matching_bucket.last_automated_discovery_time #=> Time
2962
3290
  # resp.matching_resources[0].matching_bucket.object_count #=> Integer
2963
3291
  # resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.customer_managed #=> Integer
2964
3292
  # resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.kms_managed #=> Integer
2965
3293
  # resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.s3_managed #=> Integer
2966
3294
  # resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unencrypted #=> Integer
2967
3295
  # resp.matching_resources[0].matching_bucket.object_count_by_encryption_type.unknown #=> Integer
3296
+ # resp.matching_resources[0].matching_bucket.sensitivity_score #=> Integer
2968
3297
  # resp.matching_resources[0].matching_bucket.size_in_bytes #=> Integer
2969
3298
  # resp.matching_resources[0].matching_bucket.size_in_bytes_compressed #=> Integer
2970
3299
  # resp.matching_resources[0].matching_bucket.unclassifiable_object_count.file_type #=> Integer
@@ -3124,6 +3453,29 @@ module Aws::Macie2
3124
3453
  req.send_request(options)
3125
3454
  end
3126
3455
 
3456
+ # Enables or disables automated sensitive data discovery for an account.
3457
+ #
3458
+ # @option params [required, String] :status
3459
+ # The status of the automated sensitive data discovery configuration for
3460
+ # an Amazon Macie account. Valid values are:
3461
+ #
3462
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3463
+ #
3464
+ # @example Request syntax with placeholder values
3465
+ #
3466
+ # resp = client.update_automated_discovery_configuration({
3467
+ # status: "ENABLED", # required, accepts ENABLED, DISABLED
3468
+ # })
3469
+ #
3470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfiguration AWS API Documentation
3471
+ #
3472
+ # @overload update_automated_discovery_configuration(params = {})
3473
+ # @param [Hash] params ({})
3474
+ def update_automated_discovery_configuration(params = {}, options = {})
3475
+ req = build_request(:update_automated_discovery_configuration, params)
3476
+ req.send_request(options)
3477
+ end
3478
+
3127
3479
  # Changes the status of a classification job.
3128
3480
  #
3129
3481
  # @option params [required, String] :job_id
@@ -3149,13 +3501,48 @@ module Aws::Macie2
3149
3501
  req.send_request(options)
3150
3502
  end
3151
3503
 
3504
+ # Updates the classification scope settings for an account.
3505
+ #
3506
+ # @option params [required, String] :id
3507
+ #
3508
+ # @option params [Types::S3ClassificationScopeUpdate] :s3
3509
+ # Specifies changes to the list of S3 buckets that are excluded from
3510
+ # automated sensitive data discovery for an Amazon Macie account.
3511
+ #
3512
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3513
+ #
3514
+ # @example Request syntax with placeholder values
3515
+ #
3516
+ # resp = client.update_classification_scope({
3517
+ # id: "__string", # required
3518
+ # s3: {
3519
+ # excludes: { # required
3520
+ # bucket_names: ["S3BucketName"], # required
3521
+ # operation: "ADD", # required, accepts ADD, REPLACE, REMOVE
3522
+ # },
3523
+ # },
3524
+ # })
3525
+ #
3526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScope AWS API Documentation
3527
+ #
3528
+ # @overload update_classification_scope(params = {})
3529
+ # @param [Hash] params ({})
3530
+ def update_classification_scope(params = {}, options = {})
3531
+ req = build_request(:update_classification_scope, params)
3532
+ req.send_request(options)
3533
+ end
3534
+
3152
3535
  # Updates the criteria and other settings for a findings filter.
3153
3536
  #
3154
3537
  # @option params [String] :action
3155
- # The action to perform on findings that meet the filter criteria. To
3156
- # suppress (automatically archive) findings that meet the criteria, set
3538
+ # The action to perform on findings that match the filter criteria. To
3539
+ # suppress (automatically archive) findings that match the criteria, set
3157
3540
  # this value to ARCHIVE. Valid values are:
3158
3541
  #
3542
+ # @option params [String] :client_token
3543
+ # **A suitable default value is auto-generated.** You should normally
3544
+ # not need to pass this option.**
3545
+ #
3159
3546
  # @option params [String] :description
3160
3547
  #
3161
3548
  # @option params [Types::FindingCriteria] :finding_criteria
@@ -3168,10 +3555,6 @@ module Aws::Macie2
3168
3555
  #
3169
3556
  # @option params [Integer] :position
3170
3557
  #
3171
- # @option params [String] :client_token
3172
- # **A suitable default value is auto-generated.** You should normally
3173
- # not need to pass this option.**
3174
- #
3175
3558
  # @return [Types::UpdateFindingsFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3176
3559
  #
3177
3560
  # * {Types::UpdateFindingsFilterResponse#arn #arn} => String
@@ -3181,6 +3564,7 @@ module Aws::Macie2
3181
3564
  #
3182
3565
  # resp = client.update_findings_filter({
3183
3566
  # action: "ARCHIVE", # accepts ARCHIVE, NOOP
3567
+ # client_token: "__string",
3184
3568
  # description: "__string",
3185
3569
  # finding_criteria: {
3186
3570
  # criterion: {
@@ -3198,7 +3582,6 @@ module Aws::Macie2
3198
3582
  # id: "__string", # required
3199
3583
  # name: "__string",
3200
3584
  # position: 1,
3201
- # client_token: "__string",
3202
3585
  # })
3203
3586
  #
3204
3587
  # @example Response structure
@@ -3298,6 +3681,59 @@ module Aws::Macie2
3298
3681
  req.send_request(options)
3299
3682
  end
3300
3683
 
3684
+ # Updates the sensitivity score for an S3 bucket.
3685
+ #
3686
+ # @option params [required, String] :resource_arn
3687
+ #
3688
+ # @option params [Integer] :sensitivity_score_override
3689
+ #
3690
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3691
+ #
3692
+ # @example Request syntax with placeholder values
3693
+ #
3694
+ # resp = client.update_resource_profile({
3695
+ # resource_arn: "__string", # required
3696
+ # sensitivity_score_override: 1,
3697
+ # })
3698
+ #
3699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfile AWS API Documentation
3700
+ #
3701
+ # @overload update_resource_profile(params = {})
3702
+ # @param [Hash] params ({})
3703
+ def update_resource_profile(params = {}, options = {})
3704
+ req = build_request(:update_resource_profile, params)
3705
+ req.send_request(options)
3706
+ end
3707
+
3708
+ # Updates the sensitivity scoring settings for an S3 bucket.
3709
+ #
3710
+ # @option params [required, String] :resource_arn
3711
+ #
3712
+ # @option params [Array<Types::SuppressDataIdentifier>] :suppress_data_identifiers
3713
+ #
3714
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3715
+ #
3716
+ # @example Request syntax with placeholder values
3717
+ #
3718
+ # resp = client.update_resource_profile_detections({
3719
+ # resource_arn: "__string", # required
3720
+ # suppress_data_identifiers: [
3721
+ # {
3722
+ # id: "__string",
3723
+ # type: "CUSTOM", # accepts CUSTOM, MANAGED
3724
+ # },
3725
+ # ],
3726
+ # })
3727
+ #
3728
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetections AWS API Documentation
3729
+ #
3730
+ # @overload update_resource_profile_detections(params = {})
3731
+ # @param [Hash] params ({})
3732
+ def update_resource_profile_detections(params = {}, options = {})
3733
+ req = build_request(:update_resource_profile_detections, params)
3734
+ req.send_request(options)
3735
+ end
3736
+
3301
3737
  # Updates the status and configuration settings for retrieving
3302
3738
  # occurrences of sensitive data reported by findings.
3303
3739
  #
@@ -3336,6 +3772,63 @@ module Aws::Macie2
3336
3772
  req.send_request(options)
3337
3773
  end
3338
3774
 
3775
+ # Updates the settings for the sensitivity inspection template for an
3776
+ # account.
3777
+ #
3778
+ # @option params [String] :description
3779
+ #
3780
+ # @option params [Types::SensitivityInspectionTemplateExcludes] :excludes
3781
+ # Specifies managed data identifiers to exclude (not use) when
3782
+ # performing automated sensitive data discovery for an Amazon Macie
3783
+ # account. For information about the managed data identifiers that
3784
+ # Amazon Macie currently provides, see [Using managed data
3785
+ # identifiers][1] in the *Amazon Macie User Guide*.
3786
+ #
3787
+ #
3788
+ #
3789
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
3790
+ #
3791
+ # @option params [required, String] :id
3792
+ #
3793
+ # @option params [Types::SensitivityInspectionTemplateIncludes] :includes
3794
+ # Specifies the allow lists, custom data identifiers, and managed data
3795
+ # identifiers to include (use) when performing automated sensitive data
3796
+ # discovery for an Amazon Macie account. The configuration must specify
3797
+ # at least one custom data identifier or managed data identifier. For
3798
+ # information about the managed data identifiers that Amazon Macie
3799
+ # currently provides, see [Using managed data identifiers][1] in the
3800
+ # *Amazon Macie User Guide*.
3801
+ #
3802
+ #
3803
+ #
3804
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
3805
+ #
3806
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3807
+ #
3808
+ # @example Request syntax with placeholder values
3809
+ #
3810
+ # resp = client.update_sensitivity_inspection_template({
3811
+ # description: "__string",
3812
+ # excludes: {
3813
+ # managed_data_identifier_ids: ["__string"],
3814
+ # },
3815
+ # id: "__string", # required
3816
+ # includes: {
3817
+ # allow_list_ids: ["__string"],
3818
+ # custom_data_identifier_ids: ["__string"],
3819
+ # managed_data_identifier_ids: ["__string"],
3820
+ # },
3821
+ # })
3822
+ #
3823
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplate AWS API Documentation
3824
+ #
3825
+ # @overload update_sensitivity_inspection_template(params = {})
3826
+ # @param [Hash] params ({})
3827
+ def update_sensitivity_inspection_template(params = {}, options = {})
3828
+ req = build_request(:update_sensitivity_inspection_template, params)
3829
+ req.send_request(options)
3830
+ end
3831
+
3339
3832
  # @!endgroup
3340
3833
 
3341
3834
  # @param params ({})
@@ -3349,7 +3842,7 @@ module Aws::Macie2
3349
3842
  params: params,
3350
3843
  config: config)
3351
3844
  context[:gem_name] = 'aws-sdk-macie2'
3352
- context[:gem_version] = '1.48.0'
3845
+ context[:gem_version] = '1.49.0'
3353
3846
  Seahorse::Client::Request.new(handlers, context)
3354
3847
  end
3355
3848