aws-sdk-macie2 1.10.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6ba72ff8fa68db8d435e9156f578909c47a0fba50bce4f9e7b3f1d4dccabbbb
4
- data.tar.gz: 0b652fd5bf2a51fe6f64e38f8fed05a680280caac71a8579fd87c94fb59e964e
3
+ metadata.gz: 46ed9ac6705a2f7f3dece030be67be61bab4f569990363a5e83e73ba7dd28b7a
4
+ data.tar.gz: 47f266a4f1ef9586333a57d8af5b8a32834328c39f1dba2c1a3cd53df6312af4
5
5
  SHA512:
6
- metadata.gz: c3de05e1d841fc3159859e4e03bdc30551891e7d2d4c89acbbc56468c1472669c3a5a6a71a7b092d7f9c4c1bdf549968c22f8736e5d318b1af57d08e858300ca
7
- data.tar.gz: 2c24cc5c0aaa6ff18eea9ec57b618dc7ff6618c2dfb6ecfb9a844e87a9e4136a43203f0bfec1f4c9740635c83029f548388dd07f22ba241d336f448ffbe6e10a
6
+ metadata.gz: 973e4b50477c4746b12aed796b7120048f5661bac8e2bec99e27766c05cefade34c6b7255048a2a44e4994d9d9181b009df6418242b85e2289feb118927f2888
7
+ data.tar.gz: 230efec5618d326fb1c565f99e18527908363f36d070431f8b56c40b781f6e58695a458d3289ed2439c3962d0ca9b599badfc2e38889f21fb17140faf133a8a2
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
47
48
  # @!group service
48
49
  module Aws::Macie2
49
50
 
50
- GEM_VERSION = '1.10.0'
51
+ GEM_VERSION = '1.15.0'
51
52
 
52
53
  end
@@ -615,6 +615,7 @@ module Aws::Macie2
615
615
  # criterion: {
616
616
  # "__string" => {
617
617
  # eq: ["__string"],
618
+ # eq_exact_match: ["__string"],
618
619
  # gt: 1,
619
620
  # gte: 1,
620
621
  # lt: 1,
@@ -968,8 +969,7 @@ module Aws::Macie2
968
969
  req.send_request(options)
969
970
  end
970
971
 
971
- # Retrieves information about the status and settings for a
972
- # classification job.
972
+ # Retrieves the status and settings for a classification job.
973
973
  #
974
974
  # @option params [required, String] :job_id
975
975
  #
@@ -991,6 +991,7 @@ module Aws::Macie2
991
991
  # * {Types::DescribeClassificationJobResponse#schedule_frequency #schedule_frequency} => Types::JobScheduleFrequency
992
992
  # * {Types::DescribeClassificationJobResponse#statistics #statistics} => Types::Statistics
993
993
  # * {Types::DescribeClassificationJobResponse#tags #tags} => Hash<String,String>
994
+ # * {Types::DescribeClassificationJobResponse#user_paused_details #user_paused_details} => Types::UserPausedDetails
994
995
  #
995
996
  # @example Request syntax with placeholder values
996
997
  #
@@ -1008,7 +1009,7 @@ module Aws::Macie2
1008
1009
  # resp.initial_run #=> Boolean
1009
1010
  # resp.job_arn #=> String
1010
1011
  # resp.job_id #=> String
1011
- # resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE"
1012
+ # resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1012
1013
  # resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1013
1014
  # resp.last_run_time #=> Time
1014
1015
  # resp.name #=> String
@@ -1045,6 +1046,9 @@ module Aws::Macie2
1045
1046
  # resp.statistics.number_of_runs #=> Float
1046
1047
  # resp.tags #=> Hash
1047
1048
  # resp.tags["__string"] #=> String
1049
+ # resp.user_paused_details.job_expires_at #=> Time
1050
+ # resp.user_paused_details.job_imminent_expiration_health_event_arn #=> String
1051
+ # resp.user_paused_details.job_paused_at #=> Time
1048
1052
  #
1049
1053
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob AWS API Documentation
1050
1054
  #
@@ -1055,8 +1059,8 @@ module Aws::Macie2
1055
1059
  req.send_request(options)
1056
1060
  end
1057
1061
 
1058
- # Retrieves information about the Amazon Macie configuration settings
1059
- # for an AWS organization.
1062
+ # Retrieves the Amazon Macie configuration settings for an AWS
1063
+ # organization.
1060
1064
  #
1061
1065
  # @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1062
1066
  #
@@ -1091,8 +1095,8 @@ module Aws::Macie2
1091
1095
  req.send_request(options)
1092
1096
  end
1093
1097
 
1094
- # Disables an account as a delegated administrator of Amazon Macie for
1095
- # an AWS organization.
1098
+ # Disables an account as the delegated Amazon Macie administrator
1099
+ # account for an AWS organization.
1096
1100
  #
1097
1101
  # @option params [required, String] :admin_account_id
1098
1102
  #
@@ -1182,8 +1186,8 @@ module Aws::Macie2
1182
1186
  req.send_request(options)
1183
1187
  end
1184
1188
 
1185
- # Enables an account as a delegated administrator of Amazon Macie for an
1186
- # AWS organization.
1189
+ # Designates an account as the delegated Amazon Macie administrator
1190
+ # account for an AWS organization.
1187
1191
  #
1188
1192
  # @option params [required, String] :admin_account_id
1189
1193
  #
@@ -1241,12 +1245,14 @@ module Aws::Macie2
1241
1245
  # resp.bucket_count_by_effective_permission.publicly_accessible #=> Integer
1242
1246
  # resp.bucket_count_by_effective_permission.publicly_readable #=> Integer
1243
1247
  # resp.bucket_count_by_effective_permission.publicly_writable #=> Integer
1248
+ # resp.bucket_count_by_effective_permission.unknown #=> Integer
1244
1249
  # resp.bucket_count_by_encryption_type.kms_managed #=> Integer
1245
1250
  # resp.bucket_count_by_encryption_type.s3_managed #=> Integer
1246
1251
  # resp.bucket_count_by_encryption_type.unencrypted #=> Integer
1247
1252
  # resp.bucket_count_by_shared_access_type.external #=> Integer
1248
1253
  # resp.bucket_count_by_shared_access_type.internal #=> Integer
1249
1254
  # resp.bucket_count_by_shared_access_type.not_shared #=> Integer
1255
+ # resp.bucket_count_by_shared_access_type.unknown #=> Integer
1250
1256
  # resp.classifiable_object_count #=> Integer
1251
1257
  # resp.classifiable_size_in_bytes #=> Integer
1252
1258
  # resp.last_updated #=> Time
@@ -1291,8 +1297,8 @@ module Aws::Macie2
1291
1297
  req.send_request(options)
1292
1298
  end
1293
1299
 
1294
- # Retrieves information about the criteria and other settings for a
1295
- # custom data identifier.
1300
+ # Retrieves the criteria and other settings for a custom data
1301
+ # identifier.
1296
1302
  #
1297
1303
  # @option params [required, String] :id
1298
1304
  #
@@ -1367,6 +1373,7 @@ module Aws::Macie2
1367
1373
  # criterion: {
1368
1374
  # "__string" => {
1369
1375
  # eq: ["__string"],
1376
+ # eq_exact_match: ["__string"],
1370
1377
  # gt: 1,
1371
1378
  # gte: 1,
1372
1379
  # lt: 1,
@@ -1398,13 +1405,12 @@ module Aws::Macie2
1398
1405
  req.send_request(options)
1399
1406
  end
1400
1407
 
