aws-sdk-macie2 1.31.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb404806fd6e06e2dc64d88b713e27cf3b28d23a5c12d0da079dc5798a072be7
4
- data.tar.gz: c4a49b360743c0315ca69e8f96bf98d8b7220c3e73d857b66d562491f450ad4e
3
+ metadata.gz: 4554d22602a3db074df0b0337b53e188f4c36bcd89247a5db757aa7f9d951803
4
+ data.tar.gz: 5259f3f0e4fd5762919b408cf9fb2e786d33bce1908ac9768380a5f3717ac394
5
5
  SHA512:
6
- metadata.gz: 2f3528eaba80e6e88097119d06d13762448e229dfb214d13a22be2200d9cdec876153895a2f2716525e3403e581c0629db2668774229d9e991d5acdf271f5768
7
- data.tar.gz: d6f73f23c5a64f3f371781f2a040f1804596514c0f4383ffd8a4a4eebf38f44df7039258c3fb92116e836700c952b784ce98b9620d575d9a7e7d9b88a27293e2
6
+ metadata.gz: c85b2e8141723f9d29b3588ca8ae6f888c0b693d5ef988197f4287671a23171631c9a7d03f0ba6adaa0c9c8efe1d23ca2b393003050d6da652fd741214e12e14
7
+ data.tar.gz: 0c448916f46a02b7dda11d9fac4f28ab6821e43d12d4f9924b938435c93bfb977ee0da973b440f6e146ce00f7d3a1d5772d0389e547035f8f2c998d21546bbc7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2021-09-30)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.34.0 (2021-09-16)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.33.0 (2021-09-01)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.32.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.31.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.35.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: [
@@ -972,6 +980,8 @@ module Aws::Macie2
972
980
  # resp.buckets[0].bucket_name #=> String
973
981
  # resp.buckets[0].classifiable_object_count #=> Integer
974
982
  # resp.buckets[0].classifiable_size_in_bytes #=> Integer
983
+ # resp.buckets[0].error_code #=> String, one of "ACCESS_DENIED"
984
+ # resp.buckets[0].error_message #=> String
975
985
  # resp.buckets[0].job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
976
986
  # resp.buckets[0].job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
977
987
  # resp.buckets[0].job_details.last_job_id #=> String
@@ -1044,6 +1054,8 @@ module Aws::Macie2
1044
1054
  # * {Types::DescribeClassificationJobResponse#job_type #job_type} => String
1045
1055
  # * {Types::DescribeClassificationJobResponse#last_run_error_status #last_run_error_status} => Types::LastRunErrorStatus
1046
1056
  # * {Types::DescribeClassificationJobResponse#last_run_time #last_run_time} => Time
1057
+ # * {Types::DescribeClassificationJobResponse#managed_data_identifier_ids #managed_data_identifier_ids} => Array&lt;String&gt;
1058
+ # * {Types::DescribeClassificationJobResponse#managed_data_identifier_selector #managed_data_identifier_selector} => String
1047
1059
  # * {Types::DescribeClassificationJobResponse#name #name} => String
1048
1060
  # * {Types::DescribeClassificationJobResponse#s3_job_definition #s3_job_definition} => Types::S3JobDefinition
1049
1061
  # * {Types::DescribeClassificationJobResponse#sampling_percentage #sampling_percentage} => Integer
@@ -1072,6 +1084,9 @@ module Aws::Macie2
1072
1084
  # resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1073
1085
  # resp.last_run_error_status.code #=> String, one of "NONE", "ERROR"
1074
1086
  # resp.last_run_time #=> Time
1087
+ # resp.managed_data_identifier_ids #=> Array
1088
+ # resp.managed_data_identifier_ids[0] #=> String
1089
+ # resp.managed_data_identifier_selector #=> String, one of "ALL", "EXCLUDE", "INCLUDE", "NONE"
1075
1090
  # resp.name #=> String
1076
1091
  # resp.s3_job_definition.bucket_definitions #=> Array
1077
1092
  # resp.s3_job_definition.bucket_definitions[0].account_id #=> String
@@ -2266,8 +2281,8 @@ module Aws::Macie2
2266
2281
  req.send_request(options)
2267
2282
  end
2268
2283
 
2269
- # Retrieves information about all the Amazon Macie membership
2270
- # invitations that were received by an account.
2284
+ # Retrieves information about the Amazon Macie membership invitations
2285
+ # that were received by an account.
2271
2286
  #
2272
2287
  # @option params [Integer] :max_results
2273
2288
  #
@@ -2305,6 +2320,38 @@ module Aws::Macie2
2305
2320
  req.send_request(options)
2306
2321
  end
2307
2322
 
2323
+ # Retrieves information about all the managed data identifiers that
2324
+ # Amazon Macie currently provides.
2325
+ #
2326
+ # @option params [String] :next_token
2327
+ #
2328
+ # @return [Types::ListManagedDataIdentifiersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2329
+ #
2330
+ # * {Types::ListManagedDataIdentifiersResponse#items #items} => Array&lt;Types::ManagedDataIdentifierSummary&gt;
2331
+ # * {Types::ListManagedDataIdentifiersResponse#next_token #next_token} => String
2332
+ #
2333
+ # @example Request syntax with placeholder values
2334
+ #
2335
+ # resp = client.list_managed_data_identifiers({
2336
+ # next_token: "__string",
2337
+ # })
2338
+ #
2339
+ # @example Response structure
2340
+ #
2341
+ # resp.items #=> Array
2342
+ # resp.items[0].category #=> String, one of "FINANCIAL_INFORMATION", "PERSONAL_INFORMATION", "CREDENTIALS", "CUSTOM_IDENTIFIER"
2343
+ # resp.items[0].id #=> String
2344
+ # resp.next_token #=> String
2345
+ #
2346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiers AWS API Documentation
2347
+ #
2348
+ # @overload list_managed_data_identifiers(params = {})
2349
+ # @param [Hash] params ({})
2350
+ def list_managed_data_identifiers(params = {}, options = {})
2351
+ req = build_request(:list_managed_data_identifiers, params)
2352
+ req.send_request(options)
2353
+ end
2354
+
2308
2355
  # Retrieves information about the accounts that are associated with an
2309
2356
  # Amazon Macie administrator account.
2310
2357
  #
@@ -2581,6 +2628,8 @@ module Aws::Macie2
2581
2628
  # resp.matching_resources[0].matching_bucket.bucket_name #=> String
2582
2629
  # resp.matching_resources[0].matching_bucket.classifiable_object_count #=> Integer
2583
2630
  # resp.matching_resources[0].matching_bucket.classifiable_size_in_bytes #=> Integer
2631
+ # resp.matching_resources[0].matching_bucket.error_code #=> String, one of "ACCESS_DENIED"
2632
+ # resp.matching_resources[0].matching_bucket.error_message #=> String
2584
2633
  # resp.matching_resources[0].matching_bucket.job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
2585
2634
  # resp.matching_resources[0].matching_bucket.job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
2586
2635
  # resp.matching_resources[0].matching_bucket.job_details.last_job_id #=> String
@@ -2892,7 +2941,7 @@ module Aws::Macie2
2892
2941
  params: params,
2893
2942
  config: config)
