aws-sdk-macie2 1.48.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,6 +28,7 @@ module Aws::Macie2
28
28
  AllowsUnencryptedObjectUploads = Shapes::StringShape.new(name: 'AllowsUnencryptedObjectUploads')
29
29
  ApiCallDetails = Shapes::StructureShape.new(name: 'ApiCallDetails')
30
30
  AssumedRole = Shapes::StructureShape.new(name: 'AssumedRole')
31
+ AutomatedDiscoveryStatus = Shapes::StringShape.new(name: 'AutomatedDiscoveryStatus')
31
32
  AvailabilityCode = Shapes::StringShape.new(name: 'AvailabilityCode')
32
33
  AwsAccount = Shapes::StructureShape.new(name: 'AwsAccount')
33
34
  AwsService = Shapes::StructureShape.new(name: 'AwsService')
@@ -49,12 +50,17 @@ module Aws::Macie2
49
50
  BucketPublicAccess = Shapes::StructureShape.new(name: 'BucketPublicAccess')
50
51
  BucketServerSideEncryption = Shapes::StructureShape.new(name: 'BucketServerSideEncryption')
51
52
  BucketSortCriteria = Shapes::StructureShape.new(name: 'BucketSortCriteria')
53
+ BucketStatisticsBySensitivity = Shapes::StructureShape.new(name: 'BucketStatisticsBySensitivity')
52
54
  Cell = Shapes::StructureShape.new(name: 'Cell')
53
55
  Cells = Shapes::ListShape.new(name: 'Cells')
54
56
  ClassificationDetails = Shapes::StructureShape.new(name: 'ClassificationDetails')
55
57
  ClassificationExportConfiguration = Shapes::StructureShape.new(name: 'ClassificationExportConfiguration')
56
58
  ClassificationResult = Shapes::StructureShape.new(name: 'ClassificationResult')
57
59
  ClassificationResultStatus = Shapes::StructureShape.new(name: 'ClassificationResultStatus')
60
+ ClassificationScopeId = Shapes::StringShape.new(name: 'ClassificationScopeId')
61
+ ClassificationScopeName = Shapes::StringShape.new(name: 'ClassificationScopeName')
62
+ ClassificationScopeSummary = Shapes::StructureShape.new(name: 'ClassificationScopeSummary')
63
+ ClassificationScopeUpdateOperation = Shapes::StringShape.new(name: 'ClassificationScopeUpdateOperation')
58
64
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
59
65
  CreateAllowListRequest = Shapes::StructureShape.new(name: 'CreateAllowListRequest')
60
66
  CreateAllowListResponse = Shapes::StructureShape.new(name: 'CreateAllowListResponse')
@@ -81,6 +87,7 @@ module Aws::Macie2
81
87
  CustomDetections = Shapes::ListShape.new(name: 'CustomDetections')
82
88
  DailySchedule = Shapes::StructureShape.new(name: 'DailySchedule')
83
89
  DataIdentifierSeverity = Shapes::StringShape.new(name: 'DataIdentifierSeverity')
90
+ DataIdentifierType = Shapes::StringShape.new(name: 'DataIdentifierType')
84
91
  DayOfWeek = Shapes::StringShape.new(name: 'DayOfWeek')
85
92
  DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
86
93
  DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
@@ -103,6 +110,7 @@ module Aws::Macie2
103
110
  DescribeOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationRequest')
104
111
  DescribeOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeOrganizationConfigurationResponse')
105
112
  DetectedDataDetails = Shapes::StructureShape.new(name: 'DetectedDataDetails')
113
+ Detection = Shapes::StructureShape.new(name: 'Detection')
106
114
  DisableMacieRequest = Shapes::StructureShape.new(name: 'DisableMacieRequest')
107
115
  DisableMacieResponse = Shapes::StructureShape.new(name: 'DisableMacieResponse')
108
116
  DisableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'DisableOrganizationAdminAccountRequest')
@@ -139,10 +147,14 @@ module Aws::Macie2
139
147
  GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
140
148
  GetAllowListRequest = Shapes::StructureShape.new(name: 'GetAllowListRequest')
141
149
  GetAllowListResponse = Shapes::StructureShape.new(name: 'GetAllowListResponse')
150
+ GetAutomatedDiscoveryConfigurationRequest = Shapes::StructureShape.new(name: 'GetAutomatedDiscoveryConfigurationRequest')
151
+ GetAutomatedDiscoveryConfigurationResponse = Shapes::StructureShape.new(name: 'GetAutomatedDiscoveryConfigurationResponse')
142
152
  GetBucketStatisticsRequest = Shapes::StructureShape.new(name: 'GetBucketStatisticsRequest')
143
153
  GetBucketStatisticsResponse = Shapes::StructureShape.new(name: 'GetBucketStatisticsResponse')
144
154
  GetClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'GetClassificationExportConfigurationRequest')
145
155
  GetClassificationExportConfigurationResponse = Shapes::StructureShape.new(name: 'GetClassificationExportConfigurationResponse')
156
+ GetClassificationScopeRequest = Shapes::StructureShape.new(name: 'GetClassificationScopeRequest')
157
+ GetClassificationScopeResponse = Shapes::StructureShape.new(name: 'GetClassificationScopeResponse')
146
158
  GetCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'GetCustomDataIdentifierRequest')
147
159
  GetCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'GetCustomDataIdentifierResponse')
148
160
  GetFindingStatisticsRequest = Shapes::StructureShape.new(name: 'GetFindingStatisticsRequest')
@@ -161,12 +173,16 @@ module Aws::Macie2
161
173
  GetMasterAccountResponse = Shapes::StructureShape.new(name: 'GetMasterAccountResponse')
162
174
  GetMemberRequest = Shapes::StructureShape.new(name: 'GetMemberRequest')
163
175
  GetMemberResponse = Shapes::StructureShape.new(name: 'GetMemberResponse')
176
+ GetResourceProfileRequest = Shapes::StructureShape.new(name: 'GetResourceProfileRequest')
177
+ GetResourceProfileResponse = Shapes::StructureShape.new(name: 'GetResourceProfileResponse')
164
178
  GetRevealConfigurationRequest = Shapes::StructureShape.new(name: 'GetRevealConfigurationRequest')
165
179
  GetRevealConfigurationResponse = Shapes::StructureShape.new(name: 'GetRevealConfigurationResponse')
166
180
  GetSensitiveDataOccurrencesAvailabilityRequest = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesAvailabilityRequest')
167
181
  GetSensitiveDataOccurrencesAvailabilityResponse = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesAvailabilityResponse')
168
182
  GetSensitiveDataOccurrencesRequest = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesRequest')
169
183
  GetSensitiveDataOccurrencesResponse = Shapes::StructureShape.new(name: 'GetSensitiveDataOccurrencesResponse')
184
+ GetSensitivityInspectionTemplateRequest = Shapes::StructureShape.new(name: 'GetSensitivityInspectionTemplateRequest')
185
+ GetSensitivityInspectionTemplateResponse = Shapes::StructureShape.new(name: 'GetSensitivityInspectionTemplateResponse')
170
186
  GetUsageStatisticsRequest = Shapes::StructureShape.new(name: 'GetUsageStatisticsRequest')
171
187
  GetUsageStatisticsResponse = Shapes::StructureShape.new(name: 'GetUsageStatisticsResponse')
172
188
  GetUsageTotalsRequest = Shapes::StructureShape.new(name: 'GetUsageTotalsRequest')
@@ -199,6 +215,8 @@ module Aws::Macie2
199
215
  ListAllowListsResponse = Shapes::StructureShape.new(name: 'ListAllowListsResponse')
200
216
  ListClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListClassificationJobsRequest')
201
217
  ListClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListClassificationJobsResponse')
218
+ ListClassificationScopesRequest = Shapes::StructureShape.new(name: 'ListClassificationScopesRequest')
219
+ ListClassificationScopesResponse = Shapes::StructureShape.new(name: 'ListClassificationScopesResponse')
202
220
  ListCustomDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersRequest')
203
221
  ListCustomDataIdentifiersResponse = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersResponse')
204
222
  ListFindingsFiltersRequest = Shapes::StructureShape.new(name: 'ListFindingsFiltersRequest')
@@ -218,6 +236,12 @@ module Aws::Macie2
218
236
  ListMembersResponse = Shapes::StructureShape.new(name: 'ListMembersResponse')
219
237
  ListOrganizationAdminAccountsRequest = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsRequest')
220
238
  ListOrganizationAdminAccountsResponse = Shapes::StructureShape.new(name: 'ListOrganizationAdminAccountsResponse')
239
+ ListResourceProfileArtifactsRequest = Shapes::StructureShape.new(name: 'ListResourceProfileArtifactsRequest')
240
+ ListResourceProfileArtifactsResponse = Shapes::StructureShape.new(name: 'ListResourceProfileArtifactsResponse')
241
+ ListResourceProfileDetectionsRequest = Shapes::StructureShape.new(name: 'ListResourceProfileDetectionsRequest')
242
+ ListResourceProfileDetectionsResponse = Shapes::StructureShape.new(name: 'ListResourceProfileDetectionsResponse')
243
+ ListSensitivityInspectionTemplatesRequest = Shapes::StructureShape.new(name: 'ListSensitivityInspectionTemplatesRequest')
244
+ ListSensitivityInspectionTemplatesResponse = Shapes::StructureShape.new(name: 'ListSensitivityInspectionTemplatesResponse')
221
245
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
222
246
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
223
247
  MacieStatus = Shapes::StringShape.new(name: 'MacieStatus')
@@ -228,6 +252,7 @@ module Aws::Macie2
228
252
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
229
253
  Member = Shapes::StructureShape.new(name: 'Member')
230
254
  MonthlySchedule = Shapes::StructureShape.new(name: 'MonthlySchedule')
255
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
231
256
  ObjectCountByEncryptionType = Shapes::StructureShape.new(name: 'ObjectCountByEncryptionType')
232
257
  ObjectLevelStatistics = Shapes::StructureShape.new(name: 'ObjectLevelStatistics')
233
258
  Occurrences = Shapes::StructureShape.new(name: 'Occurrences')
@@ -247,6 +272,8 @@ module Aws::Macie2
247
272
  RelationshipStatus = Shapes::StringShape.new(name: 'RelationshipStatus')
248
273
  ReplicationDetails = Shapes::StructureShape.new(name: 'ReplicationDetails')
249
274
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
275
+ ResourceProfileArtifact = Shapes::StructureShape.new(name: 'ResourceProfileArtifact')
276
+ ResourceStatistics = Shapes::StructureShape.new(name: 'ResourceStatistics')
250
277
  ResourcesAffected = Shapes::StructureShape.new(name: 'ResourcesAffected')
251
278
  RevealConfiguration = Shapes::StructureShape.new(name: 'RevealConfiguration')
252
279
  RevealRequestStatus = Shapes::StringShape.new(name: 'RevealRequestStatus')
@@ -254,7 +281,12 @@ module Aws::Macie2
254
281
  S3Bucket = Shapes::StructureShape.new(name: 'S3Bucket')
255
282
  S3BucketCriteriaForJob = Shapes::StructureShape.new(name: 'S3BucketCriteriaForJob')
256
283
  S3BucketDefinitionForJob = Shapes::StructureShape.new(name: 'S3BucketDefinitionForJob')
284
+ S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
257
285
  S3BucketOwner = Shapes::StructureShape.new(name: 'S3BucketOwner')
286
+ S3ClassificationScope = Shapes::StructureShape.new(name: 'S3ClassificationScope')
287
+ S3ClassificationScopeExclusion = Shapes::StructureShape.new(name: 'S3ClassificationScopeExclusion')
288
+ S3ClassificationScopeExclusionUpdate = Shapes::StructureShape.new(name: 'S3ClassificationScopeExclusionUpdate')
289
+ S3ClassificationScopeUpdate = Shapes::StructureShape.new(name: 'S3ClassificationScopeUpdate')
258
290
  S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
259
291
  S3JobDefinition = Shapes::StructureShape.new(name: 'S3JobDefinition')
260
292
  S3Object = Shapes::StructureShape.new(name: 'S3Object')
@@ -278,6 +310,11 @@ module Aws::Macie2
278
310
  SensitiveDataItem = Shapes::StructureShape.new(name: 'SensitiveDataItem')
279
311
  SensitiveDataItemCategory = Shapes::StringShape.new(name: 'SensitiveDataItemCategory')
280
312
  SensitiveDataOccurrences = Shapes::MapShape.new(name: 'SensitiveDataOccurrences')
313
+ SensitivityAggregations = Shapes::StructureShape.new(name: 'SensitivityAggregations')
314
+ SensitivityInspectionTemplateExcludes = Shapes::StructureShape.new(name: 'SensitivityInspectionTemplateExcludes')
315
+ SensitivityInspectionTemplateId = Shapes::StringShape.new(name: 'SensitivityInspectionTemplateId')
316
+ SensitivityInspectionTemplateIncludes = Shapes::StructureShape.new(name: 'SensitivityInspectionTemplateIncludes')
317
+ SensitivityInspectionTemplatesEntry = Shapes::StructureShape.new(name: 'SensitivityInspectionTemplatesEntry')
281
318
  ServerSideEncryption = Shapes::StructureShape.new(name: 'ServerSideEncryption')
282
319
  ServiceLimit = Shapes::StructureShape.new(name: 'ServiceLimit')
283
320
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
@@ -295,6 +332,7 @@ module Aws::Macie2
295
332
  SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
296
333
  Statistics = Shapes::StructureShape.new(name: 'Statistics')
297
334
  StorageClass = Shapes::StringShape.new(name: 'StorageClass')
335
+ SuppressDataIdentifier = Shapes::StructureShape.new(name: 'SuppressDataIdentifier')
298
336
  TagCriterionForJob = Shapes::StructureShape.new(name: 'TagCriterionForJob')
299
337
  TagCriterionPairForJob = Shapes::StructureShape.new(name: 'TagCriterionPairForJob')
300
338
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -307,6 +345,7 @@ module Aws::Macie2
307
345
  TestCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierResponse')
308
346
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
309
347
  TimeRange = Shapes::StringShape.new(name: 'TimeRange')
348
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
310
349
  Type = Shapes::StringShape.new(name: 'Type')
311
350
  UnavailabilityReasonCode = Shapes::StringShape.new(name: 'UnavailabilityReasonCode')
312
351
  Unit = Shapes::StringShape.new(name: 'Unit')
@@ -316,8 +355,12 @@ module Aws::Macie2
316
355
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
317
356
  UpdateAllowListRequest = Shapes::StructureShape.new(name: 'UpdateAllowListRequest')
318
357
  UpdateAllowListResponse = Shapes::StructureShape.new(name: 'UpdateAllowListResponse')
358
+ UpdateAutomatedDiscoveryConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAutomatedDiscoveryConfigurationRequest')
359
+ UpdateAutomatedDiscoveryConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAutomatedDiscoveryConfigurationResponse')
319
360
  UpdateClassificationJobRequest = Shapes::StructureShape.new(name: 'UpdateClassificationJobRequest')
320
361
  UpdateClassificationJobResponse = Shapes::StructureShape.new(name: 'UpdateClassificationJobResponse')
362
+ UpdateClassificationScopeRequest = Shapes::StructureShape.new(name: 'UpdateClassificationScopeRequest')
363
+ UpdateClassificationScopeResponse = Shapes::StructureShape.new(name: 'UpdateClassificationScopeResponse')
321
364
  UpdateFindingsFilterRequest = Shapes::StructureShape.new(name: 'UpdateFindingsFilterRequest')
322
365
  UpdateFindingsFilterResponse = Shapes::StructureShape.new(name: 'UpdateFindingsFilterResponse')
323
366
  UpdateMacieSessionRequest = Shapes::StructureShape.new(name: 'UpdateMacieSessionRequest')
@@ -326,8 +369,14 @@ module Aws::Macie2
326
369
  UpdateMemberSessionResponse = Shapes::StructureShape.new(name: 'UpdateMemberSessionResponse')
327
370
  UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
328
371
  UpdateOrganizationConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationResponse')
372
+ UpdateResourceProfileDetectionsRequest = Shapes::StructureShape.new(name: 'UpdateResourceProfileDetectionsRequest')
373
+ UpdateResourceProfileDetectionsResponse = Shapes::StructureShape.new(name: 'UpdateResourceProfileDetectionsResponse')
374
+ UpdateResourceProfileRequest = Shapes::StructureShape.new(name: 'UpdateResourceProfileRequest')
375
+ UpdateResourceProfileResponse = Shapes::StructureShape.new(name: 'UpdateResourceProfileResponse')
329
376
  UpdateRevealConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateRevealConfigurationRequest')
330
377
  UpdateRevealConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateRevealConfigurationResponse')
378
+ UpdateSensitivityInspectionTemplateRequest = Shapes::StructureShape.new(name: 'UpdateSensitivityInspectionTemplateRequest')
379
+ UpdateSensitivityInspectionTemplateResponse = Shapes::StructureShape.new(name: 'UpdateSensitivityInspectionTemplateResponse')
331
380
  UsageByAccount = Shapes::StructureShape.new(name: 'UsageByAccount')
332
381
  UsageRecord = Shapes::StructureShape.new(name: 'UsageRecord')
333
382
  UsageStatisticsFilter = Shapes::StructureShape.new(name: 'UsageStatisticsFilter')
@@ -350,9 +399,11 @@ module Aws::Macie2
350
399
  __listOfAllowListSummary = Shapes::ListShape.new(name: '__listOfAllowListSummary')
351
400
  __listOfBatchGetCustomDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfBatchGetCustomDataIdentifierSummary')
352
401
  __listOfBucketMetadata = Shapes::ListShape.new(name: '__listOfBucketMetadata')
402
+ __listOfClassificationScopeSummary = Shapes::ListShape.new(name: '__listOfClassificationScopeSummary')
353
403
  __listOfCriteriaForJob = Shapes::ListShape.new(name: '__listOfCriteriaForJob')
354
404
  __listOfCustomDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfCustomDataIdentifierSummary')
355
405
  __listOfDetectedDataDetails = Shapes::ListShape.new(name: '__listOfDetectedDataDetails')
406
+ __listOfDetection = Shapes::ListShape.new(name: '__listOfDetection')
356
407
  __listOfFinding = Shapes::ListShape.new(name: '__listOfFinding')
357
408
  __listOfFindingType = Shapes::ListShape.new(name: '__listOfFindingType')
358
409
  __listOfFindingsFilterListItem = Shapes::ListShape.new(name: '__listOfFindingsFilterListItem')
@@ -365,9 +416,13 @@ module Aws::Macie2
365
416
  __listOfManagedDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfManagedDataIdentifierSummary')
366
417
  __listOfMatchingResource = Shapes::ListShape.new(name: '__listOfMatchingResource')
367
418
  __listOfMember = Shapes::ListShape.new(name: '__listOfMember')
419
+ __listOfResourceProfileArtifact = Shapes::ListShape.new(name: '__listOfResourceProfileArtifact')
368
420
  __listOfS3BucketDefinitionForJob = Shapes::ListShape.new(name: '__listOfS3BucketDefinitionForJob')
421
+ __listOfS3BucketName = Shapes::ListShape.new(name: '__listOfS3BucketName')
369
422
  __listOfSearchResourcesCriteria = Shapes::ListShape.new(name: '__listOfSearchResourcesCriteria')
370
423
  __listOfSearchResourcesTagCriterionPair = Shapes::ListShape.new(name: '__listOfSearchResourcesTagCriterionPair')
424
+ __listOfSensitivityInspectionTemplatesEntry = Shapes::ListShape.new(name: '__listOfSensitivityInspectionTemplatesEntry')
425
+ __listOfSuppressDataIdentifier = Shapes::ListShape.new(name: '__listOfSuppressDataIdentifier')
371
426
  __listOfTagCriterionPairForJob = Shapes::ListShape.new(name: '__listOfTagCriterionPairForJob')
372
427
  __listOfTagValuePair = Shapes::ListShape.new(name: '__listOfTagValuePair')
373
428
  __listOfUnavailabilityReasonCode = Shapes::ListShape.new(name: '__listOfUnavailabilityReasonCode')
@@ -522,12 +577,14 @@ module Aws::Macie2
522
577
  BucketMetadata.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
523
578
  BucketMetadata.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
524
579
  BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
580
+ BucketMetadata.add_member(:last_automated_discovery_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastAutomatedDiscoveryTime"))
525
581
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
526
582
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
527
583
  BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
528
584
  BucketMetadata.add_member(:public_access, Shapes::ShapeRef.new(shape: BucketPublicAccess, location_name: "publicAccess"))
529
585
  BucketMetadata.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
530
586
  BucketMetadata.add_member(:replication_details, Shapes::ShapeRef.new(shape: ReplicationDetails, location_name: "replicationDetails"))
587
+ BucketMetadata.add_member(:sensitivity_score, Shapes::ShapeRef.new(shape: __integer, location_name: "sensitivityScore"))
531
588
  BucketMetadata.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: BucketServerSideEncryption, location_name: "serverSideEncryption"))
532
589
  BucketMetadata.add_member(:shared_access, Shapes::ShapeRef.new(shape: SharedAccess, location_name: "sharedAccess"))
533
590
  BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
@@ -558,6 +615,12 @@ module Aws::Macie2
558
615
  BucketSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
559
616
  BucketSortCriteria.struct_class = Types::BucketSortCriteria
560
617
 
618
+ BucketStatisticsBySensitivity.add_member(:classification_error, Shapes::ShapeRef.new(shape: SensitivityAggregations, location_name: "classificationError"))
619
+ BucketStatisticsBySensitivity.add_member(:not_classified, Shapes::ShapeRef.new(shape: SensitivityAggregations, location_name: "notClassified"))
620
+ BucketStatisticsBySensitivity.add_member(:not_sensitive, Shapes::ShapeRef.new(shape: SensitivityAggregations, location_name: "notSensitive"))
621
+ BucketStatisticsBySensitivity.add_member(:sensitive, Shapes::ShapeRef.new(shape: SensitivityAggregations, location_name: "sensitive"))
622
+ BucketStatisticsBySensitivity.struct_class = Types::BucketStatisticsBySensitivity
623
+
561
624
  Cell.add_member(:cell_reference, Shapes::ShapeRef.new(shape: __string, location_name: "cellReference"))
562
625
  Cell.add_member(:column, Shapes::ShapeRef.new(shape: __long, location_name: "column"))
563
626
  Cell.add_member(:column_name, Shapes::ShapeRef.new(shape: __string, location_name: "columnName"))
@@ -588,6 +651,10 @@ module Aws::Macie2
588
651
  ClassificationResultStatus.add_member(:reason, Shapes::ShapeRef.new(shape: __string, location_name: "reason"))
589
652
  ClassificationResultStatus.struct_class = Types::ClassificationResultStatus
590
653
 
654
+ ClassificationScopeSummary.add_member(:id, Shapes::ShapeRef.new(shape: ClassificationScopeId, location_name: "id"))
655
+ ClassificationScopeSummary.add_member(:name, Shapes::ShapeRef.new(shape: ClassificationScopeName, location_name: "name"))
656
+ ClassificationScopeSummary.struct_class = Types::ClassificationScopeSummary
657
+
591
658
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
592
659
  ConflictException.struct_class = Types::ConflictException
593
660
 
@@ -793,6 +860,14 @@ module Aws::Macie2
793
860
  DetectedDataDetails.add_member(:value, Shapes::ShapeRef.new(shape: __stringMin1Max128, required: true, location_name: "value"))
794
861
  DetectedDataDetails.struct_class = Types::DetectedDataDetails
795
862
 
863
+ Detection.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
864
+ Detection.add_member(:count, Shapes::ShapeRef.new(shape: __long, location_name: "count"))
865
+ Detection.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
866
+ Detection.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
867
+ Detection.add_member(:suppressed, Shapes::ShapeRef.new(shape: __boolean, location_name: "suppressed"))
868
+ Detection.add_member(:type, Shapes::ShapeRef.new(shape: DataIdentifierType, location_name: "type"))
869
+ Detection.struct_class = Types::Detection
870
+
796
871
  DisableMacieRequest.struct_class = Types::DisableMacieRequest
797
872
 
798
873
  DisableMacieResponse.struct_class = Types::DisableMacieResponse
@@ -902,6 +977,16 @@ module Aws::Macie2
902
977
  GetAllowListResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "updatedAt"))
903
978
  GetAllowListResponse.struct_class = Types::GetAllowListResponse
904
979
 
980
+ GetAutomatedDiscoveryConfigurationRequest.struct_class = Types::GetAutomatedDiscoveryConfigurationRequest
981
+
982
+ GetAutomatedDiscoveryConfigurationResponse.add_member(:classification_scope_id, Shapes::ShapeRef.new(shape: ClassificationScopeId, location_name: "classificationScopeId"))
983
+ GetAutomatedDiscoveryConfigurationResponse.add_member(:disabled_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "disabledAt"))
984
+ GetAutomatedDiscoveryConfigurationResponse.add_member(:first_enabled_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "firstEnabledAt"))
985
+ GetAutomatedDiscoveryConfigurationResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
986
+ GetAutomatedDiscoveryConfigurationResponse.add_member(:sensitivity_inspection_template_id, Shapes::ShapeRef.new(shape: SensitivityInspectionTemplateId, location_name: "sensitivityInspectionTemplateId"))
987
+ GetAutomatedDiscoveryConfigurationResponse.add_member(:status, Shapes::ShapeRef.new(shape: AutomatedDiscoveryStatus, location_name: "status"))
988
+ GetAutomatedDiscoveryConfigurationResponse.struct_class = Types::GetAutomatedDiscoveryConfigurationResponse
989
+
905
990
  GetBucketStatisticsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
906
991
  GetBucketStatisticsRequest.struct_class = Types::GetBucketStatisticsRequest
907
992
 
@@ -910,6 +995,7 @@ module Aws::Macie2
910
995
  GetBucketStatisticsResponse.add_member(:bucket_count_by_encryption_type, Shapes::ShapeRef.new(shape: BucketCountByEncryptionType, location_name: "bucketCountByEncryptionType"))
911
996
  GetBucketStatisticsResponse.add_member(:bucket_count_by_object_encryption_requirement, Shapes::ShapeRef.new(shape: BucketCountPolicyAllowsUnencryptedObjectUploads, location_name: "bucketCountByObjectEncryptionRequirement"))
912
997
  GetBucketStatisticsResponse.add_member(:bucket_count_by_shared_access_type, Shapes::ShapeRef.new(shape: BucketCountBySharedAccessType, location_name: "bucketCountBySharedAccessType"))
998
+ GetBucketStatisticsResponse.add_member(:bucket_statistics_by_sensitivity, Shapes::ShapeRef.new(shape: BucketStatisticsBySensitivity, location_name: "bucketStatisticsBySensitivity"))
913
999
  GetBucketStatisticsResponse.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
914
1000
  GetBucketStatisticsResponse.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
915
1001
  GetBucketStatisticsResponse.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
@@ -925,6 +1011,14 @@ module Aws::Macie2
925
1011
  GetClassificationExportConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: ClassificationExportConfiguration, location_name: "configuration"))
926
1012
  GetClassificationExportConfigurationResponse.struct_class = Types::GetClassificationExportConfigurationResponse
927
1013
 
1014
+ GetClassificationScopeRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
1015
+ GetClassificationScopeRequest.struct_class = Types::GetClassificationScopeRequest
1016
+
1017
+ GetClassificationScopeResponse.add_member(:id, Shapes::ShapeRef.new(shape: ClassificationScopeId, location_name: "id"))
1018
+ GetClassificationScopeResponse.add_member(:name, Shapes::ShapeRef.new(shape: ClassificationScopeName, location_name: "name"))
1019
+ GetClassificationScopeResponse.add_member(:s3, Shapes::ShapeRef.new(shape: S3ClassificationScope, location_name: "s3"))
1020
+ GetClassificationScopeResponse.struct_class = Types::GetClassificationScopeResponse
1021
+
928
1022
  GetCustomDataIdentifierRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
929
1023
  GetCustomDataIdentifierRequest.struct_class = Types::GetCustomDataIdentifierRequest
930
1024
 
@@ -1009,6 +1103,15 @@ module Aws::Macie2
1009
1103
  GetMemberResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "updatedAt"))
1010
1104
  GetMemberResponse.struct_class = Types::GetMemberResponse
1011
1105
 
1106
+ GetResourceProfileRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "resourceArn"))
1107
+ GetResourceProfileRequest.struct_class = Types::GetResourceProfileRequest
1108
+
1109
+ GetResourceProfileResponse.add_member(:profile_updated_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "profileUpdatedAt"))
1110
+ GetResourceProfileResponse.add_member(:sensitivity_score, Shapes::ShapeRef.new(shape: __integer, location_name: "sensitivityScore"))
1111
+ GetResourceProfileResponse.add_member(:sensitivity_score_overridden, Shapes::ShapeRef.new(shape: __boolean, location_name: "sensitivityScoreOverridden"))
1112
+ GetResourceProfileResponse.add_member(:statistics, Shapes::ShapeRef.new(shape: ResourceStatistics, location_name: "statistics"))
1113
+ GetResourceProfileResponse.struct_class = Types::GetResourceProfileResponse
1114
+
1012
1115
  GetRevealConfigurationRequest.struct_class = Types::GetRevealConfigurationRequest
1013
1116
 
1014
1117
  GetRevealConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, location_name: "configuration"))
@@ -1029,6 +1132,16 @@ module Aws::Macie2
1029
1132
  GetSensitiveDataOccurrencesResponse.add_member(:status, Shapes::ShapeRef.new(shape: RevealRequestStatus, location_name: "status"))
1030
1133
  GetSensitiveDataOccurrencesResponse.struct_class = Types::GetSensitiveDataOccurrencesResponse
1031
1134
 
1135
+ GetSensitivityInspectionTemplateRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
1136
+ GetSensitivityInspectionTemplateRequest.struct_class = Types::GetSensitivityInspectionTemplateRequest
1137
+
1138
+ GetSensitivityInspectionTemplateResponse.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
1139
+ GetSensitivityInspectionTemplateResponse.add_member(:excludes, Shapes::ShapeRef.new(shape: SensitivityInspectionTemplateExcludes, location_name: "excludes"))
1140
+ GetSensitivityInspectionTemplateResponse.add_member(:includes, Shapes::ShapeRef.new(shape: SensitivityInspectionTemplateIncludes, location_name: "includes"))
1141
+ GetSensitivityInspectionTemplateResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1142
+ GetSensitivityInspectionTemplateResponse.add_member(:sensitivity_inspection_template_id, Shapes::ShapeRef.new(shape: SensitivityInspectionTemplateId, location_name: "sensitivityInspectionTemplateId"))
1143
+ GetSensitivityInspectionTemplateResponse.struct_class = Types::GetSensitivityInspectionTemplateResponse
1144
+
1032
1145
  GetUsageStatisticsRequest.add_member(:filter_by, Shapes::ShapeRef.new(shape: __listOfUsageStatisticsFilter, location_name: "filterBy"))
1033
1146
  GetUsageStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
1034
1147
  GetUsageStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -1109,6 +1222,7 @@ module Aws::Macie2
1109
1222
  JobScopingBlock.add_member(:and, Shapes::ShapeRef.new(shape: __listOfJobScopeTerm, location_name: "and"))
1110
1223
  JobScopingBlock.struct_class = Types::JobScopingBlock
1111
1224
 
1225
+ JobSummary.add_member(:bucket_criteria, Shapes::ShapeRef.new(shape: S3BucketCriteriaForJob, location_name: "bucketCriteria"))
1112
1226
  JobSummary.add_member(:bucket_definitions, Shapes::ShapeRef.new(shape: __listOfS3BucketDefinitionForJob, location_name: "bucketDefinitions"))
1113
1227
  JobSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdAt"))
1114
1228
  JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
@@ -1117,7 +1231,6 @@ module Aws::Macie2
1117
1231
  JobSummary.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
1118
1232
  JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1119
1233
  JobSummary.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
1120
- JobSummary.add_member(:bucket_criteria, Shapes::ShapeRef.new(shape: S3BucketCriteriaForJob, location_name: "bucketCriteria"))
1121
1234
  JobSummary.struct_class = Types::JobSummary
1122
1235
 
1123
1236
  KeyValuePair.add_member(:key, Shapes::ShapeRef.new(shape: __string, location_name: "key"))
@@ -1147,6 +1260,14 @@ module Aws::Macie2
1147
1260
  ListClassificationJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1148
1261
  ListClassificationJobsResponse.struct_class = Types::ListClassificationJobsResponse
1149
1262
 
1263
+ ListClassificationScopesRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "name"))
1264
+ ListClassificationScopesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1265
+ ListClassificationScopesRequest.struct_class = Types::ListClassificationScopesRequest
1266
+
1267
+ ListClassificationScopesResponse.add_member(:classification_scopes, Shapes::ShapeRef.new(shape: __listOfClassificationScopeSummary, location_name: "classificationScopes"))
1268
+ ListClassificationScopesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1269
+ ListClassificationScopesResponse.struct_class = Types::ListClassificationScopesResponse
1270
+
1150
1271
  ListCustomDataIdentifiersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
1151
1272
  ListCustomDataIdentifiersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1152
1273
  ListCustomDataIdentifiersRequest.struct_class = Types::ListCustomDataIdentifiersRequest
@@ -1218,6 +1339,31 @@ module Aws::Macie2
1218
1339
  ListOrganizationAdminAccountsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1219
1340
  ListOrganizationAdminAccountsResponse.struct_class = Types::ListOrganizationAdminAccountsResponse
1220
1341
 
1342
+ ListResourceProfileArtifactsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1343
+ ListResourceProfileArtifactsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "resourceArn"))
1344
+ ListResourceProfileArtifactsRequest.struct_class = Types::ListResourceProfileArtifactsRequest
1345
+
1346
+ ListResourceProfileArtifactsResponse.add_member(:artifacts, Shapes::ShapeRef.new(shape: __listOfResourceProfileArtifact, location_name: "artifacts"))
1347
+ ListResourceProfileArtifactsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1348
+ ListResourceProfileArtifactsResponse.struct_class = Types::ListResourceProfileArtifactsResponse
1349
+
1350
+ ListResourceProfileDetectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1351
+ ListResourceProfileDetectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1352
+ ListResourceProfileDetectionsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "resourceArn"))
1353
+ ListResourceProfileDetectionsRequest.struct_class = Types::ListResourceProfileDetectionsRequest
1354
+
1355
+ ListResourceProfileDetectionsResponse.add_member(:detections, Shapes::ShapeRef.new(shape: __listOfDetection, location_name: "detections"))
1356
+ ListResourceProfileDetectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1357
+ ListResourceProfileDetectionsResponse.struct_class = Types::ListResourceProfileDetectionsResponse
1358
+
1359
+ ListSensitivityInspectionTemplatesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1360
+ ListSensitivityInspectionTemplatesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1361
+ ListSensitivityInspectionTemplatesRequest.struct_class = Types::ListSensitivityInspectionTemplatesRequest
1362
+
1363
+ ListSensitivityInspectionTemplatesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
1364
+ ListSensitivityInspectionTemplatesResponse.add_member(:sensitivity_inspection_templates, Shapes::ShapeRef.new(shape: __listOfSensitivityInspectionTemplatesEntry, location_name: "sensitivityInspectionTemplates"))
1365
+ ListSensitivityInspectionTemplatesResponse.struct_class = Types::ListSensitivityInspectionTemplatesResponse
1366
+
1221
1367
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
1222
1368
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
1223
1369
 
@@ -1235,8 +1381,10 @@ module Aws::Macie2
1235
1381
  MatchingBucket.add_member(:error_code, Shapes::ShapeRef.new(shape: BucketMetadataErrorCode, location_name: "errorCode"))
1236
1382
  MatchingBucket.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
1237
1383
  MatchingBucket.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
1384
+ MatchingBucket.add_member(:last_automated_discovery_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastAutomatedDiscoveryTime"))
1238
1385
  MatchingBucket.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
1239
1386
  MatchingBucket.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
1387
+ MatchingBucket.add_member(:sensitivity_score, Shapes::ShapeRef.new(shape: __integer, location_name: "sensitivityScore"))
1240
1388
  MatchingBucket.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
1241
1389
  MatchingBucket.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
1242
1390
  MatchingBucket.add_member(:unclassifiable_object_count, Shapes::ShapeRef.new(shape: ObjectLevelStatistics, location_name: "unclassifiableObjectCount"))
@@ -1323,6 +1471,22 @@ module Aws::Macie2
1323
1471
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1324
1472
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1325
1473
 
1474
+ ResourceProfileArtifact.add_member(:arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "arn"))
1475
+ ResourceProfileArtifact.add_member(:classification_result_status, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "classificationResultStatus"))
1476
+ ResourceProfileArtifact.add_member(:sensitive, Shapes::ShapeRef.new(shape: __boolean, location_name: "sensitive"))
1477
+ ResourceProfileArtifact.struct_class = Types::ResourceProfileArtifact
1478
+
1479
+ ResourceStatistics.add_member(:total_bytes_classified, Shapes::ShapeRef.new(shape: __long, location_name: "totalBytesClassified"))
1480
+ ResourceStatistics.add_member(:total_detections, Shapes::ShapeRef.new(shape: __long, location_name: "totalDetections"))
1481
+ ResourceStatistics.add_member(:total_detections_suppressed, Shapes::ShapeRef.new(shape: __long, location_name: "totalDetectionsSuppressed"))
1482
+ ResourceStatistics.add_member(:total_items_classified, Shapes::ShapeRef.new(shape: __long, location_name: "totalItemsClassified"))
1483
+ ResourceStatistics.add_member(:total_items_sensitive, Shapes::ShapeRef.new(shape: __long, location_name: "totalItemsSensitive"))
1484
+ ResourceStatistics.add_member(:total_items_skipped, Shapes::ShapeRef.new(shape: __long, location_name: "totalItemsSkipped"))
1485
+ ResourceStatistics.add_member(:total_items_skipped_invalid_encryption, Shapes::ShapeRef.new(shape: __long, location_name: "totalItemsSkippedInvalidEncryption"))
1486
+ ResourceStatistics.add_member(:total_items_skipped_invalid_kms, Shapes::ShapeRef.new(shape: __long, location_name: "totalItemsSkippedInvalidKms"))
1487
+ ResourceStatistics.add_member(:total_items_skipped_permission_denied, Shapes::ShapeRef.new(shape: __long, location_name: "totalItemsSkippedPermissionDenied"))
1488
+ ResourceStatistics.struct_class = Types::ResourceStatistics
1489
+
1326
1490
  ResourcesAffected.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3Bucket, location_name: "s3Bucket"))
1327
1491
  ResourcesAffected.add_member(:s3_object, Shapes::ShapeRef.new(shape: S3Object, location_name: "s3Object"))
1328
1492
  ResourcesAffected.struct_class = Types::ResourcesAffected
@@ -1353,14 +1517,27 @@ module Aws::Macie2
1353
1517
  S3BucketOwner.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1354
1518
  S3BucketOwner.struct_class = Types::S3BucketOwner
1355
1519
 
1520
+ S3ClassificationScope.add_member(:excludes, Shapes::ShapeRef.new(shape: S3ClassificationScopeExclusion, required: true, location_name: "excludes"))
1521
+ S3ClassificationScope.struct_class = Types::S3ClassificationScope
1522
+
1523
+ S3ClassificationScopeExclusion.add_member(:bucket_names, Shapes::ShapeRef.new(shape: __listOfS3BucketName, required: true, location_name: "bucketNames"))
1524
+ S3ClassificationScopeExclusion.struct_class = Types::S3ClassificationScopeExclusion
1525
+
1526
+ S3ClassificationScopeExclusionUpdate.add_member(:bucket_names, Shapes::ShapeRef.new(shape: __listOfS3BucketName, required: true, location_name: "bucketNames"))
1527
+ S3ClassificationScopeExclusionUpdate.add_member(:operation, Shapes::ShapeRef.new(shape: ClassificationScopeUpdateOperation, required: true, location_name: "operation"))
1528
+ S3ClassificationScopeExclusionUpdate.struct_class = Types::S3ClassificationScopeExclusionUpdate
1529
+
1530
+ S3ClassificationScopeUpdate.add_member(:excludes, Shapes::ShapeRef.new(shape: S3ClassificationScopeExclusionUpdate, required: true, location_name: "excludes"))
1531
+ S3ClassificationScopeUpdate.struct_class = Types::S3ClassificationScopeUpdate
1532
+
1356
1533
  S3Destination.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "bucketName"))
1357
1534
  S3Destination.add_member(:key_prefix, Shapes::ShapeRef.new(shape: __string, location_name: "keyPrefix"))
1358
1535
  S3Destination.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "kmsKeyArn"))
1359
1536
  S3Destination.struct_class = Types::S3Destination
1360
1537
 
1538
+ S3JobDefinition.add_member(:bucket_criteria, Shapes::ShapeRef.new(shape: S3BucketCriteriaForJob, location_name: "bucketCriteria"))
1361
1539
  S3JobDefinition.add_member(:bucket_definitions, Shapes::ShapeRef.new(shape: __listOfS3BucketDefinitionForJob, location_name: "bucketDefinitions"))
1362
1540
  S3JobDefinition.add_member(:scoping, Shapes::ShapeRef.new(shape: Scoping, location_name: "scoping"))
1363
- S3JobDefinition.add_member(:bucket_criteria, Shapes::ShapeRef.new(shape: S3BucketCriteriaForJob, location_name: "bucketCriteria"))
1364
1541
  S3JobDefinition.struct_class = Types::S3JobDefinition
1365
1542
 
1366
1543
  S3Object.add_member(:bucket_arn, Shapes::ShapeRef.new(shape: __string, location_name: "bucketArn"))
@@ -1437,6 +1614,24 @@ module Aws::Macie2
1437
1614
  SensitiveDataOccurrences.key = Shapes::ShapeRef.new(shape: __string)
1438
1615
  SensitiveDataOccurrences.value = Shapes::ShapeRef.new(shape: __listOfDetectedDataDetails)
1439
1616
 
1617
+ SensitivityAggregations.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
1618
+ SensitivityAggregations.add_member(:publicly_accessible_count, Shapes::ShapeRef.new(shape: __long, location_name: "publiclyAccessibleCount"))
1619
+ SensitivityAggregations.add_member(:total_count, Shapes::ShapeRef.new(shape: __long, location_name: "totalCount"))
1620
+ SensitivityAggregations.add_member(:total_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "totalSizeInBytes"))
1621
+ SensitivityAggregations.struct_class = Types::SensitivityAggregations
1622
+
1623
+ SensitivityInspectionTemplateExcludes.add_member(:managed_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "managedDataIdentifierIds"))
1624
+ SensitivityInspectionTemplateExcludes.struct_class = Types::SensitivityInspectionTemplateExcludes
1625
+
1626
+ SensitivityInspectionTemplateIncludes.add_member(:allow_list_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "allowListIds"))
1627
+ SensitivityInspectionTemplateIncludes.add_member(:custom_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "customDataIdentifierIds"))
1628
+ SensitivityInspectionTemplateIncludes.add_member(:managed_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "managedDataIdentifierIds"))
1629
+ SensitivityInspectionTemplateIncludes.struct_class = Types::SensitivityInspectionTemplateIncludes
1630
+
1631
+ SensitivityInspectionTemplatesEntry.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1632
+ SensitivityInspectionTemplatesEntry.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1633
+ SensitivityInspectionTemplatesEntry.struct_class = Types::SensitivityInspectionTemplatesEntry
1634
+
1440
1635
  ServerSideEncryption.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "encryptionType"))
1441
1636
  ServerSideEncryption.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "kmsMasterKeyId"))
1442
1637
  ServerSideEncryption.struct_class = Types::ServerSideEncryption
@@ -1492,6 +1687,10 @@ module Aws::Macie2
1492
1687
  Statistics.add_member(:number_of_runs, Shapes::ShapeRef.new(shape: __double, location_name: "numberOfRuns"))
1493
1688
  Statistics.struct_class = Types::Statistics
1494
1689
 
1690
+ SuppressDataIdentifier.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
1691
+ SuppressDataIdentifier.add_member(:type, Shapes::ShapeRef.new(shape: DataIdentifierType, location_name: "type"))
1692
+ SuppressDataIdentifier.struct_class = Types::SuppressDataIdentifier
1693
+
1495
1694
  TagCriterionForJob.add_member(:comparator, Shapes::ShapeRef.new(shape: JobComparator, location_name: "comparator"))
1496
1695
  TagCriterionForJob.add_member(:tag_values, Shapes::ShapeRef.new(shape: __listOfTagCriterionPairForJob, location_name: "tagValues"))
1497
1696
  TagCriterionForJob.struct_class = Types::TagCriterionForJob
@@ -1556,19 +1755,30 @@ module Aws::Macie2
1556
1755
  UpdateAllowListResponse.add_member(:id, Shapes::ShapeRef.new(shape: __stringMin22Max22PatternAZ0922, location_name: "id"))
1557
1756
  UpdateAllowListResponse.struct_class = Types::UpdateAllowListResponse
1558
1757
 
1758
+ UpdateAutomatedDiscoveryConfigurationRequest.add_member(:status, Shapes::ShapeRef.new(shape: AutomatedDiscoveryStatus, required: true, location_name: "status"))
1759
+ UpdateAutomatedDiscoveryConfigurationRequest.struct_class = Types::UpdateAutomatedDiscoveryConfigurationRequest
1760
+
1761
+ UpdateAutomatedDiscoveryConfigurationResponse.struct_class = Types::UpdateAutomatedDiscoveryConfigurationResponse
1762
+
1559
1763
  UpdateClassificationJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "jobId"))
1560
1764
  UpdateClassificationJobRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "jobStatus"))
1561
1765
  UpdateClassificationJobRequest.struct_class = Types::UpdateClassificationJobRequest
1562
1766
 
1563
1767
  UpdateClassificationJobResponse.struct_class = Types::UpdateClassificationJobResponse
1564
1768
 
1769
+ UpdateClassificationScopeRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
1770
+ UpdateClassificationScopeRequest.add_member(:s3, Shapes::ShapeRef.new(shape: S3ClassificationScopeUpdate, location_name: "s3"))
1771
+ UpdateClassificationScopeRequest.struct_class = Types::UpdateClassificationScopeRequest
1772
+
1773
+ UpdateClassificationScopeResponse.struct_class = Types::UpdateClassificationScopeResponse
1774
+
1565
1775
  UpdateFindingsFilterRequest.add_member(:action, Shapes::ShapeRef.new(shape: FindingsFilterAction, location_name: "action"))
1776
+ UpdateFindingsFilterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1566
1777
  UpdateFindingsFilterRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
1567
1778
  UpdateFindingsFilterRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
1568
1779
  UpdateFindingsFilterRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
1569
1780
  UpdateFindingsFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
1570
1781
  UpdateFindingsFilterRequest.add_member(:position, Shapes::ShapeRef.new(shape: __integer, location_name: "position"))
1571
- UpdateFindingsFilterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1572
1782
  UpdateFindingsFilterRequest.struct_class = Types::UpdateFindingsFilterRequest
1573
1783
 
1574
1784
  UpdateFindingsFilterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
@@ -1592,12 +1802,32 @@ module Aws::Macie2
1592
1802
 
1593
1803
  UpdateOrganizationConfigurationResponse.struct_class = Types::UpdateOrganizationConfigurationResponse
1594
1804
 
1805
+ UpdateResourceProfileDetectionsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "resourceArn"))
1806
+ UpdateResourceProfileDetectionsRequest.add_member(:suppress_data_identifiers, Shapes::ShapeRef.new(shape: __listOfSuppressDataIdentifier, location_name: "suppressDataIdentifiers"))
1807
+ UpdateResourceProfileDetectionsRequest.struct_class = Types::UpdateResourceProfileDetectionsRequest
1808
+
1809
+ UpdateResourceProfileDetectionsResponse.struct_class = Types::UpdateResourceProfileDetectionsResponse
1810
+
1811
+ UpdateResourceProfileRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "querystring", location_name: "resourceArn"))
1812
+ UpdateResourceProfileRequest.add_member(:sensitivity_score_override, Shapes::ShapeRef.new(shape: __integer, location_name: "sensitivityScoreOverride"))
1813
+ UpdateResourceProfileRequest.struct_class = Types::UpdateResourceProfileRequest
1814
+
1815
+ UpdateResourceProfileResponse.struct_class = Types::UpdateResourceProfileResponse
1816
+
1595
1817
  UpdateRevealConfigurationRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, required: true, location_name: "configuration"))
1596
1818
  UpdateRevealConfigurationRequest.struct_class = Types::UpdateRevealConfigurationRequest
1597
1819
 
1598
1820
  UpdateRevealConfigurationResponse.add_member(:configuration, Shapes::ShapeRef.new(shape: RevealConfiguration, location_name: "configuration"))
1599
1821
  UpdateRevealConfigurationResponse.struct_class = Types::UpdateRevealConfigurationResponse
1600
1822
 
1823
+ UpdateSensitivityInspectionTemplateRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
1824
+ UpdateSensitivityInspectionTemplateRequest.add_member(:excludes, Shapes::ShapeRef.new(shape: SensitivityInspectionTemplateExcludes, location_name: "excludes"))
1825
+ UpdateSensitivityInspectionTemplateRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
1826
+ UpdateSensitivityInspectionTemplateRequest.add_member(:includes, Shapes::ShapeRef.new(shape: SensitivityInspectionTemplateIncludes, location_name: "includes"))
1827
+ UpdateSensitivityInspectionTemplateRequest.struct_class = Types::UpdateSensitivityInspectionTemplateRequest
1828
+
1829
+ UpdateSensitivityInspectionTemplateResponse.struct_class = Types::UpdateSensitivityInspectionTemplateResponse
1830
+
1601
1831
  UsageByAccount.add_member(:currency, Shapes::ShapeRef.new(shape: Currency, location_name: "currency"))
1602
1832
  UsageByAccount.add_member(:estimated_cost, Shapes::ShapeRef.new(shape: __string, location_name: "estimatedCost"))
1603
1833
  UsageByAccount.add_member(:service_limit, Shapes::ShapeRef.new(shape: ServiceLimit, location_name: "serviceLimit"))
@@ -1605,6 +1835,7 @@ module Aws::Macie2
1605
1835
  UsageByAccount.struct_class = Types::UsageByAccount
1606
1836
 
1607
1837
  UsageRecord.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
1838
+ UsageRecord.add_member(:automated_discovery_free_trial_start_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "automatedDiscoveryFreeTrialStartDate"))
1608
1839
  UsageRecord.add_member(:free_trial_start_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "freeTrialStartDate"))
1609
1840
  UsageRecord.add_member(:usage, Shapes::ShapeRef.new(shape: __listOfUsageByAccount, location_name: "usage"))
1610
1841
  UsageRecord.struct_class = Types::UsageRecord
@@ -1656,12 +1887,16 @@ module Aws::Macie2
1656
1887
 
1657
1888
  __listOfBucketMetadata.member = Shapes::ShapeRef.new(shape: BucketMetadata)
1658
1889
 
1890
+ __listOfClassificationScopeSummary.member = Shapes::ShapeRef.new(shape: ClassificationScopeSummary)
1891
+
1659
1892
  __listOfCriteriaForJob.member = Shapes::ShapeRef.new(shape: CriteriaForJob)
1660
1893
 
1661
1894
  __listOfCustomDataIdentifierSummary.member = Shapes::ShapeRef.new(shape: CustomDataIdentifierSummary)
1662
1895
 
1663
1896
  __listOfDetectedDataDetails.member = Shapes::ShapeRef.new(shape: DetectedDataDetails)
1664
1897
 
1898
+ __listOfDetection.member = Shapes::ShapeRef.new(shape: Detection)
1899
+
1665
1900
  __listOfFinding.member = Shapes::ShapeRef.new(shape: Finding)
1666
1901
 
1667
1902
  __listOfFindingType.member = Shapes::ShapeRef.new(shape: FindingType)
@@ -1686,12 +1921,20 @@ module Aws::Macie2
1686
1921
 
1687
1922
  __listOfMember.member = Shapes::ShapeRef.new(shape: Member)
1688
1923
 
1924
+ __listOfResourceProfileArtifact.member = Shapes::ShapeRef.new(shape: ResourceProfileArtifact)
1925
+
1689
1926
  __listOfS3BucketDefinitionForJob.member = Shapes::ShapeRef.new(shape: S3BucketDefinitionForJob)
1690
1927
 
1928
+ __listOfS3BucketName.member = Shapes::ShapeRef.new(shape: S3BucketName)
1929
+
1691
1930
  __listOfSearchResourcesCriteria.member = Shapes::ShapeRef.new(shape: SearchResourcesCriteria)
1692
1931
 
1693
1932
  __listOfSearchResourcesTagCriterionPair.member = Shapes::ShapeRef.new(shape: SearchResourcesTagCriterionPair)
1694
1933
 
1934
+ __listOfSensitivityInspectionTemplatesEntry.member = Shapes::ShapeRef.new(shape: SensitivityInspectionTemplatesEntry)
1935
+
1936
+ __listOfSuppressDataIdentifier.member = Shapes::ShapeRef.new(shape: SuppressDataIdentifier)
1937
+
1695
1938
  __listOfTagCriterionPairForJob.member = Shapes::ShapeRef.new(shape: TagCriterionPairForJob)
1696
1939
 
1697
1940
  __listOfTagValuePair.member = Shapes::ShapeRef.new(shape: TagValuePair)
@@ -2135,6 +2378,18 @@ module Aws::Macie2
2135
2378
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2136
2379
  end)
2137
2380
 
2381
+ api.add_operation(:get_automated_discovery_configuration, Seahorse::Model::Operation.new.tap do |o|
2382
+ o.name = "GetAutomatedDiscoveryConfiguration"
2383
+ o.http_method = "GET"
2384
+ o.http_request_uri = "/automated-discovery/configuration"
2385
+ o.input = Shapes::ShapeRef.new(shape: GetAutomatedDiscoveryConfigurationRequest)
2386
+ o.output = Shapes::ShapeRef.new(shape: GetAutomatedDiscoveryConfigurationResponse)
2387
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2388
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2389
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2390
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2391
+ end)
2392
+
2138
2393
  api.add_operation(:get_bucket_statistics, Seahorse::Model::Operation.new.tap do |o|
2139
2394
  o.name = "GetBucketStatistics"
2140
2395
  o.http_method = "POST"
@@ -2165,6 +2420,19 @@ module Aws::Macie2
2165
2420
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2166
2421
  end)
2167
2422
 
2423
+ api.add_operation(:get_classification_scope, Seahorse::Model::Operation.new.tap do |o|
2424
+ o.name = "GetClassificationScope"
2425
+ o.http_method = "GET"
2426
+ o.http_request_uri = "/classification-scopes/{id}"
2427
+ o.input = Shapes::ShapeRef.new(shape: GetClassificationScopeRequest)
2428
+ o.output = Shapes::ShapeRef.new(shape: GetClassificationScopeResponse)
2429
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2430
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2431
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2432
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2433
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2434
+ end)
2435
+
2168
2436
  api.add_operation(:get_custom_data_identifier, Seahorse::Model::Operation.new.tap do |o|
2169
2437
  o.name = "GetCustomDataIdentifier"
2170
2438
  o.http_method = "GET"
@@ -2300,6 +2568,20 @@ module Aws::Macie2
2300
2568
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2301
2569
  end)
2302
2570
 
2571
+ api.add_operation(:get_resource_profile, Seahorse::Model::Operation.new.tap do |o|
2572
+ o.name = "GetResourceProfile"
2573
+ o.http_method = "GET"
2574
+ o.http_request_uri = "/resource-profiles"
2575
+ o.input = Shapes::ShapeRef.new(shape: GetResourceProfileRequest)
2576
+ o.output = Shapes::ShapeRef.new(shape: GetResourceProfileResponse)
2577
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2578
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2579
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2580
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2581
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2582
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2583
+ end)
2584
+
2303
2585
  api.add_operation(:get_reveal_configuration, Seahorse::Model::Operation.new.tap do |o|
2304
2586
  o.name = "GetRevealConfiguration"
2305
2587
  o.http_method = "GET"
@@ -2338,6 +2620,19 @@ module Aws::Macie2
2338
2620
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2339
2621
  end)
2340
2622
 
2623
+ api.add_operation(:get_sensitivity_inspection_template, Seahorse::Model::Operation.new.tap do |o|
2624
+ o.name = "GetSensitivityInspectionTemplate"
2625
+ o.http_method = "GET"
2626
+ o.http_request_uri = "/templates/sensitivity-inspections/{id}"
2627
+ o.input = Shapes::ShapeRef.new(shape: GetSensitivityInspectionTemplateRequest)
2628
+ o.output = Shapes::ShapeRef.new(shape: GetSensitivityInspectionTemplateResponse)
2629
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2630
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2631
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2632
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2633
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2634
+ end)
2635
+
2341
2636
  api.add_operation(:get_usage_statistics, Seahorse::Model::Operation.new.tap do |o|
2342
2637
  o.name = "GetUsageStatistics"
2343
2638
  o.http_method = "POST"
@@ -2384,6 +2679,12 @@ module Aws::Macie2
2384
2679
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2385
2680
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2386
2681
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2682
+ o[:pager] = Aws::Pager.new(
2683
+ limit_key: "max_results",
2684
+ tokens: {
2685
+ "next_token" => "next_token"
2686
+ }
2687
+ )
2387
2688
  end)
2388
2689
 
2389
2690
  api.add_operation(:list_classification_jobs, Seahorse::Model::Operation.new.tap do |o|
@@ -2407,6 +2708,23 @@ module Aws::Macie2
2407
2708
  )
2408
2709
  end)
2409
2710
 
2711
+ api.add_operation(:list_classification_scopes, Seahorse::Model::Operation.new.tap do |o|
2712
+ o.name = "ListClassificationScopes"
2713
+ o.http_method = "GET"
2714
+ o.http_request_uri = "/classification-scopes"
2715
+ o.input = Shapes::ShapeRef.new(shape: ListClassificationScopesRequest)
2716
+ o.output = Shapes::ShapeRef.new(shape: ListClassificationScopesResponse)
2717
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2718
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2719
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2720
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2721
+ o[:pager] = Aws::Pager.new(
2722
+ tokens: {
2723
+ "next_token" => "next_token"
2724
+ }
2725
+ )
2726
+ end)
2727
+
2410
2728
  api.add_operation(:list_custom_data_identifiers, Seahorse::Model::Operation.new.tap do |o|
2411
2729
  o.name = "ListCustomDataIdentifiers"
2412
2730
  o.http_method = "POST"
@@ -2497,6 +2815,11 @@ module Aws::Macie2
2497
2815
  o.http_request_uri = "/managed-data-identifiers/list"
2498
2816
  o.input = Shapes::ShapeRef.new(shape: ListManagedDataIdentifiersRequest)
2499
2817
  o.output = Shapes::ShapeRef.new(shape: ListManagedDataIdentifiersResponse)
2818
+ o[:pager] = Aws::Pager.new(
2819
+ tokens: {
2820
+ "next_token" => "next_token"
2821
+ }
2822
+ )
2500
2823
  end)
2501
2824
 
2502
2825
  api.add_operation(:list_members, Seahorse::Model::Operation.new.tap do |o|
@@ -2541,6 +2864,63 @@ module Aws::Macie2
2541
2864
  )
2542
2865
  end)
2543
2866
 
2867
+ api.add_operation(:list_resource_profile_artifacts, Seahorse::Model::Operation.new.tap do |o|
2868
+ o.name = "ListResourceProfileArtifacts"
2869
+ o.http_method = "GET"
2870
+ o.http_request_uri = "/resource-profiles/artifacts"
2871
+ o.input = Shapes::ShapeRef.new(shape: ListResourceProfileArtifactsRequest)
2872
+ o.output = Shapes::ShapeRef.new(shape: ListResourceProfileArtifactsResponse)
2873
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2874
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2875
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2876
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2877
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2878
+ o[:pager] = Aws::Pager.new(
2879
+ tokens: {
2880
+ "next_token" => "next_token"
2881
+ }
2882
+ )
2883
+ end)
2884
+
2885
+ api.add_operation(:list_resource_profile_detections, Seahorse::Model::Operation.new.tap do |o|
2886
+ o.name = "ListResourceProfileDetections"
2887
+ o.http_method = "GET"
2888
+ o.http_request_uri = "/resource-profiles/detections"
2889
+ o.input = Shapes::ShapeRef.new(shape: ListResourceProfileDetectionsRequest)
2890
+ o.output = Shapes::ShapeRef.new(shape: ListResourceProfileDetectionsResponse)
2891
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2892
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2893
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2894
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2895
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2896
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2897
+ o[:pager] = Aws::Pager.new(
2898
+ limit_key: "max_results",
2899
+ tokens: {
2900
+ "next_token" => "next_token"
2901
+ }
2902
+ )
2903
+ end)
2904
+
2905
+ api.add_operation(:list_sensitivity_inspection_templates, Seahorse::Model::Operation.new.tap do |o|
2906
+ o.name = "ListSensitivityInspectionTemplates"
2907
+ o.http_method = "GET"
2908
+ o.http_request_uri = "/templates/sensitivity-inspections"
2909
+ o.input = Shapes::ShapeRef.new(shape: ListSensitivityInspectionTemplatesRequest)
2910
+ o.output = Shapes::ShapeRef.new(shape: ListSensitivityInspectionTemplatesResponse)
2911
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2912
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2913
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2914
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2915
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2916
+ o[:pager] = Aws::Pager.new(
2917
+ limit_key: "max_results",
2918
+ tokens: {
2919
+ "next_token" => "next_token"
2920
+ }
2921
+ )
2922
+ end)
2923
+
2544
2924
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
2545
2925
  o.name = "ListTagsForResource"
2546
2926
  o.http_method = "GET"
@@ -2644,6 +3024,18 @@ module Aws::Macie2
2644
3024
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2645
3025
  end)
2646
3026
 
3027
+ api.add_operation(:update_automated_discovery_configuration, Seahorse::Model::Operation.new.tap do |o|
3028
+ o.name = "UpdateAutomatedDiscoveryConfiguration"
3029
+ o.http_method = "PUT"
3030
+ o.http_request_uri = "/automated-discovery/configuration"
3031
+ o.input = Shapes::ShapeRef.new(shape: UpdateAutomatedDiscoveryConfigurationRequest)
3032
+ o.output = Shapes::ShapeRef.new(shape: UpdateAutomatedDiscoveryConfigurationResponse)
3033
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3034
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3035
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3036
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3037
+ end)
3038
+
2647
3039
  api.add_operation(:update_classification_job, Seahorse::Model::Operation.new.tap do |o|
2648
3040
  o.name = "UpdateClassificationJob"
2649
3041
  o.http_method = "PATCH"
@@ -2659,6 +3051,19 @@ module Aws::Macie2
2659
3051
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2660
3052
  end)
2661
3053
 
3054
+ api.add_operation(:update_classification_scope, Seahorse::Model::Operation.new.tap do |o|
3055
+ o.name = "UpdateClassificationScope"
3056
+ o.http_method = "PATCH"
3057
+ o.http_request_uri = "/classification-scopes/{id}"
3058
+ o.input = Shapes::ShapeRef.new(shape: UpdateClassificationScopeRequest)
3059
+ o.output = Shapes::ShapeRef.new(shape: UpdateClassificationScopeResponse)
3060
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3061
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3062
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3063
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3064
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3065
+ end)
3066
+
2662
3067
  api.add_operation(:update_findings_filter, Seahorse::Model::Operation.new.tap do |o|
2663
3068
  o.name = "UpdateFindingsFilter"
2664
3069
  o.http_method = "PATCH"
@@ -2719,6 +3124,34 @@ module Aws::Macie2
2719
3124
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2720
3125
  end)
2721
3126
 
3127
+ api.add_operation(:update_resource_profile, Seahorse::Model::Operation.new.tap do |o|
3128
+ o.name = "UpdateResourceProfile"
3129
+ o.http_method = "PATCH"
3130
+ o.http_request_uri = "/resource-profiles"
3131
+ o.input = Shapes::ShapeRef.new(shape: UpdateResourceProfileRequest)
3132
+ o.output = Shapes::ShapeRef.new(shape: UpdateResourceProfileResponse)
3133
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3134
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3135
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3136
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3137
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3138
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3139
+ end)
3140
+
3141
+ api.add_operation(:update_resource_profile_detections, Seahorse::Model::Operation.new.tap do |o|
3142
+ o.name = "UpdateResourceProfileDetections"
3143
+ o.http_method = "PATCH"
3144
+ o.http_request_uri = "/resource-profiles/detections"
3145
+ o.input = Shapes::ShapeRef.new(shape: UpdateResourceProfileDetectionsRequest)
3146
+ o.output = Shapes::ShapeRef.new(shape: UpdateResourceProfileDetectionsResponse)
3147
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3148
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3149
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3150
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3151
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3152
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3153
+ end)
3154
+
2722
3155
  api.add_operation(:update_reveal_configuration, Seahorse::Model::Operation.new.tap do |o|
2723
3156
  o.name = "UpdateRevealConfiguration"
2724
3157
  o.http_method = "PUT"
@@ -2730,6 +3163,19 @@ module Aws::Macie2
2730
3163
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2731
3164
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2732
3165
  end)
3166
+
3167
+ api.add_operation(:update_sensitivity_inspection_template, Seahorse::Model::Operation.new.tap do |o|
3168
+ o.name = "UpdateSensitivityInspectionTemplate"
3169
+ o.http_method = "PUT"
3170
+ o.http_request_uri = "/templates/sensitivity-inspections/{id}"
3171
+ o.input = Shapes::ShapeRef.new(shape: UpdateSensitivityInspectionTemplateRequest)
3172
+ o.output = Shapes::ShapeRef.new(shape: UpdateSensitivityInspectionTemplateResponse)
3173
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3174
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3175
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3176
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3177
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3178
+ end)
2733
3179
  end
2734
3180
 
2735
3181
  end