1401
- # Retrieves information about one or more findings.
1408
+ # Retrieves the details of one or more findings.
1402
1409
  #
1403
1410
  # @option params [required, Array<String>] :finding_ids
1404
1411
  #
1405
1412
  # @option params [Types::SortCriteria] :sort_criteria
1406
- # Specifies criteria for sorting the results of a request for
1407
- # information about findings.
1413
+ # Specifies criteria for sorting the results of a request for findings.
1408
1414
  #
1409
1415
  # @return [Types::GetFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1410
1416
  #
@@ -1429,16 +1435,63 @@ module Aws::Macie2
1429
1435
  # resp.findings[0].classification_details.detailed_results_location #=> String
1430
1436
  # resp.findings[0].classification_details.job_arn #=> String
1431
1437
  # resp.findings[0].classification_details.job_id #=> String
1438
+ # resp.findings[0].classification_details.result.additional_occurrences #=> Boolean
1432
1439
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections #=> Array
1433
1440
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].arn #=> String
1434
1441
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].count #=> Integer
1435
1442
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].name #=> String
1443
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells #=> Array
1444
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].cell_reference #=> String
1445
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].column #=> Integer
1446
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].column_name #=> String
1447
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].row #=> Integer
1448
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges #=> Array
1449
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].end #=> Integer
1450
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start #=> Integer
1451
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start_column #=> Integer
1452
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges #=> Array
1453
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].end #=> Integer
1454
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start #=> Integer
1455
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start_column #=> Integer
1456
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages #=> Array
1457
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.end #=> Integer
1458
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start #=> Integer
1459
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start_column #=> Integer
1460
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.end #=> Integer
1461
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start #=> Integer
1462
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
1463
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].page_number #=> Integer
1464
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records #=> Array
1465
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].record_index #=> Integer
1436
1466
  # resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
1437
1467
  # resp.findings[0].classification_details.result.mime_type #=> String
1438
1468
  # resp.findings[0].classification_details.result.sensitive_data #=> Array
1439
1469
  # resp.findings[0].classification_details.result.sensitive_data[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
1440
1470
  # resp.findings[0].classification_details.result.sensitive_data[0].detections #=> Array
1441
1471
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].count #=> Integer
1472
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells #=> Array
1473
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].cell_reference #=> String
1474
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column #=> Integer
1475
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column_name #=> String
1476
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].row #=> Integer
1477
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges #=> Array
1478
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].end #=> Integer
1479
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start #=> Integer
1480
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start_column #=> Integer
1481
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges #=> Array
1482
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].end #=> Integer
1483
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start #=> Integer
1484
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start_column #=> Integer
1485
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages #=> Array
1486
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.end #=> Integer
1487
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start #=> Integer
1488
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start_column #=> Integer
1489
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.end #=> Integer
1490
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start #=> Integer
1491
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
1492
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].page_number #=> Integer
1493
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records #=> Array
1494
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].record_index #=> Integer
1442
1495
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
1443
1496
  # resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
1444
1497
  # resp.findings[0].classification_details.result.size_classified #=> Integer
@@ -1554,8 +1607,7 @@ module Aws::Macie2
1554
1607
  req.send_request(options)
1555
1608
  end
1556
1609
 
1557
- # Retrieves information about the criteria and other settings for a
1558
- # findings filter.
1610
+ # Retrieves the criteria and other settings for a findings filter.
1559
1611
  #
1560
1612
  # @option params [required, String] :id
1561
1613
  #
@@ -1584,6 +1636,8 @@ module Aws::Macie2
1584
1636
  # resp.finding_criteria.criterion #=> Hash
1585
1637
  # resp.finding_criteria.criterion["__string"].eq #=> Array
1586
1638
  # resp.finding_criteria.criterion["__string"].eq[0] #=> String
1639
+ # resp.finding_criteria.criterion["__string"].eq_exact_match #=> Array
1640
+ # resp.finding_criteria.criterion["__string"].eq_exact_match[0] #=> String
1587
1641
  # resp.finding_criteria.criterion["__string"].gt #=> Integer
1588
1642
  # resp.finding_criteria.criterion["__string"].gte #=> Integer
1589
1643
  # resp.finding_criteria.criterion["__string"].lt #=> Integer
@@ -1625,8 +1679,8 @@ module Aws::Macie2
1625
1679
  req.send_request(options)
1626
1680
  end
1627
1681
 
1628
- # Retrieves information about the current status and configuration
1629
- # settings for an Amazon Macie account.
1682
+ # Retrieves the current status and configuration settings for an Amazon
1683
+ # Macie account.
1630
1684
  #
1631
1685
  # @return [Types::GetMacieSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1632
1686
  #
@@ -1860,9 +1914,12 @@ module Aws::Macie2
1860
1914
  # resp.items[0].bucket_definitions[0].buckets[0] #=> String
1861
1915
  # resp.items[0].created_at #=> Time
1862
1916
  # resp.items[0].job_id #=> String
1863
- # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE"
1917
+ # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1864
1918
  # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1865
1919
  # resp.items[0].name #=> String
1920
+ # resp.items[0].user_paused_details.job_expires_at #=> Time
1921
+ # resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
1922
+ # resp.items[0].user_paused_details.job_paused_at #=> Time
1866
1923
  # resp.next_token #=> String
1867
1924
  #
1868
1925
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
@@ -1925,8 +1982,7 @@ module Aws::Macie2
1925
1982
  # @option params [String] :next_token
1926
1983
  #
1927
1984
  # @option params [Types::SortCriteria] :sort_criteria
1928
- # Specifies criteria for sorting the results of a request for
1929
- # information about findings.
1985
+ # Specifies criteria for sorting the results of a request for findings.
1930
1986
  #
1931
1987
  # @return [Types::ListFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1932
1988
  #
@@ -1942,6 +1998,7 @@ module Aws::Macie2
1942
1998
  # criterion: {
1943
1999
  # "__string" => {
1944
2000
  # eq: ["__string"],
2001
+ # eq_exact_match: ["__string"],
1945
2002
  # gt: 1,
1946
2003
  # gte: 1,
1947
2004
  # lt: 1,
@@ -2100,8 +2157,8 @@ module Aws::Macie2
2100
2157
  req.send_request(options)
2101
2158
  end
2102
2159
 
2103
- # Retrieves information about the account that's designated as the
2104
- # delegated administrator of Amazon Macie for an AWS organization.
2160
+ # Retrieves information about the delegated Amazon Macie administrator
2161
+ # account for an AWS organization.
2105
2162
  #
2106
2163
  # @option params [Integer] :max_results
2107
2164
  #
@@ -2301,12 +2358,12 @@ module Aws::Macie2
2301
2358
  req.send_request(options)
2302
2359
  end
2303
2360
 
2304
- # Cancels a classification job.
2361
+ # Changes the status of a classification job.
2305
2362
  #
2306
2363
  # @option params [required, String] :job_id
2307
2364
  #
2308
2365
  # @option params [required, String] :job_status
2309
- # The current status of a classification job. Possible values are:
2366
+ # The status of a classification job. Possible values are:
2310
2367
  #
2311
2368
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2312
2369
  #
@@ -2314,7 +2371,7 @@ module Aws::Macie2
2314
2371
  #
2315
2372
  # resp = client.update_classification_job({
2316
2373
  # job_id: "__string", # required
2317
- # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
2374
+ # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
2318
2375
  # })
2319
2376
  #
2320
2377
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob AWS API Documentation
@@ -2359,6 +2416,7 @@ module Aws::Macie2
2359
2416
  # criterion: {
