aws-sdk-macie2 1.44.0 → 1.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,9 +21,14 @@ module Aws::Macie2
21
21
  AccountLevelPermissions = Shapes::StructureShape.new(name: 'AccountLevelPermissions')
22
22
  AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
23
23
  AdminStatus = Shapes::StringShape.new(name: 'AdminStatus')
24
+ AllowListCriteria = Shapes::StructureShape.new(name: 'AllowListCriteria')
25
+ AllowListStatus = Shapes::StructureShape.new(name: 'AllowListStatus')
26
+ AllowListStatusCode = Shapes::StringShape.new(name: 'AllowListStatusCode')
27
+ AllowListSummary = Shapes::StructureShape.new(name: 'AllowListSummary')
24
28
  AllowsUnencryptedObjectUploads = Shapes::StringShape.new(name: 'AllowsUnencryptedObjectUploads')
25
29
  ApiCallDetails = Shapes::StructureShape.new(name: 'ApiCallDetails')
26
30
  AssumedRole = Shapes::StructureShape.new(name: 'AssumedRole')
31
+ AvailabilityCode = Shapes::StringShape.new(name: 'AvailabilityCode')
27
32
  AwsAccount = Shapes::StructureShape.new(name: 'AwsAccount')
28
33
  AwsService = Shapes::StructureShape.new(name: 'AwsService')
29
34
  BatchGetCustomDataIdentifierSummary = Shapes::StructureShape.new(name: 'BatchGetCustomDataIdentifierSummary')
@@ -51,6 +56,8 @@ module Aws::Macie2
51
56
  ClassificationResult = Shapes::StructureShape.new(name: 'ClassificationResult')
52
57
  ClassificationResultStatus = Shapes::StructureShape.new(name: 'ClassificationResultStatus')
53
58
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
59
+ CreateAllowListRequest = Shapes::StructureShape.new(name: 'CreateAllowListRequest')
60
+ CreateAllowListResponse = Shapes::StructureShape.new(name: 'CreateAllowListResponse')
54
61
  CreateClassificationJobRequest = Shapes::StructureShape.new(name: 'CreateClassificationJobRequest')
55
62
  CreateClassificationJobResponse = Shapes::StructureShape.new(name: 'CreateClassificationJobResponse')
56
63
  CreateCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'CreateCustomDataIdentifierRequest')
@@ -79,6 +86,8 @@ module Aws::Macie2
79
86
  DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
80
87
  DefaultDetection = Shapes::StructureShape.new(name: 'DefaultDetection')
81
88
  DefaultDetections = Shapes::ListShape.new(name: 'DefaultDetections')
89
+ DeleteAllowListRequest = Shapes::StructureShape.new(name: 'DeleteAllowListRequest')
90
+ DeleteAllowListResponse = Shapes::StructureShape.new(name: 'DeleteAllowListResponse')
82
91
  DeleteCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'DeleteCustomDataIdentifierRequest')
83
92
  DeleteCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'DeleteCustomDataIdentifierResponse')
84
93
  DeleteFindingsFilterRequest = Shapes::StructureShape.new(name: 'DeleteFindingsFilterRequest')
@@ -93,6 +102,7 @@ module Aws::Macie2
93
102
  DescribeClassificationJobResponse = Shapes::StructureShape.new(name: 'DescribeClassificationJobResponse')
94
103
  DescribeOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationRequest')
95
104
  DescribeOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationResponse')
105
+ DetectedDataDetails = Shapes::StructureShape.new(name: 'DetectedDataDetails')
96
106
  DisableMacieRequest = Shapes::StructureShape.new(name: 'DisableMacieRequest')
97
107
  DisableMacieResponse = Shapes::StructureShape.new(name: 'DisableMacieResponse')
98
108
  DisableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountRequest')
@@ -127,6 +137,8 @@ module Aws::Macie2
127
137
  FindingsFilterListItem = Shapes::StructureShape.new(name: 'FindingsFilterListItem')
128
138
  GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
129
139
  GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
140
+ GetAllowListRequest = Shapes::StructureShape.new(name: 'GetAllowListRequest')
141
+ GetAllowListResponse = Shapes::StructureShape.new(name: 'GetAllowListResponse')
130
142
  GetBucketStatisticsRequest = Shapes::StructureShape.new(name: 'GetBucketStatisticsRequest')
131
143
  GetBucketStatisticsResponse = Shapes::StructureShape.new(name: 'GetBucketStatisticsResponse')
132
144
  GetClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'GetClassificationExportConfigurationRequest')
@@ -149,6 +161,12 @@ module Aws::Macie2
149
161
  GetMasterAccountResponse = Shapes::StructureShape.new(name: 'GetMasterAccountResponse')
150
162
  GetMemberRequest = Shapes::StructureShape.new(name: 'GetMemberRequest')
151
163
  GetMemberResponse = Shapes::StructureShape.new(name: 'GetMemberResponse')
