aws-sdk-macie2 1.12.0 → 1.13.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 +72 -20
- data/lib/aws-sdk-macie2/client_api.rb +56 -0
- data/lib/aws-sdk-macie2/types.rb +257 -48
- 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: a56a50543d74ace8c73c8cae1b6cd35de42df77aa683ec2f9222ee04fae38e91
|
4
|
+
data.tar.gz: 59039616a9fe749b66baec4a9257c423d49afc277e60c73e451965ee5d68cc09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43830f57dd2cc682b3cf8be84269a606a13dd0ca2c05c66c520ddd3bfbfe68090169fb3581d4af0a31a7570e29cc11b39ecfb8146407b2e9ed092359f8f6b7c9
|
7
|
+
data.tar.gz: 6819a7f5ccb44ac2c7418e827f24cd05a2095c9c3db08436871881e1b4d8e764ffe9639b77d62c3e69a0ecf96f398c666fca08406ea00b917e0691d45f78041a
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -968,8 +968,7 @@ module Aws::Macie2
|
|
968
968
|
req.send_request(options)
|
969
969
|
end
|
970
970
|
|
971
|
-
# Retrieves
|
972
|
-
# classification job.
|
971
|
+
# Retrieves the status and settings for a classification job.
|
973
972
|
#
|
974
973
|
# @option params [required, String] :job_id
|
975
974
|
#
|
@@ -991,6 +990,7 @@ module Aws::Macie2
|
|
991
990
|
# * {Types::DescribeClassificationJobResponse#schedule_frequency #schedule_frequency} => Types::JobScheduleFrequency
|
992
991
|
# * {Types::DescribeClassificationJobResponse#statistics #statistics} => Types::Statistics
|
993
992
|
# * {Types::DescribeClassificationJobResponse#tags #tags} => Hash<String,String>
|
993
|
+
# * {Types::DescribeClassificationJobResponse#user_paused_details #user_paused_details} => Types::UserPausedDetails
|
994
994
|
#
|
995
995
|
# @example Request syntax with placeholder values
|
996
996
|
#
|
@@ -1008,7 +1008,7 @@ module Aws::Macie2
|
|
1008
1008
|
# resp.initial_run #=> Boolean
|
1009
1009
|
# resp.job_arn #=> String
|
1010
1010
|
# resp.job_id #=> String
|
1011
|
-
# resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE"
|
1011
|
+
# resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
|
1012
1012
|
# resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
|
1013
1013
|
# resp.last_run_time #=> Time
|
1014
1014
|
# resp.name #=> String
|
@@ -1045,6 +1045,9 @@ module Aws::Macie2
|
|
1045
1045
|
# resp.statistics.number_of_runs #=> Float
|
1046
1046
|
# resp.tags #=> Hash
|
1047
1047
|
# resp.tags["__string"] #=> String
|
1048
|
+
# resp.user_paused_details.job_expires_at #=> Time
|
1049
|
+
# resp.user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
1050
|
+
# resp.user_paused_details.job_paused_at #=> Time
|
1048
1051
|
#
|
1049
1052
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob AWS API Documentation
|
1050
1053
|
#
|
@@ -1055,8 +1058,8 @@ module Aws::Macie2
|
|
1055
1058
|
req.send_request(options)
|
1056
1059
|
end
|
1057
1060
|
|
1058
|
-
# Retrieves
|
1059
|
-
#
|
1061
|
+
# Retrieves the Amazon Macie configuration settings for an AWS
|
1062
|
+
# organization.
|
1060
1063
|
#
|
1061
1064
|
# @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1062
1065
|
#
|
@@ -1241,12 +1244,14 @@ module Aws::Macie2
|
|
1241
1244
|
# resp.bucket_count_by_effective_permission.publicly_accessible #=> Integer
|
1242
1245
|
# resp.bucket_count_by_effective_permission.publicly_readable #=> Integer
|
1243
1246
|
# resp.bucket_count_by_effective_permission.publicly_writable #=> Integer
|
1247
|
+
# resp.bucket_count_by_effective_permission.unknown #=> Integer
|
1244
1248
|
# resp.bucket_count_by_encryption_type.kms_managed #=> Integer
|
1245
1249
|
# resp.bucket_count_by_encryption_type.s3_managed #=> Integer
|
1246
1250
|
# resp.bucket_count_by_encryption_type.unencrypted #=> Integer
|
1247
1251
|
# resp.bucket_count_by_shared_access_type.external #=> Integer
|
1248
1252
|
# resp.bucket_count_by_shared_access_type.internal #=> Integer
|
1249
1253
|
# resp.bucket_count_by_shared_access_type.not_shared #=> Integer
|
1254
|
+
# resp.bucket_count_by_shared_access_type.unknown #=> Integer
|
1250
1255
|
# resp.classifiable_object_count #=> Integer
|
1251
1256
|
# resp.classifiable_size_in_bytes #=> Integer
|
1252
1257
|
# resp.last_updated #=> Time
|
@@ -1291,8 +1296,8 @@ module Aws::Macie2
|
|
1291
1296
|
req.send_request(options)
|
1292
1297
|
end
|
1293
1298
|
|
1294
|
-
# Retrieves
|
1295
|
-
#
|
1299
|
+
# Retrieves the criteria and other settings for a custom data
|
1300
|
+
# identifier.
|
1296
1301
|
#
|
1297
1302
|
# @option params [required, String] :id
|
1298
1303
|
#
|
@@ -1398,13 +1403,12 @@ module Aws::Macie2
|
|
1398
1403
|
req.send_request(options)
|
1399
1404
|
end
|
1400
1405
|
|
1401
|
-
# Retrieves
|
1406
|
+
# Retrieves the details of one or more findings.
|
1402
1407
|
#
|
1403
1408
|
# @option params [required, Array<String>] :finding_ids
|
1404
1409
|
#
|
1405
1410
|
# @option params [Types::SortCriteria] :sort_criteria
|
1406
|
-
# Specifies criteria for sorting the results of a request for
|
1407
|
-
# information about findings.
|
1411
|
+
# Specifies criteria for sorting the results of a request for findings.
|
1408
1412
|
#
|
1409
1413
|
# @return [Types::GetFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1410
1414
|
#
|
@@ -1429,16 +1433,63 @@ module Aws::Macie2
|
|
1429
1433
|
# resp.findings[0].classification_details.detailed_results_location #=> String
|
1430
1434
|
# resp.findings[0].classification_details.job_arn #=> String
|
1431
1435
|
# resp.findings[0].classification_details.job_id #=> String
|
1436
|
+
# resp.findings[0].classification_details.result.additional_occurrences #=> Boolean
|
1432
1437
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections #=> Array
|
1433
1438
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].arn #=> String
|
1434
1439
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].count #=> Integer
|
1435
1440
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].name #=> String
|
1441
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells #=> Array
|
1442
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].cell_reference #=> String
|
1443
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].column #=> Integer
|
1444
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].column_name #=> String
|
1445
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.cells[0].row #=> Integer
|
1446
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges #=> Array
|
1447
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].end #=> Integer
|
1448
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start #=> Integer
|
1449
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.line_ranges[0].start_column #=> Integer
|
1450
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges #=> Array
|
1451
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].end #=> Integer
|
1452
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start #=> Integer
|
1453
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.offset_ranges[0].start_column #=> Integer
|
1454
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages #=> Array
|
1455
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.end #=> Integer
|
1456
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start #=> Integer
|
1457
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].line_range.start_column #=> Integer
|
1458
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.end #=> Integer
|
1459
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start #=> Integer
|
1460
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
1461
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].page_number #=> Integer
|
1462
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records #=> Array
|
1463
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].record_index #=> Integer
|
1436
1464
|
# resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
|
1437
1465
|
# resp.findings[0].classification_details.result.mime_type #=> String
|
1438
1466
|
# resp.findings[0].classification_details.result.sensitive_data #=> Array
|
1439
1467
|
# resp.findings[0].classification_details.result.sensitive_data[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
|
1440
1468
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections #=> Array
|
1441
1469
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].count #=> Integer
|
1470
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells #=> Array
|
1471
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].cell_reference #=> String
|
1472
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column #=> Integer
|
1473
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].column_name #=> String
|
1474
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.cells[0].row #=> Integer
|
1475
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges #=> Array
|
1476
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].end #=> Integer
|
1477
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start #=> Integer
|
1478
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.line_ranges[0].start_column #=> Integer
|
1479
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges #=> Array
|
1480
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].end #=> Integer
|
1481
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start #=> Integer
|
1482
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.offset_ranges[0].start_column #=> Integer
|
1483
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages #=> Array
|
1484
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.end #=> Integer
|
1485
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start #=> Integer
|
1486
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].line_range.start_column #=> Integer
|
1487
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.end #=> Integer
|
1488
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start #=> Integer
|
1489
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
1490
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].page_number #=> Integer
|
1491
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records #=> Array
|
1492
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].record_index #=> Integer
|
1442
1493
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
|
1443
1494
|
# resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
|
1444
1495
|
# resp.findings[0].classification_details.result.size_classified #=> Integer
|
@@ -1554,8 +1605,7 @@ module Aws::Macie2
|
|
1554
1605
|
req.send_request(options)
|
1555
1606
|
end
|
1556
1607
|
|
1557
|
-
# Retrieves
|
1558
|
-
# findings filter.
|
1608
|
+
# Retrieves the criteria and other settings for a findings filter.
|
1559
1609
|
#
|
1560
1610
|
# @option params [required, String] :id
|
1561
1611
|
#
|
@@ -1625,8 +1675,8 @@ module Aws::Macie2
|
|
1625
1675
|
req.send_request(options)
|
1626
1676
|
end
|
1627
1677
|
|
1628
|
-
# Retrieves
|
1629
|
-
#
|
1678
|
+
# Retrieves the current status and configuration settings for an Amazon
|
1679
|
+
# Macie account.
|
1630
1680
|
#
|
1631
1681
|
# @return [Types::GetMacieSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1632
1682
|
#
|
@@ -1860,9 +1910,12 @@ module Aws::Macie2
|
|
1860
1910
|
# resp.items[0].bucket_definitions[0].buckets[0] #=> String
|
1861
1911
|
# resp.items[0].created_at #=> Time
|
1862
1912
|
# resp.items[0].job_id #=> String
|
1863
|
-
# resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE"
|
1913
|
+
# resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
|
1864
1914
|
# resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
|
1865
1915
|
# resp.items[0].name #=> String
|
1916
|
+
# resp.items[0].user_paused_details.job_expires_at #=> Time
|
1917
|
+
# resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
1918
|
+
# resp.items[0].user_paused_details.job_paused_at #=> Time
|
1866
1919
|
# resp.next_token #=> String
|
1867
1920
|
#
|
1868
1921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
|
@@ -1925,8 +1978,7 @@ module Aws::Macie2
|
|
1925
1978
|
# @option params [String] :next_token
|
1926
1979
|
#
|
1927
1980
|
# @option params [Types::SortCriteria] :sort_criteria
|
1928
|
-
# Specifies criteria for sorting the results of a request for
|
1929
|
-
# information about findings.
|
1981
|
+
# Specifies criteria for sorting the results of a request for findings.
|
1930
1982
|
#
|
1931
1983
|
# @return [Types::ListFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1932
1984
|
#
|
@@ -2301,7 +2353,7 @@ module Aws::Macie2
|
|
2301
2353
|
req.send_request(options)
|
2302
2354
|
end
|
2303
2355
|
|
2304
|
-
#
|
2356
|
+
# Changes the status of a classification job.
|
2305
2357
|
#
|
2306
2358
|
# @option params [required, String] :job_id
|
2307
2359
|
#
|
@@ -2314,7 +2366,7 @@ module Aws::Macie2
|
|
2314
2366
|
#
|
2315
2367
|
# resp = client.update_classification_job({
|
2316
2368
|
# job_id: "__string", # required
|
2317
|
-
# job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
|
2369
|
+
# job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
|
2318
2370
|
# })
|
2319
2371
|
#
|
2320
2372
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob AWS API Documentation
|
@@ -2476,7 +2528,7 @@ module Aws::Macie2
|
|
2476
2528
|
params: params,
|
2477
2529
|
config: config)
|
2478
2530
|
context[:gem_name] = 'aws-sdk-macie2'
|
2479
|
-
context[:gem_version] = '1.
|
2531
|
+
context[:gem_version] = '1.13.0'
|
2480
2532
|
Seahorse::Client::Request.new(handlers, context)
|
2481
2533
|
end
|
2482
2534
|
|
@@ -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"))
|
@@ -527,6 +548,7 @@ module Aws::Macie2
|
|
527
548
|
CustomDetection.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
528
549
|
CustomDetection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
|
529
550
|
CustomDetection.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
551
|
+
CustomDetection.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "occurrences"))
|
530
552
|
CustomDetection.struct_class = Types::CustomDetection
|
531
553
|
|
532
554
|
CustomDetections.member = Shapes::ShapeRef.new(shape: CustomDetection)
|
@@ -540,6 +562,7 @@ module Aws::Macie2
|
|
540
562
|
DeclineInvitationsResponse.struct_class = Types::DeclineInvitationsResponse
|
541
563
|
|
542
564
|
DefaultDetection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
|
565
|
+
DefaultDetection.add_member(:occurrences, Shapes::ShapeRef.new(shape: Occurrences, location_name: "occurrences"))
|
543
566
|
DefaultDetection.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
|
544
567
|
DefaultDetection.struct_class = Types::DefaultDetection
|
545
568
|
|
@@ -595,6 +618,7 @@ module Aws::Macie2
|
|
595
618
|
DescribeClassificationJobResponse.add_member(:schedule_frequency, Shapes::ShapeRef.new(shape: JobScheduleFrequency, location_name: "scheduleFrequency"))
|
596
619
|
DescribeClassificationJobResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: Statistics, location_name: "statistics"))
|
597
620
|
DescribeClassificationJobResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
621
|
+
DescribeClassificationJobResponse.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
|
598
622
|
DescribeClassificationJobResponse.struct_class = Types::DescribeClassificationJobResponse
|
599
623
|
|
600
624
|
DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
|
@@ -864,6 +888,7 @@ module Aws::Macie2
|
|
864
888
|
JobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
|
865
889
|
JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
866
890
|
JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
891
|
+
JobSummary.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
|
867
892
|
JobSummary.struct_class = Types::JobSummary
|
868
893
|
|
869
894
|
KeyValuePair.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "key"))
|
@@ -976,6 +1001,20 @@ module Aws::Macie2
|
|
976
1001
|
ObjectLevelStatistics.add_member(:total, Shapes::ShapeRef.new(shape: __long, location_name: "total"))
|
977
1002
|
ObjectLevelStatistics.struct_class = Types::ObjectLevelStatistics
|
978
1003
|
|
1004
|
+
Occurrences.add_member(:cells, Shapes::ShapeRef.new(shape: Cells, location_name: "cells"))
|
1005
|
+
Occurrences.add_member(:line_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "lineRanges"))
|
1006
|
+
Occurrences.add_member(:offset_ranges, Shapes::ShapeRef.new(shape: Ranges, location_name: "offsetRanges"))
|
1007
|
+
Occurrences.add_member(:pages, Shapes::ShapeRef.new(shape: Pages, location_name: "pages"))
|
1008
|
+
Occurrences.add_member(:records, Shapes::ShapeRef.new(shape: Records, location_name: "records"))
|
1009
|
+
Occurrences.struct_class = Types::Occurrences
|
1010
|
+
|
1011
|
+
Page.add_member(:line_range, Shapes::ShapeRef.new(shape: Range, location_name: "lineRange"))
|
1012
|
+
Page.add_member(:offset_range, Shapes::ShapeRef.new(shape: Range, location_name: "offsetRange"))
|
1013
|
+
Page.add_member(:page_number, Shapes::ShapeRef.new(shape: __long, location_name: "pageNumber"))
|
1014
|
+
Page.struct_class = Types::Page
|
1015
|
+
|
1016
|
+
Pages.member = Shapes::ShapeRef.new(shape: Page)
|
1017
|
+
|
979
1018
|
PolicyDetails.add_member(:action, Shapes::ShapeRef.new(shape: FindingAction, location_name: "action"))
|
980
1019
|
PolicyDetails.add_member(:actor, Shapes::ShapeRef.new(shape: FindingActor, location_name: "actor"))
|
981
1020
|
PolicyDetails.struct_class = Types::PolicyDetails
|
@@ -986,6 +1025,18 @@ module Aws::Macie2
|
|
986
1025
|
PutClassificationExportConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ClassificationExportConfiguration, location_name: "configuration"))
|
987
1026
|
PutClassificationExportConfigurationResponse.struct_class = Types::PutClassificationExportConfigurationResponse
|
988
1027
|
|
1028
|
+
Range.add_member(:end, Shapes::ShapeRef.new(shape: __long, location_name: "end"))
|
1029
|
+
Range.add_member(:start, Shapes::ShapeRef.new(shape: __long, location_name: "start"))
|
1030
|
+
Range.add_member(:start_column, Shapes::ShapeRef.new(shape: __long, location_name: "startColumn"))
|
1031
|
+
Range.struct_class = Types::Range
|
1032
|
+
|
1033
|
+
Ranges.member = Shapes::ShapeRef.new(shape: Range)
|
1034
|
+
|
1035
|
+
Record.add_member(:record_index, Shapes::ShapeRef.new(shape: __long, location_name: "recordIndex"))
|
1036
|
+
Record.struct_class = Types::Record
|
1037
|
+
|
1038
|
+
Records.member = Shapes::ShapeRef.new(shape: Record)
|
1039
|
+
|
989
1040
|
ReplicationDetails.add_member(:replicated, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicated"))
|
990
1041
|
ReplicationDetails.add_member(:replicated_externally, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicatedExternally"))
|
991
1042
|
ReplicationDetails.add_member(:replication_accounts, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "replicationAccounts"))
|
@@ -1210,6 +1261,11 @@ module Aws::Macie2
|
|
1210
1261
|
UserIdentityRoot.add_member(:principal_id, Shapes::ShapeRef.new(shape: __string, location_name: "principalId"))
|
1211
1262
|
UserIdentityRoot.struct_class = Types::UserIdentityRoot
|
1212
1263
|
|
1264
|
+
UserPausedDetails.add_member(:job_expires_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobExpiresAt"))
|
1265
|
+
UserPausedDetails.add_member(:job_imminent_expiration_health_event_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobImminentExpirationHealthEventArn"))
|
1266
|
+
UserPausedDetails.add_member(:job_paused_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "jobPausedAt"))
|
1267
|
+
UserPausedDetails.struct_class = Types::UserPausedDetails
|
1268
|
+
|
1213
1269
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
1214
1270
|
ValidationException.struct_class = Types::ValidationException
|
1215
1271
|
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -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
|
697
|
-
#
|
698
|
-
# that was
|
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,9 +771,12 @@ module Aws::Macie2
|
|
737
771
|
include Aws::Structure
|
738
772
|
end
|
739
773
|
|
740
|
-
# Provides
|
741
|
-
#
|
742
|
-
#
|
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
782
|
# Provides information about the number of occurrences of the data
|
@@ -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
|
810
|
-
#
|
811
|
-
#
|
812
|
-
#
|
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:
|
@@ -1352,8 +1390,8 @@ module Aws::Macie2
|
|
1352
1390
|
end
|
1353
1391
|
|
1354
1392
|
# Provides information about a custom data identifier that produced a
|
1355
|
-
# sensitive data finding, and the
|
1356
|
-
#
|
1393
|
+
# sensitive data finding, and the sensitive data that it detected for
|
1394
|
+
# the finding.
|
1357
1395
|
#
|
1358
1396
|
# @!attribute [rw] arn
|
1359
1397
|
# @return [String]
|
@@ -1364,12 +1402,19 @@ module Aws::Macie2
|
|
1364
1402
|
# @!attribute [rw] name
|
1365
1403
|
# @return [String]
|
1366
1404
|
#
|
1405
|
+
# @!attribute [rw] occurrences
|
1406
|
+
# Provides the location of 1-15 occurrences of sensitive data that was
|
1407
|
+
# detected by managed data identifiers or a custom data identifier and
|
1408
|
+
# produced a sensitive data finding.
|
1409
|
+
# @return [Types::Occurrences]
|
1410
|
+
#
|
1367
1411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation
|
1368
1412
|
#
|
1369
1413
|
class CustomDetection < Struct.new(
|
1370
1414
|
:arn,
|
1371
1415
|
:count,
|
1372
|
-
:name
|
1416
|
+
:name,
|
1417
|
+
:occurrences)
|
1373
1418
|
SENSITIVE = []
|
1374
1419
|
include Aws::Structure
|
1375
1420
|
end
|
@@ -1419,12 +1464,18 @@ module Aws::Macie2
|
|
1419
1464
|
include Aws::Structure
|
1420
1465
|
end
|
1421
1466
|
|
1422
|
-
# Provides information about sensitive data that was detected
|
1423
|
-
# data identifiers and produced a sensitive data finding.
|
1467
|
+
# Provides information about a type of sensitive data that was detected
|
1468
|
+
# by managed data identifiers and produced a sensitive data finding.
|
1424
1469
|
#
|
1425
1470
|
# @!attribute [rw] count
|
1426
1471
|
# @return [Integer]
|
1427
1472
|
#
|
1473
|
+
# @!attribute [rw] occurrences
|
1474
|
+
# Provides the location of 1-15 occurrences of sensitive data that was
|
1475
|
+
# detected by managed data identifiers or a custom data identifier and
|
1476
|
+
# produced a sensitive data finding.
|
1477
|
+
# @return [Types::Occurrences]
|
1478
|
+
#
|
1428
1479
|
# @!attribute [rw] type
|
1429
1480
|
# @return [String]
|
1430
1481
|
#
|
@@ -1432,6 +1483,7 @@ module Aws::Macie2
|
|
1432
1483
|
#
|
1433
1484
|
class DefaultDetection < Struct.new(
|
1434
1485
|
:count,
|
1486
|
+
:occurrences,
|
1435
1487
|
:type)
|
1436
1488
|
SENSITIVE = []
|
1437
1489
|
include Aws::Structure
|
@@ -1690,6 +1742,13 @@ module Aws::Macie2
|
|
1690
1742
|
# findings filter, or member account.
|
1691
1743
|
# @return [Hash<String,String>]
|
1692
1744
|
#
|
1745
|
+
# @!attribute [rw] user_paused_details
|
1746
|
+
# Provides information about when a classification job was paused and
|
1747
|
+
# when it will expire and be cancelled if it isn’t resumed. This
|
1748
|
+
# object is present only if a job’s current status (jobStatus) is
|
1749
|
+
# USER\_PAUSED.
|
1750
|
+
# @return [Types::UserPausedDetails]
|
1751
|
+
#
|
1693
1752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
|
1694
1753
|
#
|
1695
1754
|
class DescribeClassificationJobResponse < Struct.new(
|
@@ -1708,7 +1767,8 @@ module Aws::Macie2
|
|
1708
1767
|
:sampling_percentage,
|
1709
1768
|
:schedule_frequency,
|
1710
1769
|
:statistics,
|
1711
|
-
:tags
|
1770
|
+
:tags,
|
1771
|
+
:user_paused_details)
|
1712
1772
|
SENSITIVE = []
|
1713
1773
|
include Aws::Structure
|
1714
1774
|
end
|
@@ -1931,7 +1991,7 @@ module Aws::Macie2
|
|
1931
1991
|
include Aws::Structure
|
1932
1992
|
end
|
1933
1993
|
|
1934
|
-
# Provides
|
1994
|
+
# Provides the details of a finding.
|
1935
1995
|
#
|
1936
1996
|
# @!attribute [rw] account_id
|
1937
1997
|
# @return [String]
|
@@ -1981,15 +2041,21 @@ module Aws::Macie2
|
|
1981
2041
|
# @return [String]
|
1982
2042
|
#
|
1983
2043
|
# @!attribute [rw] severity
|
1984
|
-
# Provides the
|
1985
|
-
#
|
2044
|
+
# Provides the numerical and qualitative representations of a
|
2045
|
+
# finding's severity.
|
1986
2046
|
# @return [Types::Severity]
|
1987
2047
|
#
|
1988
2048
|
# @!attribute [rw] title
|
1989
2049
|
# @return [String]
|
1990
2050
|
#
|
1991
2051
|
# @!attribute [rw] type
|
1992
|
-
# The type of finding.
|
2052
|
+
# The type of finding. For details about each type, see [Types of
|
2053
|
+
# Amazon Macie findings][1] in the *Amazon Macie User Guide*. Valid
|
2054
|
+
# values are:
|
2055
|
+
#
|
2056
|
+
#
|
2057
|
+
#
|
2058
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-types.html
|
1993
2059
|
# @return [String]
|
1994
2060
|
#
|
1995
2061
|
# @!attribute [rw] updated_at
|
@@ -2497,7 +2563,7 @@ module Aws::Macie2
|
|
2497
2563
|
include Aws::Structure
|
2498
2564
|
end
|
2499
2565
|
|
2500
|
-
# Specifies one or more findings to retrieve
|
2566
|
+
# Specifies one or more findings to retrieve.
|
2501
2567
|
#
|
2502
2568
|
# @note When making an API call, you may pass GetFindingsRequest
|
2503
2569
|
# data as a hash:
|
@@ -2515,7 +2581,7 @@ module Aws::Macie2
|
|
2515
2581
|
#
|
2516
2582
|
# @!attribute [rw] sort_criteria
|
2517
2583
|
# Specifies criteria for sorting the results of a request for
|
2518
|
-
#
|
2584
|
+
# findings.
|
2519
2585
|
# @return [Types::SortCriteria]
|
2520
2586
|
#
|
2521
2587
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsRequest AWS API Documentation
|
@@ -2527,8 +2593,7 @@ module Aws::Macie2
|
|
2527
2593
|
include Aws::Structure
|
2528
2594
|
end
|
2529
2595
|
|
2530
|
-
# Provides the results of a request for
|
2531
|
-
# findings.
|
2596
|
+
# Provides the results of a request for one or more findings.
|
2532
2597
|
#
|
2533
2598
|
# @!attribute [rw] findings
|
2534
2599
|
# @return [Array<Types::Finding>]
|
@@ -3065,6 +3130,8 @@ module Aws::Macie2
|
|
3065
3130
|
|
3066
3131
|
# Specifies one or more property- and tag-based conditions that define
|
3067
3132
|
# criteria for including or excluding objects from a classification job.
|
3133
|
+
# If you specify more than one condition, Amazon Macie uses an AND
|
3134
|
+
# operator to join the conditions.
|
3068
3135
|
#
|
3069
3136
|
# @note When making an API call, you may pass JobScopingBlock
|
3070
3137
|
# data as a hash:
|
@@ -3126,6 +3193,13 @@ module Aws::Macie2
|
|
3126
3193
|
# @!attribute [rw] name
|
3127
3194
|
# @return [String]
|
3128
3195
|
#
|
3196
|
+
# @!attribute [rw] user_paused_details
|
3197
|
+
# Provides information about when a classification job was paused and
|
3198
|
+
# when it will expire and be cancelled if it isn’t resumed. This
|
3199
|
+
# object is present only if a job’s current status (jobStatus) is
|
3200
|
+
# USER\_PAUSED.
|
3201
|
+
# @return [Types::UserPausedDetails]
|
3202
|
+
#
|
3129
3203
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
|
3130
3204
|
#
|
3131
3205
|
class JobSummary < Struct.new(
|
@@ -3134,7 +3208,8 @@ module Aws::Macie2
|
|
3134
3208
|
:job_id,
|
3135
3209
|
:job_status,
|
3136
3210
|
:job_type,
|
3137
|
-
:name
|
3211
|
+
:name,
|
3212
|
+
:user_paused_details)
|
3138
3213
|
SENSITIVE = []
|
3139
3214
|
include Aws::Structure
|
3140
3215
|
end
|
@@ -3358,7 +3433,7 @@ module Aws::Macie2
|
|
3358
3433
|
#
|
3359
3434
|
# @!attribute [rw] sort_criteria
|
3360
3435
|
# Specifies criteria for sorting the results of a request for
|
3361
|
-
#
|
3436
|
+
# findings.
|
3362
3437
|
# @return [Types::SortCriteria]
|
3363
3438
|
#
|
3364
3439
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsRequest AWS API Documentation
|
@@ -3774,6 +3849,77 @@ module Aws::Macie2
|
|
3774
3849
|
include Aws::Structure
|
3775
3850
|
end
|
3776
3851
|
|
3852
|
+
# Provides the location of 1-15 occurrences of sensitive data that was
|
3853
|
+
# detected by managed data identifiers or a custom data identifier and
|
3854
|
+
# produced a sensitive data finding.
|
3855
|
+
#
|
3856
|
+
# @!attribute [rw] cells
|
3857
|
+
# Specifies the location of occurrences of sensitive data in a
|
3858
|
+
# Microsoft Excel workbook, CSV file, or TSV file.
|
3859
|
+
# @return [Array<Types::Cell>]
|
3860
|
+
#
|
3861
|
+
# @!attribute [rw] line_ranges
|
3862
|
+
# Provides details about the location of occurrences of sensitive data
|
3863
|
+
# in an Adobe Portable Document Format file, Apache Avro object
|
3864
|
+
# container, Microsoft Word document, or non-binary text file.
|
3865
|
+
# @return [Array<Types::Range>]
|
3866
|
+
#
|
3867
|
+
# @!attribute [rw] offset_ranges
|
3868
|
+
# Provides details about the location of occurrences of sensitive data
|
3869
|
+
# in an Adobe Portable Document Format file, Apache Avro object
|
3870
|
+
# container, Microsoft Word document, or non-binary text file.
|
3871
|
+
# @return [Array<Types::Range>]
|
3872
|
+
#
|
3873
|
+
# @!attribute [rw] pages
|
3874
|
+
# Specifies the location of occurrences of sensitive data in an Adobe
|
3875
|
+
# Portable Document Format file.
|
3876
|
+
# @return [Array<Types::Page>]
|
3877
|
+
#
|
3878
|
+
# @!attribute [rw] records
|
3879
|
+
# Specifies the location of occurrences of sensitive data in an Apache
|
3880
|
+
# Parquet file.
|
3881
|
+
# @return [Array<Types::Record>]
|
3882
|
+
#
|
3883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Occurrences AWS API Documentation
|
3884
|
+
#
|
3885
|
+
class Occurrences < Struct.new(
|
3886
|
+
:cells,
|
3887
|
+
:line_ranges,
|
3888
|
+
:offset_ranges,
|
3889
|
+
:pages,
|
3890
|
+
:records)
|
3891
|
+
SENSITIVE = []
|
3892
|
+
include Aws::Structure
|
3893
|
+
end
|
3894
|
+
|
3895
|
+
# Specifies the location of an occurrence of sensitive data in an Adobe
|
3896
|
+
# Portable Document Format file.
|
3897
|
+
#
|
3898
|
+
# @!attribute [rw] line_range
|
3899
|
+
# Provides details about the location of an occurrence of sensitive
|
3900
|
+
# data in an Adobe Portable Document Format file, Apache Avro object
|
3901
|
+
# container, Microsoft Word document, or non-binary text file.
|
3902
|
+
# @return [Types::Range]
|
3903
|
+
#
|
3904
|
+
# @!attribute [rw] offset_range
|
3905
|
+
# Provides details about the location of an occurrence of sensitive
|
3906
|
+
# data in an Adobe Portable Document Format file, Apache Avro object
|
3907
|
+
# container, Microsoft Word document, or non-binary text file.
|
3908
|
+
# @return [Types::Range]
|
3909
|
+
#
|
3910
|
+
# @!attribute [rw] page_number
|
3911
|
+
# @return [Integer]
|
3912
|
+
#
|
3913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Page AWS API Documentation
|
3914
|
+
#
|
3915
|
+
class Page < Struct.new(
|
3916
|
+
:line_range,
|
3917
|
+
:offset_range,
|
3918
|
+
:page_number)
|
3919
|
+
SENSITIVE = []
|
3920
|
+
include Aws::Structure
|
3921
|
+
end
|
3922
|
+
|
3777
3923
|
# Provides the details of a policy finding.
|
3778
3924
|
#
|
3779
3925
|
# @!attribute [rw] action
|
@@ -3845,6 +3991,43 @@ module Aws::Macie2
|
|
3845
3991
|
include Aws::Structure
|
3846
3992
|
end
|
3847
3993
|
|
3994
|
+
# Provides details about the location of an occurrence of sensitive data
|
3995
|
+
# in an Adobe Portable Document Format file, Apache Avro object
|
3996
|
+
# container, Microsoft Word document, or non-binary text file.
|
3997
|
+
#
|
3998
|
+
# @!attribute [rw] end
|
3999
|
+
# @return [Integer]
|
4000
|
+
#
|
4001
|
+
# @!attribute [rw] start
|
4002
|
+
# @return [Integer]
|
4003
|
+
#
|
4004
|
+
# @!attribute [rw] start_column
|
4005
|
+
# @return [Integer]
|
4006
|
+
#
|
4007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Range AWS API Documentation
|
4008
|
+
#
|
4009
|
+
class Range < Struct.new(
|
4010
|
+
:end,
|
4011
|
+
:start,
|
4012
|
+
:start_column)
|
4013
|
+
SENSITIVE = []
|
4014
|
+
include Aws::Structure
|
4015
|
+
end
|
4016
|
+
|
4017
|
+
# Specifies the location of an occurrence of sensitive data in an Apache
|
4018
|
+
# Parquet file.
|
4019
|
+
#
|
4020
|
+
# @!attribute [rw] record_index
|
4021
|
+
# @return [Integer]
|
4022
|
+
#
|
4023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Record AWS API Documentation
|
4024
|
+
#
|
4025
|
+
class Record < Struct.new(
|
4026
|
+
:record_index)
|
4027
|
+
SENSITIVE = []
|
4028
|
+
include Aws::Structure
|
4029
|
+
end
|
4030
|
+
|
3848
4031
|
# Provides information about settings that define whether one or more
|
3849
4032
|
# objects in an S3 bucket are replicated to S3 buckets for other AWS
|
3850
4033
|
# accounts and, if so, which accounts.
|
@@ -3911,7 +4094,7 @@ module Aws::Macie2
|
|
3911
4094
|
#
|
3912
4095
|
# @!attribute [rw] default_server_side_encryption
|
3913
4096
|
# Provides information about the server-side encryption settings for
|
3914
|
-
# an S3 bucket or object.
|
4097
|
+
# an S3 bucket or S3 object.
|
3915
4098
|
# @return [Types::ServerSideEncryption]
|
3916
4099
|
#
|
3917
4100
|
# @!attribute [rw] name
|
@@ -4087,7 +4270,8 @@ module Aws::Macie2
|
|
4087
4270
|
# @!attribute [rw] scoping
|
4088
4271
|
# Specifies one or more property- and tag-based conditions that refine
|
4089
4272
|
# the scope of a classification job. These conditions define criteria
|
4090
|
-
# that determine which objects a job analyzes.
|
4273
|
+
# that determine which objects a job analyzes. Exclude conditions take
|
4274
|
+
# precedence over include conditions.
|
4091
4275
|
# @return [Types::Scoping]
|
4092
4276
|
#
|
4093
4277
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3JobDefinition AWS API Documentation
|
@@ -4124,14 +4308,14 @@ module Aws::Macie2
|
|
4124
4308
|
#
|
4125
4309
|
# @!attribute [rw] server_side_encryption
|
4126
4310
|
# Provides information about the server-side encryption settings for
|
4127
|
-
# an S3 bucket or object.
|
4311
|
+
# an S3 bucket or S3 object.
|
4128
4312
|
# @return [Types::ServerSideEncryption]
|
4129
4313
|
#
|
4130
4314
|
# @!attribute [rw] size
|
4131
4315
|
# @return [Integer]
|
4132
4316
|
#
|
4133
4317
|
# @!attribute [rw] storage_class
|
4134
|
-
# The storage class of the S3
|
4318
|
+
# The storage class of the S3 object. Possible values are:
|
4135
4319
|
# @return [String]
|
4136
4320
|
#
|
4137
4321
|
# @!attribute [rw] tags
|
@@ -4164,7 +4348,8 @@ module Aws::Macie2
|
|
4164
4348
|
|
4165
4349
|
# Specifies one or more property- and tag-based conditions that refine
|
4166
4350
|
# the scope of a classification job. These conditions define criteria
|
4167
|
-
# that determine which objects a job analyzes.
|
4351
|
+
# that determine which objects a job analyzes. Exclude conditions take
|
4352
|
+
# precedence over include conditions.
|
4168
4353
|
#
|
4169
4354
|
# @note When making an API call, you may pass Scoping
|
4170
4355
|
# data as a hash:
|
@@ -4219,13 +4404,15 @@ module Aws::Macie2
|
|
4219
4404
|
# @!attribute [rw] excludes
|
4220
4405
|
# Specifies one or more property- and tag-based conditions that define
|
4221
4406
|
# criteria for including or excluding objects from a classification
|
4222
|
-
# job.
|
4407
|
+
# job. If you specify more than one condition, Amazon Macie uses an
|
4408
|
+
# AND operator to join the conditions.
|
4223
4409
|
# @return [Types::JobScopingBlock]
|
4224
4410
|
#
|
4225
4411
|
# @!attribute [rw] includes
|
4226
4412
|
# Specifies one or more property- and tag-based conditions that define
|
4227
4413
|
# criteria for including or excluding objects from a classification
|
4228
|
-
# job.
|
4414
|
+
# job. If you specify more than one condition, Amazon Macie uses an
|
4415
|
+
# AND operator to join the conditions.
|
4229
4416
|
# @return [Types::JobScopingBlock]
|
4230
4417
|
#
|
4231
4418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Scoping AWS API Documentation
|
@@ -4237,8 +4424,8 @@ module Aws::Macie2
|
|
4237
4424
|
include Aws::Structure
|
4238
4425
|
end
|
4239
4426
|
|
4240
|
-
# Provides information about the category,
|
4241
|
-
#
|
4427
|
+
# Provides information about the category, types, and occurrences of
|
4428
|
+
# sensitive data that produced a sensitive data finding.
|
4242
4429
|
#
|
4243
4430
|
# @!attribute [rw] category
|
4244
4431
|
# The category of sensitive data that was detected and produced the
|
@@ -4266,11 +4453,11 @@ module Aws::Macie2
|
|
4266
4453
|
end
|
4267
4454
|
|
4268
4455
|
# Provides information about the server-side encryption settings for an
|
4269
|
-
# S3 bucket or object.
|
4456
|
+
# S3 bucket or S3 object.
|
4270
4457
|
#
|
4271
4458
|
# @!attribute [rw] encryption_type
|
4272
|
-
# The type of server-side encryption that's used to encrypt
|
4273
|
-
# in
|
4459
|
+
# The type of server-side encryption that's used to encrypt an S3
|
4460
|
+
# object or objects in an S3 bucket. Valid values are:
|
4274
4461
|
# @return [String]
|
4275
4462
|
#
|
4276
4463
|
# @!attribute [rw] kms_master_key_id
|
@@ -4390,11 +4577,11 @@ module Aws::Macie2
|
|
4390
4577
|
include Aws::Structure
|
4391
4578
|
end
|
4392
4579
|
|
4393
|
-
# Provides the
|
4394
|
-
#
|
4580
|
+
# Provides the numerical and qualitative representations of a finding's
|
4581
|
+
# severity.
|
4395
4582
|
#
|
4396
4583
|
# @!attribute [rw] description
|
4397
|
-
# The
|
4584
|
+
# The qualitative representation of the finding's severity. Possible
|
4398
4585
|
# values are:
|
4399
4586
|
# @return [String]
|
4400
4587
|
#
|
@@ -4444,8 +4631,7 @@ module Aws::Macie2
|
|
4444
4631
|
include Aws::Structure
|
4445
4632
|
end
|
4446
4633
|
|
4447
|
-
# Specifies criteria for sorting the results of a request for
|
4448
|
-
# information about findings.
|
4634
|
+
# Specifies criteria for sorting the results of a request for findings.
|
4449
4635
|
#
|
4450
4636
|
# @note When making an API call, you may pass SortCriteria
|
4451
4637
|
# data as a hash:
|
@@ -4569,7 +4755,7 @@ module Aws::Macie2
|
|
4569
4755
|
include Aws::Structure
|
4570
4756
|
end
|
4571
4757
|
|
4572
|
-
# Specifies a tag key and value
|
4758
|
+
# Specifies a tag key or tag key and value pair to use in a tag-based
|
4573
4759
|
# condition for a classification job.
|
4574
4760
|
#
|
4575
4761
|
# @note When making an API call, you may pass TagValuePair
|
@@ -4715,14 +4901,14 @@ module Aws::Macie2
|
|
4715
4901
|
#
|
4716
4902
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
4717
4903
|
|
4718
|
-
#
|
4904
|
+
# Changes the status of a classification job.
|
4719
4905
|
#
|
4720
4906
|
# @note When making an API call, you may pass UpdateClassificationJobRequest
|
4721
4907
|
# data as a hash:
|
4722
4908
|
#
|
4723
4909
|
# {
|
4724
4910
|
# job_id: "__string", # required
|
4725
|
-
# job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
|
4911
|
+
# job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
|
4726
4912
|
# }
|
4727
4913
|
#
|
4728
4914
|
# @!attribute [rw] job_id
|
@@ -5135,6 +5321,29 @@ module Aws::Macie2
|
|
5135
5321
|
include Aws::Structure
|
5136
5322
|
end
|
5137
5323
|
|
5324
|
+
# Provides information about when a classification job was paused and
|
5325
|
+
# when it will expire and be cancelled if it isn’t resumed. This object
|
5326
|
+
# is present only if a job’s current status (jobStatus) is USER\_PAUSED.
|
5327
|
+
#
|
5328
|
+
# @!attribute [rw] job_expires_at
|
5329
|
+
# @return [Time]
|
5330
|
+
#
|
5331
|
+
# @!attribute [rw] job_imminent_expiration_health_event_arn
|
5332
|
+
# @return [String]
|
5333
|
+
#
|
5334
|
+
# @!attribute [rw] job_paused_at
|
5335
|
+
# @return [Time]
|
5336
|
+
#
|
5337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UserPausedDetails AWS API Documentation
|
5338
|
+
#
|
5339
|
+
class UserPausedDetails < Struct.new(
|
5340
|
+
:job_expires_at,
|
5341
|
+
:job_imminent_expiration_health_event_arn,
|
5342
|
+
:job_paused_at)
|
5343
|
+
SENSITIVE = []
|
5344
|
+
include Aws::Structure
|
5345
|
+
end
|
5346
|
+
|
5138
5347
|
# Provides information about an error that occurred due to a syntax
|
5139
5348
|
# error in a request.
|
5140
5349
|
#
|
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.
|
4
|
+
version: 1.13.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-
|
11
|
+
date: 2020-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|