aws-sdk-macie2 1.13.0 → 1.18.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: a56a50543d74ace8c73c8cae1b6cd35de42df77aa683ec2f9222ee04fae38e91
4
- data.tar.gz: 59039616a9fe749b66baec4a9257c423d49afc277e60c73e451965ee5d68cc09
3
+ metadata.gz: 2dab61020196dfda27cc0a9ecd2bf179866b107565de54fb924c23da8a9cf928
4
+ data.tar.gz: 95844f89076304185c2df59c29772c4d16754f2769cc259938ee2ced411c28f8
5
5
  SHA512:
6
- metadata.gz: 43830f57dd2cc682b3cf8be84269a606a13dd0ca2c05c66c520ddd3bfbfe68090169fb3581d4af0a31a7570e29cc11b39ecfb8146407b2e9ed092359f8f6b7c9
7
- data.tar.gz: 6819a7f5ccb44ac2c7418e827f24cd05a2095c9c3db08436871881e1b4d8e764ffe9639b77d62c3e69a0ecf96f398c666fca08406ea00b917e0691d45f78041a
6
+ metadata.gz: c4e68866d3a82fbd933857f94b1c05a491bee4d6dba9db5ecd7b07fa9915248efc5dd12be27322e2aebed6740858311654e5b5aeb83c2e3d51fa3f9057bc18ab
7
+ data.tar.gz: ff06b95df76b5a24c67b58c75b133cf4703e005db1a57396facb49491efe93cdf63cf42eac24dc7503df66b9bc6bf18f4f017b3c920273069aec513eeaa3718e
@@ -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.13.0'
51
+ GEM_VERSION = '1.18.0'
52
52
 
53
53
  end
@@ -615,6 +615,7 @@ module Aws::Macie2
615
615
  # criterion: {
616
616
  # "__string" => {
617
617
  # eq: ["__string"],
618
+ # eq_exact_match: ["__string"],
618
619
  # gt: 1,
619
620
  # gte: 1,
620
621
  # lt: 1,
@@ -920,6 +921,10 @@ module Aws::Macie2
920
921
  # resp.buckets[0].bucket_name #=> String
921
922
  # resp.buckets[0].classifiable_object_count #=> Integer
922
923
  # resp.buckets[0].classifiable_size_in_bytes #=> Integer
924
+ # resp.buckets[0].job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
925
+ # resp.buckets[0].job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
926
+ # resp.buckets[0].job_details.last_job_id #=> String
927
+ # resp.buckets[0].job_details.last_job_run_time #=> Time
923
928
  # resp.buckets[0].last_updated #=> Time
924
929
  # resp.buckets[0].object_count #=> Integer
925
930
  # resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
@@ -983,6 +988,7 @@ module Aws::Macie2
983
988
  # * {Types::DescribeClassificationJobResponse#job_id #job_id} => String
984
989
  # * {Types::DescribeClassificationJobResponse#job_status #job_status} => String
985
990
  # * {Types::DescribeClassificationJobResponse#job_type #job_type} => String
991
+ # * {Types::DescribeClassificationJobResponse#last_run_error_status #last_run_error_status} => Types::LastRunErrorStatus
986
992
  # * {Types::DescribeClassificationJobResponse#last_run_time #last_run_time} => Time
987
993
  # * {Types::DescribeClassificationJobResponse#name #name} => String
988
994
  # * {Types::DescribeClassificationJobResponse#s3_job_definition #s3_job_definition} => Types::S3JobDefinition
@@ -1010,6 +1016,7 @@ module Aws::Macie2
1010
1016
  # resp.job_id #=> String
1011
1017
  # resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1012
1018
  # resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1019
+ # resp.last_run_error_status.code #=> String, one of "NONE", "ERROR"
1013
1020
  # resp.last_run_time #=> Time
1014
1021
  # resp.name #=> String
1015
1022
  # resp.s3_job_definition.bucket_definitions #=> Array
@@ -1094,8 +1101,8 @@ module Aws::Macie2
1094
1101
  req.send_request(options)
1095
1102
  end
1096
1103
 
1097
- # Disables an account as a delegated administrator of Amazon Macie for
1098
- # an AWS organization.
1104
+ # Disables an account as the delegated Amazon Macie administrator
1105
+ # account for an AWS organization.
1099
1106
  #