2894
2943
  context[:gem_name] = 'aws-sdk-macie2'
2895
- context[:gem_version] = '1.31.0'
2944
+ context[:gem_version] = '1.35.0'
2896
2945
  Seahorse::Client::Request.new(handlers, context)
2897
2946
  end
2898
2947
 
@@ -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')
@@ -190,6 +191,8 @@ module Aws::Macie2
190
191
  ListJobsFilterTerm = Shapes::StructureShape.new(name: 'ListJobsFilterTerm')
191
192
  ListJobsSortAttributeName = Shapes::StringShape.new(name: 'ListJobsSortAttributeName')
192
193
  ListJobsSortCriteria = Shapes::StructureShape.new(name: 'ListJobsSortCriteria')
194
+ ListManagedDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListManagedDataIdentifiersRequest')
195
+ ListManagedDataIdentifiersResponse = Shapes::StructureShape.new(name: 'ListManagedDataIdentifiersResponse')
193
196
  ListMembersRequest = Shapes::StructureShape.new(name: 'ListMembersRequest')
194
197
  ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
195
198
  ListOrganizationAdminAccountsRequest = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsRequest')
@@ -197,6 +200,8 @@ module Aws::Macie2
197
200
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
198
201
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
199
202
  MacieStatus = Shapes::StringShape.new(name: 'MacieStatus')
