aws-sdk-macie2 1.8.0 → 1.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98186ae28d2dc91792fdebe275020ef48a64aa77f531d602ffee9a6e8debfbdf
4
- data.tar.gz: 71dda0e3dadba654b59ad44a8b27598c63c0d5f16680f40ba36f2d486c822ec9
3
+ metadata.gz: a56a50543d74ace8c73c8cae1b6cd35de42df77aa683ec2f9222ee04fae38e91
4
+ data.tar.gz: 59039616a9fe749b66baec4a9257c423d49afc277e60c73e451965ee5d68cc09
5
5
  SHA512:
6
- metadata.gz: '016238587e761be991befe495b5dff7bc99b642520fe89e0f419df7b266c22296a55fda6db5c06dcef2cd11506f9474f3c1e81e38bcc39adde37bd84efbe0017'
7
- data.tar.gz: 02d7f1649df590359c26c468e00f70c6539443b10d9dda87593b4bd325283f526e70b8a158014552c3b31dbba903153285c5af10f294c3a0ba13225e11a3f68d
6
+ metadata.gz: 43830f57dd2cc682b3cf8be84269a606a13dd0ca2c05c66c520ddd3bfbfe68090169fb3581d4af0a31a7570e29cc11b39ecfb8146407b2e9ed092359f8f6b7c9
7
+ data.tar.gz: 6819a7f5ccb44ac2c7418e827f24cd05a2095c9c3db08436871881e1b4d8e764ffe9639b77d62c3e69a0ecf96f398c666fca08406ea00b917e0691d45f78041a
@@ -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
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-macie2/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::Macie2
49
50
 
50
- GEM_VERSION = '1.8.0'
51
+ GEM_VERSION = '1.13.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::Macie2
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::Macie2
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -904,13 +919,14 @@ module Aws::Macie2
904
919
  # resp.buckets[0].bucket_created_at #=> Time
905
920
  # resp.buckets[0].bucket_name #=> String
906
921
  # resp.buckets[0].classifiable_object_count #=> Integer
922
+ # resp.buckets[0].classifiable_size_in_bytes #=> Integer
907
923
  # resp.buckets[0].last_updated #=> Time
908
924
  # resp.buckets[0].object_count #=> Integer
909
925
  # resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
910
926
  # resp.buckets[0].object_count_by_encryption_type.kms_managed #=> Integer
911
927
  # resp.buckets[0].object_count_by_encryption_type.s3_managed #=> Integer
912
928
  # resp.buckets[0].object_count_by_encryption_type.unencrypted #=> Integer
913
- # 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"
914
930
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
915
931
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
916
932
  # resp.buckets[0].public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
@@ -928,12 +944,18 @@ module Aws::Macie2
928
944
  # resp.buckets[0].replication_details.replicated_externally #=> Boolean
929
945
  # resp.buckets[0].replication_details.replication_accounts #=> Array
930
946
  # resp.buckets[0].replication_details.replication_accounts[0] #=> String
931
- # 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"
932
948
  # resp.buckets[0].size_in_bytes #=> Integer
933
949
  # resp.buckets[0].size_in_bytes_compressed #=> Integer
934
950
  # resp.buckets[0].tags #=> Array
935
951
  # resp.buckets[0].tags[0].key #=> String
936
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
937
959
  # resp.buckets[0].versioning #=> Boolean
938
960
  # resp.next_token #=> String
939
961
  #
@@ -946,8 +968,7 @@ module Aws::Macie2
946
968
  req.send_request(options)
947
969
  end
948
970
 
949
- # Retrieves information about the status and settings for a
950
- # classification job.
971
+ # Retrieves the status and settings for a classification job.
951
972
  #
952
973
  # @option params [required, String] :job_id
953
974
  #
@@ -969,6 +990,7 @@ module Aws::Macie2
969
990
  # * {Types::DescribeClassificationJobResponse#schedule_frequency #schedule_frequency} => Types::JobScheduleFrequency
970
991
  # * {Types::DescribeClassificationJobResponse#statistics #statistics} => Types::Statistics
971
992
  # * {Types::DescribeClassificationJobResponse#tags #tags} => Hash<String,String>
993
+ # * {Types::DescribeClassificationJobResponse#user_paused_details #user_paused_details} => Types::UserPausedDetails
972
994
  #
973
995
  # @example Request syntax with placeholder values
974
996
  #
@@ -986,7 +1008,7 @@ module Aws::Macie2
986
1008
  # resp.initial_run #=> Boolean
987
1009
  # resp.job_arn #=> String
988
1010
  # resp.job_id #=> String