1100
1107
  # @option params [required, String] :admin_account_id
1101
1108
  #
@@ -1185,8 +1192,8 @@ module Aws::Macie2
1185
1192
  req.send_request(options)
1186
1193
  end
1187
1194
 
1188
- # Enables an account as a delegated administrator of Amazon Macie for an
1189
- # AWS organization.
1195
+ # Designates an account as the delegated Amazon Macie administrator
1196
+ # account for an AWS organization.
1190
1197
  #
1191
1198
  # @option params [required, String] :admin_account_id
1192
1199
  #
@@ -1372,6 +1379,7 @@ module Aws::Macie2
1372
1379
  # criterion: {
1373
1380
  # "__string" => {
1374
1381
  # eq: ["__string"],
1382
+ # eq_exact_match: ["__string"],
1375
1383
  # gt: 1,
1376
1384
  # gte: 1,
1377
1385
  # lt: 1,
@@ -1460,6 +1468,7 @@ module Aws::Macie2
1460
1468
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
1461
1469
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].page_number #=> Integer
1462
1470
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records #=> Array
1471
+ # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].json_path #=> String
1463
1472
  # resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].record_index #=> Integer
1464
1473
  # resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
1465
1474
  # resp.findings[0].classification_details.result.mime_type #=> String
@@ -1489,6 +1498,7 @@ module Aws::Macie2
1489
1498
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
1490
1499
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].page_number #=> Integer
1491
1500
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records #=> Array
1501
+ # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].json_path #=> String
1492
1502
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].record_index #=> Integer
1493
1503
  # resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
1494
1504
  # resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
@@ -1634,6 +1644,8 @@ module Aws::Macie2
1634
1644
  # resp.finding_criteria.criterion #=> Hash
1635
1645
  # resp.finding_criteria.criterion["__string"].eq #=> Array
1636
1646
  # resp.finding_criteria.criterion["__string"].eq[0] #=> String
1647
+ # resp.finding_criteria.criterion["__string"].eq_exact_match #=> Array
1648
+ # resp.finding_criteria.criterion["__string"].eq_exact_match[0] #=> String
1637
1649
  # resp.finding_criteria.criterion["__string"].gt #=> Integer
1638
1650
  # resp.finding_criteria.criterion["__string"].gte #=> Integer
1639
1651
  # resp.finding_criteria.criterion["__string"].lt #=> Integer
@@ -1912,6 +1924,7 @@ module Aws::Macie2
1912
1924
  # resp.items[0].job_id #=> String
1913
1925
  # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1914
1926
  # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1927
+ # resp.items[0].last_run_error_status.code #=> String, one of "NONE", "ERROR"
1915
1928
  # resp.items[0].name #=> String
1916
1929
  # resp.items[0].user_paused_details.job_expires_at #=> Time
1917
1930
  # resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
@@ -1994,6 +2007,7 @@ module Aws::Macie2
1994
2007
  # criterion: {
1995
2008
  # "__string" => {
1996
2009
  # eq: ["__string"],
2010
+ # eq_exact_match: ["__string"],
1997
2011
  # gt: 1,
1998
2012
  # gte: 1,
1999
2013
  # lt: 1,
@@ -2152,8 +2166,8 @@ module Aws::Macie2
2152
2166
  req.send_request(options)
2153
2167
  end
2154
2168
 
2155
- # Retrieves information about the account that's designated as the
2156
- # delegated administrator of Amazon Macie for an AWS organization.
2169
+ # Retrieves information about the delegated Amazon Macie administrator
2170
+ # account for an AWS organization.
2157
2171
  #
2158
2172
  # @option params [Integer] :max_results
2159
2173
  #
@@ -2358,7 +2372,7 @@ module Aws::Macie2
2358
2372
  # @option params [required, String] :job_id
2359
2373
  #
2360
2374
  # @option params [required, String] :job_status
2361
- # The current status of a classification job. Possible values are:
2375
+ # The status of a classification job. Possible values are:
2362
2376
  #
2363
2377
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2364
2378
  #
@@ -2411,6 +2425,7 @@ module Aws::Macie2
2411
2425
  # criterion: {
2412
2426
  # "__string" => {
2413
2427
  # eq: ["__string"],
2428
+ # eq_exact_match: ["__string"],
2414
2429
  # gt: 1,