203
+ ManagedDataIdentifierSelector = Shapes::StringShape.new(name: 'ManagedDataIdentifierSelector')
204
+ ManagedDataIdentifierSummary = Shapes::StructureShape.new(name: 'ManagedDataIdentifierSummary')
200
205
  MatchingBucket = Shapes::StructureShape.new(name: 'MatchingBucket')
201
206
  MatchingResource = Shapes::StructureShape.new(name: 'MatchingResource')
202
207
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -320,6 +325,7 @@ module Aws::Macie2
320
325
  __listOfJobSummary = Shapes::ListShape.new(name: '__listOfJobSummary')
321
326
  __listOfKeyValuePair = Shapes::ListShape.new(name: '__listOfKeyValuePair')
322
327
  __listOfListJobsFilterTerm = Shapes::ListShape.new(name: '__listOfListJobsFilterTerm')
328
+ __listOfManagedDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfManagedDataIdentifierSummary')
323
329
  __listOfMatchingResource = Shapes::ListShape.new(name: '__listOfMatchingResource')
324
330
  __listOfMember = Shapes::ListShape.new(name: '__listOfMember')
325
331
  __listOfS3BucketDefinitionForJob = Shapes::ListShape.new(name: '__listOfS3BucketDefinitionForJob')
@@ -451,6 +457,8 @@ module Aws::Macie2
451
457
  BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
452
458
  BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
453
459
  BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
460
+ BucketMetadata.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
461
+ BucketMetadata.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
454
462
  BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
455
463
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
456
464
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
@@ -525,6 +533,8 @@ module Aws::Macie2
525
533
  CreateClassificationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
526
534
  CreateClassificationJobRequest.add_member(:initial_run, Shapes::ShapeRef.new(shape: __boolean, location_name: "initialRun"))
527
535
  CreateClassificationJobRequest.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, required: true, location_name: "jobType"))
536
+ CreateClassificationJobRequest.add_member(:managed_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "managedDataIdentifierIds"))
537
+ CreateClassificationJobRequest.add_member(:managed_data_identifier_selector, Shapes::ShapeRef.new(shape: ManagedDataIdentifierSelector, location_name: "managedDataIdentifierSelector"))
528
538
  CreateClassificationJobRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "name"))
529
539
  CreateClassificationJobRequest.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, required: true, location_name: "s3JobDefinition"))
530
540
  CreateClassificationJobRequest.add_member(:sampling_percentage, Shapes::ShapeRef.new(shape: __integer, location_name: "samplingPercentage"))
@@ -680,6 +690,8 @@ module Aws::Macie2
680
690
  DescribeClassificationJobResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
681
691
  DescribeClassificationJobResponse.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
682
692
  DescribeClassificationJobResponse.add_member(:last_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastRunTime"))
693
+ DescribeClassificationJobResponse.add_member(:managed_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "managedDataIdentifierIds"))
694
+ DescribeClassificationJobResponse.add_member(:managed_data_identifier_selector, Shapes::ShapeRef.new(shape: ManagedDataIdentifierSelector, location_name: "managedDataIdentifierSelector"))
683
695
  DescribeClassificationJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
684
696
  DescribeClassificationJobResponse.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, location_name: "s3JobDefinition"))
685
697
  DescribeClassificationJobResponse.add_member(:sampling_percentage, Shapes::ShapeRef.new(shape: __integer, location_name: "samplingPercentage"))
@@ -1053,6 +1065,13 @@ module Aws::Macie2
1053
1065
  ListJobsSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
1054
1066
  ListJobsSortCriteria.struct_class = Types::ListJobsSortCriteria
1055
1067
 
1068
+ ListManagedDataIdentifiersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1069
+ ListManagedDataIdentifiersRequest.struct_class = Types::ListManagedDataIdentifiersRequest
1070
+
1071
+ ListManagedDataIdentifiersResponse.add_member(:items, Shapes::ShapeRef.new(shape: __listOfManagedDataIdentifierSummary, location_name: "items"))
1072
+ ListManagedDataIdentifiersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1073
+ ListManagedDataIdentifiersResponse.struct_class = Types::ListManagedDataIdentifiersResponse
1074
+
1056
1075
  ListMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1057
1076
  ListMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1058