989
- # 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"
990
1012
  # resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
991
1013
  # resp.last_run_time #=> Time
992
1014
  # resp.name #=> String
@@ -1023,6 +1045,9 @@ module Aws::Macie2
1023
1045
  # resp.statistics.number_of_runs #=> Float
1024
1046
  # resp.tags #=> Hash
1025
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
1026
1051
  #
1027
1052
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJob AWS API Documentation
1028
1053
  #
@@ -1033,8 +1058,8 @@ module Aws::Macie2
1033
1058
  req.send_request(options)
1034
1059
  end
1035
1060
 
1036
- # Retrieves information about the Amazon Macie configuration settings
1037
- # for an AWS organization.
1061
+ # Retrieves the Amazon Macie configuration settings for an AWS
1062
+ # organization.
1038
1063
  #
1039
1064
  # @return [Types::DescribeOrganizationConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1040
1065
  #
@@ -1199,10 +1224,13 @@ module Aws::Macie2
1199
1224
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_encryption_type #bucket_count_by_encryption_type} => Types::BucketCountByEncryptionType
1200
1225
  # * {Types::GetBucketStatisticsResponse#bucket_count_by_shared_access_type #bucket_count_by_shared_access_type} => Types::BucketCountBySharedAccessType
1201
1226
  # * {Types::GetBucketStatisticsResponse#classifiable_object_count #classifiable_object_count} => Integer
1227
+ # * {Types::GetBucketStatisticsResponse#classifiable_size_in_bytes #classifiable_size_in_bytes} => Integer
1202
1228
  # * {Types::GetBucketStatisticsResponse#last_updated #last_updated} => Time
1203
1229
  # * {Types::GetBucketStatisticsResponse#object_count #object_count} => Integer
1204
1230
  # * {Types::GetBucketStatisticsResponse#size_in_bytes #size_in_bytes} => Integer
1205
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
1206
1234
  #
1207
1235
  # @example Request syntax with placeholder values
1208
1236
  #
@@ -1216,17 +1244,26 @@ module Aws::Macie2
1216
1244
  # resp.bucket_count_by_effective_permission.publicly_accessible #=> Integer
1217
1245
  # resp.bucket_count_by_effective_permission.publicly_readable #=> Integer
1218
1246
  # resp.bucket_count_by_effective_permission.publicly_writable #=> Integer
1247
+ # resp.bucket_count_by_effective_permission.unknown #=> Integer
1219
1248
  # resp.bucket_count_by_encryption_type.kms_managed #=> Integer
1220
1249
  # resp.bucket_count_by_encryption_type.s3_managed #=> Integer
1221
1250
  # resp.bucket_count_by_encryption_type.unencrypted #=> Integer
1222
1251
  # resp.bucket_count_by_shared_access_type.external #=> Integer
1223
1252
  # resp.bucket_count_by_shared_access_type.internal #=> Integer
1224
1253
  # resp.bucket_count_by_shared_access_type.not_shared #=> Integer
1254
+ # resp.bucket_count_by_shared_access_type.unknown #=> Integer
1225
1255
  # resp.classifiable_object_count #=> Integer
1256
+ # resp.classifiable_size_in_bytes #=> Integer
1226
1257
  # resp.last_updated #=> Time
1227
1258
  # resp.object_count #=> Integer
1228
1259
  # resp.size_in_bytes #=> Integer
1229
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
1230
1267
  #
1231
1268
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatistics AWS API Documentation
1232
1269
  #
@@ -1259,8 +1296,8 @@ module Aws::Macie2
1259
1296
  req.send_request(options)
1260
1297
  end
1261
1298
 
1262
- # Retrieves information about the criteria and other settings for a
1263
- # custom data identifier.
1299
+ # Retrieves the criteria and other settings for a custom data
1300
+ # identifier.
1264
1301
  #
1265
1302
  # @option params [required, String] :id
1266
1303
  #
@@ -1366,13 +1403,12 @@ module Aws::Macie2
1366
1403
  req.send_request(options)
1367
1404
  end
1368
1405
 
1369
- # Retrieves information about one or more findings.
1406
+ # Retrieves the details of one or more findings.
1370
1407
  #
1371
1408
  # @option params [required, Array<String>] :finding_ids
1372
1409
  #
1373
1410
  # @option params [Types::SortCriteria] :sort_criteria
1374
- # Specifies criteria for sorting the results of a request for
1375
- # information about findings.
1411
+ # Specifies criteria for sorting the results of a request for findings.
1376
1412
  #
1377
1413
  # @return [Types::GetFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1378
1414
  #
