aws-sdk-macie2 1.11.0 → 1.16.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: 7dc6fc07cc713048b46697f79b9124178cd9c3a1b134c5bd994c036c0b7d8c1f
4
- data.tar.gz: 1674077197e20b703dd2baa93289b3777b38dc290af8732a79c2346d1b7c0c82
3
+ metadata.gz: 6a39830b8290bee8a7b4b74530fce49c942bab720da72120e25ea8cab49fe08c
4
+ data.tar.gz: 234d19d57c41adb310daf71436289c9d42cb95d46ae3932db8756bff017e1c03
5
5
  SHA512:
6
- metadata.gz: 469efda9b2a931bdf83a783bc3b9ae35dd3632b2f149d9eb7bf2f3b02407370b893123c754d4ec7dff17d9466f3394c31c726e744455406208d52dcc985a0b88
7
- data.tar.gz: 56be1fa9565b300d72665041616c2834d6d8aed63975c80592180e96d9f0c9c7eae156d61fe9fdd7584f376ae3acea262d7cb249bc342530ac40666087559dc0
6
+ metadata.gz: b6009ff895a7a67c19787744e2eafbf6464ea57fbfda24d340369a7b2c2f43044b8cbf777d0c48dbc90340822289778e96780a35818d5c0a6bb1a9082e62feaa
7
+ data.tar.gz: d35143c5e4039adf58c5ab0f0b708d5054d821de2ecf29b2a04c5bc7d117d436b9cb490039e804858d9f9a05099dbff191a43c22c54a0de17557a9bc3c8a1d52
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
48
48
  # @!group service
49
49
  module Aws::Macie2
50
50
 
51
- GEM_VERSION = '1.11.0'
51
+ GEM_VERSION = '1.16.0'
52
52
 
53
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,65 @@ 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].json_path #=> String
1466
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].record_index #=> Integer
1436
1467
  # resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
1437
1468
  # resp.findings[0].classification_details.result.mime_type #=> String
1438
1469
  # resp.findings[0].classification_details.result.sensitive_data #=> Array
1439
1470
  # resp.findings[0].classification_details.result.sensitive_data[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
1440
1471
  # resp.findings[0].classification_details.result.sensitive_data[0].detections #=> Array
1441
1472
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].count #=> Integer
1473
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells #=> Array
1474
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].cell_reference #=> String
1475
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column #=> Integer
1476
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column_name #=> String
1477
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].row #=> Integer
1478
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges #=> Array
1479
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].end #=> Integer
1480
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start #=> Integer
1481
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start_column #=> Integer
1482
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges #=> Array
1483
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].end #=> Integer
1484
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start #=> Integer
1485
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start_column #=> Integer
1486
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages #=> Array
1487
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.end #=> Integer
1488
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start #=> Integer
1489
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start_column #=> Integer
1490
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.end #=> Integer
1491
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start #=> Integer
1492
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
1493
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].page_number #=> Integer
1494
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records #=> Array
1495
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].json_path #=> String
1496
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].record_index #=> Integer
1442
1497
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
1443
1498
  # resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
1444
1499
  # resp.findings[0].classification_details.result.size_classified #=> Integer
@@ -1554,8 +1609,7 @@ module Aws::Macie2
1554
1609
  req.send_request(options)
1555
1610
  end
1556
1611
 
1557
- # Retrieves information about the criteria and other settings for a
1558
- # findings filter.
1612
+ # Retrieves the criteria and other settings for a findings filter.
1559
1613
  #
1560
1614
  # @option params [required, String] :id
1561
1615
  #
@@ -1584,6 +1638,8 @@ module Aws::Macie2
1584
1638
  # resp.finding_criteria.criterion #=> Hash
1585
1639
  # resp.finding_criteria.criterion["__string"].eq #=> Array
1586
1640
  # resp.finding_criteria.criterion["__string"].eq[0] #=> String