2415
2430
  # gte: 1,
2416
2431
  # lt: 1,
@@ -2494,7 +2509,8 @@ module Aws::Macie2
2494
2509
  req.send_request(options)
2495
2510
  end
2496
2511
 
2497
- # Updates Amazon Macie configuration settings for an AWS organization.
2512
+ # Updates the Amazon Macie configuration settings for an AWS
2513
+ # organization.
2498
2514
  #
2499
2515
  # @option params [required, Boolean] :auto_enable
2500
2516
  #
@@ -2528,7 +2544,7 @@ module Aws::Macie2
2528
2544
  params: params,
2529
2545
  config: config)
2530
2546
  context[:gem_name] = 'aws-sdk-macie2'
2531
- context[:gem_version] = '1.13.0'
2547
+ context[:gem_version] = '1.18.0'
2532
2548
  Seahorse::Client::Request.new(handlers, context)
2533
2549
  end
2534
2550
 
@@ -150,7 +150,10 @@ module Aws::Macie2
150
150
  IpCountry = Shapes::StructureShape.new(name: 'IpCountry')
151
151
  IpGeoLocation = Shapes::StructureShape.new(name: 'IpGeoLocation')
152
152
  IpOwner = Shapes::StructureShape.new(name: 'IpOwner')
153
+ IsDefinedInJob = Shapes::StringShape.new(name: 'IsDefinedInJob')
154
+ IsMonitoredByJob = Shapes::StringShape.new(name: 'IsMonitoredByJob')
153
155
  JobComparator = Shapes::StringShape.new(name: 'JobComparator')
156
+ JobDetails = Shapes::StructureShape.new(name: 'JobDetails')
154
157
  JobScheduleFrequency = Shapes::StructureShape.new(name: 'JobScheduleFrequency')
155
158
  JobScopeTerm = Shapes::StructureShape.new(name: 'JobScopeTerm')
156
159
  JobScopingBlock = Shapes::StructureShape.new(name: 'JobScopingBlock')
@@ -159,6 +162,8 @@ module Aws::Macie2
159
162
  JobType = Shapes::StringShape.new(name: 'JobType')
160
163
  KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
161
164
  KeyValuePairList = Shapes::ListShape.new(name: 'KeyValuePairList')
165
+ LastRunErrorStatus = Shapes::StructureShape.new(name: 'LastRunErrorStatus')
166
+ LastRunErrorStatusCode = Shapes::StringShape.new(name: 'LastRunErrorStatusCode')
162
167
  ListClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListClassificationJobsRequest')
163
168
  ListClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListClassificationJobsResponse')
164
169
  ListCustomDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersRequest')
@@ -398,6 +403,7 @@ module Aws::Macie2
398
403
  BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
399
404
  BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
400
405
  BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
406
+ BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
401
407
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
402
408
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
403
409
  BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
@@ -527,6 +533,7 @@ module Aws::Macie2
527
533
  Criterion.value = Shapes::ShapeRef.new(shape: CriterionAdditionalProperties)
528
534
 
529
535
  CriterionAdditionalProperties.add_member(:eq, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "eq"))
536
+ CriterionAdditionalProperties.add_member(:eq_exact_match, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "eqExactMatch"))
530
537
  CriterionAdditionalProperties.add_member(:gt, Shapes::ShapeRef.new(shape: __long, location_name: "gt"))
531
538
  CriterionAdditionalProperties.add_member(:gte, Shapes::ShapeRef.new(shape: __long, location_name: "gte"))
532
539
  CriterionAdditionalProperties.add_member(:lt, Shapes::ShapeRef.new(shape: __long, location_name: "lt"))
@@ -611,6 +618,7 @@ module Aws::Macie2
611
618
  DescribeClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
612
619
  DescribeClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
613
620
  DescribeClassificationJobResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
621
+ DescribeClassificationJobResponse.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
614
622
  DescribeClassificationJobResponse.add_member(:last_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastRunTime"))
615
623
  DescribeClassificationJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
616
624
  DescribeClassificationJobResponse.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, location_name: "s3JobDefinition"))
@@ -870,6 +878,12 @@ module Aws::Macie2
870
878
  IpOwner.add_member(:org, Shapes::ShapeRef.new(shape: __string, location_name: "org"))
