aws-sdk-macie2 1.9.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dec134dac1fb7dec50530e4dd6046588a9a3807668a2c7fe2f985f50dda96664
4
- data.tar.gz: 4dd65410c0d2f17812e7c81e0a4cd4dc88d9d753fdb82b3aa3de1bfca113524f
3
+ metadata.gz: '08472611350a28f1c844e93e383cd1d06a2a35f98ac320cf775ab9f69ce2a4da'
4
+ data.tar.gz: e9f6a5ff506dddc69b26f7a32b988cdbecde33771c17b6b493e74e670e025a83
5
5
  SHA512:
6
- metadata.gz: 7bd05efe5d94d94ff7e4140f2dcd3d8e8aaa9bcea896827de8d61e0e05ba28ce2be006b1d18ddc7bd3ebfb8d326a7aa48746b122db60227aa47eda65e31a75f6
7
- data.tar.gz: b0c00e12cb847e937a1a9052de0b9afd1c4979fd182c2a73f88543c79e25da2f724cdde2471534ec6f4426c9d9312629aaac03a58d0e8554843fdf5babb3d348
6
+ metadata.gz: 1ccc59fe16e236b58ac6861c36d657f7a4c8264dee29cd9821bc04b01a9b9d3e0e80a57ccf186341bbdad8f61c0b8ebf51f0d8f643d996a6ea4834d814b56f1e
7
+ data.tar.gz: 963bd725cc3e09b8e50032c99a3076d8b6fbb0792d69d49a153bbc23f4ebe41a4975bf274d0659a7a305c8cf65645aa7c1a4ac86d7cad00bc7ff9c3de1a1a509
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -47,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
47
48
  # @!group service
48
49
  module Aws::Macie2
49
50
 
50
- GEM_VERSION = '1.9.0'
51
+ GEM_VERSION = '1.14.0'
51
52
 
52
53
  end
@@ -919,13 +919,14 @@ module Aws::Macie2
919
919
  # resp.buckets[0].bucket_created_at #=> Time
920
920
  # resp.buckets[0].bucket_name #=> String
921
921
  # resp.buckets[0].classifiable_object_count #=> Integer
922
+ # resp.buckets[0].classifiable_size_in_bytes #=> Integer
922
923
  # resp.buckets[0].last_updated #=> Time
923
924
  # resp.buckets[0].object_count #=> Integer
924
925
  # resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
925
926
  # resp.buckets[0].object_count_by_encryption_type.kms_managed #=> Integer
926
927
  # resp.buckets[0].object_count_by_encryption_type.s3_managed #=> Integer
927
928
  # resp.buckets[0].object_count_by_encryption_type.unencrypted #=> Integer
928
- # resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC"
929
+ # resp.buckets[0].public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
929
930
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
930
931
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
931
932
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
@@ -943,12 +944,18 @@ module Aws::Macie2
943
944
  # resp.buckets[0].replication_details.replicated_externally #=> Boolean
944
945
  # resp.buckets[0].replication_details.replication_accounts #=> Array
945
946
  # resp.buckets[0].replication_details.replication_accounts[0] #=> String
946
- # resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED"
947
+ # resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED", "UNKNOWN"
947
948
  # resp.buckets[0].size_in_bytes #=> Integer
948
949
  # resp.buckets[0].size_in_bytes_compressed #=> Integer
949
950
  # resp.buckets[0].tags #=> Array
950
951
  # resp.buckets[0].tags[0].key #=> String
951
952
  # resp.buckets[0].tags[0].value #=> String
953
+ # resp.buckets[0].unclassifiable_object_count.file_type #=> Integer
954
+ # resp.buckets[0].unclassifiable_object_count.storage_class #=> Integer
955
+ # resp.buckets[0].unclassifiable_object_count.total #=> Integer
956
+ # resp.buckets[0].unclassifiable_object_size_in_bytes.file_type #=> Integer
957
+ # resp.buckets[0].unclassifiable_object_size_in_bytes.storage_class #=> Integer
958
+ # resp.buckets[0].unclassifiable_object_size_in_bytes.total #=> Integer
952
959
  # resp.buckets[0].versioning #=> Boolean