2360
2417
  # "__string" => {
2361
2418
  # eq: ["__string"],
2419
+ # eq_exact_match: ["__string"],
2362
2420
  # gt: 1,
2363
2421
  # gte: 1,
2364
2422
  # lt: 1,
@@ -2442,7 +2500,8 @@ module Aws::Macie2
2442
2500
  req.send_request(options)
2443
2501
  end
2444
2502
 
2445
- # Updates Amazon Macie configuration settings for an AWS organization.
2503
+ # Updates the Amazon Macie configuration settings for an AWS
2504
+ # organization.
2446
2505
  #
2447
2506
  # @option params [required, Boolean] :auto_enable
2448
2507
  #
@@ -2476,7 +2535,7 @@ module Aws::Macie2
2476
2535
  params: params,
2477
2536
  config: config)
2478
2537
  context[:gem_name] = 'aws-sdk-macie2'
2479
- context[:gem_version] = '1.10.0'
2538
+ context[:gem_version] = '1.15.0'
2480
2539
  Seahorse::Client::Request.new(handlers, context)
2481
2540
  end
2482
2541
 
@@ -40,6 +40,8 @@ module Aws::Macie2
40
40
  BucketPolicy = Shapes::StructureShape.new(name: 'BucketPolicy')
41
41
  BucketPublicAccess = Shapes::StructureShape.new(name: 'BucketPublicAccess')
42
42
  BucketSortCriteria = Shapes::StructureShape.new(name: 'BucketSortCriteria')
43
+ Cell = Shapes::StructureShape.new(name: 'Cell')
44
+ Cells = Shapes::ListShape.new(name: 'Cells')
43
45
  ClassificationDetails = Shapes::StructureShape.new(name: 'ClassificationDetails')
44
46
  ClassificationExportConfiguration = Shapes::StructureShape.new(name: 'ClassificationExportConfiguration')
45
47
  ClassificationResult = Shapes::StructureShape.new(name: 'ClassificationResult')
@@ -184,10 +186,17 @@ module Aws::Macie2
184
186
  MonthlySchedule = Shapes::StructureShape.new(name: 'MonthlySchedule')
185
187
  ObjectCountByEncryptionType = Shapes::StructureShape.new(name: 'ObjectCountByEncryptionType')
186
188
  ObjectLevelStatistics = Shapes::StructureShape.new(name: 'ObjectLevelStatistics')
189
+ Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
187
190
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
191
+ Page = Shapes::StructureShape.new(name: 'Page')
192
+ Pages = Shapes::ListShape.new(name: 'Pages')
188
193
  PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
189
194
  PutClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationRequest')
190
195
  PutClassificationExportConfigurationResponse = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationResponse')
196
+ Range = Shapes::StructureShape.new(name: 'Range')
197
+ Ranges = Shapes::ListShape.new(name: 'Ranges')
198
+ Record = Shapes::StructureShape.new(name: 'Record')
199
+ Records = Shapes::ListShape.new(name: 'Records')
191
200
  RelationshipStatus = Shapes::StringShape.new(name: 'RelationshipStatus')
192
201
  ReplicationDetails = Shapes::StructureShape.new(name: 'ReplicationDetails')
193
202
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -251,6 +260,7 @@ module Aws::Macie2
251
260
  UserIdentity = Shapes::StructureShape.new(name: 'UserIdentity')
252
261
  UserIdentityRoot = Shapes::StructureShape.new(name: 'UserIdentityRoot')
253
262
  UserIdentityType = Shapes::StringShape.new(name: 'UserIdentityType')
263
+ UserPausedDetails = Shapes::StructureShape.new(name: 'UserPausedDetails')
254
264
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
255
265
  WeeklySchedule = Shapes::StructureShape.new(name: 'WeeklySchedule')
256
266
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
@@ -351,6 +361,7 @@ module Aws::Macie2
351
361
  BucketCountByEffectivePermission.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyAccessible"))
352
362
  BucketCountByEffectivePermission.add_member(:publicly_readable, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyReadable"))
353
363
  BucketCountByEffectivePermission.add_member(:publicly_writable, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyWritable"))
364
+ BucketCountByEffectivePermission.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
354
365
  BucketCountByEffectivePermission.struct_class = Types::BucketCountByEffectivePermission
355
366
 
356
367
  BucketCountByEncryptionType.add_member(:kms_managed, Shapes::ShapeRef.new(shape: __long, location_name: "kmsManaged"))
@@ -361,6 +372,7 @@ module Aws::Macie2
361
372
  BucketCountBySharedAccessType.add_member(:external, Shapes::ShapeRef.new(shape: __long, location_name: "external"))
362
373
  BucketCountBySharedAccessType.add_member(:internal, Shapes::ShapeRef.new(shape: __long, location_name: "internal"))
363
374
  BucketCountBySharedAccessType.add_member(:not_shared, Shapes::ShapeRef.new(shape: __long, location_name: "notShared"))
375
+ BucketCountBySharedAccessType.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
364
376
  BucketCountBySharedAccessType.struct_class = Types::BucketCountBySharedAccessType
365
377
 
366
378
  BucketCriteria.key = Shapes::ShapeRef.new(shape: __string)
@@ -417,6 +429,14 @@ module Aws::Macie2
417
429
  BucketSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
418
430
  BucketSortCriteria.struct_class = Types::BucketSortCriteria
419
431
 
432
+ Cell.add_member(:cell_reference, Shapes::ShapeRef.new(shape: __string, location_name: "cellReference"))
433
+ Cell.add_member(:column, Shapes::ShapeRef.new(shape: __long, location_name: "column"))
434
+ Cell.add_member(:column_name, Shapes::ShapeRef.new(shape: __string, location_name: "columnName"))
435
+ Cell.add_member(:row, Shapes::ShapeRef.new(shape: __long, location_name: "row"))
436
+ Cell.struct_class = Types::Cell
437
+
438
+ Cells.member = Shapes::ShapeRef.new(shape: Cell)
439
+
420
440
  ClassificationDetails.add_member(:detailed_results_location, Shapes::ShapeRef.new(shape: __string, location_name: "detailedResultsLocation"))
421
441
  ClassificationDetails.add_member(:job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobArn"))
422
442
  ClassificationDetails.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
@@ -426,6 +446,7 @@ module Aws::Macie2
426
446
  ClassificationExportConfiguration.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
427
447
  ClassificationExportConfiguration.struct_class = Types::ClassificationExportConfiguration
428
448
 
449
+ ClassificationResult.add_member(:additional_occurrences, Shapes::ShapeRef.new(shape: __boolean, location_name: "additionalOccurrences"))
429
450
  ClassificationResult.add_member(:custom_data_identifiers, Shapes::ShapeRef.new(shape: CustomDataIdentifiers, location_name: "customDataIdentifiers"))
430
451
  ClassificationResult.add_member(:mime_type, Shapes::ShapeRef.new(shape: __string, location_name: "mimeType"))
431
452
  ClassificationResult.add_member(:sensitive_data, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "sensitiveData"))
@@ -506,6 +527,7 @@ module Aws::Macie2
506
527
  Criterion.value = Shapes::ShapeRef.new(shape: CriterionAdditionalProperties)
507
528
 
508
529
  CriterionAdditionalProperties.add_member(:eq, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "eq"))
530
+ CriterionAdditionalProperties.add_member(:eq_exact_match, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "eqExactMatch"))
509
531
  CriterionAdditionalProperties.add_member(:gt, Shapes::ShapeRef.new(shape: __long, location_name: "gt"))