871
879
  IpOwner.struct_class = Types::IpOwner
872
880
 
881
+ JobDetails.add_member(:is_defined_in_job, Shapes::ShapeRef.new(shape: IsDefinedInJob, location_name: "isDefinedInJob"))
882
+ JobDetails.add_member(:is_monitored_by_job, Shapes::ShapeRef.new(shape: IsMonitoredByJob, location_name: "isMonitoredByJob"))
883
+ JobDetails.add_member(:last_job_id, Shapes::ShapeRef.new(shape: __string, location_name: "lastJobId"))
884
+ JobDetails.add_member(:last_job_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastJobRunTime"))
885
+ JobDetails.struct_class = Types::JobDetails
886
+
873
887
  JobScheduleFrequency.add_member(:daily_schedule, Shapes::ShapeRef.new(shape: DailySchedule, location_name: "dailySchedule"))
874
888
  JobScheduleFrequency.add_member(:monthly_schedule, Shapes::ShapeRef.new(shape: MonthlySchedule, location_name: "monthlySchedule"))
875
889
  JobScheduleFrequency.add_member(:weekly_schedule, Shapes::ShapeRef.new(shape: WeeklySchedule, location_name: "weeklySchedule"))
@@ -887,6 +901,7 @@ module Aws::Macie2
887
901
  JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
888
902
  JobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
889
903
  JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
904
+ JobSummary.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
890
905
  JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
891
906
  JobSummary.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
892
907
  JobSummary.struct_class = Types::JobSummary
@@ -897,6 +912,9 @@ module Aws::Macie2
897
912
 
898
913
  KeyValuePairList.member = Shapes::ShapeRef.new(shape: KeyValuePair)
899
914
 
915
+ LastRunErrorStatus.add_member(:code, Shapes::ShapeRef.new(shape: LastRunErrorStatusCode, location_name: "code"))
916
+ LastRunErrorStatus.struct_class = Types::LastRunErrorStatus
917
+
900
918
  ListClassificationJobsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ListJobsFilterCriteria, location_name: "filterCriteria"))
901
919
  ListClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
902
920
  ListClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -1032,6 +1050,7 @@ module Aws::Macie2
1032
1050
 
1033
1051
  Ranges.member = Shapes::ShapeRef.new(shape: Range)
1034
1052
 
1053
+ Record.add_member(:json_path, Shapes::ShapeRef.new(shape: __string, location_name: "jsonPath"))
1035
1054
  Record.add_member(:record_index, Shapes::ShapeRef.new(shape: __long, location_name: "recordIndex"))
1036
1055
  Record.struct_class = Types::Record
1037
1056
 
@@ -120,15 +120,15 @@ module Aws::Macie2
120
120
  include Aws::Structure
121
121
  end
122
122
 
123
- # Provides information about an account that's designated as a
124
- # delegated administrator of Amazon Macie for an AWS organization.
123
+ # Provides information about the delegated Amazon Macie administrator
124
+ # account for an AWS organization.
125
125
  #
126
126
  # @!attribute [rw] account_id
127
127
  # @return [String]
128
128
  #
129
129
  # @!attribute [rw] status
130
- # The current status of an account as a delegated administrator of
131
- # Amazon Macie for an AWS organization.
130
+ # The current status of an account as the delegated Amazon Macie
131
+ # administrator account for an AWS organization.
132
132
  # @return [String]
133
133
  #
134
134
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation
@@ -519,6 +519,12 @@ module Aws::Macie2
519
519
  # @!attribute [rw] classifiable_size_in_bytes
520
520
  # @return [Integer]
521
521
  #
522
+ # @!attribute [rw] job_details
523
+ # Specifies whether any one-time or recurring classification jobs are
524
+ # configured to analyze data in an S3 bucket, and, if so, the details
525
+ # of the job that ran most recently.
526
+ # @return [Types::JobDetails]
527
+ #
522
528
  # @!attribute [rw] last_updated
523
529
  # @return [Time]
524
530
  #
@@ -585,6 +591,7 @@ module Aws::Macie2
585
591
  :bucket_name,
586
592
  :classifiable_object_count,
587
593
  :classifiable_size_in_bytes,
594
+ :job_details,
588
595
  :last_updated,
589
596
  :object_count,