164
+ GetRevealConfigurationRequest = Shapes::StructureShape.new(name: 'GetRevealConfigurationRequest')
165
+ GetRevealConfigurationResponse = Shapes::StructureShape.new(name: 'GetRevealConfigurationResponse')
166
+ GetSensitiveDataOccurrencesAvailabilityRequest = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesAvailabilityRequest')
167
+ GetSensitiveDataOccurrencesAvailabilityResponse = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesAvailabilityResponse')
168
+ GetSensitiveDataOccurrencesRequest = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesRequest')
169
+ GetSensitiveDataOccurrencesResponse = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesResponse')
152
170
  GetUsageStatisticsRequest = Shapes::StructureShape.new(name: 'GetUsageStatisticsRequest')
153
171
  GetUsageStatisticsResponse = Shapes::StructureShape.new(name: 'GetUsageStatisticsResponse')
154
172
  GetUsageTotalsRequest = Shapes::StructureShape.new(name: 'GetUsageTotalsRequest')
@@ -177,6 +195,8 @@ module Aws::Macie2
177
195
  KeyValuePairList = Shapes::ListShape.new(name: 'KeyValuePairList')
178
196
  LastRunErrorStatus = Shapes::StructureShape.new(name: 'LastRunErrorStatus')
179
197
  LastRunErrorStatusCode = Shapes::StringShape.new(name: 'LastRunErrorStatusCode')
198
+ ListAllowListsRequest = Shapes::StructureShape.new(name: 'ListAllowListsRequest')
199
+ ListAllowListsResponse = Shapes::StructureShape.new(name: 'ListAllowListsResponse')
180
200
  ListClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListClassificationJobsRequest')
181
201
  ListClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListClassificationJobsResponse')
182
202
  ListCustomDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersRequest')
@@ -212,6 +232,7 @@ module Aws::Macie2
212
232
  ObjectLevelStatistics = Shapes::StructureShape.new(name: 'ObjectLevelStatistics')
213
233
  Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
214
234
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
235
+ OriginType = Shapes::StringShape.new(name: 'OriginType')
215
236
  Page = Shapes::StructureShape.new(name: 'Page')
216
237
  Pages = Shapes::ListShape.new(name: 'Pages')
217
238
  PolicyDetails = Shapes::StructureShape.new(name: 'PolicyDetails')
@@ -227,6 +248,9 @@ module Aws::Macie2
227
248
  ReplicationDetails = Shapes::StructureShape.new(name: 'ReplicationDetails')
228
249
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
229
250
  ResourcesAffected = Shapes::StructureShape.new(name: 'ResourcesAffected')
251
+ RevealConfiguration = Shapes::StructureShape.new(name: 'RevealConfiguration')
252
+ RevealRequestStatus = Shapes::StringShape.new(name: 'RevealRequestStatus')
253
+ RevealStatus = Shapes::StringShape.new(name: 'RevealStatus')
230
254
  S3Bucket = Shapes::StructureShape.new(name: 'S3Bucket')
231
255
  S3BucketCriteriaForJob = Shapes::StructureShape.new(name: 'S3BucketCriteriaForJob')
232
256
  S3BucketDefinitionForJob = Shapes::StructureShape.new(name: 'S3BucketDefinitionForJob')
@@ -234,6 +258,7 @@ module Aws::Macie2
234
258
  S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
235
259
  S3JobDefinition = Shapes::StructureShape.new(name: 'S3JobDefinition')
236
260
  S3Object = Shapes::StructureShape.new(name: 'S3Object')
261
+ S3WordsList = Shapes::StructureShape.new(name: 'S3WordsList')
237
262
  ScopeFilterKey = Shapes::StringShape.new(name: 'ScopeFilterKey')
238
263
  Scoping = Shapes::StructureShape.new(name: 'Scoping')
239
264
  SearchResourcesBucketCriteria = Shapes::StructureShape.new(name: 'SearchResourcesBucketCriteria')
@@ -252,6 +277,7 @@ module Aws::Macie2
252
277
  SensitiveData = Shapes::ListShape.new(name: 'SensitiveData')
253
278
  SensitiveDataItem = Shapes::StructureShape.new(name: 'SensitiveDataItem')
254
279
  SensitiveDataItemCategory = Shapes::StringShape.new(name: 'SensitiveDataItemCategory')
280
+ SensitiveDataOccurrences = Shapes::MapShape.new(name: 'SensitiveDataOccurrences')
255
281
  ServerSideEncryption = Shapes::StructureShape.new(name: 'ServerSideEncryption')
256
282
  ServiceLimit = Shapes::StructureShape.new(name: 'ServiceLimit')
257
283
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -282,10 +308,14 @@ module Aws::Macie2
282
308
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
283
309
  TimeRange = Shapes::StringShape.new(name: 'TimeRange')
284
310
  Type = Shapes::StringShape.new(name: 'Type')
311
+ UnavailabilityReasonCode = Shapes::StringShape.new(name: 'UnavailabilityReasonCode')
285
312
  Unit = Shapes::StringShape.new(name: 'Unit')
313
+ UnprocessableEntityException = Shapes::StructureShape.new(name: 'UnprocessableEntityException')
286
314
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
287
315
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
288
316
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
317
+ UpdateAllowListRequest = Shapes::StructureShape.new(name: 'UpdateAllowListRequest')
318
+ UpdateAllowListResponse = Shapes::StructureShape.new(name: 'UpdateAllowListResponse')
289
319
  UpdateClassificationJobRequest = Shapes::StructureShape.new(name: 'UpdateClassificationJobRequest')
290
320
  UpdateClassificationJobResponse = Shapes::StructureShape.new(name: 'UpdateClassificationJobResponse')
291
321
  UpdateFindingsFilterRequest = Shapes::StructureShape.new(name: 'UpdateFindingsFilterRequest')
@@ -296,6 +326,8 @@ module Aws::Macie2
296
326
  UpdateMemberSessionResponse = Shapes::StructureShape.new(name: 'UpdateMemberSessionResponse')
297
327
  UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
298
328
  UpdateOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationResponse')
329
+ UpdateRevealConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateRevealConfigurationRequest')
330
+ UpdateRevealConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateRevealConfigurationResponse')
299
331
  UsageByAccount = Shapes::StructureShape.new(name: 'UsageByAccount')
300
332
  UsageRecord = Shapes::StructureShape.new(name: 'UsageRecord')
301
333
  UsageStatisticsFilter = Shapes::StructureShape.new(name: 'UsageStatisticsFilter')
@@ -315,10 +347,12 @@ module Aws::Macie2
315
347
  __double = Shapes::FloatShape.new(name: '__double')
316
348
  __integer = Shapes::IntegerShape.new(name: '__integer')
317
349
  __listOfAdminAccount = Shapes::ListShape.new(name: '__listOfAdminAccount')
350
+ __listOfAllowListSummary = Shapes::ListShape.new(name: '__listOfAllowListSummary')
318
351
  __listOfBatchGetCustomDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfBatchGetCustomDataIdentifierSummary')
319
352
  __listOfBucketMetadata = Shapes::ListShape.new(name: '__listOfBucketMetadata')
320
353
  __listOfCriteriaForJob = Shapes::ListShape.new(name: '__listOfCriteriaForJob')
321
354
  __listOfCustomDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfCustomDataIdentifierSummary')
355
+ __listOfDetectedDataDetails = Shapes::ListShape.new(name: '__listOfDetectedDataDetails')
322
356
  __listOfFinding = Shapes::ListShape.new(name: '__listOfFinding')
323
357
  __listOfFindingType = Shapes::ListShape.new(name: '__listOfFindingType')
324
358
  __listOfFindingsFilterListItem = Shapes::ListShape.new(name: '__listOfFindingsFilterListItem')
@@ -336,6 +370,7 @@ module Aws::Macie2
336
370
  __listOfSearchResourcesTagCriterionPair = Shapes::ListShape.new(name: '__listOfSearchResourcesTagCriterionPair')
337
371
  __listOfTagCriterionPairForJob = Shapes::ListShape.new(name: '__listOfTagCriterionPairForJob')
338
372
  __listOfTagValuePair = Shapes::ListShape.new(name: '__listOfTagValuePair')
373
+ __listOfUnavailabilityReasonCode = Shapes::ListShape.new(name: '__listOfUnavailabilityReasonCode')
339
374
  __listOfUnprocessedAccount = Shapes::ListShape.new(name: '__listOfUnprocessedAccount')
340
375
  __listOfUsageByAccount = Shapes::ListShape.new(name: '__listOfUsageByAccount')
341
376
  __listOfUsageRecord = Shapes::ListShape.new(name: '__listOfUsageRecord')
@@ -344,6 +379,14 @@ module Aws::Macie2
344
379
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
345
380
  __long = Shapes::IntegerShape.new(name: '__long')
346
381
  __string = Shapes::StringShape.new(name: '__string')
382
+ __stringMin1Max1024PatternSS = Shapes::StringShape.new(name: '__stringMin1Max1024PatternSS')
383
+ __stringMin1Max128 = Shapes::StringShape.new(name: '__stringMin1Max128')
384
+ __stringMin1Max128Pattern = Shapes::StringShape.new(name: '__stringMin1Max128Pattern')
385
+ __stringMin1Max2048 = Shapes::StringShape.new(name: '__stringMin1Max2048')
386
+ __stringMin1Max512PatternSS = Shapes::StringShape.new(name: '__stringMin1Max512PatternSS')
387
+ __stringMin22Max22PatternAZ0922 = Shapes::StringShape.new(name: '__stringMin22Max22PatternAZ0922')
388
+ __stringMin3Max255PatternAZaZ093255 = Shapes::StringShape.new(name: '__stringMin3Max255PatternAZaZ093255')
389
+ __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922 = Shapes::StringShape.new(name: '__stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922')
347
390
  __timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
348
391
  __timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
349
392
 
@@ -372,6 +415,22 @@ module Aws::Macie2
372
415
  AdminAccount.add_member(:status, Shapes::ShapeRef.new(shape: AdminStatus, location_name: "status"))
373
416
  AdminAccount.struct_class = Types::AdminAccount
374
417
 
418
+ AllowListCriteria.add_member(:regex, Shapes::ShapeRef.new(shape: __stringMin1Max512PatternSS, location_name: "regex"))
419
+ AllowListCriteria.add_member(:s3_words_list, Shapes::ShapeRef.new(shape: S3WordsList, location_name: "s3WordsList"))
420
+ AllowListCriteria.struct_class = Types::AllowListCriteria
421
+
422
+ AllowListStatus.add_member(:code, Shapes::ShapeRef.new(shape: AllowListStatusCode, required: true, location_name: "code"))
423
+ AllowListStatus.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin1Max1024PatternSS, location_name: "description"))
424
+ AllowListStatus.struct_class = Types::AllowListStatus
425
+
426
+ AllowListSummary.add_member(:arn, Shapes::ShapeRef.new(shape: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922, location_name: "arn"))
427
+ AllowListSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdAt"))
428
+ AllowListSummary.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin1Max512PatternSS, location_name: "description"))
429
+ AllowListSummary.add_member(:id, Shapes::ShapeRef.new(shape: __stringMin22Max22PatternAZ0922, location_name: "id"))
430
+ AllowListSummary.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128Pattern, location_name: "name"))
431
+ AllowListSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "updatedAt"))
432
+ AllowListSummary.struct_class = Types::AllowListSummary
433
+
375
434
  ApiCallDetails.add_member(:api, Shapes::ShapeRef.new(shape: __string, location_name: "api"))
376
435
  ApiCallDetails.add_member(:api_service_name, Shapes::ShapeRef.new(shape: __string, location_name: "apiServiceName"))
377
436
  ApiCallDetails.add_member(:first_seen, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "firstSeen"))
@@ -510,6 +569,7 @@ module Aws::Macie2
510
569
  ClassificationDetails.add_member(:detailed_results_location, Shapes::ShapeRef.new(shape: __string, location_name: "detailedResultsLocation"))
511
570
  ClassificationDetails.add_member(:job_arn, Shapes::ShapeRef.new(shape: __string, location_name: "jobArn"))
512
571
  ClassificationDetails.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
572
+ ClassificationDetails.add_member(:origin_type, Shapes::ShapeRef.new(shape: OriginType, location_name: "originType"))
513
573
  ClassificationDetails.add_member(:result, Shapes::ShapeRef.new(shape: ClassificationResult, location_name: "result"))
514
574
  ClassificationDetails.struct_class = Types::ClassificationDetails
515
575
 
@@ -531,6 +591,18 @@ module Aws::Macie2
531
591
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
532
592
  ConflictException.struct_class = Types::ConflictException
533
593
 
594
+ CreateAllowListRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
595
+ CreateAllowListRequest.add_member(:criteria, Shapes::ShapeRef.new(shape: AllowListCriteria, required: true, location_name: "criteria"))
596
+ CreateAllowListRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin1Max512PatternSS, location_name: "description"))
597
+ CreateAllowListRequest.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128Pattern, required: true, location_name: "name"))
598
+ CreateAllowListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
599
+ CreateAllowListRequest.struct_class = Types::CreateAllowListRequest
600
+
601
+ CreateAllowListResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922, location_name: "arn"))
602
+ CreateAllowListResponse.add_member(:id, Shapes::ShapeRef.new(shape: __stringMin22Max22PatternAZ0922, location_name: "id"))
603
+ CreateAllowListResponse.struct_class = Types::CreateAllowListResponse
604
+
605
+ CreateClassificationJobRequest.add_member(:allow_list_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "allowListIds"))
534
606
  CreateClassificationJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
535
607
  CreateClassificationJobRequest.add_member(:custom_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "customDataIdentifierIds"))
536
608
  CreateClassificationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
@@ -649,6 +721,12 @@ module Aws::Macie2
649
721
 
650
722
  DefaultDetections.member = Shapes::ShapeRef.new(shape: DefaultDetection)
651
723
 
724
+ DeleteAllowListRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
725
+ DeleteAllowListRequest.add_member(:ignore_job_checks, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "ignoreJobChecks"))
726
+ DeleteAllowListRequest.struct_class = Types::DeleteAllowListRequest
727
+
728
+ DeleteAllowListResponse.struct_class = Types::DeleteAllowListResponse
729
+
652
730
  DeleteCustomDataIdentifierRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
653
731
  DeleteCustomDataIdentifierRequest.struct_class = Types::DeleteCustomDataIdentifierRequest
654
732
 
@@ -683,6 +761,7 @@ module Aws::Macie2
683
761
  DescribeClassificationJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "jobId"))
684
762
  DescribeClassificationJobRequest.struct_class = Types::DescribeClassificationJobRequest
685
763
 
764
+ DescribeClassificationJobResponse.add_member(:allow_list_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "allowListIds"))
686
765
  DescribeClassificationJobResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
687
766
  DescribeClassificationJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdAt"))
688
767
  DescribeClassificationJobResponse.add_member(:custom_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "customDataIdentifierIds"))
@@ -711,6 +790,9 @@ module Aws::Macie2
711
790
  DescribeOrganizationConfigurationResponse.add_member(:max_account_limit_reached, Shapes::ShapeRef.new(shape: __boolean, location_name: "maxAccountLimitReached"))
712
791
  DescribeOrganizationConfigurationResponse.struct_class = Types::DescribeOrganizationConfigurationResponse
713
792
 
793
+ DetectedDataDetails.add_member(:value, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "value"))
794
+ DetectedDataDetails.struct_class = Types::DetectedDataDetails
795
+
714
796
  DisableMacieRequest.struct_class = Types::DisableMacieRequest
715
797
 
716
798
  DisableMacieResponse.struct_class = Types::DisableMacieResponse
@@ -806,6 +888,20 @@ module Aws::Macie2
806
888
  GetAdministratorAccountResponse.add_member(:administrator, Shapes::ShapeRef.new(shape: Invitation, location_name: "administrator"))
807
889
  GetAdministratorAccountResponse.struct_class = Types::GetAdministratorAccountResponse
808
890
 
891
+ GetAllowListRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
892
+ GetAllowListRequest.struct_class = Types::GetAllowListRequest
893
+
894
+ GetAllowListResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922, location_name: "arn"))
895
+ GetAllowListResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdAt"))
896
+ GetAllowListResponse.add_member(:criteria, Shapes::ShapeRef.new(shape: AllowListCriteria, location_name: "criteria"))
897
+ GetAllowListResponse.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin1Max512PatternSS, location_name: "description"))
898
+ GetAllowListResponse.add_member(:id, Shapes::ShapeRef.new(shape: __stringMin22Max22PatternAZ0922, location_name: "id"))
899
+ GetAllowListResponse.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128Pattern, location_name: "name"))
900
+ GetAllowListResponse.add_member(:status, Shapes::ShapeRef.new(shape: AllowListStatus, location_name: "status"))
901
+ GetAllowListResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
902
+ GetAllowListResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "updatedAt"))
903
+ GetAllowListResponse.struct_class = Types::GetAllowListResponse
904
+
809
905
  GetBucketStatisticsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
810
906
  GetBucketStatisticsRequest.struct_class = Types::GetBucketStatisticsRequest
811
907
 
@@ -913,6 +1009,26 @@ module Aws::Macie2
913
1009
  GetMemberResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "updatedAt"))
914
1010
  GetMemberResponse.struct_class = Types::GetMemberResponse
915
1011
 
1012
+ GetRevealConfigurationRequest.struct_class = Types::GetRevealConfigurationRequest
1013
+
1014
+ GetRevealConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, location_name: "configuration"))
1015
+ GetRevealConfigurationResponse.struct_class = Types::GetRevealConfigurationResponse
1016
+
1017
+ GetSensitiveDataOccurrencesAvailabilityRequest.add_member(:finding_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "findingId"))
1018
+ GetSensitiveDataOccurrencesAvailabilityRequest.struct_class = Types::GetSensitiveDataOccurrencesAvailabilityRequest
1019
+
1020
+ GetSensitiveDataOccurrencesAvailabilityResponse.add_member(:code, Shapes::ShapeRef.new(shape: AvailabilityCode, location_name: "code"))
1021
+ GetSensitiveDataOccurrencesAvailabilityResponse.add_member(:reasons, Shapes::ShapeRef.new(shape: __listOfUnavailabilityReasonCode, location_name: "reasons"))
1022
+ GetSensitiveDataOccurrencesAvailabilityResponse.struct_class = Types::GetSensitiveDataOccurrencesAvailabilityResponse
1023
+
1024
+ GetSensitiveDataOccurrencesRequest.add_member(:finding_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "findingId"))
1025
+ GetSensitiveDataOccurrencesRequest.struct_class = Types::GetSensitiveDataOccurrencesRequest
1026
+
1027
+ GetSensitiveDataOccurrencesResponse.add_member(:error, Shapes::ShapeRef.new(shape: __string, location_name: "error"))
1028
+ GetSensitiveDataOccurrencesResponse.add_member(:sensitive_data_occurrences, Shapes::ShapeRef.new(shape: SensitiveDataOccurrences, location_name: "sensitiveDataOccurrences"))
1029
+ GetSensitiveDataOccurrencesResponse.add_member(:status, Shapes::ShapeRef.new(shape: RevealRequestStatus, location_name: "status"))
1030
+ GetSensitiveDataOccurrencesResponse.struct_class = Types::GetSensitiveDataOccurrencesResponse
1031
+
916
1032
  GetUsageStatisticsRequest.add_member(:filter_by, Shapes::ShapeRef.new(shape: __listOfUsageStatisticsFilter, location_name: "filterBy"))
917
1033
  GetUsageStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
918
1034
  GetUsageStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -1013,6 +1129,14 @@ module Aws::Macie2
1013
1129
  LastRunErrorStatus.add_member(:code, Shapes::ShapeRef.new(shape: LastRunErrorStatusCode, location_name: "code"))
1014
1130
  LastRunErrorStatus.struct_class = Types::LastRunErrorStatus
1015
1131
 
1132
+ ListAllowListsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1133
+ ListAllowListsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1134
+ ListAllowListsRequest.struct_class = Types::ListAllowListsRequest
1135
+
1136
+ ListAllowListsResponse.add_member(:allow_lists, Shapes::ShapeRef.new(shape: __listOfAllowListSummary, location_name: "allowLists"))
1137
+ ListAllowListsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1138
+ ListAllowListsResponse.struct_class = Types::ListAllowListsResponse
1139
+
1016
1140
  ListClassificationJobsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ListJobsFilterCriteria, location_name: "filterCriteria"))
1017
1141
  ListClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
1018
1142
  ListClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -1203,6 +1327,10 @@ module Aws::Macie2
1203
1327
  ResourcesAffected.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "s3Object"))
1204
1328
  ResourcesAffected.struct_class = Types::ResourcesAffected
1205
1329
 
1330
+ RevealConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: __stringMin1Max2048, location_name: "kmsKeyId"))
1331
+ RevealConfiguration.add_member(:status, Shapes::ShapeRef.new(shape: RevealStatus, required: true, location_name: "status"))
1332
+ RevealConfiguration.struct_class = Types::RevealConfiguration
1333
+
1206
1334
  S3Bucket.add_member(:allows_unencrypted_object_uploads, Shapes::ShapeRef.new(shape: AllowsUnencryptedObjectUploads, location_name: "allowsUnencryptedObjectUploads"))
1207
1335
  S3Bucket.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
1208
1336
  S3Bucket.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdAt"))
@@ -1249,6 +1377,10 @@ module Aws::Macie2
1249
1377
  S3Object.add_member(:version_id, Shapes::ShapeRef.new(shape: __string, location_name: "versionId"))
1250
1378
  S3Object.struct_class = Types::S3Object
1251
1379
 
1380
+ S3WordsList.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __stringMin3Max255PatternAZaZ093255, required: true, location_name: "bucketName"))
1381
+ S3WordsList.add_member(:object_key, Shapes::ShapeRef.new(shape: __stringMin1Max1024PatternSS, required: true, location_name: "objectKey"))
1382
+ S3WordsList.struct_class = Types::S3WordsList
1383
+
1252
1384
  Scoping.add_member(:excludes, Shapes::ShapeRef.new(shape: JobScopingBlock, location_name: "excludes"))
1253
1385
  Scoping.add_member(:includes, Shapes::ShapeRef.new(shape: JobScopingBlock, location_name: "includes"))
1254
1386
  Scoping.struct_class = Types::Scoping
@@ -1302,6 +1434,9 @@ module Aws::Macie2
1302
1434
  SensitiveDataItem.add_member(:total_count, Shapes::ShapeRef.new(shape: __long, location_name: "totalCount"))
1303
1435
  SensitiveDataItem.struct_class = Types::SensitiveDataItem
1304
1436
 
1437
+ SensitiveDataOccurrences.key = Shapes::ShapeRef.new(shape: __string)
1438
+ SensitiveDataOccurrences.value = Shapes::ShapeRef.new(shape: __listOfDetectedDataDetails)
1439
+
1305
1440
  ServerSideEncryption.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "encryptionType"))
1306
1441
  ServerSideEncryption.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "kmsMasterKeyId"))
1307
1442
  ServerSideEncryption.struct_class = Types::ServerSideEncryption
@@ -1397,6 +1532,9 @@ module Aws::Macie2
1397
1532
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1398
1533
  ThrottlingException.struct_class = Types::ThrottlingException
1399
1534
 
1535
+ UnprocessableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
1536
+ UnprocessableEntityException.struct_class = Types::UnprocessableEntityException
1537
+
1400
1538
  UnprocessedAccount.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
1401
1539
  UnprocessedAccount.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "errorCode"))
1402
1540
  UnprocessedAccount.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
@@ -1408,6 +1546,16 @@ module Aws::Macie2
1408
1546
 
1409
1547
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
1410
1548
 
1549
+ UpdateAllowListRequest.add_member(:criteria, Shapes::ShapeRef.new(shape: AllowListCriteria, required: true, location_name: "criteria"))
1550
+ UpdateAllowListRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin1Max512PatternSS, location_name: "description"))
1551
+ UpdateAllowListRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
1552
+ UpdateAllowListRequest.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max128Pattern, required: true, location_name: "name"))
1553
+ UpdateAllowListRequest.struct_class = Types::UpdateAllowListRequest
1554
+
1555
+ UpdateAllowListResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __stringMin71Max89PatternArnAwsAwsCnAwsUsGovMacie2AZ19920D12AllowListAZ0922, location_name: "arn"))
1556
+ UpdateAllowListResponse.add_member(:id, Shapes::ShapeRef.new(shape: __stringMin22Max22PatternAZ0922, location_name: "id"))
1557
+ UpdateAllowListResponse.struct_class = Types::UpdateAllowListResponse
1558
+
1411
1559
  UpdateClassificationJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "jobId"))
1412
1560
  UpdateClassificationJobRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "jobStatus"))
1413
1561
  UpdateClassificationJobRequest.struct_class = Types::UpdateClassificationJobRequest
@@ -1444,6 +1592,12 @@ module Aws::Macie2
1444
1592
 
1445
1593
  UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
1446
1594
 
1595
+ UpdateRevealConfigurationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, required: true, location_name: "configuration"))
1596
+ UpdateRevealConfigurationRequest.struct_class = Types::UpdateRevealConfigurationRequest
1597
+
1598
+ UpdateRevealConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, location_name: "configuration"))
1599
+ UpdateRevealConfigurationResponse.struct_class = Types::UpdateRevealConfigurationResponse
1600
+
1447
1601
  UsageByAccount.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
1448
1602
  UsageByAccount.add_member(:estimated_cost, Shapes::ShapeRef.new(shape: __string, location_name: "estimatedCost"))
1449
1603
  UsageByAccount.add_member(:service_limit, Shapes::ShapeRef.new(shape: ServiceLimit, location_name: "serviceLimit"))