510
532
  CriterionAdditionalProperties.add_member(:gte, Shapes::ShapeRef.new(shape: __long, location_name: "gte"))
511
533
  CriterionAdditionalProperties.add_member(:lt, Shapes::ShapeRef.new(shape: __long, location_name: "lt"))
@@ -527,6 +549,7 @@ module Aws::Macie2
527
549
  CustomDetection.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
528
550
  CustomDetection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
529
551
  CustomDetection.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
552
+ CustomDetection.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "occurrences"))
530
553
  CustomDetection.struct_class = Types::CustomDetection
531
554
 
532
555
  CustomDetections.member = Shapes::ShapeRef.new(shape: CustomDetection)
@@ -540,6 +563,7 @@ module Aws::Macie2
540
563
  DeclineInvitationsResponse.struct_class = Types::DeclineInvitationsResponse
541
564
 
542
565
  DefaultDetection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
566
+ DefaultDetection.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "occurrences"))
543
567
  DefaultDetection.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
544
568
  DefaultDetection.struct_class = Types::DefaultDetection
545
569
 
@@ -595,6 +619,7 @@ module Aws::Macie2
595
619
  DescribeClassificationJobResponse.add_member(:schedule_frequency, Shapes::ShapeRef.new(shape: JobScheduleFrequency, location_name: "scheduleFrequency"))
596
620
  DescribeClassificationJobResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: Statistics, location_name: "statistics"))
597
621
  DescribeClassificationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
622
+ DescribeClassificationJobResponse.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
598
623
  DescribeClassificationJobResponse.struct_class = Types::DescribeClassificationJobResponse
599
624
 
600
625
  DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
@@ -864,6 +889,7 @@ module Aws::Macie2
864
889
  JobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
865
890
  JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
866
891
  JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
892
+ JobSummary.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
867
893
  JobSummary.struct_class = Types::JobSummary
868
894
 
869
895
  KeyValuePair.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "key"))
@@ -976,6 +1002,20 @@ module Aws::Macie2
976
1002
  ObjectLevelStatistics.add_member(:total, Shapes::ShapeRef.new(shape: __long, location_name: "total"))
977
1003
  ObjectLevelStatistics.struct_class = Types::ObjectLevelStatistics
978
1004
 
1005
+ Occurrences.add_member(:cells, Shapes::ShapeRef.new(shape: Cells, location_name: "cells"))
1006
+ Occurrences.add_member(:line_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "lineRanges"))
1007
+ Occurrences.add_member(:offset_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "offsetRanges"))
1008
+ Occurrences.add_member(:pages, Shapes::ShapeRef.new(shape: Pages, location_name: "pages"))
1009
+ Occurrences.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "records"))
1010
+ Occurrences.struct_class = Types::Occurrences
1011
+
1012
+ Page.add_member(:line_range, Shapes::ShapeRef.new(shape: Range, location_name: "lineRange"))
1013
+ Page.add_member(:offset_range, Shapes::ShapeRef.new(shape: Range, location_name: "offsetRange"))
1014
+ Page.add_member(:page_number, Shapes::ShapeRef.new(shape: __long, location_name: "pageNumber"))
1015
+ Page.struct_class = Types::Page
1016
+
1017
+ Pages.member = Shapes::ShapeRef.new(shape: Page)
1018
+
979
1019
  PolicyDetails.add_member(:action, Shapes::ShapeRef.new(shape: FindingAction, location_name: "action"))
980
1020
  PolicyDetails.add_member(:actor, Shapes::ShapeRef.new(shape: FindingActor, location_name: "actor"))
981
1021
  PolicyDetails.struct_class = Types::PolicyDetails
@@ -986,6 +1026,18 @@ module Aws::Macie2
986
1026
  PutClassificationExportConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ClassificationExportConfiguration, location_name: "configuration"))
987
1027
  PutClassificationExportConfigurationResponse.struct_class = Types::PutClassificationExportConfigurationResponse
988
1028
 
