aws-sdk-macie2 1.12.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +92 -28
- data/lib/aws-sdk-macie2/client_api.rb +65 -0
- data/lib/aws-sdk-macie2/types.rb +328 -66
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e23b8956f4cbe366ada629a3f9afc98724be67a7f2764c6e1de32bd096a7f05
|
4
|
+
data.tar.gz: e1734e0828d51bf48202f5042734b370719945666ae6cc1f79006097268e228b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d7b68a7aefc124c785e19ab02fc5a5eb67621eb8bcffc1e203d8929d428768c6cd67fd47ec9a900dbbb1ed0f6772d3036e1951fd5576e0424c024a2baf42727
|
7
|
+
data.tar.gz: 9598be78988132dc332b8d38ec83be9da0cfb730fb95e8c8031fd303404784cf4a16d4d8e68260d8f5c8cde82fa383170c7a07b95a54b307bb4e524af59390c2
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -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
|
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
|
#
|
@@ -984,6 +984,7 @@ module Aws::Macie2
|
|
984
984
|
# * {Types::DescribeClassificationJobResponse#job_id #job_id} => String
|
985
985
|
# * {Types::DescribeClassificationJobResponse#job_status #job_status} => String
|
986
986
|
# * {Types::DescribeClassificationJobResponse#job_type #job_type} => String
|
987
|
+
# * {Types::DescribeClassificationJobResponse#last_run_error_status #last_run_error_status} => Types::LastRunErrorStatus
|
987
988
|
# * {Types::DescribeClassificationJobResponse#last_run_time #last_run_time} => Time
|
988
989
|
# * {Types::DescribeClassificationJobResponse#name #name} => String
|
989
990
|
# * {Types::DescribeClassificationJobResponse#s3_job_definition #s3_job_definition} => Types::S3JobDefinition
|
@@ -991,6 +992,7 @@ module Aws::Macie2
|
|
991
992
|
# * {Types::DescribeClassificationJobResponse#schedule_frequency #schedule_frequency} => Types::JobScheduleFrequency
|
992
993
|
# * {Types::DescribeClassificationJobResponse#statistics #statistics} => Types::Statistics
|
993
994
|
# * {Types::DescribeClassificationJobResponse#tags #tags} => Hash<String,String>
|
995
|
+
# * {Types::DescribeClassificationJobResponse#user_paused_details #user_paused_details} => Types::UserPausedDetails
|
994
996
|
#
|
995
997
|
# @example Request syntax with placeholder values
|
996
998
|
#
|
@@ -1008,8 +1010,9 @@ module Aws::Macie2
|
|
1008
1010
|
# resp.initial_run #=> Boolean
|
1009
1011
|
# resp.job_arn #=> String
|
1010
1012
|
# resp.job_id #=> String
|
1011
|
-
# resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE"
|
1013
|
+
# resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
|
1012
1014
|
# resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
|
1015
|
+
# resp.last_run_error_status.code #=> String, one of "NONE", "ERROR"
|
1013
1016
|
# resp.last_run_time #=> Time
|
1014
1017
|
# resp.name #=> String
|
1015
1018
|
# resp.s3_job_definition.bucket_definitions #=> Array
|
@@ -1045,6 +1048,9 @@ module Aws::Macie2
|
|
1045
1048
|
# resp.statistics.number_of_runs #=> Float
|
1046
1049
|
# resp.tags #=> Hash
|
1047
1050
|
# resp.tags["__string"] #=> String
|
1051
|
+
# resp.user_paused_details.job_expires_at #=> Time
|
1052
|
+
# resp.user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
1053
|
+
# resp.user_paused_details.job_paused_at #=> Time
|
1048
1054
|
#
|
1049
1055
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob AWS API Documentation
|
1050
1056
|
#
|
@@ -1055,8 +1061,8 @@ module Aws::Macie2
|
|
1055
1061
|
req.send_request(options)
|
1056
1062
|
end
|
1057
1063
|
|
1058
|
-
# Retrieves
|
1059
|
-
#
|
1064
|
+
# Retrieves the Amazon Macie configuration settings for an AWS
|
1065
|
+
# organization.
|
1060
1066
|
#
|
1061
1067
|
# @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1062
1068
|
#
|
@@ -1091,8 +1097,8 @@ module Aws::Macie2
|
|
1091
1097
|
req.send_request(options)
|
1092
1098
|
end
|
1093
1099
|
|
1094
|
-
# Disables an account as
|
1095
|
-
# an AWS organization.
|
1100
|
+
# Disables an account as the delegated Amazon Macie administrator
|
1101
|
+
# account for an AWS organization.
|
1096
1102
|
#
|
1097
1103
|
# @option params [required, String] :admin_account_id
|
1098
1104
|
#
|
@@ -1182,8 +1188,8 @@ module Aws::Macie2
|
|
1182
1188
|
req.send_request(options)
|
1183
1189
|
end
|
1184
1190
|
|
1185
|
-
#
|
1186
|
-
# AWS organization.
|
1191
|
+
# Designates an account as the delegated Amazon Macie administrator
|
1192
|
+
# account for an AWS organization.
|
1187
1193
|
#
|
1188
1194
|
# @option params [required, String] :admin_account_id
|
1189
1195
|
#
|
@@ -1241,12 +1247,14 @@ module Aws::Macie2
|
|
1241
1247
|
# resp.bucket_count_by_effective_permission.publicly_accessible #=> Integer
|
1242
1248
|
# resp.bucket_count_by_effective_permission.publicly_readable #=> Integer
|
1243
1249
|
# resp.bucket_count_by_effective_permission.publicly_writable #=> Integer
|
1250
|
+
# resp.bucket_count_by_effective_permission.unknown #=> Integer
|
1244
1251
|
# resp.bucket_count_by_encryption_type.kms_managed #=> Integer
|
1245
1252
|
# resp.bucket_count_by_encryption_type.s3_managed #=> Integer
|
1246
1253
|
# resp.bucket_count_by_encryption_type.unencrypted #=> Integer
|
1247
1254
|
# resp.bucket_count_by_shared_access_type.external #=> Integer
|
1248
1255
|
# resp.bucket_count_by_shared_access_type.internal #=> Integer
|
1249
1256
|
# resp.bucket_count_by_shared_access_type.not_shared #=> Integer
|
1257
|
+
# resp.bucket_count_by_shared_access_type.unknown #=> Integer
|
1250
1258
|
# resp.classifiable_object_count #=> Integer
|
1251
1259
|
# resp.classifiable_size_in_bytes #=> Integer
|
1252
1260
|
# resp.last_updated #=> Time
|
@@ -1291,8 +1299,8 @@ module Aws::Macie2
|
|
1291
1299
|
req.send_request(options)
|
1292
1300
|
end
|
1293
1301
|
|
1294
|
-
# Retrieves
|
1295
|
-
#
|
1302
|
+
# Retrieves the criteria and other settings for a custom data
|
1303
|
+
# identifier.
|
1296
1304
|
#
|
1297
1305
|
# @option params [required, String] :id
|
1298
1306
|
#
|
@@ -1367,6 +1375,7 @@ module Aws::Macie2
|
|
1367
1375
|
# criterion: {
|
1368
1376
|
# "__string" => {
|
1369
1377
|
# eq: ["__string"],
|
1378
|
+
# eq_exact_match: ["__string"],
|
1370
1379
|
# gt: 1,
|
1371
1380
|
# gte: 1,
|
1372
1381
|
# lt: 1,
|
@@ -1398,13 +1407,12 @@ module Aws::Macie2
|
|
1398
1407
|
req.send_request(options)
|
1399
1408
|
end
|
1400
1409
|
|
1401
|
-
# Retrieves
|
1410
|
+
# Retrieves the details of one or more findings.
|
1402
1411
|
#
|
1403
1412
|
# @option params [required, Array<String>] :finding_ids
|
1404
1413
|
#
|
1405
1414
|
# @option params [Types::SortCriteria] :sort_criteria
|
1406
|
-
# Specifies criteria for sorting the results of a request for
|
1407
|
-
# information about findings.
|
1415
|
+
# Specifies criteria for sorting the results of a request for findings.
|
1408
1416
|
#
|
1409
1417
|
# @return [Types::GetFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1410
1418
|
#
|
@@ -1429,16 +1437,65 @@ module Aws::Macie2
|
|
1429
1437
|
# resp.findings[0].classification_details.detailed_results_location #=> String
|
1430
1438
|
# resp.findings[0].classification_details.job_arn #=> String
|
1431
1439
|
# resp.findings[0].classification_details.job_id #=> String
|
1440
|
+
# resp.findings[0].classification_details.result.additional_occurrences #=> Boolean
|
1432
1441
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections #=> Array
|
1433
1442
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].arn #=> String
|
1434
1443
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].count #=> Integer
|
1435
1444
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].name #=> String
|
1445
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells #=> Array
|
1446
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].cell_reference #=> String
|
1447
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].column #=> Integer
|
1448
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].column_name #=> String
|
1449
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].row #=> Integer
|
1450
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges #=> Array
|
1451
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].end #=> Integer
|
1452
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start #=> Integer
|
1453
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start_column #=> Integer
|
1454
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges #=> Array
|
1455
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].end #=> Integer
|
1456
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start #=> Integer
|
1457
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start_column #=> Integer
|
1458
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages #=> Array
|
1459
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.end #=> Integer
|
1460
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start #=> Integer
|
1461
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start_column #=> Integer
|
1462
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.end #=> Integer
|
1463
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start #=> Integer
|
1464
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
1465
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].page_number #=> Integer
|
1466
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records #=> Array
|
1467
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].json_path #=> String
|
1468
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].record_index #=> Integer
|
1436
1469
|
# resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
|
1437
1470
|
# resp.findings[0].classification_details.result.mime_type #=> String
|
1438
1471
|
# resp.findings[0].classification_details.result.sensitive_data #=> Array
|
1439
1472
|
# resp.findings[0].classification_details.result.sensitive_data[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
|
1440
1473
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections #=> Array
|
1441
1474
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].count #=> Integer
|
1475
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells #=> Array
|
1476
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].cell_reference #=> String
|
1477
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column #=> Integer
|
1478
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column_name #=> String
|
1479
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].row #=> Integer
|
1480
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges #=> Array
|
1481
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].end #=> Integer
|
1482
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start #=> Integer
|
1483
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start_column #=> Integer
|
1484
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges #=> Array
|
1485
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].end #=> Integer
|
1486
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start #=> Integer
|
1487
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start_column #=> Integer
|
1488
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages #=> Array
|
1489
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.end #=> Integer
|
1490
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start #=> Integer
|
1491
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start_column #=> Integer
|
1492
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.end #=> Integer
|
1493
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start #=> Integer
|
1494
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
1495
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].page_number #=> Integer
|
1496
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records #=> Array
|
1497
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].json_path #=> String
|
1498
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].record_index #=> Integer
|
1442
1499
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
|
1443
1500
|
# resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
|
1444
1501
|
# resp.findings[0].classification_details.result.size_classified #=> Integer
|
@@ -1554,8 +1611,7 @@ module Aws::Macie2
|
|
1554
1611
|
req.send_request(options)
|
1555
1612
|
end
|
1556
1613
|
|
1557
|
-
# Retrieves
|
1558
|
-
# findings filter.
|
1614
|
+
# Retrieves the criteria and other settings for a findings filter.
|
1559
1615
|
#
|
1560
1616
|
# @option params [required, String] :id
|
1561
1617
|
#
|
@@ -1584,6 +1640,8 @@ module Aws::Macie2
|
|
1584
1640
|
# resp.finding_criteria.criterion #=> Hash
|
1585
1641
|
# resp.finding_criteria.criterion["__string"].eq #=> Array
|
1586
1642
|
# resp.finding_criteria.criterion["__string"].eq[0] #=> String
|
1643
|
+
# resp.finding_criteria.criterion["__string"].eq_exact_match #=> Array
|
1644
|
+
# resp.finding_criteria.criterion["__string"].eq_exact_match[0] #=> String
|
1587
1645
|
# resp.finding_criteria.criterion["__string"].gt #=> Integer
|
1588
1646
|
# resp.finding_criteria.criterion["__string"].gte #=> Integer
|
1589
1647
|
# resp.finding_criteria.criterion["__string"].lt #=> Integer
|
@@ -1625,8 +1683,8 @@ module Aws::Macie2
|
|
1625
1683
|
req.send_request(options)
|
1626
1684
|
end
|
1627
1685
|
|
1628
|
-
# Retrieves
|
1629
|
-
#
|
1686
|
+
# Retrieves the current status and configuration settings for an Amazon
|
1687
|
+
# Macie account.
|
1630
1688
|
#
|
1631
1689
|
# @return [Types::GetMacieSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1632
1690
|
#
|
@@ -1860,9 +1918,13 @@ module Aws::Macie2
|
|
1860
1918
|
# resp.items[0].bucket_definitions[0].buckets[0] #=> String
|
1861
1919
|
# resp.items[0].created_at #=> Time
|
1862
1920
|
# resp.items[0].job_id #=> String
|
1863
|
-
# resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE"
|
1921
|
+
# resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
|
1864
1922
|
# resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
|
1923
|
+
# resp.items[0].last_run_error_status.code #=> String, one of "NONE", "ERROR"
|
1865
1924
|
# resp.items[0].name #=> String
|
1925
|
+
# resp.items[0].user_paused_details.job_expires_at #=> Time
|
1926
|
+
# resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
1927
|
+
# resp.items[0].user_paused_details.job_paused_at #=> Time
|
1866
1928
|
# resp.next_token #=> String
|
1867
1929
|
#
|
1868
1930
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
|
@@ -1925,8 +1987,7 @@ module Aws::Macie2
|
|
1925
1987
|
# @option params [String] :next_token
|
1926
1988
|
#
|
1927
1989
|
# @option params [Types::SortCriteria] :sort_criteria
|
1928
|
-
# Specifies criteria for sorting the results of a request for
|
1929
|
-
# information about findings.
|
1990
|
+
# Specifies criteria for sorting the results of a request for findings.
|
1930
1991
|
#
|
1931
1992
|
# @return [Types::ListFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1932
1993
|
#
|
@@ -1942,6 +2003,7 @@ module Aws::Macie2
|
|
1942
2003
|
# criterion: {
|
1943
2004
|
# "__string" => {
|
1944
2005
|
# eq: ["__string"],
|
2006
|
+
# eq_exact_match: ["__string"],
|
1945
2007
|
# gt: 1,
|
1946
2008
|
# gte: 1,
|
1947
2009
|
# lt: 1,
|
@@ -2100,8 +2162,8 @@ module Aws::Macie2
|
|
2100
2162
|
req.send_request(options)
|
2101
2163
|
end
|
2102
2164
|
|
2103
|
-
# Retrieves information about the
|
2104
|
-
#
|
2165
|
+
# Retrieves information about the delegated Amazon Macie administrator
|
2166
|
+
# account for an AWS organization.
|
2105
2167
|
#
|
2106
2168
|
# @option params [Integer] :max_results
|
2107
2169
|
#
|
@@ -2301,12 +2363,12 @@ module Aws::Macie2
|
|
2301
2363
|
req.send_request(options)
|
2302
2364
|
end
|
2303
2365
|
|
2304
|
-
#
|
2366
|
+
# Changes the status of a classification job.
|
2305
2367
|
#
|
2306
2368
|
# @option params [required, String] :job_id
|
2307
2369
|
#
|
2308
2370
|
# @option params [required, String] :job_status
|
2309
|
-
# The
|
2371
|
+
# The status of a classification job. Possible values are:
|
2310
2372
|
#
|
2311
2373
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2312
2374
|
#
|
@@ -2314,7 +2376,7 @@ module Aws::Macie2
|
|
2314
2376
|
#
|
2315
2377
|
# resp = client.update_classification_job({
|
2316
2378
|
# job_id: "__string", # required
|
2317
|
-
# job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
|
2379
|
+
# job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
|
2318
2380
|
# })
|
2319
2381
|
#
|
2320
2382
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob AWS API Documentation
|
@@ -2359,6 +2421,7 @@ module Aws::Macie2
|
|
2359
2421
|
# criterion: {
|
2360
2422
|
# "__string" => {
|
2361
2423
|
# eq: ["__string"],
|
2424
|
+
# eq_exact_match: ["__string"],
|
2362
2425
|
# gt: 1,
|
2363
2426
|
# gte: 1,
|
2364
2427
|
# lt: 1,
|
@@ -2442,7 +2505,8 @@ module Aws::Macie2
|
|
2442
2505
|
req.send_request(options)
|
2443
2506
|
end
|
2444
2507
|
|
2445
|
-
# Updates Amazon Macie configuration settings for an AWS
|
2508
|
+
# Updates the Amazon Macie configuration settings for an AWS
|
2509
|
+
# organization.
|
2446
2510
|
#
|
2447
2511
|
# @option params [required, Boolean] :auto_enable
|
2448
2512
|
#
|
@@ -2476,7 +2540,7 @@ module Aws::Macie2
|
|
2476
2540
|
params: params,
|
2477
2541
|
config: config)
|
2478
2542
|
context[:gem_name] = 'aws-sdk-macie2'
|
2479
|
-
context[:gem_version] = '1.
|
2543
|
+
context[:gem_version] = '1.17.0'
|
2480
2544
|
Seahorse::Client::Request.new(handlers, context)
|
2481
2545
|
end
|
2482
2546
|
|
@@ -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')
|
@@ -157,6 +159,8 @@ module Aws::Macie2
|
|
157
159
|
JobType = Shapes::StringShape.new(name: 'JobType')
|
158
160
|
KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
|
159
161
|
KeyValuePairList = Shapes::ListShape.new(name: 'KeyValuePairList')
|
162
|
+
LastRunErrorStatus = Shapes::StructureShape.new(name: 'LastRunErrorStatus')
|
163
|
+
LastRunErrorStatusCode = Shapes::StringShape.new(name: 'LastRunErrorStatusCode')
|
160
164
|
ListClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListClassificationJobsRequest')
|
161
165
|
ListClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListClassificationJobsResponse')
|
162
166
|
ListCustomDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersRequest')
|
@@ -184,10 +188,17 @@ module Aws::Macie2
|
|
184
188
|
MonthlySchedule = Shapes::StructureShape.new(name: 'MonthlySchedule')
|
185
189
|
ObjectCountByEncryptionType = Shapes::StructureShape.new(name: 'ObjectCountByEncryptionType')
|
186
190
|
ObjectLevelStatistics = Shapes::StructureShape.new(name: 'ObjectLevelStatistics')
|
191
|
+
Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
|
187
192
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
193
|
+
Page = Shapes::StructureShape.new(name: 'Page')
|
194
|
+
Pages = Shapes::ListShape.new(name: 'Pages')
|
188
195
|
PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
|
189
196
|
PutClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationRequest')
|
190
197
|
PutClassificationExportConfigurationResponse = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationResponse')
|
198
|
+
Range = Shapes::StructureShape.new(name: 'Range')
|
199
|
+
Ranges = Shapes::ListShape.new(name: 'Ranges')
|
200
|
+
Record = Shapes::StructureShape.new(name: 'Record')
|
201
|
+
Records = Shapes::ListShape.new(name: 'Records')
|
191
202
|
RelationshipStatus = Shapes::StringShape.new(name: 'RelationshipStatus')
|
192
203
|
ReplicationDetails = Shapes::StructureShape.new(name: 'ReplicationDetails')
|
193
204
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -251,6 +262,7 @@ module Aws::Macie2
|
|
251
262
|
UserIdentity = Shapes::StructureShape.new(name: 'UserIdentity')
|
252
263
|
UserIdentityRoot = Shapes::StructureShape.new(name: 'UserIdentityRoot')
|
253
264
|
UserIdentityType = Shapes::StringShape.new(name: 'UserIdentityType')
|
265
|
+
UserPausedDetails = Shapes::StructureShape.new(name: 'UserPausedDetails')
|
254
266
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
255
267
|
WeeklySchedule = Shapes::StructureShape.new(name: 'WeeklySchedule')
|
256
268
|
__boolean = Shapes::BooleanShape.new(name: '__boolean')
|
@@ -351,6 +363,7 @@ module Aws::Macie2
|
|
351
363
|
BucketCountByEffectivePermission.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyAccessible"))
|
352
364
|
BucketCountByEffectivePermission.add_member(:publicly_readable, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyReadable"))
|
353
365
|
BucketCountByEffectivePermission.add_member(:publicly_writable, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyWritable"))
|
366
|
+
BucketCountByEffectivePermission.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
|
354
367
|
BucketCountByEffectivePermission.struct_class = Types::BucketCountByEffectivePermission
|
355
368
|
|
356
369
|
BucketCountByEncryptionType.add_member(:kms_managed, Shapes::ShapeRef.new(shape: __long, location_name: "kmsManaged"))
|
@@ -361,6 +374,7 @@ module Aws::Macie2
|
|
361
374
|
BucketCountBySharedAccessType.add_member(:external, Shapes::ShapeRef.new(shape: __long, location_name: "external"))
|
362
375
|
BucketCountBySharedAccessType.add_member(:internal, Shapes::ShapeRef.new(shape: __long, location_name: "internal"))
|
363
376
|
BucketCountBySharedAccessType.add_member(:not_shared, Shapes::ShapeRef.new(shape: __long, location_name: "notShared"))
|
377
|
+
BucketCountBySharedAccessType.add_member(:unknown, Shapes::ShapeRef.new(shape: __long, location_name: "unknown"))
|
364
378
|
BucketCountBySharedAccessType.struct_class = Types::BucketCountBySharedAccessType
|
365
379
|
|
366
380
|
BucketCriteria.key = Shapes::ShapeRef.new(shape: __string)
|
@@ -417,6 +431,14 @@ module Aws::Macie2
|
|
417
431
|
BucketSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
418
432
|
BucketSortCriteria.struct_class = Types::BucketSortCriteria
|
419
433
|
|
434
|
+
Cell.add_member(:cell_reference, Shapes::ShapeRef.new(shape: __string, location_name: "cellReference"))
|
435
|
+
Cell.add_member(:column, Shapes::ShapeRef.new(shape: __long, location_name: "column"))
|
436
|
+
Cell.add_member(:column_name, Shapes::ShapeRef.new(shape: __string, location_name: "columnName"))
|
437
|
+
Cell.add_member(:row, Shapes::ShapeRef.new(shape: __long, location_name: "row"))
|
438
|
+
Cell.struct_class = Types::Cell
|
439
|
+
|
440
|
+
Cells.member = Shapes::ShapeRef.new(shape: Cell)
|
441
|
+
|
420
442
|
ClassificationDetails.add_member(:detailed_results_location, Shapes::ShapeRef.new(shape: __string, location_name: "detailedResultsLocation"))
|
421
443
|
ClassificationDetails.add_member(:job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobArn"))
|
422
444
|
ClassificationDetails.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
@@ -426,6 +448,7 @@ module Aws::Macie2
|
|
426
448
|
ClassificationExportConfiguration.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
|
427
449
|
ClassificationExportConfiguration.struct_class = Types::ClassificationExportConfiguration
|
428
450
|
|
451
|
+
ClassificationResult.add_member(:additional_occurrences, Shapes::ShapeRef.new(shape: __boolean, location_name: "additionalOccurrences"))
|
429
452
|
ClassificationResult.add_member(:custom_data_identifiers, Shapes::ShapeRef.new(shape: CustomDataIdentifiers, location_name: "customDataIdentifiers"))
|
430
453
|
ClassificationResult.add_member(:mime_type, Shapes::ShapeRef.new(shape: __string, location_name: "mimeType"))
|
431
454
|
ClassificationResult.add_member(:sensitive_data, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "sensitiveData"))
|
@@ -506,6 +529,7 @@ module Aws::Macie2
|
|
506
529
|
Criterion.value = Shapes::ShapeRef.new(shape: CriterionAdditionalProperties)
|
507
530
|
|
508
531
|
CriterionAdditionalProperties.add_member(:eq, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "eq"))
|
532
|
+
CriterionAdditionalProperties.add_member(:eq_exact_match, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "eqExactMatch"))
|
509
533
|
CriterionAdditionalProperties.add_member(:gt, Shapes::ShapeRef.new(shape: __long, location_name: "gt"))
|
510
534
|
CriterionAdditionalProperties.add_member(:gte, Shapes::ShapeRef.new(shape: __long, location_name: "gte"))
|
511
535
|
CriterionAdditionalProperties.add_member(:lt, Shapes::ShapeRef.new(shape: __long, location_name: "lt"))
|
@@ -527,6 +551,7 @@ module Aws::Macie2
|
|
527
551
|
CustomDetection.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
528
552
|
CustomDetection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
|
529
553
|
CustomDetection.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
554
|
+
CustomDetection.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "occurrences"))
|
530
555
|
CustomDetection.struct_class = Types::CustomDetection
|
531
556
|
|
532
557
|
CustomDetections.member = Shapes::ShapeRef.new(shape: CustomDetection)
|
@@ -540,6 +565,7 @@ module Aws::Macie2
|
|
540
565
|
DeclineInvitationsResponse.struct_class = Types::DeclineInvitationsResponse
|
541
566
|
|
542
567
|
DefaultDetection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
|
568
|
+
DefaultDetection.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "occurrences"))
|
543
569
|
DefaultDetection.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
544
570
|
DefaultDetection.struct_class = Types::DefaultDetection
|
545
571
|
|
@@ -588,6 +614,7 @@ module Aws::Macie2
|
|
588
614
|
DescribeClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
589
615
|
DescribeClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
|
590
616
|
DescribeClassificationJobResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
617
|
+
DescribeClassificationJobResponse.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
|
591
618
|
DescribeClassificationJobResponse.add_member(:last_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastRunTime"))
|
592
619
|
DescribeClassificationJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
593
620
|
DescribeClassificationJobResponse.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, location_name: "s3JobDefinition"))
|
@@ -595,6 +622,7 @@ module Aws::Macie2
|
|
595
622
|
DescribeClassificationJobResponse.add_member(:schedule_frequency, Shapes::ShapeRef.new(shape: JobScheduleFrequency, location_name: "scheduleFrequency"))
|
596
623
|
DescribeClassificationJobResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: Statistics, location_name: "statistics"))
|
597
624
|
DescribeClassificationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
625
|
+
DescribeClassificationJobResponse.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
|
598
626
|
DescribeClassificationJobResponse.struct_class = Types::DescribeClassificationJobResponse
|
599
627
|
|
600
628
|
DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
|
@@ -863,7 +891,9 @@ module Aws::Macie2
|
|
863
891
|
JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
|
864
892
|
JobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
|
865
893
|
JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
894
|
+
JobSummary.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
|
866
895
|
JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
896
|
+
JobSummary.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
|
867
897
|
JobSummary.struct_class = Types::JobSummary
|
868
898
|
|
869
899
|
KeyValuePair.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "key"))
|
@@ -872,6 +902,9 @@ module Aws::Macie2
|
|
872
902
|
|
873
903
|
KeyValuePairList.member = Shapes::ShapeRef.new(shape: KeyValuePair)
|
874
904
|
|
905
|
+
LastRunErrorStatus.add_member(:code, Shapes::ShapeRef.new(shape: LastRunErrorStatusCode, location_name: "code"))
|
906
|
+
LastRunErrorStatus.struct_class = Types::LastRunErrorStatus
|
907
|
+
|
875
908
|
ListClassificationJobsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ListJobsFilterCriteria, location_name: "filterCriteria"))
|
876
909
|
ListClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
|
877
910
|
ListClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
@@ -976,6 +1009,20 @@ module Aws::Macie2
|
|
976
1009
|
ObjectLevelStatistics.add_member(:total, Shapes::ShapeRef.new(shape: __long, location_name: "total"))
|
977
1010
|
ObjectLevelStatistics.struct_class = Types::ObjectLevelStatistics
|
978
1011
|
|
1012
|
+
Occurrences.add_member(:cells, Shapes::ShapeRef.new(shape: Cells, location_name: "cells"))
|
1013
|
+
Occurrences.add_member(:line_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "lineRanges"))
|
1014
|
+
Occurrences.add_member(:offset_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "offsetRanges"))
|
1015
|
+
Occurrences.add_member(:pages, Shapes::ShapeRef.new(shape: Pages, location_name: "pages"))
|
1016
|
+
Occurrences.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "records"))
|
1017
|
+
Occurrences.struct_class = Types::Occurrences
|
1018
|
+
|
1019
|
+
Page.add_member(:line_range, Shapes::ShapeRef.new(shape: Range, location_name: "lineRange"))
|
1020
|
+
Page.add_member(:offset_range, Shapes::ShapeRef.new(shape: Range, location_name: "offsetRange"))
|
1021
|
+
Page.add_member(:page_number, Shapes::ShapeRef.new(shape: __long, location_name: "pageNumber"))
|
1022
|
+
Page.struct_class = Types::Page
|
1023
|
+
|
1024
|
+
Pages.member = Shapes::ShapeRef.new(shape: Page)
|
1025
|
+
|
979
1026
|
PolicyDetails.add_member(:action, Shapes::ShapeRef.new(shape: FindingAction, location_name: "action"))
|
980
1027
|
PolicyDetails.add_member(:actor, Shapes::ShapeRef.new(shape: FindingActor, location_name: "actor"))
|
981
1028
|
PolicyDetails.struct_class = Types::PolicyDetails
|
@@ -986,6 +1033,19 @@ module Aws::Macie2
|
|
986
1033
|
PutClassificationExportConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ClassificationExportConfiguration, location_name: "configuration"))
|
987
1034
|
PutClassificationExportConfigurationResponse.struct_class = Types::PutClassificationExportConfigurationResponse
|
988
1035
|
|
1036
|
+
Range.add_member(:end, Shapes::ShapeRef.new(shape: __long, location_name: "end"))
|
1037
|
+
Range.add_member(:start, Shapes::ShapeRef.new(shape: __long, location_name: "start"))
|
1038
|
+
Range.add_member(:start_column, Shapes::ShapeRef.new(shape: __long, location_name: "startColumn"))
|
1039
|
+
Range.struct_class = Types::Range
|
1040
|
+
|
1041
|
+
Ranges.member = Shapes::ShapeRef.new(shape: Range)
|
1042
|
+
|
1043
|
+
Record.add_member(:json_path, Shapes::ShapeRef.new(shape: __string, location_name: "jsonPath"))
|
1044
|
+
Record.add_member(:record_index, Shapes::ShapeRef.new(shape: __long, location_name: "recordIndex"))
|
1045
|
+
Record.struct_class = Types::Record
|
1046
|
+
|
1047
|
+
Records.member = Shapes::ShapeRef.new(shape: Record)
|
1048
|
+
|
989
1049
|
ReplicationDetails.add_member(:replicated, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicated"))
|
990
1050
|
ReplicationDetails.add_member(:replicated_externally, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicatedExternally"))
|
991
1051
|
ReplicationDetails.add_member(:replication_accounts, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "replicationAccounts"))
|
@@ -1210,6 +1270,11 @@ module Aws::Macie2
|
|
1210
1270
|
UserIdentityRoot.add_member(:principal_id, Shapes::ShapeRef.new(shape: __string, location_name: "principalId"))
|
1211
1271
|
UserIdentityRoot.struct_class = Types::UserIdentityRoot
|
1212
1272
|
|
1273
|
+
UserPausedDetails.add_member(:job_expires_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobExpiresAt"))
|
1274
|
+
UserPausedDetails.add_member(:job_imminent_expiration_health_event_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobImminentExpirationHealthEventArn"))
|
1275
|
+
UserPausedDetails.add_member(:job_paused_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobPausedAt"))
|
1276
|
+
UserPausedDetails.struct_class = Types::UserPausedDetails
|
1277
|
+
|
1213
1278
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
1214
1279
|
ValidationException.struct_class = Types::ValidationException
|
1215
1280
|
|