1077
  ListMembersRequest.add_member(:only_associated, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "onlyAssociated"))
@@ -1076,10 +1095,16 @@ module Aws::Macie2
1076
1095
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1077
1096
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1078
1097
 
1098
+ ManagedDataIdentifierSummary.add_member(:category, Shapes::ShapeRef.new(shape: SensitiveDataItemCategory, location_name: "category"))
1099
+ ManagedDataIdentifierSummary.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1100
+ ManagedDataIdentifierSummary.struct_class = Types::ManagedDataIdentifierSummary
1101
+
1079
1102
  MatchingBucket.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
1080
1103
  MatchingBucket.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
1081
1104
  MatchingBucket.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
1082
1105
  MatchingBucket.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
1106
+ MatchingBucket.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
1107
+ MatchingBucket.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
1083
1108
  MatchingBucket.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
1084
1109
  MatchingBucket.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
1085
1110
  MatchingBucket.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
@@ -1486,6 +1511,8 @@ module Aws::Macie2
1486
1511
 
1487
1512
  __listOfListJobsFilterTerm.member = Shapes::ShapeRef.new(shape: ListJobsFilterTerm)
1488
1513
 
1514
+ __listOfManagedDataIdentifierSummary.member = Shapes::ShapeRef.new(shape: ManagedDataIdentifierSummary)
1515
+
1489
1516
  __listOfMatchingResource.member = Shapes::ShapeRef.new(shape: MatchingResource)
1490
1517
 
1491
1518
  __listOfMember.member = Shapes::ShapeRef.new(shape: Member)
@@ -2202,6 +2229,14 @@ module Aws::Macie2
2202
2229
  )
2203
2230
  end)
2204
2231
 
2232
+ api.add_operation(:list_managed_data_identifiers, Seahorse::Model::Operation.new.tap do |o|
2233
+ o.name = "ListManagedDataIdentifiers"
2234
+ o.http_method = "POST"
2235
+ o.http_request_uri = "/managed-data-identifiers/list"
2236
+ o.input = Shapes::ShapeRef.new(shape: ListManagedDataIdentifiersRequest)
2237
+ o.output = Shapes::ShapeRef.new(shape: ListManagedDataIdentifiersResponse)
2238
+ end)
2239
+
2205
2240
  api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
2206
2241
  o.name = "ListMembers"
2207
2242
  o.http_method = "GET"
@@ -545,8 +545,13 @@ module Aws::Macie2
545
545
  include Aws::Structure
546
546
  end
547
547
 
548
- # Provides information about an S3 bucket that Amazon Macie monitors and
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 most of these
552
+ # properties is null. Exceptions are accountId, bucketArn,
553
+ # bucketCreatedAt, bucketName, lastUpdated, and region. To identify the
554
+ # cause of the error, refer to the errorCode and errorMessage values.
550
555
  #
551
556
  # @!attribute [rw] account_id
552
557
  # @return [String]
@@ -569,6 +574,15 @@ module Aws::Macie2
569
574
  # @!attribute [rw] classifiable_size_in_bytes
570
575
  # @return [Integer]
571
576
  #
577
+ # @!attribute [rw] error_code
578
+ # The error code for an error that prevented Amazon Macie from
579
+ # retrieving and processing information about an S3 bucket and the
580
+ # bucket's objects.
581
+ # @return [String]
582
+ #
583
+ # @!attribute [rw] error_message
584
+ # @return [String]
585
+ #
572
586
  # @!attribute [rw] job_details
573
587
  # Specifies whether any one-time or recurring classification jobs are
574
588
  # configured to analyze data in an S3 bucket, and, if so, the details
@@ -630,7 +644,7 @@ module Aws::Macie2
630
644
  # number of objects that Amazon Macie can't analyze in one or more S3
631
645
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
632
646
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
633
- # data is aggregated for all the buckets in the query results. If
647
+ # data is aggregated for the buckets in the query results. If
634
648
  # versioning is enabled for a bucket, total storage size values are
635
649
  # based on the size of the latest version of each applicable object in
636
650
  # the bucket.
@@ -641,7 +655,7 @@ module Aws::Macie2
641
655
  # number of objects that Amazon Macie can't analyze in one or more S3
642
656
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
643
657
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
644
- # data is aggregated for all the buckets in the query results. If
658
+ # data is aggregated for the buckets in the query results. If
645
659
  # versioning is enabled for a bucket, total storage size values are
