aws-sdk-macie2 1.48.0 → 1.49.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +568 -75
- data/lib/aws-sdk-macie2/client_api.rb +449 -3
- data/lib/aws-sdk-macie2/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-macie2/endpoint_provider.rb +75 -75
- data/lib/aws-sdk-macie2/endpoints.rb +182 -0
- data/lib/aws-sdk-macie2/plugins/endpoints.rb +26 -0
- data/lib/aws-sdk-macie2/types.rb +1201 -151
- data/lib/aws-sdk-macie2.rb +1 -1
- metadata +2 -2
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -113,8 +113,8 @@ module Aws::Macie2
|
|
113
113
|
#
|
114
114
|
# @!attribute [rw] block_public_access
|
115
115
|
# Provides information about the block public access settings for an
|
116
|
-
# S3 bucket. These settings can apply to a bucket at the account
|
117
|
-
#
|
116
|
+
# S3 bucket. These settings can apply to a bucket at the account or
|
117
|
+
# bucket level. For detailed information about each setting, see
|
118
118
|
# [Blocking public access to your Amazon S3 storage][1] in the *Amazon
|
119
119
|
# Simple Storage Service User Guide*.
|
120
120
|
#
|
@@ -404,10 +404,10 @@ module Aws::Macie2
|
|
404
404
|
end
|
405
405
|
|
406
406
|
# Provides information about the block public access settings for an S3
|
407
|
-
# bucket. These settings can apply to a bucket at the account
|
408
|
-
#
|
409
|
-
#
|
410
|
-
#
|
407
|
+
# bucket. These settings can apply to a bucket at the account or bucket
|
408
|
+
# level. For detailed information about each setting, see [Blocking
|
409
|
+
# public access to your Amazon S3 storage][1] in the *Amazon Simple
|
410
|
+
# Storage Service User Guide*.
|
411
411
|
#
|
412
412
|
#
|
413
413
|
#
|
@@ -606,8 +606,8 @@ module Aws::Macie2
|
|
606
606
|
#
|
607
607
|
# @!attribute [rw] block_public_access
|
608
608
|
# Provides information about the block public access settings for an
|
609
|
-
# S3 bucket. These settings can apply to a bucket at the account
|
610
|
-
#
|
609
|
+
# S3 bucket. These settings can apply to a bucket at the account or
|
610
|
+
# bucket level. For detailed information about each setting, see
|
611
611
|
# [Blocking public access to your Amazon S3 storage][1] in the *Amazon
|
612
612
|
# Simple Storage Service User Guide*.
|
613
613
|
#
|
@@ -633,12 +633,12 @@ module Aws::Macie2
|
|
633
633
|
|
634
634
|
# Provides statistical data and other information about an S3 bucket
|
635
635
|
# that Amazon Macie monitors and analyzes for your account. If an error
|
636
|
-
# occurs when Macie attempts to retrieve and process
|
637
|
-
# the bucket
|
638
|
-
# property is false and the value for most other properties
|
639
|
-
#
|
640
|
-
# lastUpdated, and region. To identify the cause of the
|
641
|
-
# the errorCode and errorMessage values.
|
636
|
+
# occurs when Macie attempts to retrieve and process metadata from
|
637
|
+
# Amazon S3 for the bucket and the bucket's objects, the value for the
|
638
|
+
# versioning property is false and the value for most other properties
|
639
|
+
# is null. Key exceptions are accountId, bucketArn, bucketCreatedAt,
|
640
|
+
# bucketName, lastUpdated, and region. To identify the cause of the
|
641
|
+
# error, refer to the errorCode and errorMessage values.
|
642
642
|
#
|
643
643
|
# @!attribute [rw] account_id
|
644
644
|
# @return [String]
|
@@ -663,8 +663,8 @@ module Aws::Macie2
|
|
663
663
|
#
|
664
664
|
# @!attribute [rw] error_code
|
665
665
|
# The error code for an error that prevented Amazon Macie from
|
666
|
-
# retrieving and processing
|
667
|
-
# bucket's objects.
|
666
|
+
# retrieving and processing metadata from Amazon S3 for an S3 bucket
|
667
|
+
# and the bucket's objects.
|
668
668
|
# @return [String]
|
669
669
|
#
|
670
670
|
# @!attribute [rw] error_message
|
@@ -676,6 +676,9 @@ module Aws::Macie2
|
|
676
676
|
# of the job that ran most recently.
|
677
677
|
# @return [Types::JobDetails]
|
678
678
|
#
|
679
|
+
# @!attribute [rw] last_automated_discovery_time
|
680
|
+
# @return [Time]
|
681
|
+
#
|
679
682
|
# @!attribute [rw] last_updated
|
680
683
|
# @return [Time]
|
681
684
|
#
|
@@ -702,6 +705,9 @@ module Aws::Macie2
|
|
702
705
|
# Amazon Web Services accounts and, if so, which accounts.
|
703
706
|
# @return [Types::ReplicationDetails]
|
704
707
|
#
|
708
|
+
# @!attribute [rw] sensitivity_score
|
709
|
+
# @return [Integer]
|
710
|
+
#
|
705
711
|
# @!attribute [rw] server_side_encryption
|
706
712
|
# Provides information about the default server-side encryption
|
707
713
|
# settings for an S3 bucket. For detailed information about these
|
@@ -731,10 +737,10 @@ module Aws::Macie2
|
|
731
737
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
732
738
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
733
739
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
734
|
-
# data is aggregated for the buckets in the query results. If
|
735
|
-
# versioning is enabled for a bucket,
|
736
|
-
#
|
737
|
-
#
|
740
|
+
# data is aggregated for all the buckets in the query results. If
|
741
|
+
# versioning is enabled for a bucket, storage size values are based on
|
742
|
+
# the size of the latest version of each applicable object in the
|
743
|
+
# bucket.
|
738
744
|
# @return [Types::ObjectLevelStatistics]
|
739
745
|
#
|
740
746
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -742,10 +748,10 @@ module Aws::Macie2
|
|
742
748
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
743
749
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
744
750
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
745
|
-
# data is aggregated for the buckets in the query results. If
|
746
|
-
# versioning is enabled for a bucket,
|
747
|
-
#
|
748
|
-
#
|
751
|
+
# data is aggregated for all the buckets in the query results. If
|
752
|
+
# versioning is enabled for a bucket, storage size values are based on
|
753
|
+
# the size of the latest version of each applicable object in the
|
754
|
+
# bucket.
|
749
755
|
# @return [Types::ObjectLevelStatistics]
|
750
756
|
#
|
751
757
|
# @!attribute [rw] versioning
|
@@ -764,12 +770,14 @@ module Aws::Macie2
|
|
764
770
|
:error_code,
|
765
771
|
:error_message,
|
766
772
|
:job_details,
|
773
|
+
:last_automated_discovery_time,
|
767
774
|
:last_updated,
|
768
775
|
:object_count,
|
769
776
|
:object_count_by_encryption_type,
|
770
777
|
:public_access,
|
771
778
|
:region,
|
772
779
|
:replication_details,
|
780
|
+
:sensitivity_score,
|
773
781
|
:server_side_encryption,
|
774
782
|
:shared_access,
|
775
783
|
:size_in_bytes,
|
@@ -892,6 +900,62 @@ module Aws::Macie2
|
|
892
900
|
include Aws::Structure
|
893
901
|
end
|
894
902
|
|
903
|
+
# Provides aggregated statistical data for sensitive data discovery
|
904
|
+
# metrics that apply to S3 buckets, grouped by bucket sensitivity score
|
905
|
+
# (sensitivityScore). If automated sensitive data discovery is currently
|
906
|
+
# disabled for your account, the value for each metric is 0.
|
907
|
+
#
|
908
|
+
# @!attribute [rw] classification_error
|
909
|
+
# Provides aggregated statistical data for sensitive data discovery
|
910
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
911
|
+
# data for all the buckets that have a sensitivity score
|
912
|
+
# (sensitivityScore) of a specified value or within a specified range
|
913
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
914
|
+
# discovery is currently disabled for your account, the value for each
|
915
|
+
# field is 0.
|
916
|
+
# @return [Types::SensitivityAggregations]
|
917
|
+
#
|
918
|
+
# @!attribute [rw] not_classified
|
919
|
+
# Provides aggregated statistical data for sensitive data discovery
|
920
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
921
|
+
# data for all the buckets that have a sensitivity score
|
922
|
+
# (sensitivityScore) of a specified value or within a specified range
|
923
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
924
|
+
# discovery is currently disabled for your account, the value for each
|
925
|
+
# field is 0.
|
926
|
+
# @return [Types::SensitivityAggregations]
|
927
|
+
#
|
928
|
+
# @!attribute [rw] not_sensitive
|
929
|
+
# Provides aggregated statistical data for sensitive data discovery
|
930
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
931
|
+
# data for all the buckets that have a sensitivity score
|
932
|
+
# (sensitivityScore) of a specified value or within a specified range
|
933
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
934
|
+
# discovery is currently disabled for your account, the value for each
|
935
|
+
# field is 0.
|
936
|
+
# @return [Types::SensitivityAggregations]
|
937
|
+
#
|
938
|
+
# @!attribute [rw] sensitive
|
939
|
+
# Provides aggregated statistical data for sensitive data discovery
|
940
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
941
|
+
# data for all the buckets that have a sensitivity score
|
942
|
+
# (sensitivityScore) of a specified value or within a specified range
|
943
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
944
|
+
# discovery is currently disabled for your account, the value for each
|
945
|
+
# field is 0.
|
946
|
+
# @return [Types::SensitivityAggregations]
|
947
|
+
#
|
948
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketStatisticsBySensitivity AWS API Documentation
|
949
|
+
#
|
950
|
+
class BucketStatisticsBySensitivity < Struct.new(
|
951
|
+
:classification_error,
|
952
|
+
:not_classified,
|
953
|
+
:not_sensitive,
|
954
|
+
:sensitive)
|
955
|
+
SENSITIVE = []
|
956
|
+
include Aws::Structure
|
957
|
+
end
|
958
|
+
|
895
959
|
# Specifies the location of an occurrence of sensitive data in a
|
896
960
|
# Microsoft Excel workbook, CSV file, or TSV file.
|
897
961
|
#
|
@@ -932,7 +996,7 @@ module Aws::Macie2
|
|
932
996
|
#
|
933
997
|
# @!attribute [rw] origin_type
|
934
998
|
# Specifies how Amazon Macie found the sensitive data that produced a
|
935
|
-
# finding.
|
999
|
+
# finding. Possible values are:
|
936
1000
|
# @return [String]
|
937
1001
|
#
|
938
1002
|
# @!attribute [rw] result
|
@@ -954,8 +1018,8 @@ module Aws::Macie2
|
|
954
1018
|
end
|
955
1019
|
|
956
1020
|
# Specifies where to store data classification results, and the
|
957
|
-
# encryption settings to use when storing results in that location.
|
958
|
-
#
|
1021
|
+
# encryption settings to use when storing results in that location. The
|
1022
|
+
# location must be an S3 bucket.
|
959
1023
|
#
|
960
1024
|
# @note When making an API call, you may pass ClassificationExportConfiguration
|
961
1025
|
# data as a hash:
|
@@ -1039,6 +1103,27 @@ module Aws::Macie2
|
|
1039
1103
|
include Aws::Structure
|
1040
1104
|
end
|
1041
1105
|
|
1106
|
+
# Provides information about the classification scope for an Amazon
|
1107
|
+
# Macie account. Macie uses the scope's settings when it performs
|
1108
|
+
# automated sensitive data discovery for the account.
|
1109
|
+
#
|
1110
|
+
# @!attribute [rw] id
|
1111
|
+
# The unique identifier the classification scope.
|
1112
|
+
# @return [String]
|
1113
|
+
#
|
1114
|
+
# @!attribute [rw] name
|
1115
|
+
# The name of the classification scope.
|
1116
|
+
# @return [String]
|
1117
|
+
#
|
1118
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationScopeSummary AWS API Documentation
|
1119
|
+
#
|
1120
|
+
class ClassificationScopeSummary < Struct.new(
|
1121
|
+
:id,
|
1122
|
+
:name)
|
1123
|
+
SENSITIVE = []
|
1124
|
+
include Aws::Structure
|
1125
|
+
end
|
1126
|
+
|
1042
1127
|
# Provides information about an error that occurred due to a versioning
|
1043
1128
|
# conflict for a specified resource.
|
1044
1129
|
#
|
@@ -1149,31 +1234,23 @@ module Aws::Macie2
|
|
1149
1234
|
# managed_data_identifier_selector: "ALL", # accepts ALL, EXCLUDE, INCLUDE, NONE
|
1150
1235
|
# name: "__string", # required
|
1151
1236
|
# s3_job_definition: { # required
|
1152
|
-
#
|
1153
|
-
# {
|
1154
|
-
# account_id: "__string", # required
|
1155
|
-
# buckets: ["__string"], # required
|
1156
|
-
# },
|
1157
|
-
# ],
|
1158
|
-
# scoping: {
|
1237
|
+
# bucket_criteria: {
|
1159
1238
|
# excludes: {
|
1160
1239
|
# and: [
|
1161
1240
|
# {
|
1162
|
-
#
|
1241
|
+
# simple_criterion: {
|
1163
1242
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1164
|
-
# key: "
|
1243
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
1165
1244
|
# values: ["__string"],
|
1166
1245
|
# },
|
1167
|
-
#
|
1246
|
+
# tag_criterion: {
|
1168
1247
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1169
|
-
# key: "__string",
|
1170
1248
|
# tag_values: [
|
1171
1249
|
# {
|
1172
1250
|
# key: "__string",
|
1173
1251
|
# value: "__string",
|
1174
1252
|
# },
|
1175
1253
|
# ],
|
1176
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
1177
1254
|
# },
|
1178
1255
|
# },
|
1179
1256
|
# ],
|
@@ -1181,43 +1258,49 @@ module Aws::Macie2
|
|
1181
1258
|
# includes: {
|
1182
1259
|
# and: [
|
1183
1260
|
# {
|
1184
|
-
#
|
1261
|
+
# simple_criterion: {
|
1185
1262
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1186
|
-
# key: "
|
1263
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
1187
1264
|
# values: ["__string"],
|
1188
1265
|
# },
|
1189
|
-
#
|
1266
|
+
# tag_criterion: {
|
1190
1267
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1191
|
-
# key: "__string",
|
1192
1268
|
# tag_values: [
|
1193
1269
|
# {
|
1194
1270
|
# key: "__string",
|
1195
1271
|
# value: "__string",
|
1196
1272
|
# },
|
1197
1273
|
# ],
|
1198
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
1199
1274
|
# },
|
1200
1275
|
# },
|
1201
1276
|
# ],
|
1202
1277
|
# },
|
1203
1278
|
# },
|
1204
|
-
#
|
1279
|
+
# bucket_definitions: [
|
1280
|
+
# {
|
1281
|
+
# account_id: "__string", # required
|
1282
|
+
# buckets: ["__string"], # required
|
1283
|
+
# },
|
1284
|
+
# ],
|
1285
|
+
# scoping: {
|
1205
1286
|
# excludes: {
|
1206
1287
|
# and: [
|
1207
1288
|
# {
|
1208
|
-
#
|
1289
|
+
# simple_scope_term: {
|
1209
1290
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1210
|
-
# key: "
|
1291
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
1211
1292
|
# values: ["__string"],
|
1212
1293
|
# },
|
1213
|
-
#
|
1294
|
+
# tag_scope_term: {
|
1214
1295
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1296
|
+
# key: "__string",
|
1215
1297
|
# tag_values: [
|
1216
1298
|
# {
|
1217
1299
|
# key: "__string",
|
1218
1300
|
# value: "__string",
|
1219
1301
|
# },
|
1220
1302
|
# ],
|
1303
|
+
# target: "S3_OBJECT", # accepts S3_OBJECT
|
1221
1304
|
# },
|
1222
1305
|
# },
|
1223
1306
|
# ],
|
@@ -1225,19 +1308,21 @@ module Aws::Macie2
|
|
1225
1308
|
# includes: {
|
1226
1309
|
# and: [
|
1227
1310
|
# {
|
1228
|
-
#
|
1311
|
+
# simple_scope_term: {
|
1229
1312
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1230
|
-
# key: "
|
1313
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
1231
1314
|
# values: ["__string"],
|
1232
1315
|
# },
|
1233
|
-
#
|
1316
|
+
# tag_scope_term: {
|
1234
1317
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1318
|
+
# key: "__string",
|
1235
1319
|
# tag_values: [
|
1236
1320
|
# {
|
1237
1321
|
# key: "__string",
|
1238
1322
|
# value: "__string",
|
1239
1323
|
# },
|
1240
1324
|
# ],
|
1325
|
+
# target: "S3_OBJECT", # accepts S3_OBJECT
|
1241
1326
|
# },
|
1242
1327
|
# },
|
1243
1328
|
# ],
|
@@ -1485,8 +1570,8 @@ module Aws::Macie2
|
|
1485
1570
|
# }
|
1486
1571
|
#
|
1487
1572
|
# @!attribute [rw] action
|
1488
|
-
# The action to perform on findings that
|
1489
|
-
# suppress (automatically archive) findings that
|
1573
|
+
# The action to perform on findings that match the filter criteria. To
|
1574
|
+
# suppress (automatically archive) findings that match the criteria,
|
1490
1575
|
# set this value to ARCHIVE. Valid values are:
|
1491
1576
|
# @return [String]
|
1492
1577
|
#
|
@@ -2341,6 +2426,46 @@ module Aws::Macie2
|
|
2341
2426
|
include Aws::Structure
|
2342
2427
|
end
|
2343
2428
|
|
2429
|
+
# Provides information about a type of sensitive data that Amazon Macie
|
2430
|
+
# found in an S3 bucket while performing automated sensitive data
|
2431
|
+
# discovery for the bucket. The information also specifies the custom
|
2432
|
+
# data identifier or managed data identifier that detected the data.
|
2433
|
+
# This information is available only if automated sensitive data
|
2434
|
+
# discovery is currently enabled for your account.
|
2435
|
+
#
|
2436
|
+
# @!attribute [rw] arn
|
2437
|
+
# @return [String]
|
2438
|
+
#
|
2439
|
+
# @!attribute [rw] count
|
2440
|
+
# @return [Integer]
|
2441
|
+
#
|
2442
|
+
# @!attribute [rw] id
|
2443
|
+
# @return [String]
|
2444
|
+
#
|
2445
|
+
# @!attribute [rw] name
|
2446
|
+
# @return [String]
|
2447
|
+
#
|
2448
|
+
# @!attribute [rw] suppressed
|
2449
|
+
# @return [Boolean]
|
2450
|
+
#
|
2451
|
+
# @!attribute [rw] type
|
2452
|
+
# The type of data identifier that detected a specific type of
|
2453
|
+
# sensitive data in an S3 bucket. Possible values are:
|
2454
|
+
# @return [String]
|
2455
|
+
#
|
2456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Detection AWS API Documentation
|
2457
|
+
#
|
2458
|
+
class Detection < Struct.new(
|
2459
|
+
:arn,
|
2460
|
+
:count,
|
2461
|
+
:id,
|
2462
|
+
:name,
|
2463
|
+
:suppressed,
|
2464
|
+
:type)
|
2465
|
+
SENSITIVE = []
|
2466
|
+
include Aws::Structure
|
2467
|
+
end
|
2468
|
+
|
2344
2469
|
# @api private
|
2345
2470
|
#
|
2346
2471
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacieRequest AWS API Documentation
|
@@ -2560,7 +2685,7 @@ module Aws::Macie2
|
|
2560
2685
|
# @return [Boolean]
|
2561
2686
|
#
|
2562
2687
|
# @!attribute [rw] category
|
2563
|
-
# The category of the finding.
|
2688
|
+
# The category of the finding. Possible values are:
|
2564
2689
|
# @return [String]
|
2565
2690
|
#
|
2566
2691
|
# @!attribute [rw] classification_details
|
@@ -2610,7 +2735,7 @@ module Aws::Macie2
|
|
2610
2735
|
#
|
2611
2736
|
# @!attribute [rw] type
|
2612
2737
|
# The type of finding. For details about each type, see [Types of
|
2613
|
-
# Amazon Macie findings][1] in the *Amazon Macie User Guide*.
|
2738
|
+
# Amazon Macie findings][1] in the *Amazon Macie User Guide*. Possible
|
2614
2739
|
# values are:
|
2615
2740
|
#
|
2616
2741
|
#
|
@@ -2767,8 +2892,8 @@ module Aws::Macie2
|
|
2767
2892
|
# Provides information about a findings filter.
|
2768
2893
|
#
|
2769
2894
|
# @!attribute [rw] action
|
2770
|
-
# The action to perform on findings that
|
2771
|
-
# suppress (automatically archive) findings that
|
2895
|
+
# The action to perform on findings that match the filter criteria. To
|
2896
|
+
# suppress (automatically archive) findings that match the criteria,
|
2772
2897
|
# set this value to ARCHIVE. Valid values are:
|
2773
2898
|
# @return [String]
|
2774
2899
|
#
|
@@ -2892,6 +3017,54 @@ module Aws::Macie2
|
|
2892
3017
|
include Aws::Structure
|
2893
3018
|
end
|
2894
3019
|
|
3020
|
+
# @api private
|
3021
|
+
#
|
3022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfigurationRequest AWS API Documentation
|
3023
|
+
#
|
3024
|
+
class GetAutomatedDiscoveryConfigurationRequest < Aws::EmptyStructure; end
|
3025
|
+
|
3026
|
+
# Provides information about the configuration settings for performing
|
3027
|
+
# automated sensitive data discovery for an Amazon Macie account, and
|
3028
|
+
# the status of the configuration for the account.
|
3029
|
+
#
|
3030
|
+
# @!attribute [rw] classification_scope_id
|
3031
|
+
# The unique identifier the classification scope.
|
3032
|
+
# @return [String]
|
3033
|
+
#
|
3034
|
+
# @!attribute [rw] disabled_at
|
3035
|
+
# Specifies a date and time in UTC and extended ISO 8601 format.
|
3036
|
+
# @return [Time]
|
3037
|
+
#
|
3038
|
+
# @!attribute [rw] first_enabled_at
|
3039
|
+
# Specifies a date and time in UTC and extended ISO 8601 format.
|
3040
|
+
# @return [Time]
|
3041
|
+
#
|
3042
|
+
# @!attribute [rw] last_updated_at
|
3043
|
+
# Specifies a date and time in UTC and extended ISO 8601 format.
|
3044
|
+
# @return [Time]
|
3045
|
+
#
|
3046
|
+
# @!attribute [rw] sensitivity_inspection_template_id
|
3047
|
+
# The unique identifier for the sensitivity inspection template.
|
3048
|
+
# @return [String]
|
3049
|
+
#
|
3050
|
+
# @!attribute [rw] status
|
3051
|
+
# The status of the automated sensitive data discovery configuration
|
3052
|
+
# for an Amazon Macie account. Valid values are:
|
3053
|
+
# @return [String]
|
3054
|
+
#
|
3055
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfigurationResponse AWS API Documentation
|
3056
|
+
#
|
3057
|
+
class GetAutomatedDiscoveryConfigurationResponse < Struct.new(
|
3058
|
+
:classification_scope_id,
|
3059
|
+
:disabled_at,
|
3060
|
+
:first_enabled_at,
|
3061
|
+
:last_updated_at,
|
3062
|
+
:sensitivity_inspection_template_id,
|
3063
|
+
:status)
|
3064
|
+
SENSITIVE = []
|
3065
|
+
include Aws::Structure
|
3066
|
+
end
|
3067
|
+
|
2895
3068
|
# Specifies the account that owns the S3 buckets to retrieve aggregated
|
2896
3069
|
# statistical data for.
|
2897
3070
|
#
|
@@ -2949,6 +3122,13 @@ module Aws::Macie2
|
|
2949
3122
|
# aren't shared with other Amazon Web Services accounts.
|
2950
3123
|
# @return [Types::BucketCountBySharedAccessType]
|
2951
3124
|
#
|
3125
|
+
# @!attribute [rw] bucket_statistics_by_sensitivity
|
3126
|
+
# Provides aggregated statistical data for sensitive data discovery
|
3127
|
+
# metrics that apply to S3 buckets, grouped by bucket sensitivity
|
3128
|
+
# score (sensitivityScore). If automated sensitive data discovery is
|
3129
|
+
# currently disabled for your account, the value for each metric is 0.
|
3130
|
+
# @return [Types::BucketStatisticsBySensitivity]
|
3131
|
+
#
|
2952
3132
|
# @!attribute [rw] classifiable_object_count
|
2953
3133
|
# @return [Integer]
|
2954
3134
|
#
|
@@ -2972,10 +3152,10 @@ module Aws::Macie2
|
|
2972
3152
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2973
3153
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
2974
3154
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
2975
|
-
# data is aggregated for the buckets in the query results. If
|
2976
|
-
# versioning is enabled for a bucket,
|
2977
|
-
#
|
2978
|
-
#
|
3155
|
+
# data is aggregated for all the buckets in the query results. If
|
3156
|
+
# versioning is enabled for a bucket, storage size values are based on
|
3157
|
+
# the size of the latest version of each applicable object in the
|
3158
|
+
# bucket.
|
2979
3159
|
# @return [Types::ObjectLevelStatistics]
|
2980
3160
|
#
|
2981
3161
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -2983,10 +3163,10 @@ module Aws::Macie2
|
|
2983
3163
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2984
3164
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
2985
3165
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
2986
|
-
# data is aggregated for the buckets in the query results. If
|
2987
|
-
# versioning is enabled for a bucket,
|
2988
|
-
#
|
2989
|
-
#
|
3166
|
+
# data is aggregated for all the buckets in the query results. If
|
3167
|
+
# versioning is enabled for a bucket, storage size values are based on
|
3168
|
+
# the size of the latest version of each applicable object in the
|
3169
|
+
# bucket.
|
2990
3170
|
# @return [Types::ObjectLevelStatistics]
|
2991
3171
|
#
|
2992
3172
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsResponse AWS API Documentation
|
@@ -2997,6 +3177,7 @@ module Aws::Macie2
|
|
2997
3177
|
:bucket_count_by_encryption_type,
|
2998
3178
|
:bucket_count_by_object_encryption_requirement,
|
2999
3179
|
:bucket_count_by_shared_access_type,
|
3180
|
+
:bucket_statistics_by_sensitivity,
|
3000
3181
|
:classifiable_object_count,
|
3001
3182
|
:classifiable_size_in_bytes,
|
3002
3183
|
:last_updated,
|
@@ -3021,8 +3202,7 @@ module Aws::Macie2
|
|
3021
3202
|
# @!attribute [rw] configuration
|
3022
3203
|
# Specifies where to store data classification results, and the
|
3023
3204
|
# encryption settings to use when storing results in that location.
|
3024
|
-
#
|
3025
|
-
# bucket.
|
3205
|
+
# The location must be an S3 bucket.
|
3026
3206
|
# @return [Types::ClassificationExportConfiguration]
|
3027
3207
|
#
|
3028
3208
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfigurationResponse AWS API Documentation
|
@@ -3033,6 +3213,51 @@ module Aws::Macie2
|
|
3033
3213
|
include Aws::Structure
|
3034
3214
|
end
|
3035
3215
|
|
3216
|
+
# @note When making an API call, you may pass GetClassificationScopeRequest
|
3217
|
+
# data as a hash:
|
3218
|
+
#
|
3219
|
+
# {
|
3220
|
+
# id: "__string", # required
|
3221
|
+
# }
|
3222
|
+
#
|
3223
|
+
# @!attribute [rw] id
|
3224
|
+
# @return [String]
|
3225
|
+
#
|
3226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScopeRequest AWS API Documentation
|
3227
|
+
#
|
3228
|
+
class GetClassificationScopeRequest < Struct.new(
|
3229
|
+
:id)
|
3230
|
+
SENSITIVE = []
|
3231
|
+
include Aws::Structure
|
3232
|
+
end
|
3233
|
+
|
3234
|
+
# Provides information about the classification scope settings for an
|
3235
|
+
# Amazon Macie account. Macie uses these settings when it performs
|
3236
|
+
# automated sensitive data discovery for the account.
|
3237
|
+
#
|
3238
|
+
# @!attribute [rw] id
|
3239
|
+
# The unique identifier the classification scope.
|
3240
|
+
# @return [String]
|
3241
|
+
#
|
3242
|
+
# @!attribute [rw] name
|
3243
|
+
# The name of the classification scope.
|
3244
|
+
# @return [String]
|
3245
|
+
#
|
3246
|
+
# @!attribute [rw] s3
|
3247
|
+
# Specifies the S3 buckets that are excluded from automated sensitive
|
3248
|
+
# data discovery for an Amazon Macie account.
|
3249
|
+
# @return [Types::S3ClassificationScope]
|
3250
|
+
#
|
3251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScopeResponse AWS API Documentation
|
3252
|
+
#
|
3253
|
+
class GetClassificationScopeResponse < Struct.new(
|
3254
|
+
:id,
|
3255
|
+
:name,
|
3256
|
+
:s3)
|
3257
|
+
SENSITIVE = []
|
3258
|
+
include Aws::Structure
|
3259
|
+
end
|
3260
|
+
|
3036
3261
|
# @note When making an API call, you may pass GetCustomDataIdentifierRequest
|
3037
3262
|
# data as a hash:
|
3038
3263
|
#
|
@@ -3217,8 +3442,8 @@ module Aws::Macie2
|
|
3217
3442
|
# findings filter.
|
3218
3443
|
#
|
3219
3444
|
# @!attribute [rw] action
|
3220
|
-
# The action to perform on findings that
|
3221
|
-
# suppress (automatically archive) findings that
|
3445
|
+
# The action to perform on findings that match the filter criteria. To
|
3446
|
+
# suppress (automatically archive) findings that match the criteria,
|
3222
3447
|
# set this value to ARCHIVE. Valid values are:
|
3223
3448
|
# @return [String]
|
3224
3449
|
#
|
@@ -3360,8 +3585,8 @@ module Aws::Macie2
|
|
3360
3585
|
#
|
3361
3586
|
class GetMacieSessionRequest < Aws::EmptyStructure; end
|
3362
3587
|
|
3363
|
-
# Provides information about the
|
3364
|
-
#
|
3588
|
+
# Provides information about the status and configuration settings for
|
3589
|
+
# an Amazon Macie account.
|
3365
3590
|
#
|
3366
3591
|
# @!attribute [rw] created_at
|
3367
3592
|
# @return [Time]
|
@@ -3491,6 +3716,59 @@ module Aws::Macie2
|
|
3491
3716
|
include Aws::Structure
|
3492
3717
|
end
|
3493
3718
|
|
3719
|
+
# @note When making an API call, you may pass GetResourceProfileRequest
|
3720
|
+
# data as a hash:
|
3721
|
+
#
|
3722
|
+
# {
|
3723
|
+
# resource_arn: "__string", # required
|
3724
|
+
# }
|
3725
|
+
#
|
3726
|
+
# @!attribute [rw] resource_arn
|
3727
|
+
# @return [String]
|
3728
|
+
#
|
3729
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfileRequest AWS API Documentation
|
3730
|
+
#
|
3731
|
+
class GetResourceProfileRequest < Struct.new(
|
3732
|
+
:resource_arn)
|
3733
|
+
SENSITIVE = []
|
3734
|
+
include Aws::Structure
|
3735
|
+
end
|
3736
|
+
|
3737
|
+
# Provides the results of a query that retrieved sensitive data
|
3738
|
+
# discovery statistics and the sensitivity score for an S3 bucket that
|
3739
|
+
# Amazon Macie monitors and analyzes for your account. This data is
|
3740
|
+
# available only if automated sensitive data discovery is currently
|
3741
|
+
# enabled for your account.
|
3742
|
+
#
|
3743
|
+
# @!attribute [rw] profile_updated_at
|
3744
|
+
# @return [Time]
|
3745
|
+
#
|
3746
|
+
# @!attribute [rw] sensitivity_score
|
3747
|
+
# @return [Integer]
|
3748
|
+
#
|
3749
|
+
# @!attribute [rw] sensitivity_score_overridden
|
3750
|
+
# @return [Boolean]
|
3751
|
+
#
|
3752
|
+
# @!attribute [rw] statistics
|
3753
|
+
# Provides statistical data for sensitive data discovery metrics that
|
3754
|
+
# apply to an S3 bucket that Amazon Macie monitors and analyzes for
|
3755
|
+
# your account. The statistics capture the results of automated
|
3756
|
+
# sensitive data discovery activities that Macie has performed for the
|
3757
|
+
# bucket. The data is available only if automated sensitive data
|
3758
|
+
# discovery is currently enabled for your account.
|
3759
|
+
# @return [Types::ResourceStatistics]
|
3760
|
+
#
|
3761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfileResponse AWS API Documentation
|
3762
|
+
#
|
3763
|
+
class GetResourceProfileResponse < Struct.new(
|
3764
|
+
:profile_updated_at,
|
3765
|
+
:sensitivity_score,
|
3766
|
+
:sensitivity_score_overridden,
|
3767
|
+
:statistics)
|
3768
|
+
SENSITIVE = []
|
3769
|
+
include Aws::Structure
|
3770
|
+
end
|
3771
|
+
|
3494
3772
|
# @api private
|
3495
3773
|
#
|
3496
3774
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfigurationRequest AWS API Documentation
|
@@ -3601,6 +3879,77 @@ module Aws::Macie2
|
|
3601
3879
|
include Aws::Structure
|
3602
3880
|
end
|
3603
3881
|
|
3882
|
+
# @note When making an API call, you may pass GetSensitivityInspectionTemplateRequest
|
3883
|
+
# data as a hash:
|
3884
|
+
#
|
3885
|
+
# {
|
3886
|
+
# id: "__string", # required
|
3887
|
+
# }
|
3888
|
+
#
|
3889
|
+
# @!attribute [rw] id
|
3890
|
+
# @return [String]
|
3891
|
+
#
|
3892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplateRequest AWS API Documentation
|
3893
|
+
#
|
3894
|
+
class GetSensitivityInspectionTemplateRequest < Struct.new(
|
3895
|
+
:id)
|
3896
|
+
SENSITIVE = []
|
3897
|
+
include Aws::Structure
|
3898
|
+
end
|
3899
|
+
|
3900
|
+
# Provides information about the settings for the sensitivity inspection
|
3901
|
+
# template for an Amazon Macie account. Macie uses the template's
|
3902
|
+
# settings when it performs automated sensitive data discovery for the
|
3903
|
+
# account.
|
3904
|
+
#
|
3905
|
+
# @!attribute [rw] description
|
3906
|
+
# @return [String]
|
3907
|
+
#
|
3908
|
+
# @!attribute [rw] excludes
|
3909
|
+
# Specifies managed data identifiers to exclude (not use) when
|
3910
|
+
# performing automated sensitive data discovery for an Amazon Macie
|
3911
|
+
# account. For information about the managed data identifiers that
|
3912
|
+
# Amazon Macie currently provides, see [Using managed data
|
3913
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
3914
|
+
#
|
3915
|
+
#
|
3916
|
+
#
|
3917
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
3918
|
+
# @return [Types::SensitivityInspectionTemplateExcludes]
|
3919
|
+
#
|
3920
|
+
# @!attribute [rw] includes
|
3921
|
+
# Specifies the allow lists, custom data identifiers, and managed data
|
3922
|
+
# identifiers to include (use) when performing automated sensitive
|
3923
|
+
# data discovery for an Amazon Macie account. The configuration must
|
3924
|
+
# specify at least one custom data identifier or managed data
|
3925
|
+
# identifier. For information about the managed data identifiers that
|
3926
|
+
# Amazon Macie currently provides, see [Using managed data
|
3927
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
3928
|
+
#
|
3929
|
+
#
|
3930
|
+
#
|
3931
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
3932
|
+
# @return [Types::SensitivityInspectionTemplateIncludes]
|
3933
|
+
#
|
3934
|
+
# @!attribute [rw] name
|
3935
|
+
# @return [String]
|
3936
|
+
#
|
3937
|
+
# @!attribute [rw] sensitivity_inspection_template_id
|
3938
|
+
# The unique identifier for the sensitivity inspection template.
|
3939
|
+
# @return [String]
|
3940
|
+
#
|
3941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplateResponse AWS API Documentation
|
3942
|
+
#
|
3943
|
+
class GetSensitivityInspectionTemplateResponse < Struct.new(
|
3944
|
+
:description,
|
3945
|
+
:excludes,
|
3946
|
+
:includes,
|
3947
|
+
:name,
|
3948
|
+
:sensitivity_inspection_template_id)
|
3949
|
+
SENSITIVE = []
|
3950
|
+
include Aws::Structure
|
3951
|
+
end
|
3952
|
+
|
3604
3953
|
# Specifies criteria for filtering, sorting, and paginating the results
|
3605
3954
|
# of a query for quotas and aggregated usage data for one or more Amazon
|
3606
3955
|
# Macie accounts.
|
@@ -4073,6 +4422,12 @@ module Aws::Macie2
|
|
4073
4422
|
# Provides information about a classification job, including the current
|
4074
4423
|
# status of the job.
|
4075
4424
|
#
|
4425
|
+
# @!attribute [rw] bucket_criteria
|
4426
|
+
# Specifies property- and tag-based conditions that define criteria
|
4427
|
+
# for including or excluding S3 buckets from a classification job.
|
4428
|
+
# Exclude conditions take precedence over include conditions.
|
4429
|
+
# @return [Types::S3BucketCriteriaForJob]
|
4430
|
+
#
|
4076
4431
|
# @!attribute [rw] bucket_definitions
|
4077
4432
|
# @return [Array<Types::S3BucketDefinitionForJob>]
|
4078
4433
|
#
|
@@ -4115,15 +4470,10 @@ module Aws::Macie2
|
|
4115
4470
|
# status of RUNNING.
|
4116
4471
|
# @return [Types::UserPausedDetails]
|
4117
4472
|
#
|
4118
|
-
# @!attribute [rw] bucket_criteria
|
4119
|
-
# Specifies property- and tag-based conditions that define criteria
|
4120
|
-
# for including or excluding S3 buckets from a classification job.
|
4121
|
-
# Exclude conditions take precedence over include conditions.
|
4122
|
-
# @return [Types::S3BucketCriteriaForJob]
|
4123
|
-
#
|
4124
4473
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
|
4125
4474
|
#
|
4126
4475
|
class JobSummary < Struct.new(
|
4476
|
+
:bucket_criteria,
|
4127
4477
|
:bucket_definitions,
|
4128
4478
|
:created_at,
|
4129
4479
|
:job_id,
|
@@ -4131,8 +4481,7 @@ module Aws::Macie2
|
|
4131
4481
|
:job_type,
|
4132
4482
|
:last_run_error_status,
|
4133
4483
|
:name,
|
4134
|
-
:user_paused_details
|
4135
|
-
:bucket_criteria)
|
4484
|
+
:user_paused_details)
|
4136
4485
|
SENSITIVE = []
|
4137
4486
|
include Aws::Structure
|
4138
4487
|
end
|
@@ -4295,19 +4644,63 @@ module Aws::Macie2
|
|
4295
4644
|
include Aws::Structure
|
4296
4645
|
end
|
4297
4646
|
|
4298
|
-
#
|
4299
|
-
# information about custom data identifiers.
|
4300
|
-
#
|
4301
|
-
# @note When making an API call, you may pass ListCustomDataIdentifiersRequest
|
4647
|
+
# @note When making an API call, you may pass ListClassificationScopesRequest
|
4302
4648
|
# data as a hash:
|
4303
4649
|
#
|
4304
4650
|
# {
|
4305
|
-
#
|
4651
|
+
# name: "__string",
|
4306
4652
|
# next_token: "__string",
|
4307
4653
|
# }
|
4308
4654
|
#
|
4309
|
-
# @!attribute [rw]
|
4310
|
-
# @return [
|
4655
|
+
# @!attribute [rw] name
|
4656
|
+
# @return [String]
|
4657
|
+
#
|
4658
|
+
# @!attribute [rw] next_token
|
4659
|
+
# @return [String]
|
4660
|
+
#
|
4661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopesRequest AWS API Documentation
|
4662
|
+
#
|
4663
|
+
class ListClassificationScopesRequest < Struct.new(
|
4664
|
+
:name,
|
4665
|
+
:next_token)
|
4666
|
+
SENSITIVE = []
|
4667
|
+
include Aws::Structure
|
4668
|
+
end
|
4669
|
+
|
4670
|
+
# Provides the results of a request for information about the
|
4671
|
+
# classification scope for an Amazon Macie account. Macie uses the
|
4672
|
+
# scope's settings when it performs automated sensitive data discovery
|
4673
|
+
# for the account.
|
4674
|
+
#
|
4675
|
+
# @!attribute [rw] classification_scopes
|
4676
|
+
# @return [Array<Types::ClassificationScopeSummary>]
|
4677
|
+
#
|
4678
|
+
# @!attribute [rw] next_token
|
4679
|
+
# Specifies which page of results to return in a paginated response.
|
4680
|
+
# @return [String]
|
4681
|
+
#
|
4682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopesResponse AWS API Documentation
|
4683
|
+
#
|
4684
|
+
class ListClassificationScopesResponse < Struct.new(
|
4685
|
+
:classification_scopes,
|
4686
|
+
:next_token)
|
4687
|
+
SENSITIVE = []
|
4688
|
+
include Aws::Structure
|
4689
|
+
end
|
4690
|
+
|
4691
|
+
# Specifies criteria for paginating the results of a request for
|
4692
|
+
# information about custom data identifiers.
|
4693
|
+
#
|
4694
|
+
# @note When making an API call, you may pass ListCustomDataIdentifiersRequest
|
4695
|
+
# data as a hash:
|
4696
|
+
#
|
4697
|
+
# {
|
4698
|
+
# max_results: 1,
|
4699
|
+
# next_token: "__string",
|
4700
|
+
# }
|
4701
|
+
#
|
4702
|
+
# @!attribute [rw] max_results
|
4703
|
+
# @return [Integer]
|
4311
4704
|
#
|
4312
4705
|
# @!attribute [rw] next_token
|
4313
4706
|
# @return [String]
|
@@ -4719,6 +5112,142 @@ module Aws::Macie2
|
|
4719
5112
|
include Aws::Structure
|
4720
5113
|
end
|
4721
5114
|
|
5115
|
+
# @note When making an API call, you may pass ListResourceProfileArtifactsRequest
|
5116
|
+
# data as a hash:
|
5117
|
+
#
|
5118
|
+
# {
|
5119
|
+
# next_token: "__string",
|
5120
|
+
# resource_arn: "__string", # required
|
5121
|
+
# }
|
5122
|
+
#
|
5123
|
+
# @!attribute [rw] next_token
|
5124
|
+
# @return [String]
|
5125
|
+
#
|
5126
|
+
# @!attribute [rw] resource_arn
|
5127
|
+
# @return [String]
|
5128
|
+
#
|
5129
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifactsRequest AWS API Documentation
|
5130
|
+
#
|
5131
|
+
class ListResourceProfileArtifactsRequest < Struct.new(
|
5132
|
+
:next_token,
|
5133
|
+
:resource_arn)
|
5134
|
+
SENSITIVE = []
|
5135
|
+
include Aws::Structure
|
5136
|
+
end
|
5137
|
+
|
5138
|
+
# Provides the results of a request for information about the S3 objects
|
5139
|
+
# that Amazon Macie selected for analysis while performing automated
|
5140
|
+
# sensitive data discovery for an S3 bucket. This information is
|
5141
|
+
# available only if automated sensitive data discovery is currently
|
5142
|
+
# enabled for your account.
|
5143
|
+
#
|
5144
|
+
# @!attribute [rw] artifacts
|
5145
|
+
# @return [Array<Types::ResourceProfileArtifact>]
|
5146
|
+
#
|
5147
|
+
# @!attribute [rw] next_token
|
5148
|
+
# @return [String]
|
5149
|
+
#
|
5150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifactsResponse AWS API Documentation
|
5151
|
+
#
|
5152
|
+
class ListResourceProfileArtifactsResponse < Struct.new(
|
5153
|
+
:artifacts,
|
5154
|
+
:next_token)
|
5155
|
+
SENSITIVE = []
|
5156
|
+
include Aws::Structure
|
5157
|
+
end
|
5158
|
+
|
5159
|
+
# @note When making an API call, you may pass ListResourceProfileDetectionsRequest
|
5160
|
+
# data as a hash:
|
5161
|
+
#
|
5162
|
+
# {
|
5163
|
+
# max_results: 1,
|
5164
|
+
# next_token: "__string",
|
5165
|
+
# resource_arn: "__string", # required
|
5166
|
+
# }
|
5167
|
+
#
|
5168
|
+
# @!attribute [rw] max_results
|
5169
|
+
# @return [Integer]
|
5170
|
+
#
|
5171
|
+
# @!attribute [rw] next_token
|
5172
|
+
# @return [String]
|
5173
|
+
#
|
5174
|
+
# @!attribute [rw] resource_arn
|
5175
|
+
# @return [String]
|
5176
|
+
#
|
5177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetectionsRequest AWS API Documentation
|
5178
|
+
#
|
5179
|
+
class ListResourceProfileDetectionsRequest < Struct.new(
|
5180
|
+
:max_results,
|
5181
|
+
:next_token,
|
5182
|
+
:resource_arn)
|
5183
|
+
SENSITIVE = []
|
5184
|
+
include Aws::Structure
|
5185
|
+
end
|
5186
|
+
|
5187
|
+
# Provides the results of a request for information about the types and
|
5188
|
+
# amount of sensitive data that Amazon Macie found in an S3 bucket while
|
5189
|
+
# performing automated sensitive data discovery for the bucket. This
|
5190
|
+
# information is available only if automated sensitive data discovery is
|
5191
|
+
# currently enabled for your account.
|
5192
|
+
#
|
5193
|
+
# @!attribute [rw] detections
|
5194
|
+
# @return [Array<Types::Detection>]
|
5195
|
+
#
|
5196
|
+
# @!attribute [rw] next_token
|
5197
|
+
# @return [String]
|
5198
|
+
#
|
5199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetectionsResponse AWS API Documentation
|
5200
|
+
#
|
5201
|
+
class ListResourceProfileDetectionsResponse < Struct.new(
|
5202
|
+
:detections,
|
5203
|
+
:next_token)
|
5204
|
+
SENSITIVE = []
|
5205
|
+
include Aws::Structure
|
5206
|
+
end
|
5207
|
+
|
5208
|
+
# @note When making an API call, you may pass ListSensitivityInspectionTemplatesRequest
|
5209
|
+
# data as a hash:
|
5210
|
+
#
|
5211
|
+
# {
|
5212
|
+
# max_results: 1,
|
5213
|
+
# next_token: "__string",
|
5214
|
+
# }
|
5215
|
+
#
|
5216
|
+
# @!attribute [rw] max_results
|
5217
|
+
# @return [Integer]
|
5218
|
+
#
|
5219
|
+
# @!attribute [rw] next_token
|
5220
|
+
# @return [String]
|
5221
|
+
#
|
5222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplatesRequest AWS API Documentation
|
5223
|
+
#
|
5224
|
+
class ListSensitivityInspectionTemplatesRequest < Struct.new(
|
5225
|
+
:max_results,
|
5226
|
+
:next_token)
|
5227
|
+
SENSITIVE = []
|
5228
|
+
include Aws::Structure
|
5229
|
+
end
|
5230
|
+
|
5231
|
+
# Provides the results of a request for information about the
|
5232
|
+
# sensitivity inspection template for an Amazon Macie account. Macie
|
5233
|
+
# uses the template's settings when it performs automated sensitive
|
5234
|
+
# data discovery for the account.
|
5235
|
+
#
|
5236
|
+
# @!attribute [rw] next_token
|
5237
|
+
# @return [String]
|
5238
|
+
#
|
5239
|
+
# @!attribute [rw] sensitivity_inspection_templates
|
5240
|
+
# @return [Array<Types::SensitivityInspectionTemplatesEntry>]
|
5241
|
+
#
|
5242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplatesResponse AWS API Documentation
|
5243
|
+
#
|
5244
|
+
class ListSensitivityInspectionTemplatesResponse < Struct.new(
|
5245
|
+
:next_token,
|
5246
|
+
:sensitivity_inspection_templates)
|
5247
|
+
SENSITIVE = []
|
5248
|
+
include Aws::Structure
|
5249
|
+
end
|
5250
|
+
|
4722
5251
|
# @note When making an API call, you may pass ListTagsForResourceRequest
|
4723
5252
|
# data as a hash:
|
4724
5253
|
#
|
@@ -4784,7 +5313,7 @@ module Aws::Macie2
|
|
4784
5313
|
# that Amazon Macie monitors and analyzes for your account. If an error
|
4785
5314
|
# occurs when Macie attempts to retrieve and process information about
|
4786
5315
|
# the bucket or the bucket's objects, the value for most of these
|
4787
|
-
# properties is null.
|
5316
|
+
# properties is null. Key exceptions are accountId and bucketName. To
|
4788
5317
|
# identify the cause of the error, refer to the errorCode and
|
4789
5318
|
# errorMessage values.
|
4790
5319
|
#
|
@@ -4802,8 +5331,8 @@ module Aws::Macie2
|
|
4802
5331
|
#
|
4803
5332
|
# @!attribute [rw] error_code
|
4804
5333
|
# The error code for an error that prevented Amazon Macie from
|
4805
|
-
# retrieving and processing
|
4806
|
-
# bucket's objects.
|
5334
|
+
# retrieving and processing metadata from Amazon S3 for an S3 bucket
|
5335
|
+
# and the bucket's objects.
|
4807
5336
|
# @return [String]
|
4808
5337
|
#
|
4809
5338
|
# @!attribute [rw] error_message
|
@@ -4815,6 +5344,9 @@ module Aws::Macie2
|
|
4815
5344
|
# of the job that ran most recently.
|
4816
5345
|
# @return [Types::JobDetails]
|
4817
5346
|
#
|
5347
|
+
# @!attribute [rw] last_automated_discovery_time
|
5348
|
+
# @return [Time]
|
5349
|
+
#
|
4818
5350
|
# @!attribute [rw] object_count
|
4819
5351
|
# @return [Integer]
|
4820
5352
|
#
|
@@ -4824,6 +5356,9 @@ module Aws::Macie2
|
|
4824
5356
|
# client-side encryption, or aren't encrypted.
|
4825
5357
|
# @return [Types::ObjectCountByEncryptionType]
|
4826
5358
|
#
|
5359
|
+
# @!attribute [rw] sensitivity_score
|
5360
|
+
# @return [Integer]
|
5361
|
+
#
|
4827
5362
|
# @!attribute [rw] size_in_bytes
|
4828
5363
|
# @return [Integer]
|
4829
5364
|
#
|
@@ -4835,10 +5370,10 @@ module Aws::Macie2
|
|
4835
5370
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
4836
5371
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
4837
5372
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
4838
|
-
# data is aggregated for the buckets in the query results. If
|
4839
|
-
# versioning is enabled for a bucket,
|
4840
|
-
#
|
4841
|
-
#
|
5373
|
+
# data is aggregated for all the buckets in the query results. If
|
5374
|
+
# versioning is enabled for a bucket, storage size values are based on
|
5375
|
+
# the size of the latest version of each applicable object in the
|
5376
|
+
# bucket.
|
4842
5377
|
# @return [Types::ObjectLevelStatistics]
|
4843
5378
|
#
|
4844
5379
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -4846,10 +5381,10 @@ module Aws::Macie2
|
|
4846
5381
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
4847
5382
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
4848
5383
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
4849
|
-
# data is aggregated for the buckets in the query results. If
|
4850
|
-
# versioning is enabled for a bucket,
|
4851
|
-
#
|
4852
|
-
#
|
5384
|
+
# data is aggregated for all the buckets in the query results. If
|
5385
|
+
# versioning is enabled for a bucket, storage size values are based on
|
5386
|
+
# the size of the latest version of each applicable object in the
|
5387
|
+
# bucket.
|
4853
5388
|
# @return [Types::ObjectLevelStatistics]
|
4854
5389
|
#
|
4855
5390
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingBucket AWS API Documentation
|
@@ -4862,8 +5397,10 @@ module Aws::Macie2
|
|
4862
5397
|
:error_code,
|
4863
5398
|
:error_message,
|
4864
5399
|
:job_details,
|
5400
|
+
:last_automated_discovery_time,
|
4865
5401
|
:object_count,
|
4866
5402
|
:object_count_by_encryption_type,
|
5403
|
+
:sensitivity_score,
|
4867
5404
|
:size_in_bytes,
|
4868
5405
|
:size_in_bytes_compressed,
|
4869
5406
|
:unclassifiable_object_count,
|
@@ -4881,9 +5418,9 @@ module Aws::Macie2
|
|
4881
5418
|
# that Amazon Macie monitors and analyzes for your account. If an
|
4882
5419
|
# error occurs when Macie attempts to retrieve and process information
|
4883
5420
|
# about the bucket or the bucket's objects, the value for most of
|
4884
|
-
# these properties is null.
|
4885
|
-
# To identify the cause of the error, refer to the
|
4886
|
-
# errorMessage values.
|
5421
|
+
# these properties is null. Key exceptions are accountId and
|
5422
|
+
# bucketName. To identify the cause of the error, refer to the
|
5423
|
+
# errorCode and errorMessage values.
|
4887
5424
|
# @return [Types::MatchingBucket]
|
4888
5425
|
#
|
4889
5426
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingResource AWS API Documentation
|
@@ -5000,9 +5537,9 @@ module Aws::Macie2
|
|
5000
5537
|
# of objects that Amazon Macie can't analyze in one or more S3 buckets.
|
5001
5538
|
# In a BucketMetadata or MatchingBucket object, this data is for a
|
5002
5539
|
# specific bucket. In a GetBucketStatisticsResponse object, this data is
|
5003
|
-
# aggregated for the buckets in the query results. If versioning is
|
5004
|
-
# enabled for a bucket,
|
5005
|
-
#
|
5540
|
+
# aggregated for all the buckets in the query results. If versioning is
|
5541
|
+
# enabled for a bucket, storage size values are based on the size of the
|
5542
|
+
# latest version of each applicable object in the bucket.
|
5006
5543
|
#
|
5007
5544
|
# @!attribute [rw] file_type
|
5008
5545
|
# @return [Integer]
|
@@ -5113,7 +5650,6 @@ module Aws::Macie2
|
|
5113
5650
|
|
5114
5651
|
# Specifies where to store data classification results, and the
|
5115
5652
|
# encryption settings to use when storing results in that location.
|
5116
|
-
# Currently, you can store classification results only in an S3 bucket.
|
5117
5653
|
#
|
5118
5654
|
# @note When making an API call, you may pass PutClassificationExportConfigurationRequest
|
5119
5655
|
# data as a hash:
|
@@ -5131,8 +5667,7 @@ module Aws::Macie2
|
|
5131
5667
|
# @!attribute [rw] configuration
|
5132
5668
|
# Specifies where to store data classification results, and the
|
5133
5669
|
# encryption settings to use when storing results in that location.
|
5134
|
-
#
|
5135
|
-
# bucket.
|
5670
|
+
# The location must be an S3 bucket.
|
5136
5671
|
# @return [Types::ClassificationExportConfiguration]
|
5137
5672
|
#
|
5138
5673
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfigurationRequest AWS API Documentation
|
@@ -5149,8 +5684,7 @@ module Aws::Macie2
|
|
5149
5684
|
# @!attribute [rw] configuration
|
5150
5685
|
# Specifies where to store data classification results, and the
|
5151
5686
|
# encryption settings to use when storing results in that location.
|
5152
|
-
#
|
5153
|
-
# bucket.
|
5687
|
+
# The location must be an S3 bucket.
|
5154
5688
|
# @return [Types::ClassificationExportConfiguration]
|
5155
5689
|
#
|
5156
5690
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfigurationResponse AWS API Documentation
|
@@ -5282,6 +5816,81 @@ module Aws::Macie2
|
|
5282
5816
|
include Aws::Structure
|
5283
5817
|
end
|
5284
5818
|
|
5819
|
+
# Provides information about an S3 object that Amazon Macie selected for
|
5820
|
+
# analysis while performing automated sensitive data discovery for an S3
|
5821
|
+
# bucket, and the status and results of the analysis. This information
|
5822
|
+
# is available only if automated sensitive data discovery is currently
|
5823
|
+
# enabled for your account.
|
5824
|
+
#
|
5825
|
+
# @!attribute [rw] arn
|
5826
|
+
# @return [String]
|
5827
|
+
#
|
5828
|
+
# @!attribute [rw] classification_result_status
|
5829
|
+
# @return [String]
|
5830
|
+
#
|
5831
|
+
# @!attribute [rw] sensitive
|
5832
|
+
# @return [Boolean]
|
5833
|
+
#
|
5834
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ResourceProfileArtifact AWS API Documentation
|
5835
|
+
#
|
5836
|
+
class ResourceProfileArtifact < Struct.new(
|
5837
|
+
:arn,
|
5838
|
+
:classification_result_status,
|
5839
|
+
:sensitive)
|
5840
|
+
SENSITIVE = []
|
5841
|
+
include Aws::Structure
|
5842
|
+
end
|
5843
|
+
|
5844
|
+
# Provides statistical data for sensitive data discovery metrics that
|
5845
|
+
# apply to an S3 bucket that Amazon Macie monitors and analyzes for your
|
5846
|
+
# account. The statistics capture the results of automated sensitive
|
5847
|
+
# data discovery activities that Macie has performed for the bucket. The
|
5848
|
+
# data is available only if automated sensitive data discovery is
|
5849
|
+
# currently enabled for your account.
|
5850
|
+
#
|
5851
|
+
# @!attribute [rw] total_bytes_classified
|
5852
|
+
# @return [Integer]
|
5853
|
+
#
|
5854
|
+
# @!attribute [rw] total_detections
|
5855
|
+
# @return [Integer]
|
5856
|
+
#
|
5857
|
+
# @!attribute [rw] total_detections_suppressed
|
5858
|
+
# @return [Integer]
|
5859
|
+
#
|
5860
|
+
# @!attribute [rw] total_items_classified
|
5861
|
+
# @return [Integer]
|
5862
|
+
#
|
5863
|
+
# @!attribute [rw] total_items_sensitive
|
5864
|
+
# @return [Integer]
|
5865
|
+
#
|
5866
|
+
# @!attribute [rw] total_items_skipped
|
5867
|
+
# @return [Integer]
|
5868
|
+
#
|
5869
|
+
# @!attribute [rw] total_items_skipped_invalid_encryption
|
5870
|
+
# @return [Integer]
|
5871
|
+
#
|
5872
|
+
# @!attribute [rw] total_items_skipped_invalid_kms
|
5873
|
+
# @return [Integer]
|
5874
|
+
#
|
5875
|
+
# @!attribute [rw] total_items_skipped_permission_denied
|
5876
|
+
# @return [Integer]
|
5877
|
+
#
|
5878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ResourceStatistics AWS API Documentation
|
5879
|
+
#
|
5880
|
+
class ResourceStatistics < Struct.new(
|
5881
|
+
:total_bytes_classified,
|
5882
|
+
:total_detections,
|
5883
|
+
:total_detections_suppressed,
|
5884
|
+
:total_items_classified,
|
5885
|
+
:total_items_sensitive,
|
5886
|
+
:total_items_skipped,
|
5887
|
+
:total_items_skipped_invalid_encryption,
|
5888
|
+
:total_items_skipped_invalid_kms,
|
5889
|
+
:total_items_skipped_permission_denied)
|
5890
|
+
SENSITIVE = []
|
5891
|
+
include Aws::Structure
|
5892
|
+
end
|
5893
|
+
|
5285
5894
|
# Provides information about the resources that a finding applies to.
|
5286
5895
|
#
|
5287
5896
|
# @!attribute [rw] s3_bucket
|
@@ -5499,6 +6108,91 @@ module Aws::Macie2
|
|
5499
6108
|
include Aws::Structure
|
5500
6109
|
end
|
5501
6110
|
|
6111
|
+
# Specifies the S3 buckets that are excluded from automated sensitive
|
6112
|
+
# data discovery for an Amazon Macie account.
|
6113
|
+
#
|
6114
|
+
# @!attribute [rw] excludes
|
6115
|
+
# Specifies the names of the S3 buckets that are excluded from
|
6116
|
+
# automated sensitive data discovery.
|
6117
|
+
# @return [Types::S3ClassificationScopeExclusion]
|
6118
|
+
#
|
6119
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScope AWS API Documentation
|
6120
|
+
#
|
6121
|
+
class S3ClassificationScope < Struct.new(
|
6122
|
+
:excludes)
|
6123
|
+
SENSITIVE = []
|
6124
|
+
include Aws::Structure
|
6125
|
+
end
|
6126
|
+
|
6127
|
+
# Specifies the names of the S3 buckets that are excluded from automated
|
6128
|
+
# sensitive data discovery.
|
6129
|
+
#
|
6130
|
+
# @!attribute [rw] bucket_names
|
6131
|
+
# @return [Array<String>]
|
6132
|
+
#
|
6133
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScopeExclusion AWS API Documentation
|
6134
|
+
#
|
6135
|
+
class S3ClassificationScopeExclusion < Struct.new(
|
6136
|
+
:bucket_names)
|
6137
|
+
SENSITIVE = []
|
6138
|
+
include Aws::Structure
|
6139
|
+
end
|
6140
|
+
|
6141
|
+
# Specifies S3 buckets to add or remove from the exclusion list defined
|
6142
|
+
# by the classification scope for an Amazon Macie account.
|
6143
|
+
#
|
6144
|
+
# @note When making an API call, you may pass S3ClassificationScopeExclusionUpdate
|
6145
|
+
# data as a hash:
|
6146
|
+
#
|
6147
|
+
# {
|
6148
|
+
# bucket_names: ["S3BucketName"], # required
|
6149
|
+
# operation: "ADD", # required, accepts ADD, REPLACE, REMOVE
|
6150
|
+
# }
|
6151
|
+
#
|
6152
|
+
# @!attribute [rw] bucket_names
|
6153
|
+
# @return [Array<String>]
|
6154
|
+
#
|
6155
|
+
# @!attribute [rw] operation
|
6156
|
+
# Specifies how to apply changes to the S3 bucket exclusion list
|
6157
|
+
# defined by the classification scope for an Amazon Macie account.
|
6158
|
+
# Valid values are:
|
6159
|
+
# @return [String]
|
6160
|
+
#
|
6161
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScopeExclusionUpdate AWS API Documentation
|
6162
|
+
#
|
6163
|
+
class S3ClassificationScopeExclusionUpdate < Struct.new(
|
6164
|
+
:bucket_names,
|
6165
|
+
:operation)
|
6166
|
+
SENSITIVE = []
|
6167
|
+
include Aws::Structure
|
6168
|
+
end
|
6169
|
+
|
6170
|
+
# Specifies changes to the list of S3 buckets that are excluded from
|
6171
|
+
# automated sensitive data discovery for an Amazon Macie account.
|
6172
|
+
#
|
6173
|
+
# @note When making an API call, you may pass S3ClassificationScopeUpdate
|
6174
|
+
# data as a hash:
|
6175
|
+
#
|
6176
|
+
# {
|
6177
|
+
# excludes: { # required
|
6178
|
+
# bucket_names: ["S3BucketName"], # required
|
6179
|
+
# operation: "ADD", # required, accepts ADD, REPLACE, REMOVE
|
6180
|
+
# },
|
6181
|
+
# }
|
6182
|
+
#
|
6183
|
+
# @!attribute [rw] excludes
|
6184
|
+
# Specifies S3 buckets to add or remove from the exclusion list
|
6185
|
+
# defined by the classification scope for an Amazon Macie account.
|
6186
|
+
# @return [Types::S3ClassificationScopeExclusionUpdate]
|
6187
|
+
#
|
6188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScopeUpdate AWS API Documentation
|
6189
|
+
#
|
6190
|
+
class S3ClassificationScopeUpdate < Struct.new(
|
6191
|
+
:excludes)
|
6192
|
+
SENSITIVE = []
|
6193
|
+
include Aws::Structure
|
6194
|
+
end
|
6195
|
+
|
5502
6196
|
# Specifies an S3 bucket to store data classification results in, and
|
5503
6197
|
# the encryption settings to use when storing results in that bucket.
|
5504
6198
|
#
|
@@ -5542,31 +6236,23 @@ module Aws::Macie2
|
|
5542
6236
|
# data as a hash:
|
5543
6237
|
#
|
5544
6238
|
# {
|
5545
|
-
#
|
5546
|
-
# {
|
5547
|
-
# account_id: "__string", # required
|
5548
|
-
# buckets: ["__string"], # required
|
5549
|
-
# },
|
5550
|
-
# ],
|
5551
|
-
# scoping: {
|
6239
|
+
# bucket_criteria: {
|
5552
6240
|
# excludes: {
|
5553
6241
|
# and: [
|
5554
6242
|
# {
|
5555
|
-
#
|
6243
|
+
# simple_criterion: {
|
5556
6244
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5557
|
-
# key: "
|
6245
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5558
6246
|
# values: ["__string"],
|
5559
6247
|
# },
|
5560
|
-
#
|
6248
|
+
# tag_criterion: {
|
5561
6249
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5562
|
-
# key: "__string",
|
5563
6250
|
# tag_values: [
|
5564
6251
|
# {
|
5565
6252
|
# key: "__string",
|
5566
6253
|
# value: "__string",
|
5567
6254
|
# },
|
5568
6255
|
# ],
|
5569
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5570
6256
|
# },
|
5571
6257
|
# },
|
5572
6258
|
# ],
|
@@ -5574,43 +6260,49 @@ module Aws::Macie2
|
|
5574
6260
|
# includes: {
|
5575
6261
|
# and: [
|
5576
6262
|
# {
|
5577
|
-
#
|
6263
|
+
# simple_criterion: {
|
5578
6264
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5579
|
-
# key: "
|
6265
|
+
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5580
6266
|
# values: ["__string"],
|
5581
6267
|
# },
|
5582
|
-
#
|
6268
|
+
# tag_criterion: {
|
5583
6269
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5584
|
-
# key: "__string",
|
5585
6270
|
# tag_values: [
|
5586
6271
|
# {
|
5587
6272
|
# key: "__string",
|
5588
6273
|
# value: "__string",
|
5589
6274
|
# },
|
5590
6275
|
# ],
|
5591
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5592
6276
|
# },
|
5593
6277
|
# },
|
5594
6278
|
# ],
|
5595
6279
|
# },
|
5596
6280
|
# },
|
5597
|
-
#
|
6281
|
+
# bucket_definitions: [
|
6282
|
+
# {
|
6283
|
+
# account_id: "__string", # required
|
6284
|
+
# buckets: ["__string"], # required
|
6285
|
+
# },
|
6286
|
+
# ],
|
6287
|
+
# scoping: {
|
5598
6288
|
# excludes: {
|
5599
6289
|
# and: [
|
5600
6290
|
# {
|
5601
|
-
#
|
6291
|
+
# simple_scope_term: {
|
5602
6292
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5603
|
-
# key: "
|
6293
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5604
6294
|
# values: ["__string"],
|
5605
6295
|
# },
|
5606
|
-
#
|
6296
|
+
# tag_scope_term: {
|
5607
6297
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
6298
|
+
# key: "__string",
|
5608
6299
|
# tag_values: [
|
5609
6300
|
# {
|
5610
6301
|
# key: "__string",
|
5611
6302
|
# value: "__string",
|
5612
6303
|
# },
|
5613
6304
|
# ],
|
6305
|
+
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5614
6306
|
# },
|
5615
6307
|
# },
|
5616
6308
|
# ],
|
@@ -5618,19 +6310,21 @@ module Aws::Macie2
|
|
5618
6310
|
# includes: {
|
5619
6311
|
# and: [
|
5620
6312
|
# {
|
5621
|
-
#
|
6313
|
+
# simple_scope_term: {
|
5622
6314
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5623
|
-
# key: "
|
6315
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5624
6316
|
# values: ["__string"],
|
5625
6317
|
# },
|
5626
|
-
#
|
6318
|
+
# tag_scope_term: {
|
5627
6319
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
6320
|
+
# key: "__string",
|
5628
6321
|
# tag_values: [
|
5629
6322
|
# {
|
5630
6323
|
# key: "__string",
|
5631
6324
|
# value: "__string",
|
5632
6325
|
# },
|
5633
6326
|
# ],
|
6327
|
+
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5634
6328
|
# },
|
5635
6329
|
# },
|
5636
6330
|
# ],
|
@@ -5638,6 +6332,12 @@ module Aws::Macie2
|
|
5638
6332
|
# },
|
5639
6333
|
# }
|
5640
6334
|
#
|
6335
|
+
# @!attribute [rw] bucket_criteria
|
6336
|
+
# Specifies property- and tag-based conditions that define criteria
|
6337
|
+
# for including or excluding S3 buckets from a classification job.
|
6338
|
+
# Exclude conditions take precedence over include conditions.
|
6339
|
+
# @return [Types::S3BucketCriteriaForJob]
|
6340
|
+
#
|
5641
6341
|
# @!attribute [rw] bucket_definitions
|
5642
6342
|
# @return [Array<Types::S3BucketDefinitionForJob>]
|
5643
6343
|
#
|
@@ -5647,18 +6347,12 @@ module Aws::Macie2
|
|
5647
6347
|
# job. Exclude conditions take precedence over include conditions.
|
5648
6348
|
# @return [Types::Scoping]
|
5649
6349
|
#
|
5650
|
-
# @!attribute [rw] bucket_criteria
|
5651
|
-
# Specifies property- and tag-based conditions that define criteria
|
5652
|
-
# for including or excluding S3 buckets from a classification job.
|
5653
|
-
# Exclude conditions take precedence over include conditions.
|
5654
|
-
# @return [Types::S3BucketCriteriaForJob]
|
5655
|
-
#
|
5656
6350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3JobDefinition AWS API Documentation
|
5657
6351
|
#
|
5658
6352
|
class S3JobDefinition < Struct.new(
|
6353
|
+
:bucket_criteria,
|
5659
6354
|
:bucket_definitions,
|
5660
|
-
:scoping
|
5661
|
-
:bucket_criteria)
|
6355
|
+
:scoping)
|
5662
6356
|
SENSITIVE = []
|
5663
6357
|
include Aws::Structure
|
5664
6358
|
end
|
@@ -6275,12 +6969,129 @@ module Aws::Macie2
|
|
6275
6969
|
include Aws::Structure
|
6276
6970
|
end
|
6277
6971
|
|
6972
|
+
# Provides aggregated statistical data for sensitive data discovery
|
6973
|
+
# metrics that apply to S3 buckets. Each field contains aggregated data
|
6974
|
+
# for all the buckets that have a sensitivity score (sensitivityScore)
|
6975
|
+
# of a specified value or within a specified range
|
6976
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data discovery
|
6977
|
+
# is currently disabled for your account, the value for each field is 0.
|
6978
|
+
#
|
6979
|
+
# @!attribute [rw] classifiable_size_in_bytes
|
6980
|
+
# @return [Integer]
|
6981
|
+
#
|
6982
|
+
# @!attribute [rw] publicly_accessible_count
|
6983
|
+
# @return [Integer]
|
6984
|
+
#
|
6985
|
+
# @!attribute [rw] total_count
|
6986
|
+
# @return [Integer]
|
6987
|
+
#
|
6988
|
+
# @!attribute [rw] total_size_in_bytes
|
6989
|
+
# @return [Integer]
|
6990
|
+
#
|
6991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityAggregations AWS API Documentation
|
6992
|
+
#
|
6993
|
+
class SensitivityAggregations < Struct.new(
|
6994
|
+
:classifiable_size_in_bytes,
|
6995
|
+
:publicly_accessible_count,
|
6996
|
+
:total_count,
|
6997
|
+
:total_size_in_bytes)
|
6998
|
+
SENSITIVE = []
|
6999
|
+
include Aws::Structure
|
7000
|
+
end
|
7001
|
+
|
7002
|
+
# Specifies managed data identifiers to exclude (not use) when
|
7003
|
+
# performing automated sensitive data discovery for an Amazon Macie
|
7004
|
+
# account. For information about the managed data identifiers that
|
7005
|
+
# Amazon Macie currently provides, see [Using managed data
|
7006
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
7007
|
+
#
|
7008
|
+
#
|
7009
|
+
#
|
7010
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
7011
|
+
#
|
7012
|
+
# @note When making an API call, you may pass SensitivityInspectionTemplateExcludes
|
7013
|
+
# data as a hash:
|
7014
|
+
#
|
7015
|
+
# {
|
7016
|
+
# managed_data_identifier_ids: ["__string"],
|
7017
|
+
# }
|
7018
|
+
#
|
7019
|
+
# @!attribute [rw] managed_data_identifier_ids
|
7020
|
+
# @return [Array<String>]
|
7021
|
+
#
|
7022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityInspectionTemplateExcludes AWS API Documentation
|
7023
|
+
#
|
7024
|
+
class SensitivityInspectionTemplateExcludes < Struct.new(
|
7025
|
+
:managed_data_identifier_ids)
|
7026
|
+
SENSITIVE = []
|
7027
|
+
include Aws::Structure
|
7028
|
+
end
|
7029
|
+
|
7030
|
+
# Specifies the allow lists, custom data identifiers, and managed data
|
7031
|
+
# identifiers to include (use) when performing automated sensitive data
|
7032
|
+
# discovery for an Amazon Macie account. The configuration must specify
|
7033
|
+
# at least one custom data identifier or managed data identifier. For
|
7034
|
+
# information about the managed data identifiers that Amazon Macie
|
7035
|
+
# currently provides, see [Using managed data identifiers][1] in the
|
7036
|
+
# *Amazon Macie User Guide*.
|
7037
|
+
#
|
7038
|
+
#
|
7039
|
+
#
|
7040
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
7041
|
+
#
|
7042
|
+
# @note When making an API call, you may pass SensitivityInspectionTemplateIncludes
|
7043
|
+
# data as a hash:
|
7044
|
+
#
|
7045
|
+
# {
|
7046
|
+
# allow_list_ids: ["__string"],
|
7047
|
+
# custom_data_identifier_ids: ["__string"],
|
7048
|
+
# managed_data_identifier_ids: ["__string"],
|
7049
|
+
# }
|
7050
|
+
#
|
7051
|
+
# @!attribute [rw] allow_list_ids
|
7052
|
+
# @return [Array<String>]
|
7053
|
+
#
|
7054
|
+
# @!attribute [rw] custom_data_identifier_ids
|
7055
|
+
# @return [Array<String>]
|
7056
|
+
#
|
7057
|
+
# @!attribute [rw] managed_data_identifier_ids
|
7058
|
+
# @return [Array<String>]
|
7059
|
+
#
|
7060
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityInspectionTemplateIncludes AWS API Documentation
|
7061
|
+
#
|
7062
|
+
class SensitivityInspectionTemplateIncludes < Struct.new(
|
7063
|
+
:allow_list_ids,
|
7064
|
+
:custom_data_identifier_ids,
|
7065
|
+
:managed_data_identifier_ids)
|
7066
|
+
SENSITIVE = []
|
7067
|
+
include Aws::Structure
|
7068
|
+
end
|
7069
|
+
|
7070
|
+
# Provides information about the sensitivity inspection template for an
|
7071
|
+
# Amazon Macie account. Macie uses the template's settings when it
|
7072
|
+
# performs automated sensitive data discovery for the account.
|
7073
|
+
#
|
7074
|
+
# @!attribute [rw] id
|
7075
|
+
# @return [String]
|
7076
|
+
#
|
7077
|
+
# @!attribute [rw] name
|
7078
|
+
# @return [String]
|
7079
|
+
#
|
7080
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityInspectionTemplatesEntry AWS API Documentation
|
7081
|
+
#
|
7082
|
+
class SensitivityInspectionTemplatesEntry < Struct.new(
|
7083
|
+
:id,
|
7084
|
+
:name)
|
7085
|
+
SENSITIVE = []
|
7086
|
+
include Aws::Structure
|
7087
|
+
end
|
7088
|
+
|
6278
7089
|
# Provides information about the server-side encryption settings for an
|
6279
7090
|
# S3 bucket or S3 object.
|
6280
7091
|
#
|
6281
7092
|
# @!attribute [rw] encryption_type
|
6282
7093
|
# The type of server-side encryption that's used to encrypt an S3
|
6283
|
-
# object or objects in an S3 bucket.
|
7094
|
+
# object or objects in an S3 bucket. Possible values are:
|
6284
7095
|
# @return [String]
|
6285
7096
|
#
|
6286
7097
|
# @!attribute [rw] kms_master_key_id
|
@@ -6564,6 +7375,35 @@ module Aws::Macie2
|
|
6564
7375
|
include Aws::Structure
|
6565
7376
|
end
|
6566
7377
|
|
7378
|
+
# Specifies a custom data identifier or managed data identifier that
|
7379
|
+
# detected a type of sensitive data to start excluding or including in
|
7380
|
+
# an S3 bucket's sensitivity score.
|
7381
|
+
#
|
7382
|
+
# @note When making an API call, you may pass SuppressDataIdentifier
|
7383
|
+
# data as a hash:
|
7384
|
+
#
|
7385
|
+
# {
|
7386
|
+
# id: "__string",
|
7387
|
+
# type: "CUSTOM", # accepts CUSTOM, MANAGED
|
7388
|
+
# }
|
7389
|
+
#
|
7390
|
+
# @!attribute [rw] id
|
7391
|
+
# @return [String]
|
7392
|
+
#
|
7393
|
+
# @!attribute [rw] type
|
7394
|
+
# The type of data identifier that detected a specific type of
|
7395
|
+
# sensitive data in an S3 bucket. Possible values are:
|
7396
|
+
# @return [String]
|
7397
|
+
#
|
7398
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SuppressDataIdentifier AWS API Documentation
|
7399
|
+
#
|
7400
|
+
class SuppressDataIdentifier < Struct.new(
|
7401
|
+
:id,
|
7402
|
+
:type)
|
7403
|
+
SENSITIVE = []
|
7404
|
+
include Aws::Structure
|
7405
|
+
end
|
7406
|
+
|
6567
7407
|
# Specifies a tag-based condition that determines whether an S3 bucket
|
6568
7408
|
# is included or excluded from a classification job.
|
6569
7409
|
#
|
@@ -6937,6 +7777,33 @@ module Aws::Macie2
|
|
6937
7777
|
include Aws::Structure
|
6938
7778
|
end
|
6939
7779
|
|
7780
|
+
# Enables or disables automated sensitive data discovery for an Amazon
|
7781
|
+
# Macie account.
|
7782
|
+
#
|
7783
|
+
# @note When making an API call, you may pass UpdateAutomatedDiscoveryConfigurationRequest
|
7784
|
+
# data as a hash:
|
7785
|
+
#
|
7786
|
+
# {
|
7787
|
+
# status: "ENABLED", # required, accepts ENABLED, DISABLED
|
7788
|
+
# }
|
7789
|
+
#
|
7790
|
+
# @!attribute [rw] status
|
7791
|
+
# The status of the automated sensitive data discovery configuration
|
7792
|
+
# for an Amazon Macie account. Valid values are:
|
7793
|
+
# @return [String]
|
7794
|
+
#
|
7795
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfigurationRequest AWS API Documentation
|
7796
|
+
#
|
7797
|
+
class UpdateAutomatedDiscoveryConfigurationRequest < Struct.new(
|
7798
|
+
:status)
|
7799
|
+
SENSITIVE = []
|
7800
|
+
include Aws::Structure
|
7801
|
+
end
|
7802
|
+
|
7803
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfigurationResponse AWS API Documentation
|
7804
|
+
#
|
7805
|
+
class UpdateAutomatedDiscoveryConfigurationResponse < Aws::EmptyStructure; end
|
7806
|
+
|
6940
7807
|
# Changes the status of a classification job. For more information about
|
6941
7808
|
# pausing, resuming, or cancelling jobs, see [Managing sensitive data
|
6942
7809
|
# discovery jobs][1] in the *Amazon Macie User Guide*.
|
@@ -6973,6 +7840,46 @@ module Aws::Macie2
|
|
6973
7840
|
#
|
6974
7841
|
class UpdateClassificationJobResponse < Aws::EmptyStructure; end
|
6975
7842
|
|
7843
|
+
# Specifies new classification scope settings for an Amazon Macie
|
7844
|
+
# account. Macie uses these settings when it performs automated
|
7845
|
+
# sensitive data discovery for the account. To update the settings,
|
7846
|
+
# automated sensitive data discovery must currently be enabled for the
|
7847
|
+
# account.
|
7848
|
+
#
|
7849
|
+
# @note When making an API call, you may pass UpdateClassificationScopeRequest
|
7850
|
+
# data as a hash:
|
7851
|
+
#
|
7852
|
+
# {
|
7853
|
+
# id: "__string", # required
|
7854
|
+
# s3: {
|
7855
|
+
# excludes: { # required
|
7856
|
+
# bucket_names: ["S3BucketName"], # required
|
7857
|
+
# operation: "ADD", # required, accepts ADD, REPLACE, REMOVE
|
7858
|
+
# },
|
7859
|
+
# },
|
7860
|
+
# }
|
7861
|
+
#
|
7862
|
+
# @!attribute [rw] id
|
7863
|
+
# @return [String]
|
7864
|
+
#
|
7865
|
+
# @!attribute [rw] s3
|
7866
|
+
# Specifies changes to the list of S3 buckets that are excluded from
|
7867
|
+
# automated sensitive data discovery for an Amazon Macie account.
|
7868
|
+
# @return [Types::S3ClassificationScopeUpdate]
|
7869
|
+
#
|
7870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScopeRequest AWS API Documentation
|
7871
|
+
#
|
7872
|
+
class UpdateClassificationScopeRequest < Struct.new(
|
7873
|
+
:id,
|
7874
|
+
:s3)
|
7875
|
+
SENSITIVE = []
|
7876
|
+
include Aws::Structure
|
7877
|
+
end
|
7878
|
+
|
7879
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScopeResponse AWS API Documentation
|
7880
|
+
#
|
7881
|
+
class UpdateClassificationScopeResponse < Aws::EmptyStructure; end
|
7882
|
+
|
6976
7883
|
# Specifies the criteria and other settings for a findings filter.
|
6977
7884
|
#
|
6978
7885
|
# @note When making an API call, you may pass UpdateFindingsFilterRequest
|
@@ -6980,6 +7887,7 @@ module Aws::Macie2
|
|
6980
7887
|
#
|
6981
7888
|
# {
|
6982
7889
|
# action: "ARCHIVE", # accepts ARCHIVE, NOOP
|
7890
|
+
# client_token: "__string",
|
6983
7891
|
# description: "__string",
|
6984
7892
|
# finding_criteria: {
|
6985
7893
|
# criterion: {
|
@@ -6997,15 +7905,19 @@ module Aws::Macie2
|
|
6997
7905
|
# id: "__string", # required
|
6998
7906
|
# name: "__string",
|
6999
7907
|
# position: 1,
|
7000
|
-
# client_token: "__string",
|
7001
7908
|
# }
|
7002
7909
|
#
|
7003
7910
|
# @!attribute [rw] action
|
7004
|
-
# The action to perform on findings that
|
7005
|
-
# suppress (automatically archive) findings that
|
7911
|
+
# The action to perform on findings that match the filter criteria. To
|
7912
|
+
# suppress (automatically archive) findings that match the criteria,
|
7006
7913
|
# set this value to ARCHIVE. Valid values are:
|
7007
7914
|
# @return [String]
|
7008
7915
|
#
|
7916
|
+
# @!attribute [rw] client_token
|
7917
|
+
# **A suitable default value is auto-generated.** You should normally
|
7918
|
+
# not need to pass this option.
|
7919
|
+
# @return [String]
|
7920
|
+
#
|
7009
7921
|
# @!attribute [rw] description
|
7010
7922
|
# @return [String]
|
7011
7923
|
#
|
@@ -7023,21 +7935,16 @@ module Aws::Macie2
|
|
7023
7935
|
# @!attribute [rw] position
|
7024
7936
|
# @return [Integer]
|
7025
7937
|
#
|
7026
|
-
# @!attribute [rw] client_token
|
7027
|
-
# **A suitable default value is auto-generated.** You should normally
|
7028
|
-
# not need to pass this option.
|
7029
|
-
# @return [String]
|
7030
|
-
#
|
7031
7938
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilterRequest AWS API Documentation
|
7032
7939
|
#
|
7033
7940
|
class UpdateFindingsFilterRequest < Struct.new(
|
7034
7941
|
:action,
|
7942
|
+
:client_token,
|
7035
7943
|
:description,
|
7036
7944
|
:finding_criteria,
|
7037
7945
|
:id,
|
7038
7946
|
:name,
|
7039
|
-
:position
|
7040
|
-
:client_token)
|
7947
|
+
:position)
|
7041
7948
|
SENSITIVE = []
|
7042
7949
|
include Aws::Structure
|
7043
7950
|
end
|
@@ -7155,6 +8062,76 @@ module Aws::Macie2
|
|
7155
8062
|
#
|
7156
8063
|
class UpdateOrganizationConfigurationResponse < Aws::EmptyStructure; end
|
7157
8064
|
|
8065
|
+
# Updates the sensitivity scoring settings for an S3 bucket that Amazon
|
8066
|
+
# Macie monitors and analyzes for your account. The settings specify
|
8067
|
+
# whether to exclude or include occurrences of specific types of
|
8068
|
+
# sensitive data in calculations of the bucket's sensitivity score. You
|
8069
|
+
# can update the settings only if automated sensitive data discovery is
|
8070
|
+
# currently enabled for your account.
|
8071
|
+
#
|
8072
|
+
# @note When making an API call, you may pass UpdateResourceProfileDetectionsRequest
|
8073
|
+
# data as a hash:
|
8074
|
+
#
|
8075
|
+
# {
|
8076
|
+
# resource_arn: "__string", # required
|
8077
|
+
# suppress_data_identifiers: [
|
8078
|
+
# {
|
8079
|
+
# id: "__string",
|
8080
|
+
# type: "CUSTOM", # accepts CUSTOM, MANAGED
|
8081
|
+
# },
|
8082
|
+
# ],
|
8083
|
+
# }
|
8084
|
+
#
|
8085
|
+
# @!attribute [rw] resource_arn
|
8086
|
+
# @return [String]
|
8087
|
+
#
|
8088
|
+
# @!attribute [rw] suppress_data_identifiers
|
8089
|
+
# @return [Array<Types::SuppressDataIdentifier>]
|
8090
|
+
#
|
8091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetectionsRequest AWS API Documentation
|
8092
|
+
#
|
8093
|
+
class UpdateResourceProfileDetectionsRequest < Struct.new(
|
8094
|
+
:resource_arn,
|
8095
|
+
:suppress_data_identifiers)
|
8096
|
+
SENSITIVE = []
|
8097
|
+
include Aws::Structure
|
8098
|
+
end
|
8099
|
+
|
8100
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetectionsResponse AWS API Documentation
|
8101
|
+
#
|
8102
|
+
class UpdateResourceProfileDetectionsResponse < Aws::EmptyStructure; end
|
8103
|
+
|
8104
|
+
# Specifies a new sensitivity score for an S3 bucket that Amazon Macie
|
8105
|
+
# monitors and analyzes for your account. To update the score, automated
|
8106
|
+
# sensitive data discovery must currently be enabled for your account.
|
8107
|
+
#
|
8108
|
+
# @note When making an API call, you may pass UpdateResourceProfileRequest
|
8109
|
+
# data as a hash:
|
8110
|
+
#
|
8111
|
+
# {
|
8112
|
+
# resource_arn: "__string", # required
|
8113
|
+
# sensitivity_score_override: 1,
|
8114
|
+
# }
|
8115
|
+
#
|
8116
|
+
# @!attribute [rw] resource_arn
|
8117
|
+
# @return [String]
|
8118
|
+
#
|
8119
|
+
# @!attribute [rw] sensitivity_score_override
|
8120
|
+
# @return [Integer]
|
8121
|
+
#
|
8122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileRequest AWS API Documentation
|
8123
|
+
#
|
8124
|
+
class UpdateResourceProfileRequest < Struct.new(
|
8125
|
+
:resource_arn,
|
8126
|
+
:sensitivity_score_override)
|
8127
|
+
SENSITIVE = []
|
8128
|
+
include Aws::Structure
|
8129
|
+
end
|
8130
|
+
|
8131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileResponse AWS API Documentation
|
8132
|
+
#
|
8133
|
+
class UpdateResourceProfileResponse < Aws::EmptyStructure; end
|
8134
|
+
|
7158
8135
|
# Specifies the configuration settings for retrieving occurrences of
|
7159
8136
|
# sensitive data reported by findings, and the status of the
|
7160
8137
|
# configuration for an Amazon Macie account.
|
@@ -7207,6 +8184,75 @@ module Aws::Macie2
|
|
7207
8184
|
include Aws::Structure
|
7208
8185
|
end
|
7209
8186
|
|
8187
|
+
# Specifies settings for the sensitivity inspection template for an
|
8188
|
+
# Amazon Macie account. Macie uses the template's settings when it
|
8189
|
+
# performs automated sensitive data discovery for the account. To update
|
8190
|
+
# the settings, automated sensitive data discovery must currently be
|
8191
|
+
# enabled for the account.
|
8192
|
+
#
|
8193
|
+
# @note When making an API call, you may pass UpdateSensitivityInspectionTemplateRequest
|
8194
|
+
# data as a hash:
|
8195
|
+
#
|
8196
|
+
# {
|
8197
|
+
# description: "__string",
|
8198
|
+
# excludes: {
|
8199
|
+
# managed_data_identifier_ids: ["__string"],
|
8200
|
+
# },
|
8201
|
+
# id: "__string", # required
|
8202
|
+
# includes: {
|
8203
|
+
# allow_list_ids: ["__string"],
|
8204
|
+
# custom_data_identifier_ids: ["__string"],
|
8205
|
+
# managed_data_identifier_ids: ["__string"],
|
8206
|
+
# },
|
8207
|
+
# }
|
8208
|
+
#
|
8209
|
+
# @!attribute [rw] description
|
8210
|
+
# @return [String]
|
8211
|
+
#
|
8212
|
+
# @!attribute [rw] excludes
|
8213
|
+
# Specifies managed data identifiers to exclude (not use) when
|
8214
|
+
# performing automated sensitive data discovery for an Amazon Macie
|
8215
|
+
# account. For information about the managed data identifiers that
|
8216
|
+
# Amazon Macie currently provides, see [Using managed data
|
8217
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
8218
|
+
#
|
8219
|
+
#
|
8220
|
+
#
|
8221
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
8222
|
+
# @return [Types::SensitivityInspectionTemplateExcludes]
|
8223
|
+
#
|
8224
|
+
# @!attribute [rw] id
|
8225
|
+
# @return [String]
|
8226
|
+
#
|
8227
|
+
# @!attribute [rw] includes
|
8228
|
+
# Specifies the allow lists, custom data identifiers, and managed data
|
8229
|
+
# identifiers to include (use) when performing automated sensitive
|
8230
|
+
# data discovery for an Amazon Macie account. The configuration must
|
8231
|
+
# specify at least one custom data identifier or managed data
|
8232
|
+
# identifier. For information about the managed data identifiers that
|
8233
|
+
# Amazon Macie currently provides, see [Using managed data
|
8234
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
8235
|
+
#
|
8236
|
+
#
|
8237
|
+
#
|
8238
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
8239
|
+
# @return [Types::SensitivityInspectionTemplateIncludes]
|
8240
|
+
#
|
8241
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplateRequest AWS API Documentation
|
8242
|
+
#
|
8243
|
+
class UpdateSensitivityInspectionTemplateRequest < Struct.new(
|
8244
|
+
:description,
|
8245
|
+
:excludes,
|
8246
|
+
:id,
|
8247
|
+
:includes)
|
8248
|
+
SENSITIVE = []
|
8249
|
+
include Aws::Structure
|
8250
|
+
end
|
8251
|
+
|
8252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplateResponse AWS API Documentation
|
8253
|
+
#
|
8254
|
+
class UpdateSensitivityInspectionTemplateResponse < Aws::EmptyStructure; end
|
8255
|
+
|
7210
8256
|
# Provides data for a specific usage metric and the corresponding quota
|
7211
8257
|
# for an Amazon Macie account.
|
7212
8258
|
#
|
@@ -7243,6 +8289,9 @@ module Aws::Macie2
|
|
7243
8289
|
# @!attribute [rw] account_id
|
7244
8290
|
# @return [String]
|
7245
8291
|
#
|
8292
|
+
# @!attribute [rw] automated_discovery_free_trial_start_date
|
8293
|
+
# @return [Time]
|
8294
|
+
#
|
7246
8295
|
# @!attribute [rw] free_trial_start_date
|
7247
8296
|
# @return [Time]
|
7248
8297
|
#
|
@@ -7253,6 +8302,7 @@ module Aws::Macie2
|
|
7253
8302
|
#
|
7254
8303
|
class UsageRecord < Struct.new(
|
7255
8304
|
:account_id,
|
8305
|
+
:automated_discovery_free_trial_start_date,
|
7256
8306
|
:free_trial_start_date,
|
7257
8307
|
:usage)
|
7258
8308
|
SENSITIVE = []
|