953
960
  # resp.next_token #=> String
954
961
  #
@@ -961,8 +968,7 @@ module Aws::Macie2
961
968
  req.send_request(options)
962
969
  end
963
970
 
964
- # Retrieves information about the status and settings for a
965
- # classification job.
971
+ # Retrieves the status and settings for a classification job.
966
972
  #
967
973
  # @option params [required, String] :job_id
968
974
  #
@@ -984,6 +990,7 @@ module Aws::Macie2
984
990
  # * {Types::DescribeClassificationJobResponse#schedule_frequency #schedule_frequency} => Types::JobScheduleFrequency
985
991
  # * {Types::DescribeClassificationJobResponse#statistics #statistics} => Types::Statistics
986
992
  # * {Types::DescribeClassificationJobResponse#tags #tags} => Hash<String,String>
993
+ # * {Types::DescribeClassificationJobResponse#user_paused_details #user_paused_details} => Types::UserPausedDetails
987
994
  #
988
995
  # @example Request syntax with placeholder values
989
996
  #
@@ -1001,7 +1008,7 @@ module Aws::Macie2
1001
1008
  # resp.initial_run #=> Boolean
1002
1009
  # resp.job_arn #=> String
1003
1010
  # resp.job_id #=> String
1004
- # 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"
1005
1012
  # resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1006
1013
  # resp.last_run_time #=> Time
1007
1014
  # resp.name #=> String
@@ -1038,6 +1045,9 @@ module Aws::Macie2
1038
1045
  # resp.statistics.number_of_runs #=> Float
1039
1046
  # resp.tags #=> Hash
1040
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
1041
1051
  #
1042
1052
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob AWS API Documentation
1043
1053
  #
@@ -1048,8 +1058,8 @@ module Aws::Macie2
1048
1058
  req.send_request(options)
1049
1059
  end
1050
1060
 
1051
- # Retrieves information about the Amazon Macie configuration settings
1052
- # for an AWS organization.
1061
+ # Retrieves the Amazon Macie configuration settings for an AWS
1062
+ # organization.
1053
1063
  #
1054
1064
  # @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1055
1065
  #
@@ -1084,8 +1094,8 @@ module Aws::Macie2
1084
1094
  req.send_request(options)
1085
1095
  end
1086
1096
 
1087
- # Disables an account as a delegated administrator of Amazon Macie for
1088
- # an AWS organization.
1097
+ # Disables an account as the delegated Amazon Macie administrator
1098
+ # account for an AWS organization.
1089
1099
  #
1090
1100
  # @option params [required, String] :admin_account_id
1091
1101
  #
@@ -1175,8 +1185,8 @@ module Aws::Macie2
1175
1185
  req.send_request(options)
1176
1186
  end
1177
1187
 
1178
- # Enables an account as a delegated administrator of Amazon Macie for an
1179
- # AWS organization.
1188
+ # Designates an account as the delegated Amazon Macie administrator
1189
+ # account for an AWS organization.
1180
1190
  #
1181
1191
  # @option params [required, String] :admin_account_id
1182
1192
  #
@@ -1214,10 +1224,13 @@ module Aws::Macie2
1214
1224
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
1215
1225
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
1216
1226
  # * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
1227
+ # * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
1217
1228
  # * {Types::GetBucketStatisticsResponse#last_updated #last_updated} => Time
1218
1229
  # * {Types::GetBucketStatisticsResponse#object_count #object_count} => Integer
1219
1230
  # * {Types::GetBucketStatisticsResponse#size_in_bytes #size_in_bytes} => Integer
1220
1231
  # * {Types::GetBucketStatisticsResponse#size_in_bytes_compressed #size_in_bytes_compressed} => Integer