590
597
  :object_count_by_encryption_type,
@@ -779,9 +786,9 @@ module Aws::Macie2
779
786
  # @return [Boolean]
780
787
  #
781
788
  # @!attribute [rw] custom_data_identifiers
782
- # Provides information about the number of occurrences of the data
783
- # that produced a sensitive data finding, and the custom data
784
- # identifiers that detected the data for the finding.
789
+ # Provides information about custom data identifiers that produced a
790
+ # sensitive data finding, and the number of occurrences of the data
791
+ # that they detected for the finding.
785
792
  # @return [Types::CustomDataIdentifiers]
786
793
  #
787
794
  # @!attribute [rw] mime_type
@@ -1096,6 +1103,7 @@ module Aws::Macie2
1096
1103
  # criterion: {
1097
1104
  # "__string" => {
1098
1105
  # eq: ["__string"],
1106
+ # eq_exact_match: ["__string"],
1099
1107
  # gt: 1,
1100
1108
  # gte: 1,
1101
1109
  # lt: 1,
@@ -1300,6 +1308,7 @@ module Aws::Macie2
1300
1308
  #
1301
1309
  # {
1302
1310
  # eq: ["__string"],
1311
+ # eq_exact_match: ["__string"],
1303
1312
  # gt: 1,
1304
1313
  # gte: 1,
1305
1314
  # lt: 1,
@@ -1310,6 +1319,9 @@ module Aws::Macie2
1310
1319
  # @!attribute [rw] eq
1311
1320
  # @return [Array<String>]
1312
1321
  #
1322
+ # @!attribute [rw] eq_exact_match
1323
+ # @return [Array<String>]
1324
+ #
1313
1325
  # @!attribute [rw] gt
1314
1326
  # @return [Integer]
1315
1327
  #
@@ -1329,6 +1341,7 @@ module Aws::Macie2
1329
1341
  #