646
660
  # based on the size of the latest version of each applicable object in
647
661
  # the bucket.
@@ -660,6 +674,8 @@ module Aws::Macie2
660
674
  :bucket_name,
661
675
  :classifiable_object_count,
662
676
  :classifiable_size_in_bytes,
677
+ :error_code,
678
+ :error_message,
663
679
  :job_details,
664
680
  :last_updated,
665
681
  :object_count,
@@ -959,6 +975,8 @@ module Aws::Macie2
959
975
  # description: "__string",
960
976
  # initial_run: false,
961
977
  # job_type: "ONE_TIME", # required, accepts ONE_TIME, SCHEDULED
978
+ # managed_data_identifier_ids: ["__string"],
979
+ # managed_data_identifier_selector: "ALL", # accepts ALL, EXCLUDE, INCLUDE, NONE
962
980
  # name: "__string", # required
963
981
  # s3_job_definition: { # required
964
982
  # bucket_definitions: [
@@ -1090,6 +1108,14 @@ module Aws::Macie2
1090
1108
  # The schedule for running a classification job. Valid values are:
1091
1109
  # @return [String]
1092
1110
  #
1111
+ # @!attribute [rw] managed_data_identifier_ids
1112
+ # @return [Array<String>]
1113
+ #
1114
+ # @!attribute [rw] managed_data_identifier_selector
1115
+ # The selection type that determines which managed data identifiers a
1116
+ # classification job uses to analyze data. Valid values are:
1117
+ # @return [String]
1118
+ #
1093
1119
  # @!attribute [rw] name
1094
1120
  # @return [String]
1095
1121
  #
@@ -1124,6 +1150,8 @@ module Aws::Macie2
1124
1150
  :description,
1125
1151
  :initial_run,
1126
1152
  :job_type,
1153
+ :managed_data_identifier_ids,
1154
+ :managed_data_identifier_selector,
1127
1155
  :name,
1128
1156
  :s3_job_definition,
1129
1157
  :sampling_percentage,
@@ -1151,7 +1179,7 @@ module Aws::Macie2
1151
1179
  include Aws::Structure
1152
1180
  end
1153
1181
 
1154
- # Specifies the criteria and other settings for a new custom data
1182
+ # Specifies the criteria and other settings for a custom data
1155
1183
  # identifier. You can't change a custom data identifier after you
1156
1184
  # create it. This helps ensure that you have an immutable history of
1157
1185
  # sensitive data findings and discovery results for data privacy and
@@ -1646,8 +1674,8 @@ module Aws::Macie2
1646
1674
  #
1647
1675
  # @!attribute [rw] occurrences
1648
1676
  # Specifies the location of 1-15 occurrences of sensitive data that
1649
- # was detected by managed data identifiers or a custom data identifier
1650
- # and produced a sensitive data finding.
1677
+ # was detected by a managed data identifier or a custom data
1678
+ # identifier and produced a sensitive data finding.
1651
1679
  # @return [Types::Occurrences]
1652
1680
  #
1653
1681
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation
@@ -1707,15 +1735,15 @@ module Aws::Macie2
1707
1735
  end
1708
1736
 
1709
1737
  # Provides information about a type of sensitive data that was detected
1710
- # by managed data identifiers and produced a sensitive data finding.
1738
+ # by a managed data identifier and produced a sensitive data finding.
1711
1739
  #
1712
1740
  # @!attribute [rw] count
1713
1741
  # @return [Integer]
1714
1742
  #
1715
1743
  # @!attribute [rw] occurrences
1716
1744
  # Specifies the location of 1-15 occurrences of sensitive data that
1717
- # was detected by managed data identifiers or a custom data identifier
1718
- # and produced a sensitive data finding.
1745
+ # was detected by a managed data identifier or a custom data
1746
+ # identifier and produced a sensitive data finding.
1719
1747
  # @return [Types::Occurrences]
1720
1748
  #
1721
1749
  # @!attribute [rw] type
@@ -1888,7 +1916,7 @@ module Aws::Macie2
1888
1916
 
1889
1917
  # Provides the results of a query that retrieved statistical data and
1890
1918
  # other information about one or more S3 buckets that Amazon Macie