1641
+ # resp.finding_criteria.criterion["__string"].eq_exact_match #=> Array
1642
+ # resp.finding_criteria.criterion["__string"].eq_exact_match[0] #=> String
1587
1643
  # resp.finding_criteria.criterion["__string"].gt #=> Integer
1588
1644
  # resp.finding_criteria.criterion["__string"].gte #=> Integer
1589
1645
  # resp.finding_criteria.criterion["__string"].lt #=> Integer
@@ -1625,8 +1681,8 @@ module Aws::Macie2
1625
1681
  req.send_request(options)
1626
1682
  end
1627
1683
 
1628
- # Retrieves information about the current status and configuration
1629
- # settings for an Amazon Macie account.
1684
+ # Retrieves the current status and configuration settings for an Amazon
1685
+ # Macie account.
1630
1686
  #
1631
1687
  # @return [Types::GetMacieSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1632
1688
  #
@@ -1860,9 +1916,12 @@ module Aws::Macie2
1860
1916
  # resp.items[0].bucket_definitions[0].buckets[0] #=> String
1861
1917
  # resp.items[0].created_at #=> Time
1862
1918
  # resp.items[0].job_id #=> String
1863
- # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE"
1919
+ # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1864
1920
  # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1865
1921
  # resp.items[0].name #=> String
1922
+ # resp.items[0].user_paused_details.job_expires_at #=> Time
1923
+ # resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
1924
+ # resp.items[0].user_paused_details.job_paused_at #=> Time
1866
1925
  # resp.next_token #=> String
1867
1926
  #
1868
1927
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
@@ -1925,8 +1984,7 @@ module Aws::Macie2
1925
1984
  # @option params [String] :next_token
1926
1985
  #
1927
1986
  # @option params [Types::SortCriteria] :sort_criteria
1928
- # Specifies criteria for sorting the results of a request for
1929
- # information about findings.
1987
+ # Specifies criteria for sorting the results of a request for findings.
1930
1988
  #
1931
1989
  # @return [Types::ListFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1932
1990
  #
@@ -1942,6 +2000,7 @@ module Aws::Macie2
1942
2000
  # criterion: {
1943
2001
  # "__string" => {
1944
2002
  # eq: ["__string"],
2003
+ # eq_exact_match: ["__string"],
1945
2004
  # gt: 1,
1946
2005
  # gte: 1,
1947
2006
  # lt: 1,
@@ -2100,8 +2159,8 @@ module Aws::Macie2
2100
2159
  req.send_request(options)
2101
2160
  end
2102
2161
 
2103
- # Retrieves information about the account that's designated as the
2104
- # delegated administrator of Amazon Macie for an AWS organization.
2162
+ # Retrieves information about the delegated Amazon Macie administrator
2163
+ # account for an AWS organization.
2105
2164
  #
2106
2165
  # @option params [Integer] :max_results
2107
2166
  #
@@ -2301,12 +2360,12 @@ module Aws::Macie2
2301
2360
  req.send_request(options)
2302
2361
  end
2303
2362
 
2304
- # Cancels a classification job.
2363
+ # Changes the status of a classification job.
2305
2364
  #
2306
2365
  # @option params [required, String] :job_id
2307
2366
  #
2308
2367
  # @option params [required, String] :job_status
2309
- # The current status of a classification job. Possible values are:
2368
+ # The status of a classification job. Possible values are:
2310
2369
  #
2311
2370
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2312
2371
  #
@@ -2314,7 +2373,7 @@ module Aws::Macie2
2314
2373
  #
2315
2374
  # resp = client.update_classification_job({
2316
2375
  # job_id: "__string", # required
2317
- # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
2376
+ # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
2318
2377
  # })
2319
2378
  #
2320
2379
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob AWS API Documentation
@@ -2359,6 +2418,7 @@ module Aws::Macie2
2359
2418
  # criterion: {
2360
2419
  # "__string" => {
2361
2420
  # eq: ["__string"],
2421
+ # eq_exact_match: ["__string"],
2362
2422
  # gt: 1,