1330
1342
  class CriterionAdditionalProperties < Struct.new(
1331
1343
  :eq,
1344
+ :eq_exact_match,
1332
1345
  :gt,
1333
1346
  :gte,
1334
1347
  :lt,
@@ -1367,9 +1380,9 @@ module Aws::Macie2
1367
1380
  include Aws::Structure
1368
1381
  end
1369
1382
 
1370
- # Provides information about the number of occurrences of the data that
1371
- # produced a sensitive data finding, and the custom data identifiers
1372
- # that detected the data for the finding.
1383
+ # Provides information about custom data identifiers that produced a
1384
+ # sensitive data finding, and the number of occurrences of the data that
1385
+ # they detected for the finding.
1373
1386
  #
1374
1387
  # @!attribute [rw] detections
1375
1388
  # Provides information about custom data identifiers that produced a
@@ -1707,13 +1720,21 @@ module Aws::Macie2
1707
1720
  # @return [String]
1708
1721
  #
1709
1722
  # @!attribute [rw] job_status
1710
- # The current status of a classification job. Possible values are:
1723
+ # The status of a classification job. Possible values are:
1711
1724
  # @return [String]
1712
1725
  #
1713
1726
  # @!attribute [rw] job_type
1714
1727
  # The schedule for running a classification job. Valid values are:
1715
1728
  # @return [String]
1716
1729
  #
1730
+ # @!attribute [rw] last_run_error_status
1731
+ # Specifies whether any account- or bucket-level access errors
1732
+ # occurred when a classification job ran. For example, the job is
1733
+ # configured to analyze data for a member account that was suspended,
1734
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
1735
+ # isn't allowed to access.
1736
+ # @return [Types::LastRunErrorStatus]
1737
+ #
1717
1738
  # @!attribute [rw] last_run_time
1718
1739
  # @return [Time]
1719
1740
  #
@@ -1744,9 +1765,10 @@ module Aws::Macie2
1744
1765
  #
1745
1766
  # @!attribute [rw] user_paused_details
1746
1767
  # Provides information about when a classification job was paused and
1747
- # when it will expire and be cancelled if it isnt resumed. This
1748
- # object is present only if a jobs current status (jobStatus) is
1749
- # USER\_PAUSED.
1768
+ # when it will expire and be cancelled if it isn't resumed. This
1769
+ # object is present only if a job's current status (jobStatus) is
1770
+ # USER\_PAUSED. The information in this object applies only to a job
1771
+ # that was paused while it had a status of RUNNING.
1750
1772
  # @return [Types::UserPausedDetails]
1751
1773
  #
1752
1774
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
@@ -1761,6 +1783,7 @@ module Aws::Macie2
1761
1783
  :job_id,
1762
1784
  :job_status,
1763
1785
  :job_type,
1786
+ :last_run_error_status,
1764
1787
  :last_run_time,
1765
1788
  :name,
1766
1789
  :s3_job_definition,
@@ -1924,9 +1947,9 @@ module Aws::Macie2
1924
1947
  #
1925
1948
  class EnableMacieResponse < Aws::EmptyStructure; end
1926
1949
 
1927
- # Specifies an account to designate as a delegated administrator of
1928
- # Amazon Macie for an AWS organization. To submit this request, you must
1929
- # be a user of the master account for the AWS organization.
1950
+ # Specifies an account to designate as a delegated Amazon Macie
1951
+ # administrator account for an AWS organization. To submit this request,
1952
+ # you must be a user of the management account for the AWS organization.
1930
1953
  #
1931
1954
  # @note When making an API call, you may pass EnableOrganizationAdminAccountRequest
1932
1955
  # data as a hash:
@@ -2146,6 +2169,7 @@ module Aws::Macie2
2146
2169
  # criterion: {
2147
2170
  # "__string" => {
2148
2171
  # eq: ["__string"],
2172
+ # eq_exact_match: ["__string"],
2149
2173
  # gt: 1,
2150
2174
  # gte: 1,
2151
2175
  # lt: 1,
@@ -2438,6 +2462,7 @@ module Aws::Macie2
2438
2462
  # criterion: {
2439
2463
  # "__string" => {
2440
2464
  # eq: ["__string"],
2465
+ # eq_exact_match: ["__string"],
2441
2466
  # gt: 1,
2442
2467
  # gte: 1,
2443
2468
  # lt: 1,
@@ -3043,6 +3068,33 @@ module Aws::Macie2
3043
3068
  include Aws::Structure
3044
3069
  end
3045
3070
 
3071
+ # Specifies whether any one-time or recurring classification jobs are
3072
+ # configured to analyze data in an S3 bucket, and, if so, the details of
3073
+ # the job that ran most recently.
3074
+ #
3075
+ # @!attribute [rw] is_defined_in_job
3076
+ # @return [String]
3077
+ #
3078
+ # @!attribute [rw] is_monitored_by_job
3079
+ # @return [String]
3080
+ #
3081
+ # @!attribute [rw] last_job_id
3082
+ # @return [String]
3083
+ #
3084
+ # @!attribute [rw] last_job_run_time
3085
+ # @return [Time]
3086
+ #
3087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobDetails AWS API Documentation
3088
+ #
3089
+ class JobDetails < Struct.new(
3090
+ :is_defined_in_job,
3091
+ :is_monitored_by_job,
3092
+ :last_job_id,
3093
+ :last_job_run_time)
3094
+ SENSITIVE = []
3095
+ include Aws::Structure
3096
+ end
3097
+
3046
3098
  # Specifies the recurrence pattern for running a classification job.
3047
3099
  #
3048
3100
  # @note When making an API call, you may pass JobScheduleFrequency
@@ -3183,21 +3235,30 @@ module Aws::Macie2
3183
3235
  # @return [String]
3184
3236
  #
3185
3237
  # @!attribute [rw] job_status
3186
- # The current status of a classification job. Possible values are:
3238
+ # The status of a classification job. Possible values are:
3187
3239
  # @return [String]
3188
3240
  #
3189
3241
  # @!attribute [rw] job_type
3190
3242
  # The schedule for running a classification job. Valid values are:
3191
3243
  # @return [String]
3192
3244
  #
3245
+ # @!attribute [rw] last_run_error_status
3246
+ # Specifies whether any account- or bucket-level access errors
3247
+ # occurred when a classification job ran. For example, the job is
3248
+ # configured to analyze data for a member account that was suspended,
3249
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
3250
+ # isn't allowed to access.
3251
+ # @return [Types::LastRunErrorStatus]
3252
+ #
3193
3253
  # @!attribute [rw] name
3194
3254
  # @return [String]
3195
3255
  #
3196
3256
  # @!attribute [rw] user_paused_details
3197
3257
  # Provides information about when a classification job was paused and
3198
- # when it will expire and be cancelled if it isnt resumed. This
3199
- # object is present only if a jobs current status (jobStatus) is
3200
- # USER\_PAUSED.
3258
+ # when it will expire and be cancelled if it isn't resumed. This
3259
+ # object is present only if a job's current status (jobStatus) is
3260
+ # USER\_PAUSED. The information in this object applies only to a job
3261
+ # that was paused while it had a status of RUNNING.
3201
3262
  # @return [Types::UserPausedDetails]
3202
3263
  #
3203
3264
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
@@ -3208,6 +3269,7 @@ module Aws::Macie2
3208
3269
  :job_id,
3209
3270
  :job_status,
3210
3271
  :job_type,
3272
+ :last_run_error_status,
3211
3273
  :name,
3212
3274
  :user_paused_details)