1891
- # monitors and analyzes.
1919
+ # monitors and analyzes for your account.
1892
1920
  #
1893
1921
  # @!attribute [rw] buckets
1894
1922
  # @return [Array<Types::BucketMetadata>]
@@ -1971,6 +1999,14 @@ module Aws::Macie2
1971
1999
  # @!attribute [rw] last_run_time
1972
2000
  # @return [Time]
1973
2001
  #
2002
+ # @!attribute [rw] managed_data_identifier_ids
2003
+ # @return [Array<String>]
2004
+ #
2005
+ # @!attribute [rw] managed_data_identifier_selector
2006
+ # The selection type that determines which managed data identifiers a
2007
+ # classification job uses to analyze data. Valid values are:
2008
+ # @return [String]
2009
+ #
1974
2010
  # @!attribute [rw] name
1975
2011
  # @return [String]
1976
2012
  #
@@ -2026,6 +2062,8 @@ module Aws::Macie2
2026
2062
  :job_type,
2027
2063
  :last_run_error_status,
2028
2064
  :last_run_time,
2065
+ :managed_data_identifier_ids,
2066
+ :managed_data_identifier_selector,
2029
2067
  :name,
2030
2068
  :s3_job_definition,
2031
2069
  :sampling_percentage,
@@ -2567,7 +2605,7 @@ module Aws::Macie2
2567
2605
 
2568
2606
  # Provides the results of a query that retrieved aggregated statistical
2569
2607
  # data for all the S3 buckets that Amazon Macie monitors and analyzes
2570
- # for an account.
2608
+ # for your account.
2571
2609
  #
2572
2610
  # @!attribute [rw] bucket_count
2573
2611
  # @return [Integer]
@@ -2624,7 +2662,7 @@ module Aws::Macie2
2624
2662
  # number of objects that Amazon Macie can't analyze in one or more S3
2625
2663
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
2626
2664
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
2627
- # data is aggregated for all the buckets in the query results. If
2665
+ # data is aggregated for the buckets in the query results. If
2628
2666
  # versioning is enabled for a bucket, total storage size values are
2629
2667
  # based on the size of the latest version of each applicable object in
2630
2668
  # the bucket.
@@ -2635,7 +2673,7 @@ module Aws::Macie2
2635
2673
  # number of objects that Amazon Macie can't analyze in one or more S3
2636
2674
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
2637
2675
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
2638
- # data is aggregated for all the buckets in the query results. If
2676
+ # data is aggregated for the buckets in the query results. If
2639
2677
  # versioning is enabled for a bucket, total storage size values are
2640
2678
  # based on the size of the latest version of each applicable object in
2641
2679
  # the bucket.
@@ -4084,6 +4122,45 @@ module Aws::Macie2
4084
4122
  include Aws::Structure
4085
4123
  end
4086
4124
 
4125
+ # Specifies criteria for paginating the results of a request for
4126
+ # information about managed data identifiers.
4127
+ #
4128
+ # @note When making an API call, you may pass ListManagedDataIdentifiersRequest
4129
+ # data as a hash:
4130
+ #
4131
+ # {
4132
+ # next_token: "__string",
4133
+ # }
4134
+ #
4135
+ # @!attribute [rw] next_token
4136
+ # @return [String]
4137
+ #
4138
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiersRequest AWS API Documentation
4139
+ #
4140
+ class ListManagedDataIdentifiersRequest < Struct.new(
4141
+ :next_token)
4142
+ SENSITIVE = []
4143
+ include Aws::Structure
4144
+ end
4145
+
4146
+ # Provides information about the managed data identifiers that Amazon
4147
+ # Macie currently provides.
4148
+ #
4149
+ # @!attribute [rw] items
4150
+ # @return [Array<Types::ManagedDataIdentifierSummary>]
4151
+ #
4152
+ # @!attribute [rw] next_token
4153
+ # @return [String]
4154
+ #
4155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListManagedDataIdentifiersResponse AWS API Documentation
4156
+ #
4157
+ class ListManagedDataIdentifiersResponse < Struct.new(
4158
+ :items,
4159
+ :next_token)
4160
+ SENSITIVE = []
4161
+ include Aws::Structure
4162
+ end
4163
+
4087
4164
  # @note When making an API call, you may pass ListMembersRequest
4088
4165
  # data as a hash:
4089
4166
  #
@@ -4207,8 +4284,40 @@ module Aws::Macie2
4207
4284
  include Aws::Structure
4208
4285
  end
4209
4286
 
4287
+ # Provides information about a managed data identifier. For additional
4288
+ # information, see [Using managed data identifiers][1] in the *Amazon
4289
+ # Macie User Guide*.
4290
+ #
4291
+ #
4292
+ #
4293
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
4294
+ #
4295
+ # @!attribute [rw] category
4296
+ # For a finding, the category of sensitive data that was detected and
4297
+ # produced the finding. For a managed data identifier, the category of
4298
+ # sensitive data that the managed data identifier detects. Possible
4299
+ # values are:
4300
+ # @return [String]
4301
+ #
4302
+ # @!attribute [rw] id
4303
+ # @return [String]
4304
+ #
4305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ManagedDataIdentifierSummary AWS API Documentation
4306
+ #
4307
+ class ManagedDataIdentifierSummary < Struct.new(
4308
+ :category,
4309
+ :id)
4310
+ SENSITIVE = []
4311
+ include Aws::Structure
4312
+ end
4313
+
4210
4314
  # Provides statistical data and other information about an S3 bucket
4211
- # that Amazon Macie monitors and analyzes.
4315
+ # that Amazon Macie monitors and analyzes for your account. If an error
4316
+ # occurs when Macie attempts to retrieve and process information about
4317
+ # the bucket or the bucket's objects, the value for most of these
4318
+ # properties is null. Exceptions are accountId and bucketName. To
4319
+ # identify the cause of the error, refer to the errorCode and
4320
+ # errorMessage values.
4212
4321
  #
4213
4322
  # @!attribute [rw] account_id
4214
4323
  # @return [String]
@@ -4222,6 +4331,15 @@ module Aws::Macie2
4222
4331
  # @!attribute [rw] classifiable_size_in_bytes
4223
4332
  # @return [Integer]
4224
4333
  #
4334
+ # @!attribute [rw] error_code
4335
+ # The error code for an error that prevented Amazon Macie from
4336
+ # retrieving and processing information about an S3 bucket and the
4337
+ # bucket's objects.
4338
+ # @return [String]
4339
+ #
4340
+ # @!attribute [rw] error_message
4341
+ # @return [String]
4342
+ #
4225
4343
  # @!attribute [rw] job_details
4226
4344
  # Specifies whether any one-time or recurring classification jobs are
4227
4345
  # configured to analyze data in an S3 bucket, and, if so, the details
@@ -4248,7 +4366,7 @@ module Aws::Macie2
4248
4366
  # number of objects that Amazon Macie can't analyze in one or more S3
4249
4367
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
4250
4368
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
4251
- # data is aggregated for all the buckets in the query results. If
4369
+ # data is aggregated for the buckets in the query results. If
4252
4370
  # versioning is enabled for a bucket, total storage size values are
4253
4371
  # based on the size of the latest version of each applicable object in
4254
4372
  # the bucket.
@@ -4259,7 +4377,7 @@ module Aws::Macie2
4259
4377
  # number of objects that Amazon Macie can't analyze in one or more S3
4260
4378
  # buckets. In a BucketMetadata or MatchingBucket object, this data is
4261
4379
  # for a specific bucket. In a GetBucketStatisticsResponse object, this
4262
- # data is aggregated for all the buckets in the query results. If
4380
+ # data is aggregated for the buckets in the query results. If
4263
4381
  # versioning is enabled for a bucket, total storage size values are
4264
4382
  # based on the size of the latest version of each applicable object in
4265
4383
  # the bucket.
@@ -4272,6 +4390,8 @@ module Aws::Macie2
4272
4390
  :bucket_name,
4273
4391
  :classifiable_object_count,
4274
4392
  :classifiable_size_in_bytes,
4393
+ :error_code,
4394
+ :error_message,
4275
4395
  :job_details,
4276
4396
  :object_count,
4277
4397
  :object_count_by_encryption_type,
@@ -4284,11 +4404,17 @@ module Aws::Macie2
4284
4404
  end
4285
4405
 
4286
4406
  # Provides statistical data and other information about an Amazon Web
4287
- # Services resource that Amazon Macie monitors and analyzes.
4407
+ # Services resource that Amazon Macie monitors and analyzes for your
4408
+ # account.
4288
4409
  #
4289
4410
  # @!attribute [rw] matching_bucket
4290
4411
  # Provides statistical data and other information about an S3 bucket
4291
- # that Amazon Macie monitors and analyzes.
4412
+ # that Amazon Macie monitors and analyzes for your account. If an
4413
+ # error occurs when Macie attempts to retrieve and process information
4414
+ # about the bucket or the bucket's objects, the value for most of
4415
+ # these properties is null. Exceptions are accountId and bucketName.
4416
+ # To identify the cause of the error, refer to the errorCode and
4417
+ # errorMessage values.
4292
4418
  # @return [Types::MatchingBucket]
4293
4419
  #
4294
4420
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingResource AWS API Documentation
@@ -4407,7 +4533,7 @@ module Aws::Macie2
4407
4533
  # of objects that Amazon Macie can't analyze in one or more S3 buckets.
4408
4534
  # In a BucketMetadata or MatchingBucket object, this data is for a
4409
4535
  # specific bucket. In a GetBucketStatisticsResponse object, this data is
4410
- # aggregated for all the buckets in the query results. If versioning is
4536
+ # aggregated for the buckets in the query results. If versioning is
4411
4537
  # enabled for a bucket, total storage size values are based on the size
4412
4538
  # of the latest version of each applicable object in the bucket.
4413
4539
  #
@@ -4431,7 +4557,7 @@ module Aws::Macie2
4431
4557
  end
4432
4558
 
4433
4559
  # Specifies the location of 1-15 occurrences of sensitive data that was
4434
- # detected by managed data identifiers or a custom data identifier and
4560
+ # detected by a managed data identifier or a custom data identifier and
4435
4561
  # produced a sensitive data finding.
4436
4562
  #
4437
4563
  # @!attribute [rw] cells
@@ -4722,7 +4848,8 @@ module Aws::Macie2
4722
4848
  # @return [String]
4723
4849
  #
4724
4850
  # @!attribute [rw] owner
4725
- # Provides information about the user who owns an S3 bucket.
4851
+ # Provides information about the Amazon Web Services account that owns
4852
+ # an S3 bucket.
4726
4853
  # @return [Types::S3BucketOwner]
4727
4854
  #
4728
4855
  # @!attribute [rw] public_access
@@ -4849,7 +4976,8 @@ module Aws::Macie2
4849
4976
  include Aws::Structure
4850
4977
  end
4851
4978
 
4852
- # Provides information about the user who owns an S3 bucket.
4979
+ # Provides information about the Amazon Web Services account that owns
4980
+ # an S3 bucket.
4853
4981
  #
4854
4982
  # @!attribute [rw] display_name
4855
4983
  # @return [String]
@@ -5411,7 +5539,7 @@ module Aws::Macie2
5411
5539
 
5412
5540
  # Provides the results of a query that retrieved statistical data and
5413
5541
  # other information about Amazon Web Services resources that Amazon
5414
- # Macie monitors and analyzes.
5542
+ # Macie monitors and analyzes for your account.
5415
5543
  #
5416
5544
  # @!attribute [rw] matching_resources
5417
5545
  # @return [Array<Types::MatchingResource>]
@@ -5590,8 +5718,10 @@ module Aws::Macie2
5590
5718
  # sensitive data that produced a sensitive data finding.
5591
5719
  #
5592
5720
  # @!attribute [rw] category
5593
- # The category of sensitive data that was detected and produced the
5594
- # finding. Possible values are:
5721
+ # For a finding, the category of sensitive data that was detected and
5722
+ # produced the finding. For a managed data identifier, the category of
5723
+ # sensitive data that the managed data identifier detects. Possible
5724
+ # values are:
5595
5725
  # @return [String]
5596
5726
  #
5597
5727
  # @!attribute [rw] detections
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
48
48
  # @!group service
49
49
  module Aws::Macie2
50
50
 
51
- GEM_VERSION = '1.31.0'
51
+ GEM_VERSION = '1.35.0'
52
52
 
53
53
  end
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.31.0
4
+ version: 1.35.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-07-28 00:00:00.000000000 Z
11
+ date: 2021-09-30 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.118.0
22
+ version: 3.120.0
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.118.0
32
+ version: 3.120.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="