aws-sdk-macie2 1.46.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +244 -34
- data/lib/aws-sdk-macie2/client_api.rb +161 -0
- data/lib/aws-sdk-macie2/types.rb +444 -71
- data/lib/aws-sdk-macie2.rb +1 -1
- metadata +2 -2
@@ -21,6 +21,10 @@ 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')
|
@@ -52,6 +56,8 @@ module Aws::Macie2
|
|
52
56
|
ClassificationResult = Shapes::StructureShape.new(name: 'ClassificationResult')
|
53
57
|
ClassificationResultStatus = Shapes::StructureShape.new(name: 'ClassificationResultStatus')
|
54
58
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
59
|
+
CreateAllowListRequest = Shapes::StructureShape.new(name: 'CreateAllowListRequest')
|
60
|
+
CreateAllowListResponse = Shapes::StructureShape.new(name: 'CreateAllowListResponse')
|
55
61
|
CreateClassificationJobRequest = Shapes::StructureShape.new(name: 'CreateClassificationJobRequest')
|
56
62
|
CreateClassificationJobResponse = Shapes::StructureShape.new(name: 'CreateClassificationJobResponse')
|
57
63
|
CreateCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'CreateCustomDataIdentifierRequest')
|
@@ -80,6 +86,8 @@ module Aws::Macie2
|
|
80
86
|
DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
|
81
87
|
DefaultDetection = Shapes::StructureShape.new(name: 'DefaultDetection')
|
82
88
|
DefaultDetections = Shapes::ListShape.new(name: 'DefaultDetections')
|
89
|
+
DeleteAllowListRequest = Shapes::StructureShape.new(name: 'DeleteAllowListRequest')
|
90
|
+
DeleteAllowListResponse = Shapes::StructureShape.new(name: 'DeleteAllowListResponse')
|
83
91
|
DeleteCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'DeleteCustomDataIdentifierRequest')
|
84
92
|
DeleteCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'DeleteCustomDataIdentifierResponse')
|
85
93
|
DeleteFindingsFilterRequest = Shapes::StructureShape.new(name: 'DeleteFindingsFilterRequest')
|
@@ -129,6 +137,8 @@ module Aws::Macie2
|
|
129
137
|
FindingsFilterListItem = Shapes::StructureShape.new(name: 'FindingsFilterListItem')
|
130
138
|
GetAdministratorAccountRequest = Shapes::StructureShape.new(name: 'GetAdministratorAccountRequest')
|
131
139
|
GetAdministratorAccountResponse = Shapes::StructureShape.new(name: 'GetAdministratorAccountResponse')
|
140
|
+
GetAllowListRequest = Shapes::StructureShape.new(name: 'GetAllowListRequest')
|
141
|
+
GetAllowListResponse = Shapes::StructureShape.new(name: 'GetAllowListResponse')
|
132
142
|
GetBucketStatisticsRequest = Shapes::StructureShape.new(name: 'GetBucketStatisticsRequest')
|
133
143
|
GetBucketStatisticsResponse = Shapes::StructureShape.new(name: 'GetBucketStatisticsResponse')
|
134
144
|
GetClassificationExportConfigurationRequest = Shapes::StructureShape.new(name: 'GetClassificationExportConfigurationRequest')
|
@@ -185,6 +195,8 @@ module Aws::Macie2
|
|
185
195
|
KeyValuePairList = Shapes::ListShape.new(name: 'KeyValuePairList')
|
186
196
|
LastRunErrorStatus = Shapes::StructureShape.new(name: 'LastRunErrorStatus')
|
187
197
|
LastRunErrorStatusCode = Shapes::StringShape.new(name: 'LastRunErrorStatusCode')
|
198
|
+
ListAllowListsRequest = Shapes::StructureShape.new(name: 'ListAllowListsRequest')
|
199
|
+
ListAllowListsResponse = Shapes::StructureShape.new(name: 'ListAllowListsResponse')
|
188
200
|
ListClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListClassificationJobsRequest')
|
189
201
|
ListClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListClassificationJobsResponse')
|
190
202
|
ListCustomDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersRequest')
|
@@ -246,6 +258,7 @@ module Aws::Macie2
|
|
246
258
|
S3Destination = Shapes::StructureShape.new(name: 'S3Destination')
|
247
259
|
S3JobDefinition = Shapes::StructureShape.new(name: 'S3JobDefinition')
|
248
260
|
S3Object = Shapes::StructureShape.new(name: 'S3Object')
|
261
|
+
S3WordsList = Shapes::StructureShape.new(name: 'S3WordsList')
|
249
262
|
ScopeFilterKey = Shapes::StringShape.new(name: 'ScopeFilterKey')
|
250
263
|
Scoping = Shapes::StructureShape.new(name: 'Scoping')
|
251
264
|
SearchResourcesBucketCriteria = Shapes::StructureShape.new(name: 'SearchResourcesBucketCriteria')
|
@@ -301,6 +314,8 @@ module Aws::Macie2
|
|
301
314
|
UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
|
302
315
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
303
316
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
317
|
+
UpdateAllowListRequest = Shapes::StructureShape.new(name: 'UpdateAllowListRequest')
|
318
|
+
UpdateAllowListResponse = Shapes::StructureShape.new(name: 'UpdateAllowListResponse')
|
304
319
|
UpdateClassificationJobRequest = Shapes::StructureShape.new(name: 'UpdateClassificationJobRequest')
|
305
320
|
UpdateClassificationJobResponse = Shapes::StructureShape.new(name: 'UpdateClassificationJobResponse')
|
306
321
|
UpdateFindingsFilterRequest = Shapes::StructureShape.new(name: 'UpdateFindingsFilterRequest')
|
@@ -332,6 +347,7 @@ module Aws::Macie2
|
|
332
347
|
__double = Shapes::FloatShape.new(name: '__double')
|
333
348
|
__integer = Shapes::IntegerShape.new(name: '__integer')
|
334
349
|
__listOfAdminAccount = Shapes::ListShape.new(name: '__listOfAdminAccount')
|
350
|
+
__listOfAllowListSummary = Shapes::ListShape.new(name: '__listOfAllowListSummary')
|
335
351
|
__listOfBatchGetCustomDataIdentifierSummary = Shapes::ListShape.new(name: '__listOfBatchGetCustomDataIdentifierSummary')
|
336
352
|
__listOfBucketMetadata = Shapes::ListShape.new(name: '__listOfBucketMetadata')
|
337
353
|
__listOfCriteriaForJob = Shapes::ListShape.new(name: '__listOfCriteriaForJob')
|
@@ -363,8 +379,14 @@ module Aws::Macie2
|
|
363
379
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
364
380
|
__long = Shapes::IntegerShape.new(name: '__long')
|
365
381
|
__string = Shapes::StringShape.new(name: '__string')
|
382
|
+
__stringMin1Max1024PatternSS = Shapes::StringShape.new(name: '__stringMin1Max1024PatternSS')
|
366
383
|
__stringMin1Max128 = Shapes::StringShape.new(name: '__stringMin1Max128')
|
384
|
+
__stringMin1Max128Pattern = Shapes::StringShape.new(name: '__stringMin1Max128Pattern')
|
367
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')
|
368
390
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
369
391
|
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
370
392
|
|
@@ -393,6 +415,22 @@ module Aws::Macie2
|
|
393
415
|
AdminAccount.add_member(:status, Shapes::ShapeRef.new(shape: AdminStatus, location_name: "status"))
|
394
416
|
AdminAccount.struct_class = Types::AdminAccount
|
395
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
|
+
|
396
434
|
ApiCallDetails.add_member(:api, Shapes::ShapeRef.new(shape: __string, location_name: "api"))
|
397
435
|
ApiCallDetails.add_member(:api_service_name, Shapes::ShapeRef.new(shape: __string, location_name: "apiServiceName"))
|
398
436
|
ApiCallDetails.add_member(:first_seen, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "firstSeen"))
|
@@ -553,6 +591,18 @@ module Aws::Macie2
|
|
553
591
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
554
592
|
ConflictException.struct_class = Types::ConflictException
|
555
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"))
|
556
606
|
CreateClassificationJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
557
607
|
CreateClassificationJobRequest.add_member(:custom_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "customDataIdentifierIds"))
|
558
608
|
CreateClassificationJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: __string, location_name: "description"))
|
@@ -671,6 +721,12 @@ module Aws::Macie2
|
|
671
721
|
|
672
722
|
DefaultDetections.member = Shapes::ShapeRef.new(shape: DefaultDetection)
|
673
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
|
+
|
674
730
|
DeleteCustomDataIdentifierRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
|
675
731
|
DeleteCustomDataIdentifierRequest.struct_class = Types::DeleteCustomDataIdentifierRequest
|
676
732
|
|
@@ -705,6 +761,7 @@ module Aws::Macie2
|
|
705
761
|
DescribeClassificationJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "jobId"))
|
706
762
|
DescribeClassificationJobRequest.struct_class = Types::DescribeClassificationJobRequest
|
707
763
|
|
764
|
+
DescribeClassificationJobResponse.add_member(:allow_list_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "allowListIds"))
|
708
765
|
DescribeClassificationJobResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
709
766
|
DescribeClassificationJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdAt"))
|
710
767
|
DescribeClassificationJobResponse.add_member(:custom_data_identifier_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "customDataIdentifierIds"))
|
@@ -831,6 +888,20 @@ module Aws::Macie2
|
|
831
888
|
GetAdministratorAccountResponse.add_member(:administrator, Shapes::ShapeRef.new(shape: Invitation, location_name: "administrator"))
|
832
889
|
GetAdministratorAccountResponse.struct_class = Types::GetAdministratorAccountResponse
|
833
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
|
+
|
834
905
|
GetBucketStatisticsRequest.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
835
906
|
GetBucketStatisticsRequest.struct_class = Types::GetBucketStatisticsRequest
|
836
907
|
|
@@ -1058,6 +1129,14 @@ module Aws::Macie2
|
|
1058
1129
|
LastRunErrorStatus.add_member(:code, Shapes::ShapeRef.new(shape: LastRunErrorStatusCode, location_name: "code"))
|
1059
1130
|
LastRunErrorStatus.struct_class = Types::LastRunErrorStatus
|
1060
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
|
+
|
1061
1140
|
ListClassificationJobsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ListJobsFilterCriteria, location_name: "filterCriteria"))
|
1062
1141
|
ListClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
|
1063
1142
|
ListClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
|
@@ -1298,6 +1377,10 @@ module Aws::Macie2
|
|
1298
1377
|
S3Object.add_member(:version_id, Shapes::ShapeRef.new(shape: __string, location_name: "versionId"))
|
1299
1378
|
S3Object.struct_class = Types::S3Object
|
1300
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
|
+
|
1301
1384
|
Scoping.add_member(:excludes, Shapes::ShapeRef.new(shape: JobScopingBlock, location_name: "excludes"))
|
1302
1385
|
Scoping.add_member(:includes, Shapes::ShapeRef.new(shape: JobScopingBlock, location_name: "includes"))
|
1303
1386
|
Scoping.struct_class = Types::Scoping
|
@@ -1463,6 +1546,16 @@ module Aws::Macie2
|
|
1463
1546
|
|
1464
1547
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1465
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
|
+
|
1466
1559
|
UpdateClassificationJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "jobId"))
|
1467
1560
|
UpdateClassificationJobRequest.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "jobStatus"))
|
1468
1561
|
UpdateClassificationJobRequest.struct_class = Types::UpdateClassificationJobRequest
|
@@ -1557,6 +1650,8 @@ module Aws::Macie2
|
|
1557
1650
|
|
1558
1651
|
__listOfAdminAccount.member = Shapes::ShapeRef.new(shape: AdminAccount)
|
1559
1652
|
|
1653
|
+
__listOfAllowListSummary.member = Shapes::ShapeRef.new(shape: AllowListSummary)
|
1654
|
+
|
1560
1655
|
__listOfBatchGetCustomDataIdentifierSummary.member = Shapes::ShapeRef.new(shape: BatchGetCustomDataIdentifierSummary)
|
1561
1656
|
|
1562
1657
|
__listOfBucketMetadata.member = Shapes::ShapeRef.new(shape: BucketMetadata)
|
@@ -1663,6 +1758,21 @@ module Aws::Macie2
|
|
1663
1758
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1664
1759
|
end)
|
1665
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
|
+
|
1666
1776
|
api.add_operation(:create_classification_job, Seahorse::Model::Operation.new.tap do |o|
|
1667
1777
|
o.name = "CreateClassificationJob"
|
1668
1778
|
o.http_method = "POST"
|
@@ -1768,6 +1878,19 @@ module Aws::Macie2
|
|
1768
1878
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1769
1879
|
end)
|
1770
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
|
+
|
1771
1894
|
api.add_operation(:delete_custom_data_identifier, Seahorse::Model::Operation.new.tap do |o|
|
1772
1895
|
o.name = "DeleteCustomDataIdentifier"
|
1773
1896
|
o.http_method = "DELETE"
|
@@ -1999,6 +2122,19 @@ module Aws::Macie2
|
|
1999
2122
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2000
2123
|
end)
|
2001
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
|
+
|
2002
2138
|
api.add_operation(:get_bucket_statistics, Seahorse::Model::Operation.new.tap do |o|
|
2003
2139
|
o.name = "GetBucketStatistics"
|
2004
2140
|
o.http_method = "POST"
|
@@ -2238,6 +2374,18 @@ module Aws::Macie2
|
|
2238
2374
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2239
2375
|
end)
|
2240
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
|
+
|
2241
2389
|
api.add_operation(:list_classification_jobs, Seahorse::Model::Operation.new.tap do |o|
|
2242
2390
|
o.name = "ListClassificationJobs"
|
2243
2391
|
o.http_method = "POST"
|
@@ -2483,6 +2631,19 @@ module Aws::Macie2
|
|
2483
2631
|
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
2484
2632
|
end)
|
2485
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
|
+
|
2486
2647
|
api.add_operation(:update_classification_job, Seahorse::Model::Operation.new.tap do |o|
|
2487
2648
|
o.name = "UpdateClassificationJob"
|
2488
2649
|
o.http_method = "PATCH"
|