1232
+ # * {Types::GetBucketStatisticsResponse#unclassifiable_object_count #unclassifiable_object_count} => Types::ObjectLevelStatistics
1233
+ # * {Types::GetBucketStatisticsResponse#unclassifiable_object_size_in_bytes #unclassifiable_object_size_in_bytes} => Types::ObjectLevelStatistics
1221
1234
  #
1222
1235
  # @example Request syntax with placeholder values
1223
1236
  #
@@ -1231,17 +1244,26 @@ module Aws::Macie2
1231
1244
  # resp.bucket_count_by_effective_permission.publicly_accessible #=> Integer
1232
1245
  # resp.bucket_count_by_effective_permission.publicly_readable #=> Integer
1233
1246
  # resp.bucket_count_by_effective_permission.publicly_writable #=> Integer
1247
+ # resp.bucket_count_by_effective_permission.unknown #=> Integer
1234
1248
  # resp.bucket_count_by_encryption_type.kms_managed #=> Integer
1235
1249
  # resp.bucket_count_by_encryption_type.s3_managed #=> Integer
1236
1250
  # resp.bucket_count_by_encryption_type.unencrypted #=> Integer
1237
1251
  # resp.bucket_count_by_shared_access_type.external #=> Integer
1238
1252
  # resp.bucket_count_by_shared_access_type.internal #=> Integer
1239
1253
  # resp.bucket_count_by_shared_access_type.not_shared #=> Integer
1254
+ # resp.bucket_count_by_shared_access_type.unknown #=> Integer
1240
1255
  # resp.classifiable_object_count #=> Integer
1256
+ # resp.classifiable_size_in_bytes #=> Integer
1241
1257
  # resp.last_updated #=> Time
1242
1258
  # resp.object_count #=> Integer
1243
1259
  # resp.size_in_bytes #=> Integer
1244
1260
  # resp.size_in_bytes_compressed #=> Integer
1261
+ # resp.unclassifiable_object_count.file_type #=> Integer
1262
+ # resp.unclassifiable_object_count.storage_class #=> Integer
1263
+ # resp.unclassifiable_object_count.total #=> Integer
1264
+ # resp.unclassifiable_object_size_in_bytes.file_type #=> Integer
1265
+ # resp.unclassifiable_object_size_in_bytes.storage_class #=> Integer
1266
+ # resp.unclassifiable_object_size_in_bytes.total #=> Integer
1245
1267
  #
1246
1268
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics AWS API Documentation
1247
1269
  #
@@ -1274,8 +1296,8 @@ module Aws::Macie2
1274
1296
  req.send_request(options)
1275
1297
  end
1276
1298
 
1277
- # Retrieves information about the criteria and other settings for a
1278
- # custom data identifier.
1299
+ # Retrieves the criteria and other settings for a custom data
1300
+ # identifier.
1279
1301
  #
1280
1302
  # @option params [required, String] :id
1281
1303
  #
@@ -1381,13 +1403,12 @@ module Aws::Macie2
1381
1403
  req.send_request(options)
1382
1404
  end
1383
1405
 
1384
- # Retrieves information about one or more findings.
1406
+ # Retrieves the details of one or more findings.
1385
1407
  #
1386
1408
  # @option params [required, Array<String>] :finding_ids
1387
1409
  #
1388
1410
  # @option params [Types::SortCriteria] :sort_criteria
1389
- # Specifies criteria for sorting the results of a request for
1390
- # information about findings.
1411
+ # Specifies criteria for sorting the results of a request for findings.
1391
1412
  #
1392
1413
  # @return [Types::GetFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1393
1414
  #
@@ -1412,16 +1433,63 @@ module Aws::Macie2
1412
1433
  # resp.findings[0].classification_details.detailed_results_location #=> String
1413
1434
  # resp.findings[0].classification_details.job_arn #=> String