2363
2423
  # gte: 1,
2364
2424
  # lt: 1,
@@ -2442,7 +2502,8 @@ module Aws::Macie2
2442
2502
  req.send_request(options)
2443
2503
  end
2444
2504
 
2445
- # Updates Amazon Macie configuration settings for an AWS organization.
2505
+ # Updates the Amazon Macie configuration settings for an AWS
2506
+ # organization.
2446
2507
  #
2447
2508
  # @option params [required, Boolean] :auto_enable
2448
2509
  #
@@ -2476,7 +2537,7 @@ module Aws::Macie2
2476
2537
  params: params,
2477
2538
  config: config)
2478
2539
  context[:gem_name] = 'aws-sdk-macie2'
2479
- context[:gem_version] = '1.11.0'
2540
+ context[:gem_version] = '1.16.0'
2480
2541
  Seahorse::Client::Request.new(handlers, context)
2481
2542
  end
2482
2543
 
@@ -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,19 @@ 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(:json_path, Shapes::ShapeRef.new(shape: __string, location_name: "jsonPath"))
1037
+ Record.add_member(:record_index, Shapes::ShapeRef.new(shape: __long, location_name: "recordIndex"))
1038
+ Record.struct_class = Types::Record
1039
+
1040
+ Records.member = Shapes::ShapeRef.new(shape: Record)
1041
+
989
1042
  ReplicationDetails.add_member(:replicated, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicated"))
990
1043
  ReplicationDetails.add_member(:replicated_externally, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicatedExternally"))
991
1044
  ReplicationDetails.add_member(:replication_accounts, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "replicationAccounts"))
@@ -1210,6 +1263,11 @@ module Aws::Macie2
1210
1263
  UserIdentityRoot.add_member(:principal_id, Shapes::ShapeRef.new(shape: __string, location_name: "principalId"))
1211
1264
  UserIdentityRoot.struct_class = Types::UserIdentityRoot
1212
1265
 
1266
+ UserPausedDetails.add_member(:job_expires_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobExpiresAt"))
1267
+ UserPausedDetails.add_member(:job_imminent_expiration_health_event_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobImminentExpirationHealthEventArn"))
1268
+ UserPausedDetails.add_member(:job_paused_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobPausedAt"))
1269
+ UserPausedDetails.struct_class = Types::UserPausedDetails
1270
+
1213
1271
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1214
1272
  ValidationException.struct_class = Types::ValidationException
1215
1273
 
@@ -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, Microsoft Word document,
3873
+ # 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, Microsoft Word document,
3879
+ # 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, Microsoft Word
3910
+ # 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, Microsoft Word
3916
+ # 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,47 @@ 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, Microsoft Word document, or
4005
+ # 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
+ # Avro object container or Apache Parquet file.
4028
+ #
4029
+ # @!attribute [rw] json_path
4030
+ # @return [String]
4031
+ #
4032
+ # @!attribute [rw] record_index
4033
+ # @return [Integer]
4034
+ #
4035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Record AWS API Documentation
4036
+ #
4037
+ class Record < Struct.new(
4038
+ :json_path,
4039
+ :record_index)
4040
+ SENSITIVE = []
4041
+ include Aws::Structure
4042
+ end
4043
+
3848
4044
  # Provides information about settings that define whether one or more
3849
4045
  # objects in an S3 bucket are replicated to S3 buckets for other AWS
3850
4046
  # accounts and, if so, which accounts.
@@ -3911,7 +4107,7 @@ module Aws::Macie2
3911
4107
  #
3912
4108
  # @!attribute [rw] default_server_side_encryption
3913
4109
  # Provides information about the server-side encryption settings for
3914
- # an S3 bucket or object.
4110
+ # an S3 bucket or S3 object.
3915
4111
  # @return [Types::ServerSideEncryption]
3916
4112
  #
3917
4113
  # @!attribute [rw] name
@@ -4087,7 +4283,8 @@ module Aws::Macie2
4087
4283
  # @!attribute [rw] scoping
4088
4284
  # Specifies one or more property- and tag-based conditions that refine
4089
4285
  # the scope of a classification job. These conditions define criteria
4090
- # that determine which objects a job analyzes.
4286
+ # that determine which objects a job analyzes. Exclude conditions take
4287
+ # precedence over include conditions.
4091
4288
  # @return [Types::Scoping]
4092
4289
  #
4093
4290
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3JobDefinition AWS API Documentation
@@ -4124,14 +4321,14 @@ module Aws::Macie2
4124
4321
  #
4125
4322
  # @!attribute [rw] server_side_encryption
4126
4323
  # Provides information about the server-side encryption settings for
4127
- # an S3 bucket or object.
4324
+ # an S3 bucket or S3 object.
4128
4325
  # @return [Types::ServerSideEncryption]
4129
4326
  #
4130
4327
  # @!attribute [rw] size
4131
4328
  # @return [Integer]
4132
4329
  #
4133
4330
  # @!attribute [rw] storage_class
4134
- # The storage class of the S3 bucket or object. Possible values are:
4331
+ # The storage class of the S3 object. Possible values are:
4135
4332
  # @return [String]
4136
4333
  #
4137
4334
  # @!attribute [rw] tags
@@ -4164,7 +4361,8 @@ module Aws::Macie2
4164
4361
 
4165
4362
  # Specifies one or more property- and tag-based conditions that refine
4166
4363
  # the scope of a classification job. These conditions define criteria
4167
- # that determine which objects a job analyzes.
4364
+ # that determine which objects a job analyzes. Exclude conditions take
4365
+ # precedence over include conditions.
4168
4366
  #
4169
4367
  # @note When making an API call, you may pass Scoping
4170
4368
  # data as a hash:
@@ -4219,13 +4417,15 @@ module Aws::Macie2
4219
4417
  # @!attribute [rw] excludes
4220
4418
  # Specifies one or more property- and tag-based conditions that define
4221
4419
  # criteria for including or excluding objects from a classification
4222
- # job.
4420
+ # job. If you specify more than one condition, Amazon Macie uses an
4421
+ # AND operator to join the conditions.
4223
4422
  # @return [Types::JobScopingBlock]
4224
4423
  #
4225
4424
  # @!attribute [rw] includes
4226
4425
  # Specifies one or more property- and tag-based conditions that define
4227
4426
  # criteria for including or excluding objects from a classification
4228
- # job.
4427
+ # job. If you specify more than one condition, Amazon Macie uses an
4428
+ # AND operator to join the conditions.
4229
4429
  # @return [Types::JobScopingBlock]
4230
4430
  #
4231
4431
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Scoping AWS API Documentation
@@ -4237,8 +4437,8 @@ module Aws::Macie2
4237
4437
  include Aws::Structure
4238
4438
  end
4239
4439
 
4240
- # Provides information about the category, type, and number of
4241
- # occurrences of sensitive data that produced a finding.
4440
+ # Provides information about the category, types, and occurrences of
4441
+ # sensitive data that produced a sensitive data finding.
4242
4442
  #
4243
4443
  # @!attribute [rw] category
4244
4444
  # The category of sensitive data that was detected and produced the
@@ -4266,11 +4466,11 @@ module Aws::Macie2
4266
4466
  end
4267
4467
 
4268
4468
  # Provides information about the server-side encryption settings for an
4269
- # S3 bucket or object.
4469
+ # S3 bucket or S3 object.
4270
4470
  #
4271
4471
  # @!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:
4472
+ # The type of server-side encryption that's used to encrypt an S3
4473
+ # object or objects in an S3 bucket. Valid values are:
4274
4474
  # @return [String]
4275
4475
  #
4276
4476
  # @!attribute [rw] kms_master_key_id
@@ -4390,11 +4590,11 @@ module Aws::Macie2
4390
4590
  include Aws::Structure
4391
4591
  end
4392
4592
 
4393
- # Provides the numeric score and textual representation of a severity
4394
- # value.
4593
+ # Provides the numerical and qualitative representations of a finding's
4594
+ # severity.
4395
4595
  #
4396
4596
  # @!attribute [rw] description
4397
- # The textual representation of the finding's severity. Possible
4597
+ # The qualitative representation of the finding's severity. Possible
4398
4598
  # values are:
4399
4599
  # @return [String]
4400
4600
  #
@@ -4444,8 +4644,7 @@ module Aws::Macie2
4444
4644
  include Aws::Structure
4445
4645
  end
4446
4646
 
4447
- # Specifies criteria for sorting the results of a request for
4448
- # information about findings.
4647
+ # Specifies criteria for sorting the results of a request for findings.
4449
4648
  #
4450
4649
  # @note When making an API call, you may pass SortCriteria
4451
4650
  # data as a hash:
@@ -4569,7 +4768,7 @@ module Aws::Macie2
4569
4768
  include Aws::Structure
4570
4769
  end
4571
4770
 
4572
- # Specifies a tag key and value, as a pair, to use in a tag-based
4771
+ # Specifies a tag key or tag key and value pair to use in a tag-based
4573
4772
  # condition for a classification job.
4574
4773
  #
4575
4774
  # @note When making an API call, you may pass TagValuePair
@@ -4715,21 +4914,21 @@ module Aws::Macie2
4715
4914
  #
4716
4915
  class UntagResourceResponse < Aws::EmptyStructure; end
4717
4916
 
4718
- # Cancels a classification job.
4917
+ # Changes the status of a classification job.
4719
4918
  #
4720
4919
  # @note When making an API call, you may pass UpdateClassificationJobRequest
4721
4920
  # data as a hash:
4722
4921
  #
4723
4922
  # {
4724
4923
  # job_id: "__string", # required
4725
- # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
4924
+ # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
4726
4925
  # }
4727
4926
  #
4728
4927
  # @!attribute [rw] job_id
4729
4928
  # @return [String]
4730
4929
  #
4731
4930
  # @!attribute [rw] job_status
4732
- # The current status of a classification job. Possible values are:
4931
+ # The status of a classification job. Possible values are:
4733
4932
  # @return [String]
4734
4933
  #
4735
4934
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJobRequest AWS API Documentation
@@ -4757,6 +4956,7 @@ module Aws::Macie2
4757
4956
  # criterion: {
4758
4957
  # "__string" => {
4759
4958
  # eq: ["__string"],
4959
+ # eq_exact_match: ["__string"],
4760
4960
  # gt: 1,
4761
4961
  # gte: 1,
4762
4962
  # lt: 1,
@@ -5135,6 +5335,30 @@ module Aws::Macie2
5135
5335
  include Aws::Structure
5136
5336
  end
5137
5337
 
5338
+ # Provides information about when a classification job was paused and
5339
+ # when it will expire and be cancelled if it isn't resumed. This object
5340
+ # is present only if a job's current status (jobStatus) is
5341
+ # USER\_PAUSED.
5342
+ #
5343
+ # @!attribute [rw] job_expires_at
5344
+ # @return [Time]
5345
+ #
5346
+ # @!attribute [rw] job_imminent_expiration_health_event_arn
5347
+ # @return [String]
5348
+ #
5349
+ # @!attribute [rw] job_paused_at
5350
+ # @return [Time]
5351
+ #
5352
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UserPausedDetails AWS API Documentation
5353
+ #
5354
+ class UserPausedDetails < Struct.new(
5355
+ :job_expires_at,
5356
+ :job_imminent_expiration_health_event_arn,
5357
+ :job_paused_at)
5358
+ SENSITIVE = []
5359
+ include Aws::Structure
5360
+ end
5361
+
5138
5362
  # Provides information about an error that occurred due to a syntax
5139
5363
  # error in a request.
5140
5364
  #
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.11.0
4
+ version: 1.16.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-15 00:00:00.000000000 Z
11
+ date: 2020-11-09 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