Skip to content

Commit 0c54699

Browse files
author
AWS
committed
AWS EntityResolution Update: Support Batch Unique IDs Deletion.
1 parent b7ab2c1 commit 0c54699

File tree

2 files changed

+147
-2
lines changed

2 files changed

+147
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS EntityResolution",
4+
"contributor": "",
5+
"description": "Support Batch Unique IDs Deletion."
6+
}

services/entityresolution/src/main/resources/codegen-resources/service-2.json

Lines changed: 141 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@
3333
"documentation":"<p>Adds a policy statement object. To retrieve a list of existing policy statements, use the <code>GetPolicy</code> API.</p>",
3434
"idempotent":true
3535
},
36+
"BatchDeleteUniqueId":{
37+
"name":"BatchDeleteUniqueId",
38+
"http":{
39+
"method":"DELETE",
40+
"requestUri":"/matchingworkflows/{workflowName}/uniqueids",
41+
"responseCode":200
42+
},
43+
"input":{"shape":"BatchDeleteUniqueIdInput"},
44+
"output":{"shape":"BatchDeleteUniqueIdOutput"},
45+
"errors":[
46+
{"shape":"InternalServerException"},
47+
{"shape":"ResourceNotFoundException"},
48+
{"shape":"ValidationException"}
49+
],
50+
"documentation":"<p>Deletes multiple unique IDs in a matching workflow.</p>"
51+
},
3652
"CreateIdMappingWorkflow":{
3753
"name":"CreateIdMappingWorkflow",
3854
"http":{
@@ -768,6 +784,64 @@
768784
"type":"list",
769785
"member":{"shape":"AwsAccountId"}
770786
},
787+
"BatchDeleteUniqueIdInput":{
788+
"type":"structure",
789+
"required":[
790+
"uniqueIds",
791+
"workflowName"
792+
],
793+
"members":{
794+
"inputSource":{
795+
"shape":"BatchDeleteUniqueIdInputInputSourceString",
796+
"documentation":"<p>The input source for the batch delete unique ID operation.</p>",
797+
"location":"header",
798+
"locationName":"inputSource"
799+
},
800+
"uniqueIds":{
801+
"shape":"UniqueIdList",
802+
"documentation":"<p>The unique IDs to delete.</p>",
803+
"location":"header",
804+
"locationName":"uniqueIds"
805+
},
806+
"workflowName":{
807+
"shape":"EntityName",
808+
"documentation":"<p>The name of the workflow.</p>",
809+
"location":"uri",
810+
"locationName":"workflowName"
811+
}
812+
}
813+
},
814+
"BatchDeleteUniqueIdInputInputSourceString":{
815+
"type":"string",
816+
"pattern":"^arn:(aws|aws-us-gov|aws-cn):glue:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(table/[a-zA-Z_0-9-]{1,255}/[a-zA-Z_0-9-]{1,255})$"
817+
},
818+
"BatchDeleteUniqueIdOutput":{
819+
"type":"structure",
820+
"required":[
821+
"deleted",
822+
"disconnectedUniqueIds",
823+
"errors",
824+
"status"
825+
],
826+
"members":{
827+
"deleted":{
828+
"shape":"DeletedUniqueIdList",
829+
"documentation":"<p>The unique IDs that were deleted.</p>"
830+
},
831+
"disconnectedUniqueIds":{
832+
"shape":"DisconnectedUniqueIdsList",
833+
"documentation":"<p>The unique IDs that were disconnected.</p>"
834+
},
835+
"errors":{
836+
"shape":"DeleteUniqueIdErrorsList",
837+
"documentation":"<p> The errors from deleting multiple unique IDs.</p>"
838+
},
839+
"status":{
840+
"shape":"DeleteUniqueIdStatus",
841+
"documentation":"<p>The status of the batch delete unique ID operation.</p>"
842+
}
843+
}
844+
},
771845
"Boolean":{
772846
"type":"boolean",
773847
"box":true
@@ -1223,11 +1297,66 @@
12231297
}
12241298
}
12251299
},
1300+
"DeleteUniqueIdError":{
1301+
"type":"structure",
1302+
"required":[
1303+
"errorType",
1304+
"uniqueId"
1305+
],
1306+
"members":{
1307+
"errorType":{
1308+
"shape":"DeleteUniqueIdErrorType",
1309+
"documentation":"<p> The error type for the batch delete unique ID operation.</p>"
1310+
},
1311+
"uniqueId":{
1312+
"shape":"UniqueId",
1313+
"documentation":"<p>The unique ID that could not be deleted.</p>"
1314+
}
1315+
},
1316+
"documentation":"<p>The Delete Unique Id error.</p>"
1317+
},
1318+
"DeleteUniqueIdErrorType":{
1319+
"type":"string",
1320+
"enum":[
1321+
"SERVICE_ERROR",
1322+
"VALIDATION_ERROR"
1323+
]
1324+
},
1325+
"DeleteUniqueIdErrorsList":{
1326+
"type":"list",
1327+
"member":{"shape":"DeleteUniqueIdError"}
1328+
},
1329+
"DeleteUniqueIdStatus":{
1330+
"type":"string",
1331+
"enum":[
1332+
"COMPLETED",
1333+
"ACCEPTED"
1334+
]
1335+
},
1336+
"DeletedUniqueId":{
1337+
"type":"structure",
1338+
"required":["uniqueId"],
1339+
"members":{
1340+
"uniqueId":{
1341+
"shape":"UniqueId",
1342+
"documentation":"<p> The unique ID of the deleted item.</p>"
1343+
}
1344+
},
1345+
"documentation":"<p>The deleted unique ID.</p>"
1346+
},
1347+
"DeletedUniqueIdList":{
1348+
"type":"list",
1349+
"member":{"shape":"DeletedUniqueId"}
1350+
},
12261351
"Description":{
12271352
"type":"string",
12281353
"max":255,
12291354
"min":0
12301355
},
1356+
"DisconnectedUniqueIdsList":{
1357+
"type":"list",
1358+
"member":{"shape":"UniqueId"}
1359+
},
12311360
"Document":{
12321361
"type":"structure",
12331362
"members":{
@@ -2890,7 +3019,7 @@
28903019
"type":"string",
28913020
"max":255,
28923021
"min":0,
2893-
"pattern":"^[a-zA-Z_0-9-.@ ()+\\t]*$"
3022+
"pattern":"^[a-zA-Z_0-9-./@ ()+\\t]*$"
28943023
},
28953024
"RequiredBucketActionsList":{
28963025
"type":"list",
@@ -2980,7 +3109,7 @@
29803109
"RuleBasedPropertiesRulesList":{
29813110
"type":"list",
29823111
"member":{"shape":"Rule"},
2983-
"max":15,
3112+
"max":25,
29843113
"min":1
29853114
},
29863115
"RuleMatchingKeysList":{
@@ -3272,6 +3401,16 @@
32723401
"retryable":{"throttling":true}
32733402
},
32743403
"Timestamp":{"type":"timestamp"},
3404+
"UniqueId":{
3405+
"type":"string",
3406+
"max":760,
3407+
"min":1,
3408+
"pattern":"^[a-zA-Z_0-9-,]*$"
3409+
},
3410+
"UniqueIdList":{
3411+
"type":"list",
3412+
"member":{"shape":"UniqueId"}
3413+
},
32753414
"UntagResourceInput":{
32763415
"type":"structure",
32773416
"required":[

0 commit comments

Comments
 (0)