1414
1435
  # resp.findings[0].classification_details.job_id #=> String
1436
+ # resp.findings[0].classification_details.result.additional_occurrences #=> Boolean
1415
1437
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections #=> Array
1416
1438
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].arn #=> String
1417
1439
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].count #=> Integer
1418
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
1419
1464
  # resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
1420
1465
  # resp.findings[0].classification_details.result.mime_type #=> String
1421
1466
  # resp.findings[0].classification_details.result.sensitive_data #=> Array
1422
1467
  # resp.findings[0].classification_details.result.sensitive_data[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
1423
1468
  # resp.findings[0].classification_details.result.sensitive_data[0].detections #=> Array
1424
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
1425
1493
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
1426
1494
  # resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
1427
1495
  # resp.findings[0].classification_details.result.size_classified #=> Integer
@@ -1489,7 +1557,7 @@ module Aws::Macie2
1489
1557
  # resp.findings[0].resources_affected.s3_bucket.name #=> String
1490
1558
  # resp.findings[0].resources_affected.s3_bucket.owner.display_name #=> String
1491
1559
  # resp.findings[0].resources_affected.s3_bucket.owner.id #=> String
1492
- # resp.findings[0].resources_affected.s3_bucket.public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC"
1560
+ # resp.findings[0].resources_affected.s3_bucket.public_access.effective_permission #=> String, one of "PUBLIC", "NOT_PUBLIC", "UNKNOWN"
1493
1561
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
1494
1562
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
1495
1563
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
@@ -1537,8 +1605,7 @@ module Aws::Macie2
1537
1605
  req.send_request(options)
1538
1606
  end
1539
1607
 
1540
- # Retrieves information about the criteria and other settings for a
1541
- # findings filter.
1608
+ # Retrieves the criteria and other settings for a findings filter.
1542
1609
  #
1543
1610
  # @option params [required, String] :id
1544
1611
  #
@@ -1608,8 +1675,8 @@ module Aws::Macie2
1608
1675
  req.send_request(options)
1609
1676
  end
1610
1677
 
1611
- # Retrieves information about the current status and configuration
1612
- # settings for an Amazon Macie account.
1678
+ # Retrieves the current status and configuration settings for an Amazon
1679
+ # Macie account.
1613
1680
  #
1614
1681
  # @return [Types::GetMacieSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1615
1682
  #
@@ -1843,9 +1910,12 @@ module Aws::Macie2
1843
1910
  # resp.items[0].bucket_definitions[0].buckets[0] #=> String
1844
1911
  # resp.items[0].created_at #=> Time
1845
1912
  # resp.items[0].job_id #=> String
1846
- # 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"
1847
1914
  # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1848
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
1849
1919
  # resp.next_token #=> String
1850
1920
  #
1851
1921
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
@@ -1908,8 +1978,7 @@ module Aws::Macie2
1908
1978
  # @option params [String] :next_token
1909
1979
  #
1910
1980
  # @option params [Types::SortCriteria] :sort_criteria
1911
- # Specifies criteria for sorting the results of a request for
1912
- # information about findings.
1981
+ # Specifies criteria for sorting the results of a request for findings.
1913
1982
  #
1914
1983
  # @return [Types::ListFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1915
1984
  #
@@ -2083,8 +2152,8 @@ module Aws::Macie2
2083
2152
  req.send_request(options)
2084
2153
  end
2085
2154
 
2086
- # Retrieves information about the account that's designated as the
2087
- # delegated administrator of Amazon Macie for an AWS organization.
2155
+ # Retrieves information about the delegated Amazon Macie administrator
2156
+ # account for an AWS organization.
2088
2157
  #
2089
2158
  # @option params [Integer] :max_results
2090
2159
  #
@@ -2284,12 +2353,12 @@ module Aws::Macie2
2284
2353
  req.send_request(options)
2285
2354
  end
2286
2355
 
2287
- # Cancels a classification job.
2356
+ # Changes the status of a classification job.
2288
2357
  #