@@ -1397,16 +1433,63 @@ module Aws::Macie2
1397
1433
  # resp.findings[0].classification_details.detailed_results_location #=> String
1398
1434
  # resp.findings[0].classification_details.job_arn #=> String
1399
1435
  # resp.findings[0].classification_details.job_id #=> String
1436
+ # resp.findings[0].classification_details.result.additional_occurrences #=> Boolean
1400
1437
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections #=> Array
1401
1438
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].arn #=> String
1402
1439
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].count #=> Integer
1403
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
1404
1464
  # resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
1405
1465
  # resp.findings[0].classification_details.result.mime_type #=> String
1406
1466
  # resp.findings[0].classification_details.result.sensitive_data #=> Array
1407
1467
  # resp.findings[0].classification_details.result.sensitive_data[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
1408
1468
  # resp.findings[0].classification_details.result.sensitive_data[0].detections #=> Array
1409
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
1410
1493
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
1411
1494
  # resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
1412
1495
  # resp.findings[0].classification_details.result.size_classified #=> Integer
@@ -1474,7 +1557,7 @@ module Aws::Macie2
1474
1557
  # resp.findings[0].resources_affected.s3_bucket.name #=> String
1475
1558
  # resp.findings[0].resources_affected.s3_bucket.owner.display_name #=> String
1476
1559
  # resp.findings[0].resources_affected.s3_bucket.owner.id #=> String
1477
- # 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"
1478
1561
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_acls #=> Boolean
1479
1562
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.block_public_policy #=> Boolean
1480
1563
  # resp.findings[0].resources_affected.s3_bucket.public_access.permission_configuration.account_level_permissions.block_public_access.ignore_public_acls #=> Boolean
@@ -1522,8 +1605,7 @@ module Aws::Macie2
1522
1605
  req.send_request(options)
1523
1606
  end
1524
1607
 
1525
- # Retrieves information about the criteria and other settings for a
1526
- # findings filter.
1608
+ # Retrieves the criteria and other settings for a findings filter.
1527
1609
  #
1528
1610
  # @option params [required, String] :id
1529
1611
  #
@@ -1593,8 +1675,8 @@ module Aws::Macie2
1593
1675
  req.send_request(options)
1594
1676
  end
1595
1677
 
1596
- # Retrieves information about the current status and configuration
1597
- # settings for an Amazon Macie account.
1678
+ # Retrieves the current status and configuration settings for an Amazon
1679
+ # Macie account.
1598
1680
  #
1599
1681
  # @return [Types::GetMacieSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1600
1682
  #
@@ -1828,9 +1910,12 @@ module Aws::Macie2
1828
1910
  # resp.items[0].bucket_definitions[0].buckets[0] #=> String
1829
1911
  # resp.items[0].created_at #=> Time
1830
1912
  # resp.items[0].job_id #=> String
1831
- # 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"
1832
1914
  # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1833
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
1834
1919
  # resp.next_token #=> String
1835
1920
  #
1836
1921
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationJobs AWS API Documentation
@@ -1893,8 +1978,7 @@ module Aws::Macie2
1893
1978
  # @option params [String] :next_token
1894
1979
  #
1895
1980
  # @option params [Types::SortCriteria] :sort_criteria
1896
- # Specifies criteria for sorting the results of a request for
1897
- # information about findings.
1981
+ # Specifies criteria for sorting the results of a request for findings.
1898
1982
  #
1899
1983
  # @return [Types::ListFindingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1900
1984
  #
@@ -2269,7 +2353,7 @@ module Aws::Macie2
2269
2353
  req.send_request(options)
2270
2354
  end
2271
2355
 
2272
- # Cancels a classification job.
2356
+ # Changes the status of a classification job.
2273
2357
  #
2274
2358
  # @option params [required, String] :job_id
2275
2359
  #
@@ -2282,7 +2366,7 @@ module Aws::Macie2
2282
2366
  #
2283
2367
  # resp = client.update_classification_job({
2284
2368
  # job_id: "__string", # required
2285
- # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
2369
+ # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
2286
2370
  # })
2287
2371
  #
2288
2372
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJob AWS API Documentation
@@ -2444,7 +2528,7 @@ module Aws::Macie2
2444
2528
  params: params,
2445
2529
  config: config)
2446
2530
  context[:gem_name] = 'aws-sdk-macie2'
2447
- context[:gem_version] = '1.8.0'
2531
+ context[:gem_version] = '1.13.0'
2448
2532
  Seahorse::Client::Request.new(handlers, context)
2449
2533
  end
2450
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')
@@ -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