1029
+ Range.add_member(:end, Shapes::ShapeRef.new(shape: __long, location_name: "end"))
1030
+ Range.add_member(:start, Shapes::ShapeRef.new(shape: __long, location_name: "start"))
1031
+ Range.add_member(:start_column, Shapes::ShapeRef.new(shape: __long, location_name: "startColumn"))
1032
+ Range.struct_class = Types::Range
1033
+
1034
+ Ranges.member = Shapes::ShapeRef.new(shape: Range)
1035
+
1036
+ Record.add_member(:record_index, Shapes::ShapeRef.new(shape: __long, location_name: "recordIndex"))
1037
+ Record.struct_class = Types::Record
1038
+
1039
+ Records.member = Shapes::ShapeRef.new(shape: Record)
1040
+
989
1041
  ReplicationDetails.add_member(:replicated, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicated"))
990
1042
  ReplicationDetails.add_member(:replicated_externally, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicatedExternally"))
991
1043
  ReplicationDetails.add_member(:replication_accounts, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "replicationAccounts"))
@@ -1210,6 +1262,11 @@ module Aws::Macie2
1210
1262
  UserIdentityRoot.add_member(:principal_id, Shapes::ShapeRef.new(shape: __string, location_name: "principalId"))
1211
1263
  UserIdentityRoot.struct_class = Types::UserIdentityRoot
1212
1264
 
1265
+ UserPausedDetails.add_member(:job_expires_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobExpiresAt"))
1266
+ UserPausedDetails.add_member(:job_imminent_expiration_health_event_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobImminentExpirationHealthEventArn"))
1267
+ UserPausedDetails.add_member(:job_paused_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobPausedAt"))
1268
+ UserPausedDetails.struct_class = Types::UserPausedDetails
1269
+
1213
1270
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1214
1271
  ValidationException.struct_class = Types::ValidationException
1215
1272
 
@@ -120,15 +120,15 @@ module Aws::Macie2
120
120
  include Aws::Structure
121
121
  end
122
122
 
123
- # Provides information about an account that's designated as a
124
- # delegated administrator of Amazon Macie for an AWS organization.
123
+ # Provides information about the delegated Amazon Macie administrator
124
+ # account for an AWS organization.
125
125
  #
126
126
  # @!attribute [rw] account_id
127
127
  # @return [String]
128
128
  #
129
129
  # @!attribute [rw] status
130
- # The current status of an account as a delegated administrator of
131
- # Amazon Macie for an AWS organization.
130
+ # The current status of an account as the delegated Amazon Macie
131
+ # administrator account for an AWS organization.
132
132
  # @return [String]
133
133
  #
134
134
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation
@@ -350,12 +350,16 @@ module Aws::Macie2
350
350
  # @!attribute [rw] publicly_writable
351
351
  # @return [Integer]
352
352
  #
353
+ # @!attribute [rw] unknown
354
+ # @return [Integer]
355
+ #
353
356
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountByEffectivePermission AWS API Documentation
354
357
  #
355
358
  class BucketCountByEffectivePermission < Struct.new(
356
359
  :publicly_accessible,
357
360
  :publicly_readable,
358
- :publicly_writable)
361
+ :publicly_writable,
362
+ :unknown)
359
363
  SENSITIVE = []
360
364
  include Aws::Structure
361
365
  end
@@ -394,12 +398,16 @@ module Aws::Macie2
394
398
  # @!attribute [rw] not_shared
395
399
  # @return [Integer]
396
400
  #
401
+ # @!attribute [rw] unknown
402
+ # @return [Integer]
403
+ #
397
404
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountBySharedAccessType AWS API Documentation
398
405
  #
399
406
  class BucketCountBySharedAccessType < Struct.new(
400
407
  :external,
401
408
  :internal,
402
- :not_shared)
409
+ :not_shared,
410
+ :unknown)
403
411
  SENSITIVE = []
404
412
  include Aws::Structure
405
413
  end
@@ -680,6 +688,32 @@ module Aws::Macie2
680
688
  include Aws::Structure
681
689
  end
682
690
 
691
+ # Specifies the location of an occurrence of sensitive data in a
692
+ # Microsoft Excel workbook, CSV file, or TSV file.
693
+ #
694
+ # @!attribute [rw] cell_reference
695
+ # @return [String]
696
+ #
697
+ # @!attribute [rw] column
698
+ # @return [Integer]
699
+ #
700
+ # @!attribute [rw] column_name
701
+ # @return [String]
702
+ #
703
+ # @!attribute [rw] row
704
+ # @return [Integer]
705
+ #
706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Cell AWS API Documentation
707
+ #
708
+ class Cell < Struct.new(
709
+ :cell_reference,
710
+ :column,
711
+ :column_name,
712
+ :row)
713
+ SENSITIVE = []
714
+ include Aws::Structure
715
+ end
716
+
683
717
  # Provides information about a sensitive data finding, including the
684
718
  # classification job that produced the finding.
685
719
  #
@@ -693,9 +727,9 @@ module Aws::Macie2
693
727
  # @return [String]
694
728
  #
695
729
  # @!attribute [rw] result
696
- # Provides detailed information about a sensitive data finding,
697
- # including the types and number of occurrences of the sensitive data
698
- # that was found.
730
+ # Provides the details of a sensitive data finding, including the
731
+ # types, number of occurrences, and locations of the sensitive data
732
+ # that was detected.
699
733
  # @return [Types::ClassificationResult]
700
734
  #
701
735
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationDetails AWS API Documentation
@@ -737,14 +771,17 @@ module Aws::Macie2
737
771
  include Aws::Structure
738
772
  end
739
773
 
740
- # Provides detailed information about a sensitive data finding,
741
- # including the types and number of occurrences of the sensitive data
742
- # that was found.
774
+ # Provides the details of a sensitive data finding, including the types,
775
+ # number of occurrences, and locations of the sensitive data that was
776
+ # detected.
777
+ #
778
+ # @!attribute [rw] additional_occurrences
779
+ # @return [Boolean]
743
780
  #
744
781
  # @!attribute [rw] custom_data_identifiers
745
- # Provides information about the number of occurrences of the data
746
- # that produced a sensitive data finding, and the custom data
747
- # identifiers that detected the data for the finding.
782
+ # Provides information about custom data identifiers that produced a
783
+ # sensitive data finding, and the number of occurrences of the data
784
+ # that they detected for the finding.
748
785
  # @return [Types::CustomDataIdentifiers]
749
786
  #
750
787
  # @!attribute [rw] mime_type
@@ -765,6 +802,7 @@ module Aws::Macie2
765
802
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationResult AWS API Documentation
766
803
  #
767
804
  class ClassificationResult < Struct.new(
805
+ :additional_occurrences,
768
806
  :custom_data_identifiers,
769
807
  :mime_type,
770
808
  :sensitive_data,
@@ -806,10 +844,10 @@ module Aws::Macie2
806
844
  end
807
845
 
808
846
  # Specifies the scope, schedule, and other settings for a classification
809
- # job. You can't delete or change the settings for a classification job
810
- # after you create it. This helps ensure that you have an immutable
811
- # history of sensitive data findings and discovery results for data
812
- # privacy and protection audits or investigations.
847
+ # job. You can't change any settings for a classification job after you
848
+ # create it. This helps ensure that you have an immutable history of
849
+ # sensitive data findings and discovery results for data privacy and
850
+ # protection audits or investigations.
813
851
  #
814
852
  # @note When making an API call, you may pass CreateClassificationJobRequest
815
853
  # data as a hash:
@@ -1058,6 +1096,7 @@ module Aws::Macie2
1058
1096
  # criterion: {
1059
1097
  # "__string" => {
1060
1098
  # eq: ["__string"],
1099
+ # eq_exact_match: ["__string"],
1061
1100
  # gt: 1,
1062
1101
  # gte: 1,
1063
1102
  # lt: 1,
@@ -1262,6 +1301,7 @@ module Aws::Macie2
1262
1301
  #
1263
1302
  # {
1264
1303
  # eq: ["__string"],
1304
+ # eq_exact_match: ["__string"],
1265
1305
  # gt: 1,
1266
1306
  # gte: 1,
1267
1307
  # lt: 1,
@@ -1272,6 +1312,9 @@ module Aws::Macie2
1272
1312
  # @!attribute [rw] eq
1273
1313
  # @return [Array<String>]
1274
1314
  #
1315
+ # @!attribute [rw] eq_exact_match
1316
+ # @return [Array<String>]
1317
+ #
1275
1318
  # @!attribute [rw] gt
1276
1319
  # @return [Integer]
1277
1320
  #
@@ -1291,6 +1334,7 @@ module Aws::Macie2
1291
1334
  #
1292
1335
  class CriterionAdditionalProperties < Struct.new(
1293
1336
  :eq,
1337
+ :eq_exact_match,
1294
1338
  :gt,
1295
1339
  :gte,
1296
1340
  :lt,
@@ -1329,9 +1373,9 @@ module Aws::Macie2
1329
1373
  include Aws::Structure
1330
1374
  end
1331
1375
 
1332
- # Provides information about the number of occurrences of the data that
1333
- # produced a sensitive data finding, and the custom data identifiers
1334
- # that detected the data for the finding.
1376
+ # Provides information about custom data identifiers that produced a
1377
+ # sensitive data finding, and the number of occurrences of the data that
1378
+ # they detected for the finding.
1335
1379
  #
1336
1380
  # @!attribute [rw] detections
1337
1381
  # Provides information about custom data identifiers that produced a
@@ -1352,8 +1396,8 @@ module Aws::Macie2
1352
1396
  end
1353
1397
 
1354
1398
  # Provides information about a custom data identifier that produced a
1355
- # sensitive data finding, and the number of occurrences of the data that
1356
- # it detected for the finding.
1399
+ # sensitive data finding, and the sensitive data that it detected for
1400
+ # the finding.
1357
1401
  #
1358
1402
  # @!attribute [rw] arn
1359
1403
  # @return [String]
@@ -1364,12 +1408,19 @@ module Aws::Macie2
1364
1408
  # @!attribute [rw] name
1365
1409
  # @return [String]
1366
1410
  #
1411
+ # @!attribute [rw] occurrences
1412
+ # Provides the location of 1-15 occurrences of sensitive data that was
1413
+ # detected by managed data identifiers or a custom data identifier and
1414
+ # produced a sensitive data finding.
1415
+ # @return [Types::Occurrences]
1416
+ #
1367
1417
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation
1368
1418
  #
1369
1419
  class CustomDetection < Struct.new(
1370
1420
  :arn,
1371
1421
  :count,
1372
- :name)
1422
+ :name,
1423
+ :occurrences)
1373
1424
  SENSITIVE = []
1374
1425
  include Aws::Structure
1375
1426
  end
@@ -1419,12 +1470,18 @@ module Aws::Macie2
1419
1470
  include Aws::Structure
1420
1471
  end
1421
1472
 
1422
- # Provides information about sensitive data that was detected by managed
1423
- # data identifiers and produced a sensitive data finding.
1473
+ # Provides information about a type of sensitive data that was detected
1474
+ # by managed data identifiers and produced a sensitive data finding.
1424
1475
  #
1425
1476
  # @!attribute [rw] count
1426
1477
  # @return [Integer]
1427
1478
  #
1479
+ # @!attribute [rw] occurrences
1480
+ # Provides the location of 1-15 occurrences of sensitive data that was
1481
+ # detected by managed data identifiers or a custom data identifier and
1482
+ # produced a sensitive data finding.
1483
+ # @return [Types::Occurrences]
1484
+ #
1428
1485
  # @!attribute [rw] type
1429
1486
  # @return [String]
1430
1487
  #
@@ -1432,6 +1489,7 @@ module Aws::Macie2
1432
1489
  #
1433
1490
  class DefaultDetection < Struct.new(
1434
1491
  :count,
1492
+ :occurrences,
1435
1493
  :type)
1436
1494
  SENSITIVE = []
1437
1495
  include Aws::Structure
@@ -1655,7 +1713,7 @@ module Aws::Macie2
1655
1713
  # @return [String]
1656
1714
  #
1657
1715
  # @!attribute [rw] job_status
1658
- # The current status of a classification job. Possible values are:
1716
+ # The status of a classification job. Possible values are:
1659
1717
  # @return [String]
1660
1718
  #
1661
1719
  # @!attribute [rw] job_type
@@ -1690,6 +1748,13 @@ module Aws::Macie2
1690
1748
  # findings filter, or member account.
1691
1749
  # @return [Hash<String,String>]
1692
1750
  #
1751
+ # @!attribute [rw] user_paused_details
1752
+ # Provides information about when a classification job was paused and
1753
+ # when it will expire and be cancelled if it isn’t resumed. This
1754
+ # object is present only if a job’s current status (jobStatus) is
1755
+ # USER\_PAUSED.
1756
+ # @return [Types::UserPausedDetails]
1757
+ #
1693
1758
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
1694
1759
  #
1695
1760
  class DescribeClassificationJobResponse < Struct.new(
@@ -1708,7 +1773,8 @@ module Aws::Macie2
1708
1773
  :sampling_percentage,
1709
1774
  :schedule_frequency,
1710
1775
  :statistics,
1711
- :tags)
1776
+ :tags,
1777
+ :user_paused_details)
1712
1778
  SENSITIVE = []
1713
1779
  include Aws::Structure
1714
1780
  end
@@ -1864,9 +1930,9 @@ module Aws::Macie2
1864
1930
  #
1865
1931
  class EnableMacieResponse < Aws::EmptyStructure; end
1866
1932
 
1867
- # Specifies an account to designate as a delegated administrator of
1868
- # Amazon Macie for an AWS organization. To submit this request, you must
1869
- # be a user of the master account for the AWS organization.
1933
+ # Specifies an account to designate as a delegated Amazon Macie
1934
+ # administrator account for an AWS organization. To submit this request,
1935
+ # you must be a user of the management account for the AWS organization.
1870
1936
  #
1871
1937
  # @note When making an API call, you may pass EnableOrganizationAdminAccountRequest
1872
1938
  # data as a hash:
@@ -1931,7 +1997,7 @@ module Aws::Macie2
1931
1997
  include Aws::Structure
1932
1998
  end
1933
1999
 
1934
- # Provides information about a finding.
2000
+ # Provides the details of a finding.
1935
2001
  #
1936
2002
  # @!attribute [rw] account_id
1937
2003
  # @return [String]
@@ -1981,15 +2047,21 @@ module Aws::Macie2
1981
2047
  # @return [String]
1982
2048
  #
1983
2049
  # @!attribute [rw] severity
1984
- # Provides the numeric score and textual representation of a severity
1985
- # value.
2050
+ # Provides the numerical and qualitative representations of a
2051
+ # finding's severity.
1986
2052
  # @return [Types::Severity]
1987
2053
  #
1988
2054
  # @!attribute [rw] title
1989
2055
  # @return [String]
1990
2056
  #
1991
2057
  # @!attribute [rw] type
1992
- # The type of finding. Valid values are:
2058
+ # The type of finding. For details about each type, see [Types of
2059
+ # Amazon Macie findings][1] in the *Amazon Macie User Guide*. Valid
2060
+ # values are:
2061
+ #
2062
+ #
2063
+ #
2064
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/findings-types.html
1993
2065
  # @return [String]
1994
2066
  #
1995
2067
  # @!attribute [rw] updated_at
@@ -2080,6 +2152,7 @@ module Aws::Macie2
2080
2152
  # criterion: {
2081
2153
  # "__string" => {
2082
2154
  # eq: ["__string"],
2155
+ # eq_exact_match: ["__string"],
2083
2156
  # gt: 1,
2084
2157
  # gte: 1,
2085
2158
  # lt: 1,
@@ -2372,6 +2445,7 @@ module Aws::Macie2
2372
2445
  # criterion: {
2373
2446
  # "__string" => {
2374
2447
  # eq: ["__string"],
2448
+ # eq_exact_match: ["__string"],
2375
2449
  # gt: 1,
2376
2450
  # gte: 1,
2377
2451
  # lt: 1,
@@ -2497,7 +2571,7 @@ module Aws::Macie2
2497
2571
  include Aws::Structure
2498
2572
  end
2499
2573
 
2500
- # Specifies one or more findings to retrieve information about.
2574
+ # Specifies one or more findings to retrieve.
2501
2575
  #
2502
2576
  # @note When making an API call, you may pass GetFindingsRequest
2503
2577
  # data as a hash:
@@ -2515,7 +2589,7 @@ module Aws::Macie2
2515
2589
  #
2516
2590
  # @!attribute [rw] sort_criteria
2517
2591
  # Specifies criteria for sorting the results of a request for
2518
- # information about findings.
2592
+ # findings.
2519
2593
  # @return [Types::SortCriteria]
2520
2594
  #
2521
2595
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsRequest AWS API Documentation
@@ -2527,8 +2601,7 @@ module Aws::Macie2
2527
2601
  include Aws::Structure
2528
2602
  end
2529
2603
 
2530
- # Provides the results of a request for information about one or more
2531
- # findings.
2604
+ # Provides the results of a request for one or more findings.
2532
2605
  #
2533
2606
  # @!attribute [rw] findings
2534
2607
  # @return [Array<Types::Finding>]
@@ -3065,6 +3138,8 @@ module Aws::Macie2
3065
3138
 
3066
3139
  # Specifies one or more property- and tag-based conditions that define
3067
3140
  # criteria for including or excluding objects from a classification job.
3141
+ # If you specify more than one condition, Amazon Macie uses an AND
3142
+ # operator to join the conditions.
3068
3143
  #
3069
3144
  # @note When making an API call, you may pass JobScopingBlock
3070
3145
  # data as a hash:
@@ -3116,7 +3191,7 @@ module Aws::Macie2
3116
3191
  # @return [String]
3117
3192
  #
3118
3193
  # @!attribute [rw] job_status
3119
- # The current status of a classification job. Possible values are:
3194
+ # The status of a classification job. Possible values are:
3120
3195
  # @return [String]
3121
3196
  #
3122
3197
  # @!attribute [rw] job_type
@@ -3126,6 +3201,13 @@ module Aws::Macie2
3126
3201
  # @!attribute [rw] name
3127
3202
  # @return [String]
3128
3203
  #
3204
+ # @!attribute [rw] user_paused_details
3205
+ # Provides information about when a classification job was paused and
3206
+ # when it will expire and be cancelled if it isn’t resumed. This
3207
+ # object is present only if a job’s current status (jobStatus) is
3208
+ # USER\_PAUSED.
3209
+ # @return [Types::UserPausedDetails]
3210
+ #
3129
3211
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
3130
3212
  #
3131
3213
  class JobSummary < Struct.new(
@@ -3134,7 +3216,8 @@ module Aws::Macie2
3134
3216
  :job_id,
3135
3217
  :job_status,
3136
3218
  :job_type,
3137
- :name)
3219
+ :name,
3220
+ :user_paused_details)
3138
3221
  SENSITIVE = []
3139
3222
  include Aws::Structure
3140
3223
  end
@@ -3329,6 +3412,7 @@ module Aws::Macie2
3329
3412
  # criterion: {
3330
3413
  # "__string" => {
3331
3414
  # eq: ["__string"],
3415
+ # eq_exact_match: ["__string"],
3332
3416
  # gt: 1,
3333
3417
  # gte: 1,
3334
3418
  # lt: 1,
@@ -3358,7 +3442,7 @@ module Aws::Macie2
3358
3442
  #
3359
3443
  # @!attribute [rw] sort_criteria
3360
3444
  # Specifies criteria for sorting the results of a request for
3361
- # information about findings.
3445
+ # findings.
3362
3446
  # @return [Types::SortCriteria]
3363
3447
  #
3364
3448
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsRequest AWS API Documentation
@@ -3599,8 +3683,8 @@ module Aws::Macie2
3599
3683
  include Aws::Structure
3600
3684
  end
3601
3685
 
3602
- # Provides information about the accounts that are designated as
3603
- # delegated administrators of Amazon Macie for an AWS organization.
3686
+ # Provides information about the delegated Amazon Macie administrator
3687
+ # accounts for an AWS organization.
3604
3688
  #
3605
3689
  # @!attribute [rw] admin_accounts
3606
3690
  # @return [Array<Types::AdminAccount>]
@@ -3774,6 +3858,77 @@ module Aws::Macie2
3774
3858
  include Aws::Structure
3775
3859
  end
3776
3860
 
3861
+ # Provides the location of 1-15 occurrences of sensitive data that was
3862
+ # detected by managed data identifiers or a custom data identifier and
3863
+ # produced a sensitive data finding.
3864
+ #
3865
+ # @!attribute [rw] cells
3866
+ # Specifies the location of occurrences of sensitive data in a
3867
+ # Microsoft Excel workbook, CSV file, or TSV file.
3868
+ # @return [Array<Types::Cell>]
3869
+ #
3870
+ # @!attribute [rw] line_ranges
3871
+ # Provides details about the location of occurrences of sensitive data
3872
+ # in an Adobe Portable Document Format file, Apache Avro object
3873
+ # container, Microsoft Word document, or non-binary text file.
3874
+ # @return [Array<Types::Range>]
3875
+ #
3876
+ # @!attribute [rw] offset_ranges
3877
+ # Provides details about the location of occurrences of sensitive data
3878
+ # in an Adobe Portable Document Format file, Apache Avro object
3879
+ # container, Microsoft Word document, or non-binary text file.
3880
+ # @return [Array<Types::Range>]
3881
+ #
3882
+ # @!attribute [rw] pages
3883
+ # Specifies the location of occurrences of sensitive data in an Adobe
3884
+ # Portable Document Format file.
3885
+ # @return [Array<Types::Page>]
3886
+ #
3887
+ # @!attribute [rw] records
3888
+ # Specifies the location of occurrences of sensitive data in an Apache
3889
+ # Parquet file.
3890
+ # @return [Array<Types::Record>]
3891
+ #
3892
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Occurrences AWS API Documentation
3893
+ #
3894
+ class Occurrences < Struct.new(
3895
+ :cells,
3896
+ :line_ranges,
3897
+ :offset_ranges,
3898
+ :pages,
3899
+ :records)
3900
+ SENSITIVE = []
3901
+ include Aws::Structure
3902
+ end
3903
+
3904
+ # Specifies the location of an occurrence of sensitive data in an Adobe
3905
+ # Portable Document Format file.
3906
+ #
3907
+ # @!attribute [rw] line_range
3908
+ # Provides details about the location of an occurrence of sensitive
3909
+ # data in an Adobe Portable Document Format file, Apache Avro object
3910
+ # container, Microsoft Word document, or non-binary text file.
3911
+ # @return [Types::Range]
3912
+ #
3913
+ # @!attribute [rw] offset_range
3914
+ # Provides details about the location of an occurrence of sensitive
3915
+ # data in an Adobe Portable Document Format file, Apache Avro object
3916
+ # container, Microsoft Word document, or non-binary text file.
3917
+ # @return [Types::Range]
3918
+ #
3919
+ # @!attribute [rw] page_number
3920
+ # @return [Integer]
3921
+ #
3922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Page AWS API Documentation
3923
+ #
3924
+ class Page < Struct.new(
3925
+ :line_range,
3926
+ :offset_range,
3927
+ :page_number)
3928
+ SENSITIVE = []
3929
+ include Aws::Structure
3930
+ end
3931
+
3777
3932
  # Provides the details of a policy finding.
3778
3933
  #
3779
3934
  # @!attribute [rw] action
@@ -3845,6 +4000,43 @@ module Aws::Macie2
3845
4000
  include Aws::Structure
3846
4001
  end
3847
4002
 
4003
+ # Provides details about the location of an occurrence of sensitive data
4004
+ # in an Adobe Portable Document Format file, Apache Avro object
4005
+ # container, Microsoft Word document, or non-binary text file.
4006
+ #
4007
+ # @!attribute [rw] end
4008
+ # @return [Integer]
4009
+ #
4010
+ # @!attribute [rw] start
4011
+ # @return [Integer]
4012
+ #
4013
+ # @!attribute [rw] start_column
4014
+ # @return [Integer]
4015
+ #
4016
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Range AWS API Documentation
4017
+ #
4018
+ class Range < Struct.new(
4019
+ :end,
4020
+ :start,
4021
+ :start_column)
4022
+ SENSITIVE = []
4023
+ include Aws::Structure
4024
+ end
4025
+
4026
+ # Specifies the location of an occurrence of sensitive data in an Apache
4027
+ # Parquet file.
4028
+ #
4029
+ # @!attribute [rw] record_index
4030
+ # @return [Integer]
4031
+ #
4032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Record AWS API Documentation
4033
+ #
4034
+ class Record < Struct.new(
4035
+ :record_index)
4036
+ SENSITIVE = []
4037
+ include Aws::Structure
4038
+ end
4039
+
3848
4040
  # Provides information about settings that define whether one or more
3849
4041
  # objects in an S3 bucket are replicated to S3 buckets for other AWS
3850
4042
  # accounts and, if so, which accounts.
@@ -3911,7 +4103,7 @@ module Aws::Macie2
3911
4103
  #
3912
4104
  # @!attribute [rw] default_server_side_encryption
3913
4105
  # Provides information about the server-side encryption settings for
3914
- # an S3 bucket or object.
4106
+ # an S3 bucket or S3 object.
3915
4107
  # @return [Types::ServerSideEncryption]
3916
4108
  #
3917
4109
  # @!attribute [rw] name
@@ -4087,7 +4279,8 @@ module Aws::Macie2
4087
4279
  # @!attribute [rw] scoping
4088
4280
  # Specifies one or more property- and tag-based conditions that refine
4089
4281
  # the scope of a classification job. These conditions define criteria
4090
- # that determine which objects a job analyzes.
4282
+ # that determine which objects a job analyzes. Exclude conditions take
4283
+ # precedence over include conditions.
4091
4284
  # @return [Types::Scoping]
4092
4285
  #
4093
4286
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3JobDefinition AWS API Documentation
@@ -4124,14 +4317,14 @@ module Aws::Macie2
4124
4317
  #
4125
4318
  # @!attribute [rw] server_side_encryption
4126
4319
  # Provides information about the server-side encryption settings for
4127
- # an S3 bucket or object.
4320
+ # an S3 bucket or S3 object.
4128
4321
  # @return [Types::ServerSideEncryption]
4129
4322
  #
4130
4323
  # @!attribute [rw] size
4131
4324
  # @return [Integer]
4132
4325
  #
4133
4326
  # @!attribute [rw] storage_class
4134
- # The storage class of the S3 bucket or object. Possible values are:
4327
+ # The storage class of the S3 object. Possible values are:
4135
4328
  # @return [String]
4136
4329
  #
4137
4330
  # @!attribute [rw] tags
@@ -4164,7 +4357,8 @@ module Aws::Macie2
4164
4357
 
4165
4358
  # Specifies one or more property- and tag-based conditions that refine
4166
4359
  # the scope of a classification job. These conditions define criteria
4167
- # that determine which objects a job analyzes.
4360
+ # that determine which objects a job analyzes. Exclude conditions take
4361
+ # precedence over include conditions.
4168
4362
  #
4169
4363
  # @note When making an API call, you may pass Scoping
4170
4364
  # data as a hash:
@@ -4219,13 +4413,15 @@ module Aws::Macie2
4219
4413
  # @!attribute [rw] excludes
4220
4414
  # Specifies one or more property- and tag-based conditions that define
4221
4415
  # criteria for including or excluding objects from a classification
4222
- # job.
4416
+ # job. If you specify more than one condition, Amazon Macie uses an
4417
+ # AND operator to join the conditions.
4223
4418
  # @return [Types::JobScopingBlock]
4224
4419
  #
4225
4420
  # @!attribute [rw] includes
4226
4421
  # Specifies one or more property- and tag-based conditions that define
4227
4422
  # criteria for including or excluding objects from a classification
4228
- # job.
4423
+ # job. If you specify more than one condition, Amazon Macie uses an
4424
+ # AND operator to join the conditions.
4229
4425
  # @return [Types::JobScopingBlock]
4230
4426
  #
4231
4427
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Scoping AWS API Documentation
@@ -4237,8 +4433,8 @@ module Aws::Macie2
4237
4433
  include Aws::Structure
4238
4434
  end
4239
4435
 
4240
- # Provides information about the category, type, and number of
4241
- # occurrences of sensitive data that produced a finding.
4436
+ # Provides information about the category, types, and occurrences of
4437
+ # sensitive data that produced a sensitive data finding.
4242
4438
  #
4243
4439
  # @!attribute [rw] category
4244
4440
  # The category of sensitive data that was detected and produced the
@@ -4266,11 +4462,11 @@ module Aws::Macie2
4266
4462
  end
4267
4463
 
4268
4464
  # Provides information about the server-side encryption settings for an
4269
- # S3 bucket or object.
4465
+ # S3 bucket or S3 object.
4270
4466
  #
4271
4467
  # @!attribute [rw] encryption_type
4272
- # The type of server-side encryption that's used to encrypt objects
4273
- # in the S3 bucket. Valid values are:
4468
+ # The type of server-side encryption that's used to encrypt an S3
4469
+ # object or objects in an S3 bucket. Valid values are:
4274
4470
  # @return [String]
4275
4471
  #
4276
4472
  # @!attribute [rw] kms_master_key_id
@@ -4390,11 +4586,11 @@ module Aws::Macie2
4390
4586
  include Aws::Structure
4391
4587
  end
4392
4588
 
4393
- # Provides the numeric score and textual representation of a severity
4394
- # value.
4589
+ # Provides the numerical and qualitative representations of a finding's
4590
+ # severity.
4395
4591
  #
4396
4592
  # @!attribute [rw] description
4397
- # The textual representation of the finding's severity. Possible
4593
+ # The qualitative representation of the finding's severity. Possible
4398
4594
  # values are:
4399
4595
  # @return [String]
4400
4596
  #
@@ -4444,8 +4640,7 @@ module Aws::Macie2
4444
4640
  include Aws::Structure
4445
4641
  end
4446
4642
 
4447
- # Specifies criteria for sorting the results of a request for
4448
- # information about findings.
4643
+ # Specifies criteria for sorting the results of a request for findings.
4449
4644
  #
4450
4645
  # @note When making an API call, you may pass SortCriteria
4451
4646
  # data as a hash:
@@ -4569,7 +4764,7 @@ module Aws::Macie2
4569
4764
  include Aws::Structure
4570
4765
  end
4571
4766
 
4572
- # Specifies a tag key and value, as a pair, to use in a tag-based
4767
+ # Specifies a tag key or tag key and value pair to use in a tag-based
4573
4768
  # condition for a classification job.
4574
4769
  #
4575
4770
  # @note When making an API call, you may pass TagValuePair
@@ -4715,21 +4910,21 @@ module Aws::Macie2
4715
4910
  #
4716
4911
  class UntagResourceResponse < Aws::EmptyStructure; end
4717
4912
 
4718
- # Cancels a classification job.
4913
+ # Changes the status of a classification job.
4719
4914
  #
4720
4915
  # @note When making an API call, you may pass UpdateClassificationJobRequest
4721
4916
  # data as a hash:
4722
4917
  #
4723
4918
  # {
4724
4919
  # job_id: "__string", # required
4725
- # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
4920
+ # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
4726
4921
  # }
4727
4922
  #
4728
4923
  # @!attribute [rw] job_id
4729
4924
  # @return [String]
4730
4925
  #
4731
4926
  # @!attribute [rw] job_status
4732
- # The current status of a classification job. Possible values are:
4927
+ # The status of a classification job. Possible values are:
4733
4928
  # @return [String]
4734
4929
  #
4735
4930
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJobRequest AWS API Documentation
@@ -4757,6 +4952,7 @@ module Aws::Macie2
4757
4952
  # criterion: {
4758
4953
  # "__string" => {
4759
4954
  # eq: ["__string"],
4955
+ # eq_exact_match: ["__string"],
4760
4956
  # gt: 1,
4761
4957
  # gte: 1,
4762
4958
  # lt: 1,
@@ -5135,6 +5331,29 @@ module Aws::Macie2
5135
5331
  include Aws::Structure
5136
5332
  end
5137
5333
 
5334
+ # Provides information about when a classification job was paused and
5335
+ # when it will expire and be cancelled if it isn’t resumed. This object
5336
+ # is present only if a job’s current status (jobStatus) is USER\_PAUSED.
5337
+ #
5338
+ # @!attribute [rw] job_expires_at
5339
+ # @return [Time]
5340
+ #
5341
+ # @!attribute [rw] job_imminent_expiration_health_event_arn
5342
+ # @return [String]
5343
+ #
5344
+ # @!attribute [rw] job_paused_at
5345
+ # @return [Time]
5346
+ #
5347
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UserPausedDetails AWS API Documentation
5348
+ #
5349
+ class UserPausedDetails < Struct.new(
5350
+ :job_expires_at,
5351
+ :job_imminent_expiration_health_event_arn,
5352
+ :job_paused_at)
5353
+ SENSITIVE = []
5354
+ include Aws::Structure
5355
+ end
5356
+
5138
5357
  # Provides information about an error that occurred due to a syntax
5139
5358
  # error in a request.
5140
5359
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-macie2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-02 00:00:00.000000000 Z
11
+ date: 2020-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement