Skip to content

Commit be0ee92

Browse files
Add support for generating match IDs in near real-time.
1 parent 3664c3f commit be0ee92

28 files changed

+2275
-50
lines changed

generator/ServiceModels/entityresolution/entityresolution-2018-05-10.api.json

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,23 @@
211211
],
212212
"idempotent":true
213213
},
214+
"GenerateMatchId":{
215+
"name":"GenerateMatchId",
216+
"http":{
217+
"method":"POST",
218+
"requestUri":"/matchingworkflows/{workflowName}/generateMatches",
219+
"responseCode":200
220+
},
221+
"input":{"shape":"GenerateMatchIdInput"},
222+
"output":{"shape":"GenerateMatchIdOutput"},
223+
"errors":[
224+
{"shape":"ThrottlingException"},
225+
{"shape":"InternalServerException"},
226+
{"shape":"ResourceNotFoundException"},
227+
{"shape":"AccessDeniedException"},
228+
{"shape":"ValidationException"}
229+
]
230+
},
214231
"GetIdMappingJob":{
215232
"name":"GetIdMappingJob",
216233
"http":{
@@ -1121,6 +1138,60 @@
11211138
},
11221139
"exception":true
11231140
},
1141+
"FailedRecord":{
1142+
"type":"structure",
1143+
"required":[
1144+
"inputSourceARN",
1145+
"uniqueId",
1146+
"errorMessage"
1147+
],
1148+
"members":{
1149+
"inputSourceARN":{"shape":"FailedRecordInputSourceARNString"},
1150+
"uniqueId":{"shape":"String"},
1151+
"errorMessage":{"shape":"ErrorMessage"}
1152+
}
1153+
},
1154+
"FailedRecordInputSourceARNString":{
1155+
"type":"string",
1156+
"pattern":"arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(idnamespace/[a-zA-Z_0-9-]{1,255})$|^arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(matchingworkflow/[a-zA-Z_0-9-]{1,255})$|^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})"
1157+
},
1158+
"FailedRecordsList":{
1159+
"type":"list",
1160+
"member":{"shape":"FailedRecord"}
1161+
},
1162+
"GenerateMatchIdInput":{
1163+
"type":"structure",
1164+
"required":[
1165+
"workflowName",
1166+
"records"
1167+
],
1168+
"members":{
1169+
"workflowName":{
1170+
"shape":"EntityName",
1171+
"location":"uri",
1172+
"locationName":"workflowName"
1173+
},
1174+
"records":{"shape":"GenerateMatchIdInputRecordsList"},
1175+
"processingType":{"shape":"ProcessingType"}
1176+
}
1177+
},
1178+
"GenerateMatchIdInputRecordsList":{
1179+
"type":"list",
1180+
"member":{"shape":"Record"},
1181+
"max":1,
1182+
"min":1
1183+
},
1184+
"GenerateMatchIdOutput":{
1185+
"type":"structure",
1186+
"required":[
1187+
"matchGroups",
1188+
"failedRecords"
1189+
],
1190+
"members":{
1191+
"matchGroups":{"shape":"MatchGroupsList"},
1192+
"failedRecords":{"shape":"FailedRecordsList"}
1193+
}
1194+
},
11241195
"GetIdMappingJobInput":{
11251196
"type":"structure",
11261197
"required":[
@@ -1989,13 +2060,49 @@
19892060
"tags":{"shape":"TagMap"}
19902061
}
19912062
},
2063+
"MatchGroup":{
2064+
"type":"structure",
2065+
"required":[
2066+
"records",
2067+
"matchId",
2068+
"matchRule"
2069+
],
2070+
"members":{
2071+
"records":{"shape":"MatchedRecordsList"},
2072+
"matchId":{"shape":"String"},
2073+
"matchRule":{"shape":"String"}
2074+
}
2075+
},
2076+
"MatchGroupsList":{
2077+
"type":"list",
2078+
"member":{"shape":"MatchGroup"}
2079+
},
19922080
"MatchPurpose":{
19932081
"type":"string",
19942082
"enum":[
19952083
"IDENTIFIER_GENERATION",
19962084
"INDEXING"
19972085
]
19982086
},
2087+
"MatchedRecord":{
2088+
"type":"structure",
2089+
"required":[
2090+
"inputSourceARN",
2091+
"recordId"
2092+
],
2093+
"members":{
2094+
"inputSourceARN":{"shape":"MatchedRecordInputSourceARNString"},
2095+
"recordId":{"shape":"String"}
2096+
}
2097+
},
2098+
"MatchedRecordInputSourceARNString":{
2099+
"type":"string",
2100+
"pattern":"arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(idnamespace/[a-zA-Z_0-9-]{1,255})$|^arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(matchingworkflow/[a-zA-Z_0-9-]{1,255})$|^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})"
2101+
},
2102+
"MatchedRecordsList":{
2103+
"type":"list",
2104+
"member":{"shape":"MatchedRecord"}
2105+
},
19992106
"MatchingWorkflowArn":{
20002107
"type":"string",
20012108
"pattern":"arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(matchingworkflow/[a-zA-Z_0-9-]{1,255})"
@@ -2094,6 +2201,14 @@
20942201
"min":36,
20952202
"pattern":"[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"
20962203
},
2204+
"ProcessingType":{
2205+
"type":"string",
2206+
"enum":[
2207+
"CONSISTENT",
2208+
"EVENTUAL",
2209+
"EVENTUAL_NO_LOOKUP"
2210+
]
2211+
},
20972212
"ProviderComponentSchema":{
20982213
"type":"structure",
20992214
"members":{
@@ -2224,6 +2339,19 @@
22242339
"policy":{"shape":"PolicyDocument"}
22252340
}
22262341
},
2342+
"Record":{
2343+
"type":"structure",
2344+
"required":[
2345+
"inputSourceARN",
2346+
"uniqueId",
2347+
"recordAttributeMap"
2348+
],
2349+
"members":{
2350+
"inputSourceARN":{"shape":"RecordInputSourceARNString"},
2351+
"uniqueId":{"shape":"UniqueId"},
2352+
"recordAttributeMap":{"shape":"RecordAttributeMapString255"}
2353+
}
2354+
},
22272355
"RecordAttributeMap":{
22282356
"type":"map",
22292357
"key":{"shape":"RecordAttributeMapKeyString"},
@@ -2236,12 +2364,32 @@
22362364
"min":0,
22372365
"pattern":"[a-zA-Z_0-9- \\t]*"
22382366
},
2367+
"RecordAttributeMapString255":{
2368+
"type":"map",
2369+
"key":{"shape":"RecordAttributeMapString255KeyString"},
2370+
"value":{"shape":"RecordAttributeMapString255ValueString"},
2371+
"sensitive":true
2372+
},
2373+
"RecordAttributeMapString255KeyString":{
2374+
"type":"string",
2375+
"max":255,
2376+
"min":0
2377+
},
2378+
"RecordAttributeMapString255ValueString":{
2379+
"type":"string",
2380+
"max":255,
2381+
"min":0
2382+
},
22392383
"RecordAttributeMapValueString":{
22402384
"type":"string",
22412385
"max":255,
22422386
"min":0,
22432387
"pattern":"[a-zA-Z_0-9-./@ ()+\\t]*"
22442388
},
2389+
"RecordInputSourceARNString":{
2390+
"type":"string",
2391+
"pattern":"arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(idnamespace/[a-zA-Z_0-9-]{1,255})$|^arn:(aws|aws-us-gov|aws-cn):entityresolution:[a-z]{2}-[a-z]{1,10}-[0-9]:[0-9]{12}:(matchingworkflow/[a-zA-Z_0-9-]{1,255})$|^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})"
2392+
},
22452393
"RecordMatchingModel":{
22462394
"type":"string",
22472395
"enum":[
@@ -2562,6 +2710,12 @@
25622710
"retryable":{"throttling":true}
25632711
},
25642712
"Timestamp":{"type":"timestamp"},
2713+
"UniqueId":{
2714+
"type":"string",
2715+
"max":38,
2716+
"min":1,
2717+
"pattern":"[a-zA-Z0-9_-]*"
2718+
},
25652719
"UniqueIdList":{
25662720
"type":"list",
25672721
"member":{"shape":"HeaderSafeUniqueId"}

0 commit comments

Comments
 (0)