3213
3275
  SENSITIVE = []
@@ -3233,6 +3295,26 @@ module Aws::Macie2
3233
3295
  include Aws::Structure
3234
3296
  end
3235
3297
 
3298
+ # Specifies whether any account- or bucket-level access errors occurred
3299
+ # when a classification job ran. For example, the job is configured to
3300
+ # analyze data for a member account that was suspended, or the job is
3301
+ # configured to analyze an S3 bucket that Amazon Macie isn't allowed to
3302
+ # access.
3303
+ #
3304
+ # @!attribute [rw] code
3305
+ # Specifies whether any account- or bucket-level access errors
3306
+ # occurred during the run of a one-time classification job or the most
3307
+ # recent run of a recurring classification job. Possible values are:
3308
+ # @return [String]
3309
+ #
3310
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/LastRunErrorStatus AWS API Documentation
3311
+ #
3312
+ class LastRunErrorStatus < Struct.new(
3313
+ :code)
3314
+ SENSITIVE = []
3315
+ include Aws::Structure
3316
+ end
3317
+
3236
3318
  # Specifies criteria for filtering, sorting, and paginating the results
3237
3319
  # of a request for information about classification jobs.
3238
3320
  #
@@ -3404,6 +3486,7 @@ module Aws::Macie2
3404
3486
  # criterion: {
3405
3487
  # "__string" => {
3406
3488
  # eq: ["__string"],
3489
+ # eq_exact_match: ["__string"],
3407
3490
  # gt: 1,
3408
3491
  # gte: 1,
3409
3492
  # lt: 1,
@@ -3674,8 +3757,8 @@ module Aws::Macie2
3674
3757
  include Aws::Structure
3675
3758
  end
3676
3759
 
3677
- # Provides information about the accounts that are designated as
3678
- # delegated administrators of Amazon Macie for an AWS organization.
3760
+ # Provides information about the delegated Amazon Macie administrator
3761
+ # accounts for an AWS organization.
3679
3762
  #
3680
3763
  # @!attribute [rw] admin_accounts
3681
3764
  # @return [Array<Types::AdminAccount>]
@@ -3860,14 +3943,14 @@ module Aws::Macie2
3860
3943
  #
3861
3944
  # @!attribute [rw] line_ranges
3862
3945
  # Provides details about the location of occurrences of sensitive data
3863
- # in an Adobe Portable Document Format file, Apache Avro object
3864
- # container, Microsoft Word document, or non-binary text file.
3946
+ # in an Adobe Portable Document Format file, Microsoft Word document,
3947
+ # or non-binary text file.
3865
3948
  # @return [Array<Types::Range>]
3866
3949
  #
3867
3950
  # @!attribute [rw] offset_ranges
3868
3951
  # Provides details about the location of occurrences of sensitive data
3869
- # in an Adobe Portable Document Format file, Apache Avro object
3870
- # container, Microsoft Word document, or non-binary text file.
3952
+ # in an Adobe Portable Document Format file, Microsoft Word document,
3953
+ # or non-binary text file.
3871
3954
  # @return [Array<Types::Range>]
3872
3955
  #
3873
3956
  # @!attribute [rw] pages
@@ -3897,14 +3980,14 @@ module Aws::Macie2
3897
3980
  #
3898
3981
  # @!attribute [rw] line_range
3899
3982
  # Provides details about the location of an occurrence of sensitive