2289
2358
  # @option params [required, String] :job_id
2290
2359
  #
2291
2360
  # @option params [required, String] :job_status
2292
- # The current status of a classification job. Possible values are:
2361
+ # The status of a classification job. Possible values are:
2293
2362
  #
2294
2363
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2295
2364
  #
@@ -2297,7 +2366,7 @@ module Aws::Macie2
2297
2366
  #
2298
2367
  # resp = client.update_classification_job({
2299
2368
  # job_id: "__string", # required
2300
- # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
2369
+ # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
2301
2370
  # })
2302
2371
  #
2303
2372
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob AWS API Documentation
@@ -2425,7 +2494,8 @@ module Aws::Macie2
2425
2494
  req.send_request(options)
2426
2495
  end
2427
2496
 
2428
- # Updates Amazon Macie configuration settings for an AWS organization.
2497
+ # Updates the Amazon Macie configuration settings for an AWS
2498
+ # organization.
2429
2499
  #
2430
2500
  # @option params [required, Boolean] :auto_enable
2431
2501
  #
@@ -2459,7 +2529,7 @@ module Aws::Macie2
2459
2529
  params: params,
2460
2530
  config: config)
2461
2531
  context[:gem_name] = 'aws-sdk-macie2'
2462
- context[:gem_version] = '1.9.0'
2532
+ context[:gem_version] = '1.14.0'
2463
2533
  Seahorse::Client::Request.new(handlers, context)
2464
2534
  end
2465
2535
 
@@ -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')
@@ -183,10 +185,18 @@ module Aws::Macie2
183
185
  Member = Shapes::StructureShape.new(name: 'Member')
184
186
  MonthlySchedule = Shapes::StructureShape.new(name: 'MonthlySchedule')
185
187
  ObjectCountByEncryptionType = Shapes::StructureShape.new(name: 'ObjectCountByEncryptionType')
188
+ ObjectLevelStatistics = Shapes::StructureShape.new(name: 'ObjectLevelStatistics')
189
+ Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
186
190
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
191
+ Page = Shapes::StructureShape.new(name: 'Page')
192
+ Pages = Shapes::ListShape.new(name: 'Pages')
187
193
  PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
188
194
  PutClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'PutClassificationExportConfigurationRequest')
189
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')
190
200
  RelationshipStatus = Shapes::StringShape.new(name: 'RelationshipStatus')
191
201
  ReplicationDetails = Shapes::StructureShape.new(name: 'ReplicationDetails')
192
202
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -250,6 +260,7 @@ module Aws::Macie2
250
260
  UserIdentity = Shapes::StructureShape.new(name: 'UserIdentity')
251
261
  UserIdentityRoot = Shapes::StructureShape.new(name: 'UserIdentityRoot')
252
262
  UserIdentityType = Shapes::StringShape.new(name: 'UserIdentityType')
263
+ UserPausedDetails = Shapes::StructureShape.new(name: 'UserPausedDetails')
253
264
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
254
265
  WeeklySchedule = Shapes::StructureShape.new(name: 'WeeklySchedule')
255
266
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
@@ -350,6 +361,7 @@ module Aws::Macie2
350
361
  BucketCountByEffectivePermission.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyAccessible"))
351
362
  BucketCountByEffectivePermission.add_member(:publicly_readable, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyReadable"))
352
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"))
353
365
  BucketCountByEffectivePermission.struct_class = Types::BucketCountByEffectivePermission
354
366
 
355
367
  BucketCountByEncryptionType.add_member(:kms_managed, Shapes::ShapeRef.new(shape: __long, location_name: "kmsManaged"))
@@ -360,6 +372,7 @@ module Aws::Macie2
360
372
  BucketCountBySharedAccessType.add_member(:external, Shapes::ShapeRef.new(shape: __long, location_name: "external"))
361
373
  BucketCountBySharedAccessType.add_member(:internal, Shapes::ShapeRef.new(shape: __long, location_name: "internal"))
362
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"))
363
376
  BucketCountBySharedAccessType.struct_class = Types::BucketCountBySharedAccessType
364
377
 
365
378
  BucketCriteria.key = Shapes::ShapeRef.new(shape: __string)
@@ -384,6 +397,7 @@ module Aws::Macie2
384
397
  BucketMetadata.add_member(:bucket_created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "bucketCreatedAt"))
