aws-sdk-macie2 1.33.0 → 1.37.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +80 -5
- data/lib/aws-sdk-macie2/client_api.rb +46 -0
- data/lib/aws-sdk-macie2/types.rb +233 -31
- data/lib/aws-sdk-macie2.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b086895233d4958a2117880a24d4dc137bc825ff6e2cd94aa0d13e26c9e5b71a
|
4
|
+
data.tar.gz: 7727d3ee465c5819ecc6540132bdf07949ce9911d1a2d8f8be82908b9ac4ab78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6aadad4eb74d639a90a1b69f3104f9812ed94cde75af40d9b6499f166fcf88990b5c017263eafe852b6e6c95cd1e2dc2cc6eaef70cda05f2b4893ce35174462
|
7
|
+
data.tar.gz: bc7796545722bd00d0d89c7d8d2382c54cc1db31484bd3f1f8d92229bf54367b17a6e3c86f26b9386801f15346e2718e8d47ab9ae13e44edef25da3aca9a07f2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.37.0 (2021-11-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for specifying the severity of findings that a custom data identifier produces, based on the number of occurrences of text that matches the detection criteria.
|
8
|
+
|
9
|
+
1.36.0 (2021-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.35.0 (2021-09-30)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Amazon S3 bucket metadata now indicates whether an error or a bucket's permissions settings prevented Amazon Macie from retrieving data about the bucket or the bucket's objects.
|
18
|
+
|
19
|
+
1.34.0 (2021-09-16)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - This release adds support for specifying which managed data identifiers are used by a classification job, and retrieving a list of managed data identifiers that are available.
|
23
|
+
|
4
24
|
1.33.0 (2021-09-01)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.37.0
|
@@ -406,6 +406,12 @@ module Aws::Macie2
|
|
406
406
|
# @option params [required, String] :job_type
|
407
407
|
# The schedule for running a classification job. Valid values are:
|
408
408
|
#
|
409
|
+
# @option params [Array<String>] :managed_data_identifier_ids
|
410
|
+
#
|
411
|
+
# @option params [String] :managed_data_identifier_selector
|
412
|
+
# The selection type that determines which managed data identifiers a
|
413
|
+
# classification job uses to analyze data. Valid values are:
|
414
|
+
#
|
409
415
|
# @option params [required, String] :name
|
410
416
|
#
|
411
417
|
# @option params [required, Types::S3JobDefinition] :s3_job_definition
|
@@ -440,6 +446,8 @@ module Aws::Macie2
|
|
440
446
|
# description: "__string",
|
441
447
|
# initial_run: false,
|
442
448
|
# job_type: "ONE_TIME", # required, accepts ONE_TIME, SCHEDULED
|
449
|
+
# managed_data_identifier_ids: ["__string"],
|
450
|
+
# managed_data_identifier_selector: "ALL", # accepts ALL, EXCLUDE, INCLUDE, NONE
|
443
451
|
# name: "__string", # required
|
444
452
|
# s3_job_definition: { # required
|
445
453
|
# bucket_definitions: [
|
@@ -586,6 +594,22 @@ module Aws::Macie2
|
|
586
594
|
#
|
587
595
|
# @option params [String] :regex
|
588
596
|
#
|
597
|
+
# @option params [Array<Types::SeverityLevel>] :severity_levels
|
598
|
+
# The severity to assign to findings that the custom data identifier
|
599
|
+
# produces, based on the number of occurrences of text that matches the
|
600
|
+
# custom data identifier's detection criteria. You can specify as many
|
601
|
+
# as three SeverityLevel objects in this array, one for each severity:
|
602
|
+
# LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences
|
603
|
+
# thresholds must be in ascending order by severity, moving from LOW to
|
604
|
+
# HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an
|
605
|
+
# S3 object contains fewer occurrences than the lowest specified
|
606
|
+
# threshold, Amazon Macie doesn't create a finding.
|
607
|
+
#
|
608
|
+
# If you don't specify any values for this array, Macie creates
|
609
|
+
# findings for S3 objects that contain at least one occurrence of text
|
610
|
+
# that matches the detection criteria, and Macie automatically assigns
|
611
|
+
# the MEDIUM severity to those findings.
|
612
|
+
#
|
589
613
|
# @option params [Hash<String,String>] :tags
|
590
614
|
# A string-to-string map of key-value pairs that specifies the tags
|
591
615
|
# (keys and values) for a classification job, custom data identifier,
|
@@ -605,6 +629,12 @@ module Aws::Macie2
|
|
605
629
|
# maximum_match_distance: 1,
|
606
630
|
# name: "__string",
|
607
631
|
# regex: "__string",
|
632
|
+
# severity_levels: [
|
633
|
+
# {
|
634
|
+
# occurrences_threshold: 1, # required
|
635
|
+
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
636
|
+
# },
|
637
|
+
# ],
|
608
638
|
# tags: {
|
609
639
|
# "__string" => "__string",
|
610
640
|
# },
|
@@ -972,6 +1002,8 @@ module Aws::Macie2
|
|
972
1002
|
# resp.buckets[0].bucket_name #=> String
|
973
1003
|
# resp.buckets[0].classifiable_object_count #=> Integer
|
974
1004
|
# resp.buckets[0].classifiable_size_in_bytes #=> Integer
|
1005
|
+
# resp.buckets[0].error_code #=> String, one of "ACCESS_DENIED"
|
1006
|
+
# resp.buckets[0].error_message #=> String
|
975
1007
|
# resp.buckets[0].job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
976
1008
|
# resp.buckets[0].job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
977
1009
|
# resp.buckets[0].job_details.last_job_id #=> String
|
@@ -1044,6 +1076,8 @@ module Aws::Macie2
|
|
1044
1076
|
# * {Types::DescribeClassificationJobResponse#job_type #job_type} => String
|
1045
1077
|
# * {Types::DescribeClassificationJobResponse#last_run_error_status #last_run_error_status} => Types::LastRunErrorStatus
|
1046
1078
|
# * {Types::DescribeClassificationJobResponse#last_run_time #last_run_time} => Time
|
1079
|
+
# * {Types::DescribeClassificationJobResponse#managed_data_identifier_ids #managed_data_identifier_ids} => Array<String>
|
1080
|
+
# * {Types::DescribeClassificationJobResponse#managed_data_identifier_selector #managed_data_identifier_selector} => String
|
1047
1081
|
# * {Types::DescribeClassificationJobResponse#name #name} => String
|
1048
1082
|
# * {Types::DescribeClassificationJobResponse#s3_job_definition #s3_job_definition} => Types::S3JobDefinition
|
1049
1083
|
# * {Types::DescribeClassificationJobResponse#sampling_percentage #sampling_percentage} => Integer
|
@@ -1072,6 +1106,9 @@ module Aws::Macie2
|
|
1072
1106
|
# resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
|
1073
1107
|
# resp.last_run_error_status.code #=> String, one of "NONE", "ERROR"
|
1074
1108
|
# resp.last_run_time #=> Time
|
1109
|
+
# resp.managed_data_identifier_ids #=> Array
|
1110
|
+
# resp.managed_data_identifier_ids[0] #=> String
|
1111
|
+
# resp.managed_data_identifier_selector #=> String, one of "ALL", "EXCLUDE", "INCLUDE", "NONE"
|
1075
1112
|
# resp.name #=> String
|
1076
1113
|
# resp.s3_job_definition.bucket_definitions #=> Array
|
1077
1114
|
# resp.s3_job_definition.bucket_definitions[0].account_id #=> String
|
@@ -1444,6 +1481,7 @@ module Aws::Macie2
|
|
1444
1481
|
# * {Types::GetCustomDataIdentifierResponse#maximum_match_distance #maximum_match_distance} => Integer
|
1445
1482
|
# * {Types::GetCustomDataIdentifierResponse#name #name} => String
|
1446
1483
|
# * {Types::GetCustomDataIdentifierResponse#regex #regex} => String
|
1484
|
+
# * {Types::GetCustomDataIdentifierResponse#severity_levels #severity_levels} => Array<Types::SeverityLevel>
|
1447
1485
|
# * {Types::GetCustomDataIdentifierResponse#tags #tags} => Hash<String,String>
|
1448
1486
|
#
|
1449
1487
|
# @example Request syntax with placeholder values
|
@@ -1466,6 +1504,9 @@ module Aws::Macie2
|
|
1466
1504
|
# resp.maximum_match_distance #=> Integer
|
1467
1505
|
# resp.name #=> String
|
1468
1506
|
# resp.regex #=> String
|
1507
|
+
# resp.severity_levels #=> Array
|
1508
|
+
# resp.severity_levels[0].occurrences_threshold #=> Integer
|
1509
|
+
# resp.severity_levels[0].severity #=> String, one of "LOW", "MEDIUM", "HIGH"
|
1469
1510
|
# resp.tags #=> Hash
|
1470
1511
|
# resp.tags["__string"] #=> String
|
1471
1512
|
#
|
@@ -2266,8 +2307,8 @@ module Aws::Macie2
|
|
2266
2307
|
req.send_request(options)
|
2267
2308
|
end
|
2268
2309
|
|
2269
|
-
# Retrieves information about
|
2270
|
-
#
|
2310
|
+
# Retrieves information about the Amazon Macie membership invitations
|
2311
|
+
# that were received by an account.
|
2271
2312
|
#
|
2272
2313
|
# @option params [Integer] :max_results
|
2273
2314
|
#
|
@@ -2305,6 +2346,38 @@ module Aws::Macie2
|
|
2305
2346
|
req.send_request(options)
|
2306
2347
|
end
|
2307
2348
|
|
2349
|
+
# Retrieves information about all the managed data identifiers that
|
2350
|
+
# Amazon Macie currently provides.
|
2351
|
+
#
|
2352
|
+
# @option params [String] :next_token
|
2353
|
+
#
|
2354
|
+
# @return [Types::ListManagedDataIdentifiersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2355
|
+
#
|
2356
|
+
# * {Types::ListManagedDataIdentifiersResponse#items #items} => Array<Types::ManagedDataIdentifierSummary>
|
2357
|
+
# * {Types::ListManagedDataIdentifiersResponse#next_token #next_token} => String
|
2358
|
+
#
|
2359
|
+
# @example Request syntax with placeholder values
|
2360
|
+
#
|
2361
|
+
# resp = client.list_managed_data_identifiers({
|
2362
|
+
# next_token: "__string",
|
2363
|
+
# })
|
2364
|
+
#
|
2365
|
+
# @example Response structure
|
2366
|
+
#
|
2367
|
+
# resp.items #=> Array
|
2368
|
+
# resp.items[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
|
2369
|
+
# resp.items[0].id #=> String
|
2370
|
+
# resp.next_token #=> String
|
2371
|
+
#
|
2372
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers AWS API Documentation
|
2373
|
+
#
|
2374
|
+
# @overload list_managed_data_identifiers(params = {})
|
2375
|
+
# @param [Hash] params ({})
|
2376
|
+
def list_managed_data_identifiers(params = {}, options = {})
|
2377
|
+
req = build_request(:list_managed_data_identifiers, params)
|
2378
|
+
req.send_request(options)
|
2379
|
+
end
|
2380
|
+
|
2308
2381
|
# Retrieves information about the accounts that are associated with an
|
2309
2382
|
# Amazon Macie administrator account.
|
2310
2383
|
#
|
@@ -2581,6 +2654,8 @@ module Aws::Macie2
|
|
2581
2654
|
# resp.matching_resources[0].matching_bucket.bucket_name #=> String
|
2582
2655
|
# resp.matching_resources[0].matching_bucket.classifiable_object_count #=> Integer
|
2583
2656
|
# resp.matching_resources[0].matching_bucket.classifiable_size_in_bytes #=> Integer
|
2657
|
+
# resp.matching_resources[0].matching_bucket.error_code #=> String, one of "ACCESS_DENIED"
|
2658
|
+
# resp.matching_resources[0].matching_bucket.error_message #=> String
|
2584
2659
|
# resp.matching_resources[0].matching_bucket.job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2585
2660
|
# resp.matching_resources[0].matching_bucket.job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
|
2586
2661
|
# resp.matching_resources[0].matching_bucket.job_details.last_job_id #=> String
|
@@ -2831,8 +2906,8 @@ module Aws::Macie2
|
|
2831
2906
|
req.send_request(options)
|
2832
2907
|
end
|
2833
2908
|
|
2834
|
-
# Enables an Amazon Macie administrator to suspend or re-enable
|
2835
|
-
# account.
|
2909
|
+
# Enables an Amazon Macie administrator to suspend or re-enable Macie
|
2910
|
+
# for a member account.
|
2836
2911
|
#
|
2837
2912
|
# @option params [required, String] :id
|
2838
2913
|
#
|
@@ -2892,7 +2967,7 @@ module Aws::Macie2
|
|
2892
2967
|
params: params,
|
2893
2968
|
config: config)
|
2894
2969
|
context[:gem_name] = 'aws-sdk-macie2'
|
2895
|
-
context[:gem_version] = '1.
|
2970
|
+
context[:gem_version] = '1.37.0'
|
2896
2971
|
Seahorse::Client::Request.new(handlers, context)
|
2897
2972
|
end
|
2898
2973
|
|
@@ -38,6 +38,7 @@ module Aws::Macie2
|
|
38
38
|
BucketCriteriaAdditionalProperties = Shapes::StructureShape.new(name: 'BucketCriteriaAdditionalProperties')
|
39
39
|
BucketLevelPermissions = Shapes::StructureShape.new(name: 'BucketLevelPermissions')
|
40
40
|
BucketMetadata = Shapes::StructureShape.new(name: 'BucketMetadata')
|
41
|
+
BucketMetadataErrorCode = Shapes::StringShape.new(name: 'BucketMetadataErrorCode')
|
41
42
|
BucketPermissionConfiguration = Shapes::StructureShape.new(name: 'BucketPermissionConfiguration')
|
42
43
|
BucketPolicy = Shapes::StructureShape.new(name: 'BucketPolicy')
|
43
44
|
BucketPublicAccess = Shapes::StructureShape.new(name: 'BucketPublicAccess')
|
@@ -72,6 +73,7 @@ module Aws::Macie2
|
|
72
73
|
CustomDetection = Shapes::StructureShape.new(name: 'CustomDetection')
|
73
74
|
CustomDetections = Shapes::ListShape.new(name: 'CustomDetections')
|
74
75
|
DailySchedule = Shapes::StructureShape.new(name: 'DailySchedule')
|
76
|
+
DataIdentifierSeverity = Shapes::StringShape.new(name: 'DataIdentifierSeverity')
|
75
77
|
DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
|
76
78
|
DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
|
77
79
|
DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
|
@@ -190,6 +192,8 @@ module Aws::Macie2
|
|
190
192
|
ListJobsFilterTerm = Shapes::StructureShape.new(name: 'ListJobsFilterTerm')
|
191
193
|
ListJobsSortAttributeName = Shapes::StringShape.new(name: 'ListJobsSortAttributeName')
|
192
194
|
ListJobsSortCriteria = Shapes::StructureShape.new(name: 'ListJobsSortCriteria')
|
195
|
+
ListManagedDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListManagedDataIdentifiersRequest')
|
196
|
+
ListManagedDataIdentifiersResponse = Shapes::StructureShape.new(name: 'ListManagedDataIdentifiersResponse')
|
193
197
|
ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
|
194
198
|
ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
|
195
199
|
ListOrganizationAdminAccountsRequest = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsRequest')
|
@@ -197,6 +201,8 @@ module Aws::Macie2
|
|
197
201
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
198
202
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
199
203
|
MacieStatus = Shapes::StringShape.new(name: 'MacieStatus')
|
204
|
+
ManagedDataIdentifierSelector = Shapes::StringShape.new(name: 'ManagedDataIdentifierSelector')
|
205
|
+
ManagedDataIdentifierSummary = Shapes::StructureShape.new(name: 'ManagedDataIdentifierSummary')
|
200
206
|
MatchingBucket = Shapes::StructureShape.new(name: 'MatchingBucket')
|
201
207
|
MatchingResource = Shapes::StructureShape.new(name: 'MatchingResource')
|
202
208
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
@@ -254,6 +260,8 @@ module Aws::Macie2
|
|
254
260
|
SessionIssuer = Shapes::StructureShape.new(name: 'SessionIssuer')
|
255
261
|
Severity = Shapes::StructureShape.new(name: 'Severity')
|
256
262
|
SeverityDescription = Shapes::StringShape.new(name: 'SeverityDescription')
|
263
|
+
SeverityLevel = Shapes::StructureShape.new(name: 'SeverityLevel')
|
264
|
+
SeverityLevelList = Shapes::ListShape.new(name: 'SeverityLevelList')
|
257
265
|
SharedAccess = Shapes::StringShape.new(name: 'SharedAccess')
|
258
266
|
SimpleCriterionForJob = Shapes::StructureShape.new(name: 'SimpleCriterionForJob')
|
259
267
|
SimpleCriterionKeyForJob = Shapes::StringShape.new(name: 'SimpleCriterionKeyForJob')
|
@@ -320,6 +328,7 @@ module Aws::Macie2
|
|
320
328
|
__listOfJobSummary = Shapes::ListShape.new(name: '__listOfJobSummary')
|
321
329
|
__listOfKeyValuePair = Shapes::ListShape.new(name: '__listOfKeyValuePair')
|
322
330
|
__listOfListJobsFilterTerm = Shapes::ListShape.new(name: '__listOfListJobsFilterTerm')
|
331
|
+
__listOfManagedDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfManagedDataIdentifierSummary')
|
323
332
|
__listOfMatchingResource = Shapes::ListShape.new(name: '__listOfMatchingResource')
|
324
333
|
__listOfMember = Shapes::ListShape.new(name: '__listOfMember')
|
325
334
|
__listOfS3BucketDefinitionForJob = Shapes::ListShape.new(name: '__listOfS3BucketDefinitionForJob')
|
@@ -451,6 +460,8 @@ module Aws::Macie2
|
|
451
460
|
BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
452
461
|
BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
|
453
462
|
BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
|
463
|
+
BucketMetadata.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
|
464
|
+
BucketMetadata.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
|
454
465
|
BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
|
455
466
|
BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
|
456
467
|
BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
|
@@ -525,6 +536,8 @@ module Aws::Macie2
|
|
525
536
|
CreateClassificationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
526
537
|
CreateClassificationJobRequest.add_member(:initial_run, Shapes::ShapeRef.new(shape: __boolean, location_name: "initialRun"))
|
527
538
|
CreateClassificationJobRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "jobType"))
|
539
|
+
CreateClassificationJobRequest.add_member(:managed_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "managedDataIdentifierIds"))
|
540
|
+
CreateClassificationJobRequest.add_member(:managed_data_identifier_selector, Shapes::ShapeRef.new(shape: ManagedDataIdentifierSelector, location_name: "managedDataIdentifierSelector"))
|
528
541
|
CreateClassificationJobRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
|
529
542
|
CreateClassificationJobRequest.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, required: true, location_name: "s3JobDefinition"))
|
530
543
|
CreateClassificationJobRequest.add_member(:sampling_percentage, Shapes::ShapeRef.new(shape: __integer, location_name: "samplingPercentage"))
|
@@ -543,6 +556,7 @@ module Aws::Macie2
|
|
543
556
|
CreateCustomDataIdentifierRequest.add_member(:maximum_match_distance, Shapes::ShapeRef.new(shape: __integer, location_name: "maximumMatchDistance"))
|
544
557
|
CreateCustomDataIdentifierRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
545
558
|
CreateCustomDataIdentifierRequest.add_member(:regex, Shapes::ShapeRef.new(shape: __string, location_name: "regex"))
|
559
|
+
CreateCustomDataIdentifierRequest.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelList, location_name: "severityLevels"))
|
546
560
|
CreateCustomDataIdentifierRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
547
561
|
CreateCustomDataIdentifierRequest.struct_class = Types::CreateCustomDataIdentifierRequest
|
548
562
|
|
@@ -680,6 +694,8 @@ module Aws::Macie2
|
|
680
694
|
DescribeClassificationJobResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
|
681
695
|
DescribeClassificationJobResponse.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
|
682
696
|
DescribeClassificationJobResponse.add_member(:last_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastRunTime"))
|
697
|
+
DescribeClassificationJobResponse.add_member(:managed_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "managedDataIdentifierIds"))
|
698
|
+
DescribeClassificationJobResponse.add_member(:managed_data_identifier_selector, Shapes::ShapeRef.new(shape: ManagedDataIdentifierSelector, location_name: "managedDataIdentifierSelector"))
|
683
699
|
DescribeClassificationJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
684
700
|
DescribeClassificationJobResponse.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, location_name: "s3JobDefinition"))
|
685
701
|
DescribeClassificationJobResponse.add_member(:sampling_percentage, Shapes::ShapeRef.new(shape: __integer, location_name: "samplingPercentage"))
|
@@ -826,6 +842,7 @@ module Aws::Macie2
|
|
826
842
|
GetCustomDataIdentifierResponse.add_member(:maximum_match_distance, Shapes::ShapeRef.new(shape: __integer, location_name: "maximumMatchDistance"))
|
827
843
|
GetCustomDataIdentifierResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
828
844
|
GetCustomDataIdentifierResponse.add_member(:regex, Shapes::ShapeRef.new(shape: __string, location_name: "regex"))
|
845
|
+
GetCustomDataIdentifierResponse.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelList, location_name: "severityLevels"))
|
829
846
|
GetCustomDataIdentifierResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
830
847
|
GetCustomDataIdentifierResponse.struct_class = Types::GetCustomDataIdentifierResponse
|
831
848
|
|
@@ -1053,6 +1070,13 @@ module Aws::Macie2
|
|
1053
1070
|
ListJobsSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
1054
1071
|
ListJobsSortCriteria.struct_class = Types::ListJobsSortCriteria
|
1055
1072
|
|
1073
|
+
ListManagedDataIdentifiersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
1074
|
+
ListManagedDataIdentifiersRequest.struct_class = Types::ListManagedDataIdentifiersRequest
|
1075
|
+
|
1076
|
+
ListManagedDataIdentifiersResponse.add_member(:items, Shapes::ShapeRef.new(shape: __listOfManagedDataIdentifierSummary, location_name: "items"))
|
1077
|
+
ListManagedDataIdentifiersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
1078
|
+
ListManagedDataIdentifiersResponse.struct_class = Types::ListManagedDataIdentifiersResponse
|
1079
|
+
|
1056
1080
|
ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1057
1081
|
ListMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
1058
1082
|
ListMembersRequest.add_member(:only_associated, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "onlyAssociated"))
|
@@ -1076,10 +1100,16 @@ module Aws::Macie2
|
|
1076
1100
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1077
1101
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1078
1102
|
|
1103
|
+
ManagedDataIdentifierSummary.add_member(:category, Shapes::ShapeRef.new(shape: SensitiveDataItemCategory, location_name: "category"))
|
1104
|
+
ManagedDataIdentifierSummary.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
|
1105
|
+
ManagedDataIdentifierSummary.struct_class = Types::ManagedDataIdentifierSummary
|
1106
|
+
|
1079
1107
|
MatchingBucket.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
1080
1108
|
MatchingBucket.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
|
1081
1109
|
MatchingBucket.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
|
1082
1110
|
MatchingBucket.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
|
1111
|
+
MatchingBucket.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
|
1112
|
+
MatchingBucket.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
|
1083
1113
|
MatchingBucket.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
|
1084
1114
|
MatchingBucket.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
|
1085
1115
|
MatchingBucket.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
|
@@ -1303,6 +1333,12 @@ module Aws::Macie2
|
|
1303
1333
|
Severity.add_member(:score, Shapes::ShapeRef.new(shape: __long, location_name: "score"))
|
1304
1334
|
Severity.struct_class = Types::Severity
|
1305
1335
|
|
1336
|
+
SeverityLevel.add_member(:occurrences_threshold, Shapes::ShapeRef.new(shape: __long, required: true, location_name: "occurrencesThreshold"))
|
1337
|
+
SeverityLevel.add_member(:severity, Shapes::ShapeRef.new(shape: DataIdentifierSeverity, required: true, location_name: "severity"))
|
1338
|
+
SeverityLevel.struct_class = Types::SeverityLevel
|
1339
|
+
|
1340
|
+
SeverityLevelList.member = Shapes::ShapeRef.new(shape: SeverityLevel)
|
1341
|
+
|
1306
1342
|
SimpleCriterionForJob.add_member(:comparator, Shapes::ShapeRef.new(shape: JobComparator, location_name: "comparator"))
|
1307
1343
|
SimpleCriterionForJob.add_member(:key, Shapes::ShapeRef.new(shape: SimpleCriterionKeyForJob, location_name: "key"))
|
1308
1344
|
SimpleCriterionForJob.add_member(:values, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "values"))
|
@@ -1486,6 +1522,8 @@ module Aws::Macie2
|
|
1486
1522
|
|
1487
1523
|
__listOfListJobsFilterTerm.member = Shapes::ShapeRef.new(shape: ListJobsFilterTerm)
|
1488
1524
|
|
1525
|
+
__listOfManagedDataIdentifierSummary.member = Shapes::ShapeRef.new(shape: ManagedDataIdentifierSummary)
|
1526
|
+
|
1489
1527
|
__listOfMatchingResource.member = Shapes::ShapeRef.new(shape: MatchingResource)
|
1490
1528
|
|
1491
1529
|
__listOfMember.member = Shapes::ShapeRef.new(shape: Member)
|
@@ -2202,6 +2240,14 @@ module Aws::Macie2
|
|
2202
2240
|
)
|
2203
2241
|
end)
|
2204
2242
|
|
2243
|
+
api.add_operation(:list_managed_data_identifiers, Seahorse::Model::Operation.new.tap do |o|
|
2244
|
+
o.name = "ListManagedDataIdentifiers"
|
2245
|
+
o.http_method = "POST"
|
2246
|
+
o.http_request_uri = "/managed-data-identifiers/list"
|
2247
|
+
o.input = Shapes::ShapeRef.new(shape: ListManagedDataIdentifiersRequest)
|
2248
|
+
o.output = Shapes::ShapeRef.new(shape: ListManagedDataIdentifiersResponse)
|
2249
|
+
end)
|
2250
|
+
|
2205
2251
|
api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
|
2206
2252
|
o.name = "ListMembers"
|
2207
2253
|
o.http_method = "GET"
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -545,8 +545,14 @@ module Aws::Macie2
|
|
545
545
|
include Aws::Structure
|
546
546
|
end
|
547
547
|
|
548
|
-
# Provides information about an S3 bucket
|
549
|
-
# analyzes.
|
548
|
+
# Provides statistical data and other information about an S3 bucket
|
549
|
+
# that Amazon Macie monitors and analyzes for your account. If an error
|
550
|
+
# occurs when Macie attempts to retrieve and process information about
|
551
|
+
# the bucket or the bucket's objects, the value for the versioning
|
552
|
+
# property is false and the value for most other properties is null.
|
553
|
+
# Exceptions are accountId, bucketArn, bucketCreatedAt, bucketName,
|
554
|
+
# lastUpdated, and region. To identify the cause of the error, refer to
|
555
|
+
# the errorCode and errorMessage values.
|
550
556
|
#
|
551
557
|
# @!attribute [rw] account_id
|
552
558
|
# @return [String]
|
@@ -569,6 +575,15 @@ module Aws::Macie2
|
|
569
575
|
# @!attribute [rw] classifiable_size_in_bytes
|
570
576
|
# @return [Integer]
|
571
577
|
#
|
578
|
+
# @!attribute [rw] error_code
|
579
|
+
# The error code for an error that prevented Amazon Macie from
|
580
|
+
# retrieving and processing information about an S3 bucket and the
|
581
|
+
# bucket's objects.
|
582
|
+
# @return [String]
|
583
|
+
#
|
584
|
+
# @!attribute [rw] error_message
|
585
|
+
# @return [String]
|
586
|
+
#
|
572
587
|
# @!attribute [rw] job_details
|
573
588
|
# Specifies whether any one-time or recurring classification jobs are
|
574
589
|
# configured to analyze data in an S3 bucket, and, if so, the details
|
@@ -630,7 +645,7 @@ module Aws::Macie2
|
|
630
645
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
631
646
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
632
647
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
633
|
-
# data is aggregated for
|
648
|
+
# data is aggregated for the buckets in the query results. If
|
634
649
|
# versioning is enabled for a bucket, total storage size values are
|
635
650
|
# based on the size of the latest version of each applicable object in
|
636
651
|
# the bucket.
|
@@ -641,7 +656,7 @@ module Aws::Macie2
|
|
641
656
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
642
657
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
643
658
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
644
|
-
# data is aggregated for
|
659
|
+
# data is aggregated for the buckets in the query results. If
|
645
660
|
# versioning is enabled for a bucket, total storage size values are
|
646
661
|
# based on the size of the latest version of each applicable object in
|
647
662
|
# the bucket.
|
@@ -660,6 +675,8 @@ module Aws::Macie2
|
|
660
675
|
:bucket_name,
|
661
676
|
:classifiable_object_count,
|
662
677
|
:classifiable_size_in_bytes,
|
678
|
+
:error_code,
|
679
|
+
:error_message,
|
663
680
|
:job_details,
|
664
681
|
:last_updated,
|
665
682
|
:object_count,
|
@@ -959,6 +976,8 @@ module Aws::Macie2
|
|
959
976
|
# description: "__string",
|
960
977
|
# initial_run: false,
|
961
978
|
# job_type: "ONE_TIME", # required, accepts ONE_TIME, SCHEDULED
|
979
|
+
# managed_data_identifier_ids: ["__string"],
|
980
|
+
# managed_data_identifier_selector: "ALL", # accepts ALL, EXCLUDE, INCLUDE, NONE
|
962
981
|
# name: "__string", # required
|
963
982
|
# s3_job_definition: { # required
|
964
983
|
# bucket_definitions: [
|
@@ -1090,6 +1109,14 @@ module Aws::Macie2
|
|
1090
1109
|
# The schedule for running a classification job. Valid values are:
|
1091
1110
|
# @return [String]
|
1092
1111
|
#
|
1112
|
+
# @!attribute [rw] managed_data_identifier_ids
|
1113
|
+
# @return [Array<String>]
|
1114
|
+
#
|
1115
|
+
# @!attribute [rw] managed_data_identifier_selector
|
1116
|
+
# The selection type that determines which managed data identifiers a
|
1117
|
+
# classification job uses to analyze data. Valid values are:
|
1118
|
+
# @return [String]
|
1119
|
+
#
|
1093
1120
|
# @!attribute [rw] name
|
1094
1121
|
# @return [String]
|
1095
1122
|
#
|
@@ -1124,6 +1151,8 @@ module Aws::Macie2
|
|
1124
1151
|
:description,
|
1125
1152
|
:initial_run,
|
1126
1153
|
:job_type,
|
1154
|
+
:managed_data_identifier_ids,
|
1155
|
+
:managed_data_identifier_selector,
|
1127
1156
|
:name,
|
1128
1157
|
:s3_job_definition,
|
1129
1158
|
:sampling_percentage,
|
@@ -1151,7 +1180,7 @@ module Aws::Macie2
|
|
1151
1180
|
include Aws::Structure
|
1152
1181
|
end
|
1153
1182
|
|
1154
|
-
# Specifies the criteria and other settings for a
|
1183
|
+
# Specifies the detection criteria and other settings for a custom data
|
1155
1184
|
# identifier. You can't change a custom data identifier after you
|
1156
1185
|
# create it. This helps ensure that you have an immutable history of
|
1157
1186
|
# sensitive data findings and discovery results for data privacy and
|
@@ -1168,6 +1197,12 @@ module Aws::Macie2
|
|
1168
1197
|
# maximum_match_distance: 1,
|
1169
1198
|
# name: "__string",
|
1170
1199
|
# regex: "__string",
|
1200
|
+
# severity_levels: [
|
1201
|
+
# {
|
1202
|
+
# occurrences_threshold: 1, # required
|
1203
|
+
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
1204
|
+
# },
|
1205
|
+
# ],
|
1171
1206
|
# tags: {
|
1172
1207
|
# "__string" => "__string",
|
1173
1208
|
# },
|
@@ -1196,6 +1231,23 @@ module Aws::Macie2
|
|
1196
1231
|
# @!attribute [rw] regex
|
1197
1232
|
# @return [String]
|
1198
1233
|
#
|
1234
|
+
# @!attribute [rw] severity_levels
|
1235
|
+
# The severity to assign to findings that the custom data identifier
|
1236
|
+
# produces, based on the number of occurrences of text that matches
|
1237
|
+
# the custom data identifier's detection criteria. You can specify as
|
1238
|
+
# many as three SeverityLevel objects in this array, one for each
|
1239
|
+
# severity: LOW, MEDIUM, or HIGH. If you specify more than one, the
|
1240
|
+
# occurrences thresholds must be in ascending order by severity,
|
1241
|
+
# moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and
|
1242
|
+
# 100 for HIGH. If an S3 object contains fewer occurrences than the
|
1243
|
+
# lowest specified threshold, Amazon Macie doesn't create a finding.
|
1244
|
+
#
|
1245
|
+
# If you don't specify any values for this array, Macie creates
|
1246
|
+
# findings for S3 objects that contain at least one occurrence of text
|
1247
|
+
# that matches the detection criteria, and Macie automatically assigns
|
1248
|
+
# the MEDIUM severity to those findings.
|
1249
|
+
# @return [Array<Types::SeverityLevel>]
|
1250
|
+
#
|
1199
1251
|
# @!attribute [rw] tags
|
1200
1252
|
# A string-to-string map of key-value pairs that specifies the tags
|
1201
1253
|
# (keys and values) for a classification job, custom data identifier,
|
@@ -1212,6 +1264,7 @@ module Aws::Macie2
|
|
1212
1264
|
:maximum_match_distance,
|
1213
1265
|
:name,
|
1214
1266
|
:regex,
|
1267
|
+
:severity_levels,
|
1215
1268
|
:tags)
|
1216
1269
|
SENSITIVE = []
|
1217
1270
|
include Aws::Structure
|
@@ -1417,8 +1470,7 @@ module Aws::Macie2
|
|
1417
1470
|
include Aws::Structure
|
1418
1471
|
end
|
1419
1472
|
|
1420
|
-
# Specifies the types of findings to
|
1421
|
-
# that Amazon Macie creates.
|
1473
|
+
# Specifies the types of sample findings to create.
|
1422
1474
|
#
|
1423
1475
|
# @note When making an API call, you may pass CreateSampleFindingsRequest
|
1424
1476
|
# data as a hash:
|
@@ -1646,8 +1698,8 @@ module Aws::Macie2
|
|
1646
1698
|
#
|
1647
1699
|
# @!attribute [rw] occurrences
|
1648
1700
|
# Specifies the location of 1-15 occurrences of sensitive data that
|
1649
|
-
# was detected by managed data
|
1650
|
-
# and produced a sensitive data finding.
|
1701
|
+
# was detected by a managed data identifier or a custom data
|
1702
|
+
# identifier and produced a sensitive data finding.
|
1651
1703
|
# @return [Types::Occurrences]
|
1652
1704
|
#
|
1653
1705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation
|
@@ -1707,15 +1759,15 @@ module Aws::Macie2
|
|
1707
1759
|
end
|
1708
1760
|
|
1709
1761
|
# Provides information about a type of sensitive data that was detected
|
1710
|
-
# by managed data
|
1762
|
+
# by a managed data identifier and produced a sensitive data finding.
|
1711
1763
|
#
|
1712
1764
|
# @!attribute [rw] count
|
1713
1765
|
# @return [Integer]
|
1714
1766
|
#
|
1715
1767
|
# @!attribute [rw] occurrences
|
1716
1768
|
# Specifies the location of 1-15 occurrences of sensitive data that
|
1717
|
-
# was detected by managed data
|
1718
|
-
# and produced a sensitive data finding.
|
1769
|
+
# was detected by a managed data identifier or a custom data
|
1770
|
+
# identifier and produced a sensitive data finding.
|
1719
1771
|
# @return [Types::Occurrences]
|
1720
1772
|
#
|
1721
1773
|
# @!attribute [rw] type
|
@@ -1888,7 +1940,7 @@ module Aws::Macie2
|
|
1888
1940
|
|
1889
1941
|
# Provides the results of a query that retrieved statistical data and
|
1890
1942
|
# other information about one or more S3 buckets that Amazon Macie
|
1891
|
-
# monitors and analyzes.
|
1943
|
+
# monitors and analyzes for your account.
|
1892
1944
|
#
|
1893
1945
|
# @!attribute [rw] buckets
|
1894
1946
|
# @return [Array<Types::BucketMetadata>]
|
@@ -1971,6 +2023,14 @@ module Aws::Macie2
|
|
1971
2023
|
# @!attribute [rw] last_run_time
|
1972
2024
|
# @return [Time]
|
1973
2025
|
#
|
2026
|
+
# @!attribute [rw] managed_data_identifier_ids
|
2027
|
+
# @return [Array<String>]
|
2028
|
+
#
|
2029
|
+
# @!attribute [rw] managed_data_identifier_selector
|
2030
|
+
# The selection type that determines which managed data identifiers a
|
2031
|
+
# classification job uses to analyze data. Valid values are:
|
2032
|
+
# @return [String]
|
2033
|
+
#
|
1974
2034
|
# @!attribute [rw] name
|
1975
2035
|
# @return [String]
|
1976
2036
|
#
|
@@ -2026,6 +2086,8 @@ module Aws::Macie2
|
|
2026
2086
|
:job_type,
|
2027
2087
|
:last_run_error_status,
|
2028
2088
|
:last_run_time,
|
2089
|
+
:managed_data_identifier_ids,
|
2090
|
+
:managed_data_identifier_selector,
|
2029
2091
|
:name,
|
2030
2092
|
:s3_job_definition,
|
2031
2093
|
:sampling_percentage,
|
@@ -2567,7 +2629,7 @@ module Aws::Macie2
|
|
2567
2629
|
|
2568
2630
|
# Provides the results of a query that retrieved aggregated statistical
|
2569
2631
|
# data for all the S3 buckets that Amazon Macie monitors and analyzes
|
2570
|
-
# for
|
2632
|
+
# for your account.
|
2571
2633
|
#
|
2572
2634
|
# @!attribute [rw] bucket_count
|
2573
2635
|
# @return [Integer]
|
@@ -2624,7 +2686,7 @@ module Aws::Macie2
|
|
2624
2686
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2625
2687
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
2626
2688
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
2627
|
-
# data is aggregated for
|
2689
|
+
# data is aggregated for the buckets in the query results. If
|
2628
2690
|
# versioning is enabled for a bucket, total storage size values are
|
2629
2691
|
# based on the size of the latest version of each applicable object in
|
2630
2692
|
# the bucket.
|
@@ -2635,7 +2697,7 @@ module Aws::Macie2
|
|
2635
2697
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2636
2698
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
2637
2699
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
2638
|
-
# data is aggregated for
|
2700
|
+
# data is aggregated for the buckets in the query results. If
|
2639
2701
|
# versioning is enabled for a bucket, total storage size values are
|
2640
2702
|
# based on the size of the latest version of each applicable object in
|
2641
2703
|
# the bucket.
|
@@ -2703,8 +2765,8 @@ module Aws::Macie2
|
|
2703
2765
|
include Aws::Structure
|
2704
2766
|
end
|
2705
2767
|
|
2706
|
-
# Provides information about the criteria and other settings
|
2707
|
-
# custom data identifier.
|
2768
|
+
# Provides information about the detection criteria and other settings
|
2769
|
+
# for a custom data identifier.
|
2708
2770
|
#
|
2709
2771
|
# @!attribute [rw] arn
|
2710
2772
|
# @return [String]
|
@@ -2736,6 +2798,23 @@ module Aws::Macie2
|
|
2736
2798
|
# @!attribute [rw] regex
|
2737
2799
|
# @return [String]
|
2738
2800
|
#
|
2801
|
+
# @!attribute [rw] severity_levels
|
2802
|
+
# The severity to assign to findings that the custom data identifier
|
2803
|
+
# produces, based on the number of occurrences of text that matches
|
2804
|
+
# the custom data identifier's detection criteria. You can specify as
|
2805
|
+
# many as three SeverityLevel objects in this array, one for each
|
2806
|
+
# severity: LOW, MEDIUM, or HIGH. If you specify more than one, the
|
2807
|
+
# occurrences thresholds must be in ascending order by severity,
|
2808
|
+
# moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and
|
2809
|
+
# 100 for HIGH. If an S3 object contains fewer occurrences than the
|
2810
|
+
# lowest specified threshold, Amazon Macie doesn't create a finding.
|
2811
|
+
#
|
2812
|
+
# If you don't specify any values for this array, Macie creates
|
2813
|
+
# findings for S3 objects that contain at least one occurrence of text
|
2814
|
+
# that matches the detection criteria, and Macie automatically assigns
|
2815
|
+
# the MEDIUM severity to those findings.
|
2816
|
+
# @return [Array<Types::SeverityLevel>]
|
2817
|
+
#
|
2739
2818
|
# @!attribute [rw] tags
|
2740
2819
|
# A string-to-string map of key-value pairs that specifies the tags
|
2741
2820
|
# (keys and values) for a classification job, custom data identifier,
|
@@ -2755,6 +2834,7 @@ module Aws::Macie2
|
|
2755
2834
|
:maximum_match_distance,
|
2756
2835
|
:name,
|
2757
2836
|
:regex,
|
2837
|
+
:severity_levels,
|
2758
2838
|
:tags)
|
2759
2839
|
SENSITIVE = []
|
2760
2840
|
include Aws::Structure
|
@@ -4084,6 +4164,45 @@ module Aws::Macie2
|
|
4084
4164
|
include Aws::Structure
|
4085
4165
|
end
|
4086
4166
|
|
4167
|
+
# Specifies criteria for paginating the results of a request for
|
4168
|
+
# information about managed data identifiers.
|
4169
|
+
#
|
4170
|
+
# @note When making an API call, you may pass ListManagedDataIdentifiersRequest
|
4171
|
+
# data as a hash:
|
4172
|
+
#
|
4173
|
+
# {
|
4174
|
+
# next_token: "__string",
|
4175
|
+
# }
|
4176
|
+
#
|
4177
|
+
# @!attribute [rw] next_token
|
4178
|
+
# @return [String]
|
4179
|
+
#
|
4180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiersRequest AWS API Documentation
|
4181
|
+
#
|
4182
|
+
class ListManagedDataIdentifiersRequest < Struct.new(
|
4183
|
+
:next_token)
|
4184
|
+
SENSITIVE = []
|
4185
|
+
include Aws::Structure
|
4186
|
+
end
|
4187
|
+
|
4188
|
+
# Provides information about the managed data identifiers that Amazon
|
4189
|
+
# Macie currently provides.
|
4190
|
+
#
|
4191
|
+
# @!attribute [rw] items
|
4192
|
+
# @return [Array<Types::ManagedDataIdentifierSummary>]
|
4193
|
+
#
|
4194
|
+
# @!attribute [rw] next_token
|
4195
|
+
# @return [String]
|
4196
|
+
#
|
4197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiersResponse AWS API Documentation
|
4198
|
+
#
|
4199
|
+
class ListManagedDataIdentifiersResponse < Struct.new(
|
4200
|
+
:items,
|
4201
|
+
:next_token)
|
4202
|
+
SENSITIVE = []
|
4203
|
+
include Aws::Structure
|
4204
|
+
end
|
4205
|
+
|
4087
4206
|
# @note When making an API call, you may pass ListMembersRequest
|
4088
4207
|
# data as a hash:
|
4089
4208
|
#
|
@@ -4207,8 +4326,40 @@ module Aws::Macie2
|
|
4207
4326
|
include Aws::Structure
|
4208
4327
|
end
|
4209
4328
|
|
4329
|
+
# Provides information about a managed data identifier. For additional
|
4330
|
+
# information, see [Using managed data identifiers][1] in the *Amazon
|
4331
|
+
# Macie User Guide*.
|
4332
|
+
#
|
4333
|
+
#
|
4334
|
+
#
|
4335
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
4336
|
+
#
|
4337
|
+
# @!attribute [rw] category
|
4338
|
+
# For a finding, the category of sensitive data that was detected and
|
4339
|
+
# produced the finding. For a managed data identifier, the category of
|
4340
|
+
# sensitive data that the managed data identifier detects. Possible
|
4341
|
+
# values are:
|
4342
|
+
# @return [String]
|
4343
|
+
#
|
4344
|
+
# @!attribute [rw] id
|
4345
|
+
# @return [String]
|
4346
|
+
#
|
4347
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ManagedDataIdentifierSummary AWS API Documentation
|
4348
|
+
#
|
4349
|
+
class ManagedDataIdentifierSummary < Struct.new(
|
4350
|
+
:category,
|
4351
|
+
:id)
|
4352
|
+
SENSITIVE = []
|
4353
|
+
include Aws::Structure
|
4354
|
+
end
|
4355
|
+
|
4210
4356
|
# Provides statistical data and other information about an S3 bucket
|
4211
|
-
# that Amazon Macie monitors and analyzes.
|
4357
|
+
# that Amazon Macie monitors and analyzes for your account. If an error
|
4358
|
+
# occurs when Macie attempts to retrieve and process information about
|
4359
|
+
# the bucket or the bucket's objects, the value for most of these
|
4360
|
+
# properties is null. Exceptions are accountId and bucketName. To
|
4361
|
+
# identify the cause of the error, refer to the errorCode and
|
4362
|
+
# errorMessage values.
|
4212
4363
|
#
|
4213
4364
|
# @!attribute [rw] account_id
|
4214
4365
|
# @return [String]
|
@@ -4222,6 +4373,15 @@ module Aws::Macie2
|
|
4222
4373
|
# @!attribute [rw] classifiable_size_in_bytes
|
4223
4374
|
# @return [Integer]
|
4224
4375
|
#
|
4376
|
+
# @!attribute [rw] error_code
|
4377
|
+
# The error code for an error that prevented Amazon Macie from
|
4378
|
+
# retrieving and processing information about an S3 bucket and the
|
4379
|
+
# bucket's objects.
|
4380
|
+
# @return [String]
|
4381
|
+
#
|
4382
|
+
# @!attribute [rw] error_message
|
4383
|
+
# @return [String]
|
4384
|
+
#
|
4225
4385
|
# @!attribute [rw] job_details
|
4226
4386
|
# Specifies whether any one-time or recurring classification jobs are
|
4227
4387
|
# configured to analyze data in an S3 bucket, and, if so, the details
|
@@ -4248,7 +4408,7 @@ module Aws::Macie2
|
|
4248
4408
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
4249
4409
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
4250
4410
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
4251
|
-
# data is aggregated for
|
4411
|
+
# data is aggregated for the buckets in the query results. If
|
4252
4412
|
# versioning is enabled for a bucket, total storage size values are
|
4253
4413
|
# based on the size of the latest version of each applicable object in
|
4254
4414
|
# the bucket.
|
@@ -4259,7 +4419,7 @@ module Aws::Macie2
|
|
4259
4419
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
4260
4420
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
4261
4421
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
4262
|
-
# data is aggregated for
|
4422
|
+
# data is aggregated for the buckets in the query results. If
|
4263
4423
|
# versioning is enabled for a bucket, total storage size values are
|
4264
4424
|
# based on the size of the latest version of each applicable object in
|
4265
4425
|
# the bucket.
|
@@ -4272,6 +4432,8 @@ module Aws::Macie2
|
|
4272
4432
|
:bucket_name,
|
4273
4433
|
:classifiable_object_count,
|
4274
4434
|
:classifiable_size_in_bytes,
|
4435
|
+
:error_code,
|
4436
|
+
:error_message,
|
4275
4437
|
:job_details,
|
4276
4438
|
:object_count,
|
4277
4439
|
:object_count_by_encryption_type,
|
@@ -4284,11 +4446,17 @@ module Aws::Macie2
|
|
4284
4446
|
end
|
4285
4447
|
|
4286
4448
|
# Provides statistical data and other information about an Amazon Web
|
4287
|
-
# Services resource that Amazon Macie monitors and analyzes
|
4449
|
+
# Services resource that Amazon Macie monitors and analyzes for your
|
4450
|
+
# account.
|
4288
4451
|
#
|
4289
4452
|
# @!attribute [rw] matching_bucket
|
4290
4453
|
# Provides statistical data and other information about an S3 bucket
|
4291
|
-
# that Amazon Macie monitors and analyzes.
|
4454
|
+
# that Amazon Macie monitors and analyzes for your account. If an
|
4455
|
+
# error occurs when Macie attempts to retrieve and process information
|
4456
|
+
# about the bucket or the bucket's objects, the value for most of
|
4457
|
+
# these properties is null. Exceptions are accountId and bucketName.
|
4458
|
+
# To identify the cause of the error, refer to the errorCode and
|
4459
|
+
# errorMessage values.
|
4292
4460
|
# @return [Types::MatchingBucket]
|
4293
4461
|
#
|
4294
4462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingResource AWS API Documentation
|
@@ -4407,7 +4575,7 @@ module Aws::Macie2
|
|
4407
4575
|
# of objects that Amazon Macie can't analyze in one or more S3 buckets.
|
4408
4576
|
# In a BucketMetadata or MatchingBucket object, this data is for a
|
4409
4577
|
# specific bucket. In a GetBucketStatisticsResponse object, this data is
|
4410
|
-
# aggregated for
|
4578
|
+
# aggregated for the buckets in the query results. If versioning is
|
4411
4579
|
# enabled for a bucket, total storage size values are based on the size
|
4412
4580
|
# of the latest version of each applicable object in the bucket.
|
4413
4581
|
#
|
@@ -4431,7 +4599,7 @@ module Aws::Macie2
|
|
4431
4599
|
end
|
4432
4600
|
|
4433
4601
|
# Specifies the location of 1-15 occurrences of sensitive data that was
|
4434
|
-
# detected by managed data
|
4602
|
+
# detected by a managed data identifier or a custom data identifier and
|
4435
4603
|
# produced a sensitive data finding.
|
4436
4604
|
#
|
4437
4605
|
# @!attribute [rw] cells
|
@@ -4722,7 +4890,8 @@ module Aws::Macie2
|
|
4722
4890
|
# @return [String]
|
4723
4891
|
#
|
4724
4892
|
# @!attribute [rw] owner
|
4725
|
-
# Provides information about the
|
4893
|
+
# Provides information about the Amazon Web Services account that owns
|
4894
|
+
# an S3 bucket.
|
4726
4895
|
# @return [Types::S3BucketOwner]
|
4727
4896
|
#
|
4728
4897
|
# @!attribute [rw] public_access
|
@@ -4849,7 +5018,8 @@ module Aws::Macie2
|
|
4849
5018
|
include Aws::Structure
|
4850
5019
|
end
|
4851
5020
|
|
4852
|
-
# Provides information about the
|
5021
|
+
# Provides information about the Amazon Web Services account that owns
|
5022
|
+
# an S3 bucket.
|
4853
5023
|
#
|
4854
5024
|
# @!attribute [rw] display_name
|
4855
5025
|
# @return [String]
|
@@ -5411,7 +5581,7 @@ module Aws::Macie2
|
|
5411
5581
|
|
5412
5582
|
# Provides the results of a query that retrieved statistical data and
|
5413
5583
|
# other information about Amazon Web Services resources that Amazon
|
5414
|
-
# Macie monitors and analyzes.
|
5584
|
+
# Macie monitors and analyzes for your account.
|
5415
5585
|
#
|
5416
5586
|
# @!attribute [rw] matching_resources
|
5417
5587
|
# @return [Array<Types::MatchingResource>]
|
@@ -5590,8 +5760,10 @@ module Aws::Macie2
|
|
5590
5760
|
# sensitive data that produced a sensitive data finding.
|
5591
5761
|
#
|
5592
5762
|
# @!attribute [rw] category
|
5593
|
-
#
|
5594
|
-
# finding.
|
5763
|
+
# For a finding, the category of sensitive data that was detected and
|
5764
|
+
# produced the finding. For a managed data identifier, the category of
|
5765
|
+
# sensitive data that the managed data identifier detects. Possible
|
5766
|
+
# values are:
|
5595
5767
|
# @return [String]
|
5596
5768
|
#
|
5597
5769
|
# @!attribute [rw] detections
|
@@ -5759,6 +5931,36 @@ module Aws::Macie2
|
|
5759
5931
|
include Aws::Structure
|
5760
5932
|
end
|
5761
5933
|
|
5934
|
+
# Specifies a severity level for findings that a custom data identifier
|
5935
|
+
# produces. A severity level determines which severity is assigned to
|
5936
|
+
# the findings, based on the number of occurrences of text that matches
|
5937
|
+
# the custom data identifier's detection criteria.
|
5938
|
+
#
|
5939
|
+
# @note When making an API call, you may pass SeverityLevel
|
5940
|
+
# data as a hash:
|
5941
|
+
#
|
5942
|
+
# {
|
5943
|
+
# occurrences_threshold: 1, # required
|
5944
|
+
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
5945
|
+
# }
|
5946
|
+
#
|
5947
|
+
# @!attribute [rw] occurrences_threshold
|
5948
|
+
# @return [Integer]
|
5949
|
+
#
|
5950
|
+
# @!attribute [rw] severity
|
5951
|
+
# The severity of a finding, ranging from LOW, for least severe, to
|
5952
|
+
# HIGH, for most severe. Valid values are:
|
5953
|
+
# @return [String]
|
5954
|
+
#
|
5955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SeverityLevel AWS API Documentation
|
5956
|
+
#
|
5957
|
+
class SeverityLevel < Struct.new(
|
5958
|
+
:occurrences_threshold,
|
5959
|
+
:severity)
|
5960
|
+
SENSITIVE = []
|
5961
|
+
include Aws::Structure
|
5962
|
+
end
|
5963
|
+
|
5762
5964
|
# Specifies a property-based condition that determines whether an S3
|
5763
5965
|
# bucket is included or excluded from a classification job.
|
5764
5966
|
#
|
@@ -6327,7 +6529,7 @@ module Aws::Macie2
|
|
6327
6529
|
#
|
6328
6530
|
class UpdateMacieSessionResponse < Aws::EmptyStructure; end
|
6329
6531
|
|
6330
|
-
# Suspends (pauses) or re-enables
|
6532
|
+
# Suspends (pauses) or re-enables Amazon Macie for a member account.
|
6331
6533
|
#
|
6332
6534
|
# @note When making an API call, you may pass UpdateMemberSessionRequest
|
6333
6535
|
# data as a hash:
|
data/lib/aws-sdk-macie2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-macie2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.37.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.121.2
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.121.2
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|