3900
- # data in an Adobe Portable Document Format file, Apache Avro object
3901
- # container, Microsoft Word document, or non-binary text file.
3983
+ # data in an Adobe Portable Document Format file, Microsoft Word
3984
+ # document, or non-binary text file.
3902
3985
  # @return [Types::Range]
3903
3986
  #
3904
3987
  # @!attribute [rw] offset_range
3905
3988
  # Provides details about the location of an occurrence of sensitive
3906
- # data in an Adobe Portable Document Format file, Apache Avro object
3907
- # container, Microsoft Word document, or non-binary text file.
3989
+ # data in an Adobe Portable Document Format file, Microsoft Word
3990
+ # document, or non-binary text file.
3908
3991
  # @return [Types::Range]
3909
3992
  #
3910
3993
  # @!attribute [rw] page_number
@@ -3992,8 +4075,8 @@ module Aws::Macie2
3992
4075
  end
3993
4076
 
3994
4077
  # Provides details about the location of an occurrence of sensitive data
3995
- # in an Adobe Portable Document Format file, Apache Avro object
3996
- # container, Microsoft Word document, or non-binary text file.
4078
+ # in an Adobe Portable Document Format file, Microsoft Word document, or
4079
+ # non-binary text file.
3997
4080
  #
3998
4081
  # @!attribute [rw] end
3999
4082
  # @return [Integer]
@@ -4015,7 +4098,10 @@ module Aws::Macie2
4015
4098
  end
4016
4099
 
4017
4100
  # Specifies the location of an occurrence of sensitive data in an Apache
4018
- # Parquet file.
4101
+ # Avro object container or Apache Parquet file.
4102
+ #
4103
+ # @!attribute [rw] json_path
4104
+ # @return [String]
4019
4105
  #
4020
4106
  # @!attribute [rw] record_index
4021
4107
  # @return [Integer]
@@ -4023,6 +4109,7 @@ module Aws::Macie2
4023
4109
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Record AWS API Documentation
4024
4110
  #
4025
4111
  class Record < Struct.new(
4112
+ :json_path,
4026
4113
  :record_index)
4027
4114
  SENSITIVE = []
4028
4115
  include Aws::Structure
@@ -4129,8 +4216,8 @@ module Aws::Macie2
4129
4216
  include Aws::Structure
4130
4217
  end
4131
4218
 
4132
- # Specifies which S3 buckets contain the objects that a classification
4133
- # job analyzes.
4219
+ # Specifies which AWS account owns the S3 buckets that a classification
4220
+ # job analyzes, and the buckets to analyze for the account.
4134
4221
  #
4135
4222
  # @note When making an API call, you may pass S3BucketDefinitionForJob
4136
4223
  # data as a hash:
@@ -4915,7 +5002,7 @@ module Aws::Macie2
4915
5002
  # @return [String]
4916
5003
  #
4917
5004
  # @!attribute [rw] job_status
4918
- # The current status of a classification job. Possible values are:
5005
+ # The status of a classification job. Possible values are:
4919
5006
  # @return [String]
4920
5007
  #
4921
5008
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJobRequest AWS API Documentation
@@ -4943,6 +5030,7 @@ module Aws::Macie2
4943
5030
  # criterion: {
4944
5031
  # "__string" => {
4945
5032
  # eq: ["__string"],
5033
+ # eq_exact_match: ["__string"],
4946
5034
  # gt: 1,
4947
5035
  # gte: 1,
4948
5036
  # lt: 1,
@@ -5322,8 +5410,10 @@ module Aws::Macie2
5322
5410
  end
5323
5411
 
5324
5412
  # Provides information about when a classification job was paused and
5325
- # when it will expire and be cancelled if it isnt resumed. This object
5326
- # is present only if a jobs current status (jobStatus) is USER\_PAUSED.
5413
+ # when it will expire and be cancelled if it isn't resumed. This object
5414
+ # is present only if a job's current status (jobStatus) is
5415
+ # USER\_PAUSED. The information in this object applies only to a job
5416
+ # that was paused while it had a status of RUNNING.
5327
5417
  #
5328
5418
  # @!attribute [rw] job_expires_at
5329
5419
  # @return [Time]
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.13.0
4
+ version: 1.18.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: 2020-10-15 00:00:00.000000000 Z
11
+ date: 2020-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core