385
398
  BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
386
399
  BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
400
+ BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
387
401
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
388
402
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
389
403
  BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
@@ -394,6 +408,8 @@ module Aws::Macie2
394
408
  BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
395
409
  BucketMetadata.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
396
410
  BucketMetadata.add_member(:tags, Shapes::ShapeRef.new(shape: __listOfKeyValuePair, location_name: "tags"))
411
+ BucketMetadata.add_member(:unclassifiable_object_count, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectCount"))
412
+ BucketMetadata.add_member(:unclassifiable_object_size_in_bytes, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectSizeInBytes"))
397
413
  BucketMetadata.add_member(:versioning, Shapes::ShapeRef.new(shape: __boolean, location_name: "versioning"))
398
414
  BucketMetadata.struct_class = Types::BucketMetadata
399
415
 
@@ -413,6 +429,14 @@ module Aws::Macie2
413
429
  BucketSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
414
430
  BucketSortCriteria.struct_class = Types::BucketSortCriteria
415
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
+
416
440
  ClassificationDetails.add_member(:detailed_results_location, Shapes::ShapeRef.new(shape: __string, location_name: "detailedResultsLocation"))
417
441
  ClassificationDetails.add_member(:job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobArn"))
418
442
  ClassificationDetails.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
@@ -422,6 +446,7 @@ module Aws::Macie2
422
446
  ClassificationExportConfiguration.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
423
447
  ClassificationExportConfiguration.struct_class = Types::ClassificationExportConfiguration
424
448
 
449
+ ClassificationResult.add_member(:additional_occurrences, Shapes::ShapeRef.new(shape: __boolean, location_name: "additionalOccurrences"))
425
450
  ClassificationResult.add_member(:custom_data_identifiers, Shapes::ShapeRef.new(shape: CustomDataIdentifiers, location_name: "customDataIdentifiers"))
426
451
  ClassificationResult.add_member(:mime_type, Shapes::ShapeRef.new(shape: __string, location_name: "mimeType"))
427
452
  ClassificationResult.add_member(:sensitive_data, Shapes::ShapeRef.new(shape: SensitiveData, location_name: "sensitiveData"))
@@ -523,6 +548,7 @@ module Aws::Macie2
523
548
  CustomDetection.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
524
549
  CustomDetection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
525
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"))
526
552
  CustomDetection.struct_class = Types::CustomDetection
527
553
 
528
554
  CustomDetections.member = Shapes::ShapeRef.new(shape: CustomDetection)
@@ -536,6 +562,7 @@ module Aws::Macie2
536
562
  DeclineInvitationsResponse.struct_class = Types::DeclineInvitationsResponse
537
563
 
538
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"))
539
566
  DefaultDetection.add_member(:type, Shapes::ShapeRef.new(shape: __string, location_name: "type"))
540
567
  DefaultDetection.struct_class = Types::DefaultDetection
541
568
 
@@ -591,6 +618,7 @@ module Aws::Macie2
591
618
  DescribeClassificationJobResponse.add_member(:schedule_frequency, Shapes::ShapeRef.new(shape: JobScheduleFrequency, location_name: "scheduleFrequency"))
592
619
  DescribeClassificationJobResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: Statistics, location_name: "statistics"))
593
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"))
594
622
  DescribeClassificationJobResponse.struct_class = Types::DescribeClassificationJobResponse
595
623
 
596
624
  DescribeOrganizationConfigurationRequest.struct_class = Types::DescribeOrganizationConfigurationRequest
@@ -693,10 +721,13 @@ module Aws::Macie2
693
721
  GetBucketStatisticsResponse.add_member(:bucket_count_by_encryption_type, Shapes::ShapeRef.new(shape: BucketCountByEncryptionType, location_name: "bucketCountByEncryptionType"))
694
722
  GetBucketStatisticsResponse.add_member(:bucket_count_by_shared_access_type, Shapes::ShapeRef.new(shape: BucketCountBySharedAccessType, location_name: "bucketCountBySharedAccessType"))
695
723
  GetBucketStatisticsResponse.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
724
+ GetBucketStatisticsResponse.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
696
725
  GetBucketStatisticsResponse.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
697
726
  GetBucketStatisticsResponse.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
698
727
  GetBucketStatisticsResponse.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
699
728
  GetBucketStatisticsResponse.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
729
+ GetBucketStatisticsResponse.add_member(:unclassifiable_object_count, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectCount"))
730
+ GetBucketStatisticsResponse.add_member(:unclassifiable_object_size_in_bytes, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectSizeInBytes"))
700
731
  GetBucketStatisticsResponse.struct_class = Types::GetBucketStatisticsResponse
701
732
 
702
733
  GetClassificationExportConfigurationRequest.struct_class = Types::GetClassificationExportConfigurationRequest
@@ -857,6 +888,7 @@ module Aws::Macie2
857
888
  JobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
858
889
  JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
859
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"))
860
892
  JobSummary.struct_class = Types::JobSummary
861
893
 
862
894
  KeyValuePair.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "key"))
@@ -964,6 +996,25 @@ module Aws::Macie2
964
996
  ObjectCountByEncryptionType.add_member(:unencrypted, Shapes::ShapeRef.new(shape: __long, location_name: "unencrypted"))
965
997
  ObjectCountByEncryptionType.struct_class = Types::ObjectCountByEncryptionType
966
998
 
999
+ ObjectLevelStatistics.add_member(:file_type, Shapes::ShapeRef.new(shape: __long, location_name: "fileType"))
1000
+ ObjectLevelStatistics.add_member(:storage_class, Shapes::ShapeRef.new(shape: __long, location_name: "storageClass"))
1001
+ ObjectLevelStatistics.add_member(:total, Shapes::ShapeRef.new(shape: __long, location_name: "total"))
1002
+ ObjectLevelStatistics.struct_class = Types::ObjectLevelStatistics
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
+
967
1018
  PolicyDetails.add_member(:action, Shapes::ShapeRef.new(shape: FindingAction, location_name: "action"))
968
1019
  PolicyDetails.add_member(:actor, Shapes::ShapeRef.new(shape: FindingActor, location_name: "actor"))
969
1020
  PolicyDetails.struct_class = Types::PolicyDetails
@@ -974,6 +1025,18 @@ module Aws::Macie2
974
1025
  PutClassificationExportConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ClassificationExportConfiguration, location_name: "configuration"))
975
1026
  PutClassificationExportConfigurationResponse.struct_class = Types::PutClassificationExportConfigurationResponse
976
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
+
977
1040
  ReplicationDetails.add_member(:replicated, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicated"))
978
1041
  ReplicationDetails.add_member(:replicated_externally, Shapes::ShapeRef.new(shape: __boolean, location_name: "replicatedExternally"))
979
1042
  ReplicationDetails.add_member(:replication_accounts, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "replicationAccounts"))
@@ -1198,6 +1261,11 @@ module Aws::Macie2
1198
1261
  UserIdentityRoot.add_member(:principal_id, Shapes::ShapeRef.new(shape: __string, location_name: "principalId"))
1199
1262
  UserIdentityRoot.struct_class = Types::UserIdentityRoot
1200
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
+
1201
1269
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1202
1270
  ValidationException.struct_class = Types::ValidationException
1203
1271