@@ -1496,6 +1650,8 @@ module Aws::Macie2
1496
1650
 
1497
1651
  __listOfAdminAccount.member = Shapes::ShapeRef.new(shape: AdminAccount)
1498
1652
 
1653
+ __listOfAllowListSummary.member = Shapes::ShapeRef.new(shape: AllowListSummary)
1654
+
1499
1655
  __listOfBatchGetCustomDataIdentifierSummary.member = Shapes::ShapeRef.new(shape: BatchGetCustomDataIdentifierSummary)
1500
1656
 
1501
1657
  __listOfBucketMetadata.member = Shapes::ShapeRef.new(shape: BucketMetadata)
@@ -1504,6 +1660,8 @@ module Aws::Macie2
1504
1660
 
1505
1661
  __listOfCustomDataIdentifierSummary.member = Shapes::ShapeRef.new(shape: CustomDataIdentifierSummary)
1506
1662
 
1663
+ __listOfDetectedDataDetails.member = Shapes::ShapeRef.new(shape: DetectedDataDetails)
1664
+
1507
1665
  __listOfFinding.member = Shapes::ShapeRef.new(shape: Finding)
1508
1666
 
1509
1667
  __listOfFindingType.member = Shapes::ShapeRef.new(shape: FindingType)
@@ -1538,6 +1696,8 @@ module Aws::Macie2
1538
1696
 
1539
1697
  __listOfTagValuePair.member = Shapes::ShapeRef.new(shape: TagValuePair)
1540
1698
 
1699
+ __listOfUnavailabilityReasonCode.member = Shapes::ShapeRef.new(shape: UnavailabilityReasonCode)
1700
+
1541
1701
  __listOfUnprocessedAccount.member = Shapes::ShapeRef.new(shape: UnprocessedAccount)
1542
1702
 
1543
1703
  __listOfUsageByAccount.member = Shapes::ShapeRef.new(shape: UsageByAccount)
@@ -1598,6 +1758,21 @@ module Aws::Macie2
1598
1758
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1599
1759
  end)
1600
1760
 
1761
+ api.add_operation(:create_allow_list, Seahorse::Model::Operation.new.tap do |o|
1762
+ o.name = "CreateAllowList"
1763
+ o.http_method = "POST"
1764
+ o.http_request_uri = "/allow-lists"
1765
+ o.input = Shapes::ShapeRef.new(shape: CreateAllowListRequest)
1766
+ o.output = Shapes::ShapeRef.new(shape: CreateAllowListResponse)
1767
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1768
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1769
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1770
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1771
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1772
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1773
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1774
+ end)
1775
+
1601
1776
  api.add_operation(:create_classification_job, Seahorse::Model::Operation.new.tap do |o|
1602
1777
  o.name = "CreateClassificationJob"
1603
1778
  o.http_method = "POST"
@@ -1703,6 +1878,19 @@ module Aws::Macie2
1703
1878
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1704
1879
  end)
1705
1880
 
1881
+ api.add_operation(:delete_allow_list, Seahorse::Model::Operation.new.tap do |o|
1882
+ o.name = "DeleteAllowList"
1883
+ o.http_method = "DELETE"
1884
+ o.http_request_uri = "/allow-lists/{id}"
1885
+ o.input = Shapes::ShapeRef.new(shape: DeleteAllowListRequest)
1886
+ o.output = Shapes::ShapeRef.new(shape: DeleteAllowListResponse)
1887
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1888
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1889
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1890
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1891
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1892
+ end)
1893
+
1706
1894
  api.add_operation(:delete_custom_data_identifier, Seahorse::Model::Operation.new.tap do |o|
1707
1895
  o.name = "DeleteCustomDataIdentifier"
1708
1896
  o.http_method = "DELETE"
@@ -1934,6 +2122,19 @@ module Aws::Macie2
1934
2122
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1935
2123
  end)
1936
2124
 
2125
+ api.add_operation(:get_allow_list, Seahorse::Model::Operation.new.tap do |o|
2126
+ o.name = "GetAllowList"
2127
+ o.http_method = "GET"
2128
+ o.http_request_uri = "/allow-lists/{id}"
2129
+ o.input = Shapes::ShapeRef.new(shape: GetAllowListRequest)
2130
+ o.output = Shapes::ShapeRef.new(shape: GetAllowListResponse)
2131
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2132
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2133
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2134
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2135
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2136
+ end)
2137
+
1937
2138
  api.add_operation(:get_bucket_statistics, Seahorse::Model::Operation.new.tap do |o|
1938
2139
  o.name = "GetBucketStatistics"
1939
2140
  o.http_method = "POST"
@@ -2099,6 +2300,44 @@ module Aws::Macie2
2099
2300
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2100
2301
  end)
2101
2302
 
2303
+ api.add_operation(:get_reveal_configuration, Seahorse::Model::Operation.new.tap do |o|
2304
+ o.name = "GetRevealConfiguration"
2305
+ o.http_method = "GET"
2306
+ o.http_request_uri = "/reveal-configuration"
2307
+ o.input = Shapes::ShapeRef.new(shape: GetRevealConfigurationRequest)
2308
+ o.output = Shapes::ShapeRef.new(shape: GetRevealConfigurationResponse)
2309
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2310
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2311
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2312
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2313
+ end)
2314
+
2315
+ api.add_operation(:get_sensitive_data_occurrences, Seahorse::Model::Operation.new.tap do |o|
2316
+ o.name = "GetSensitiveDataOccurrences"
2317
+ o.http_method = "GET"
2318
+ o.http_request_uri = "/findings/{findingId}/reveal"
2319
+ o.input = Shapes::ShapeRef.new(shape: GetSensitiveDataOccurrencesRequest)
2320
+ o.output = Shapes::ShapeRef.new(shape: GetSensitiveDataOccurrencesResponse)
2321
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
2322
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2323
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2324
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2325
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2326
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2327
+ end)
2328
+
2329
+ api.add_operation(:get_sensitive_data_occurrences_availability, Seahorse::Model::Operation.new.tap do |o|
2330
+ o.name = "GetSensitiveDataOccurrencesAvailability"
2331
+ o.http_method = "GET"
2332
+ o.http_request_uri = "/findings/{findingId}/reveal/availability"
2333
+ o.input = Shapes::ShapeRef.new(shape: GetSensitiveDataOccurrencesAvailabilityRequest)
2334
+ o.output = Shapes::ShapeRef.new(shape: GetSensitiveDataOccurrencesAvailabilityResponse)
2335
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2336
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2337
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2338
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2339
+ end)
2340
+
2102
2341
  api.add_operation(:get_usage_statistics, Seahorse::Model::Operation.new.tap do |o|
2103
2342
  o.name = "GetUsageStatistics"
2104
2343
  o.http_method = "POST"
@@ -2135,6 +2374,18 @@ module Aws::Macie2
2135
2374
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2136
2375
  end)
2137
2376
 
2377
+ api.add_operation(:list_allow_lists, Seahorse::Model::Operation.new.tap do |o|
2378
+ o.name = "ListAllowLists"
2379
+ o.http_method = "GET"
2380
+ o.http_request_uri = "/allow-lists"
2381
+ o.input = Shapes::ShapeRef.new(shape: ListAllowListsRequest)
2382
+ o.output = Shapes::ShapeRef.new(shape: ListAllowListsResponse)
2383
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2384
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2385
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2386
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2387
+ end)
2388
+
2138
2389
  api.add_operation(:list_classification_jobs, Seahorse::Model::Operation.new.tap do |o|
2139
2390
  o.name = "ListClassificationJobs"
2140
2391
  o.http_method = "POST"
@@ -2380,6 +2631,19 @@ module Aws::Macie2
2380
2631
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
2381
2632
  end)
2382
2633
 
2634
+ api.add_operation(:update_allow_list, Seahorse::Model::Operation.new.tap do |o|
2635
+ o.name = "UpdateAllowList"
2636
+ o.http_method = "PUT"
2637
+ o.http_request_uri = "/allow-lists/{id}"
2638
+ o.input = Shapes::ShapeRef.new(shape: UpdateAllowListRequest)
2639
+ o.output = Shapes::ShapeRef.new(shape: UpdateAllowListResponse)
2640
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2641
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2642
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2643
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2644
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2645
+ end)
2646
+
2383
2647
  api.add_operation(:update_classification_job, Seahorse::Model::Operation.new.tap do |o|
2384
2648
  o.name = "UpdateClassificationJob"
2385
2649
  o.http_method = "PATCH"
@@ -2454,6 +2718,18 @@ module Aws::Macie2
2454
2718
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2455
2719
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2456
2720
  end)
2721
+
2722
+ api.add_operation(:update_reveal_configuration, Seahorse::Model::Operation.new.tap do |o|
2723
+ o.name = "UpdateRevealConfiguration"
2724
+ o.http_method = "PUT"
2725
+ o.http_request_uri = "/reveal-configuration"
2726
+ o.input = Shapes::ShapeRef.new(shape: UpdateRevealConfigurationRequest)
2727
+ o.output = Shapes::ShapeRef.new(shape: UpdateRevealConfigurationResponse)
2728
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2729
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2730
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2731
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2732
+ end)
2457
2733
  end
2458
2734
 
2459
2735
  end
@@ -33,6 +33,7 @@ module Aws::Macie2
33
33
  # * {ResourceNotFoundException}
34
34
  # * {ServiceQuotaExceededException}
35
35
  # * {ThrottlingException}
36
+ # * {UnprocessableEntityException}
36
37
  # * {ValidationException}
37
38
  #
38
39
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -131,6 +132,21 @@ module Aws::Macie2
131
132
  end
132
133
  end
133
134
 
135
+ class UnprocessableEntityException < ServiceError
136
+
137
+ # @param [Seahorse::Client::RequestContext] context
138
+ # @param [String] message
139
+ # @param [Aws::Macie2::Types::UnprocessableEntityException] data
140
+ def initialize(context, message, data = Aws::EmptyStructure.new)
141
+ super(context, message, data)
142
+ end
143
+
144
+ # @return [String]
145
+ def message
146
+ @message || @data[:message]
147
+ end
148
+ end
149
+
134
150
  class ValidationException < ServiceError
135
151
 
136
152
  # @param [Seahorse::Client::RequestContext] context