Skip to content

Commit 4e54c7a

Browse files
Add support for creating advanced rule-based matching workflows in AWS Entity Resolution.
1 parent e16812c commit 4e54c7a

File tree

48 files changed

+1118
-405
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1118
-405
lines changed

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

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,8 +1096,7 @@
10961096
},
10971097
"Document":{
10981098
"type":"structure",
1099-
"members":{
1100-
},
1099+
"members":{},
11011100
"document":true
11021101
},
11031102
"EntityName":{
@@ -2411,6 +2410,7 @@
24112410
"members":{
24122411
"resolutionType":{"shape":"ResolutionType"},
24132412
"ruleBasedProperties":{"shape":"RuleBasedProperties"},
2413+
"ruleConditionProperties":{"shape":"RuleConditionProperties"},
24142414
"providerProperties":{"shape":"ProviderProperties"}
24152415
}
24162416
},
@@ -2468,6 +2468,41 @@
24682468
"max":25,
24692469
"min":1
24702470
},
2471+
"RuleCondition":{
2472+
"type":"structure",
2473+
"required":[
2474+
"ruleName",
2475+
"condition"
2476+
],
2477+
"members":{
2478+
"ruleName":{"shape":"RuleConditionRuleNameString"},
2479+
"condition":{"shape":"RuleConditionConditionString"}
2480+
}
2481+
},
2482+
"RuleConditionConditionString":{
2483+
"type":"string",
2484+
"max":2048,
2485+
"min":0
2486+
},
2487+
"RuleConditionProperties":{
2488+
"type":"structure",
2489+
"required":["rules"],
2490+
"members":{
2491+
"rules":{"shape":"RuleConditionPropertiesRulesList"}
2492+
}
2493+
},
2494+
"RuleConditionPropertiesRulesList":{
2495+
"type":"list",
2496+
"member":{"shape":"RuleCondition"},
2497+
"max":25,
2498+
"min":1
2499+
},
2500+
"RuleConditionRuleNameString":{
2501+
"type":"string",
2502+
"max":255,
2503+
"min":0,
2504+
"pattern":"[a-zA-Z_0-9- ]*"
2505+
},
24712506
"RuleMatchingKeysList":{
24722507
"type":"list",
24732508
"member":{"shape":"AttributeName"},
@@ -2689,8 +2724,7 @@
26892724
},
26902725
"TagResourceOutput":{
26912726
"type":"structure",
2692-
"members":{
2693-
}
2727+
"members":{}
26942728
},
26952729
"TagValue":{
26962730
"type":"string",
@@ -2741,8 +2775,7 @@
27412775
},
27422776
"UntagResourceOutput":{
27432777
"type":"structure",
2744-
"members":{
2745-
}
2778+
"members":{}
27462779
},
27472780
"UpdateIdMappingWorkflowInput":{
27482781
"type":"structure",

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

Lines changed: 150 additions & 203 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"version": "1.0",
3-
"examples": {
4-
}
3+
"examples": {}
54
}

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

Lines changed: 90 additions & 43 deletions
Large diffs are not rendered by default.

sdk/code-analysis/ServiceAnalysis/EntityResolution/Generated/PropertyValueRules.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,17 @@
944944
<max>255</max>
945945
<pattern>[a-zA-Z_0-9- ]*</pattern>
946946
</property-value-rule>
947+
<property-value-rule>
948+
<property>Amazon.EntityResolution.Model.RuleCondition.Condition</property>
949+
<min>0</min>
950+
<max>2048</max>
951+
</property-value-rule>
952+
<property-value-rule>
953+
<property>Amazon.EntityResolution.Model.RuleCondition.RuleName</property>
954+
<min>0</min>
955+
<max>255</max>
956+
<pattern>[a-zA-Z_0-9- ]*</pattern>
957+
</property-value-rule>
947958
<property-value-rule>
948959
<property>Amazon.EntityResolution.Model.SchemaInputAttribute.FieldName</property>
949960
<min>0</min>

sdk/src/Services/EntityResolution/Generated/Model/CreateIdMappingWorkflowRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Amazon.EntityResolution.Model
3333
/// Container for the parameters to the CreateIdMappingWorkflow operation.
3434
/// Creates an <c>IdMappingWorkflow</c> object which stores the configuration of the data
3535
/// processing job to be run. Each <c>IdMappingWorkflow</c> must have a unique workflow
36-
/// name. To modify an existing workflow, use the <c>UpdateIdMappingWorkflow</c> API.
36+
/// name. To modify an existing workflow, use the UpdateIdMappingWorkflow API.
3737
/// </summary>
3838
public partial class CreateIdMappingWorkflowRequest : AmazonEntityResolutionRequest
3939
{
@@ -107,7 +107,7 @@ internal bool IsSetInputSourceConfig()
107107
/// Gets and sets the property OutputSourceConfig.
108108
/// <para>
109109
/// A list of <c>IdMappingWorkflowOutputSource</c> objects, each of which contains fields
110-
/// <c>OutputS3Path</c> and <c>Output</c>.
110+
/// <c>outputS3Path</c> and <c>KMSArn</c>.
111111
/// </para>
112112
/// </summary>
113113
[AWSProperty(Min=1, Max=1)]

sdk/src/Services/EntityResolution/Generated/Model/CreateIdMappingWorkflowResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ internal bool IsSetInputSourceConfig()
104104
/// Gets and sets the property OutputSourceConfig.
105105
/// <para>
106106
/// A list of <c>IdMappingWorkflowOutputSource</c> objects, each of which contains fields
107-
/// <c>OutputS3Path</c> and <c>Output</c>.
107+
/// <c>outputS3Path</c> and <c>KMSArn</c>.
108108
/// </para>
109109
/// </summary>
110110
[AWSProperty(Min=1, Max=1)]

sdk/src/Services/EntityResolution/Generated/Model/CreateIdNamespaceRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace Amazon.EntityResolution.Model
3333
/// Container for the parameters to the CreateIdNamespace operation.
3434
/// Creates an ID namespace object which will help customers provide metadata explaining
3535
/// their dataset and how to use it. Each ID namespace must have a unique name. To modify
36-
/// an existing ID namespace, use the <c>UpdateIdNamespace</c> API.
36+
/// an existing ID namespace, use the UpdateIdNamespace API.
3737
/// </summary>
3838
public partial class CreateIdNamespaceRequest : AmazonEntityResolutionRequest
3939
{

sdk/src/Services/EntityResolution/Generated/Model/CreateMatchingWorkflowRequest.cs

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,16 @@ namespace Amazon.EntityResolution.Model
3131
{
3232
/// <summary>
3333
/// Container for the parameters to the CreateMatchingWorkflow operation.
34-
/// Creates a <c>MatchingWorkflow</c> object which stores the configuration of the data
35-
/// processing job to be run. It is important to note that there should not be a pre-existing
36-
/// <c>MatchingWorkflow</c> with the same name. To modify an existing workflow, utilize
37-
/// the <c>UpdateMatchingWorkflow</c> API.
34+
/// Creates a matching workflow that defines the configuration for a data processing job.
35+
/// The workflow name must be unique. To modify an existing workflow, use <c>UpdateMatchingWorkflow</c>.
36+
///
37+
///
38+
/// <important>
39+
/// <para>
40+
/// For workflows where <c>resolutionType</c> is ML_MATCHING, incremental processing is
41+
/// not supported.
42+
/// </para>
43+
/// </important>
3844
/// </summary>
3945
public partial class CreateMatchingWorkflowRequest : AmazonEntityResolutionRequest
4046
{
@@ -69,9 +75,16 @@ internal bool IsSetDescription()
6975
/// <summary>
7076
/// Gets and sets the property IncrementalRunConfig.
7177
/// <para>
72-
/// An object which defines an incremental run type and has only <c>incrementalRunType</c>
73-
/// as a field.
78+
/// Optional. An object that defines the incremental run type. This object contains only
79+
/// the <c>incrementalRunType</c> field, which appears as "Automatic" in the console.
80+
///
7481
/// </para>
82+
/// <important>
83+
/// <para>
84+
/// For workflows where <c>resolutionType</c> is <c>ML_MATCHING</c>, incremental processing
85+
/// is not supported.
86+
/// </para>
87+
/// </important>
7588
/// </summary>
7689
public IncrementalRunConfig IncrementalRunConfig
7790
{
@@ -108,8 +121,8 @@ internal bool IsSetInputSourceConfig()
108121
/// <summary>
109122
/// Gets and sets the property OutputSourceConfig.
110123
/// <para>
111-
/// A list of <c>OutputSource</c> objects, each of which contains fields <c>OutputS3Path</c>,
112-
/// <c>ApplyNormalization</c>, and <c>Output</c>.
124+
/// A list of <c>OutputSource</c> objects, each of which contains fields <c>outputS3Path</c>,
125+
/// <c>applyNormalization</c>, <c>KMSArn</c>, and <c>output</c>.
113126
/// </para>
114127
/// </summary>
115128
[AWSProperty(Required=true, Min=1, Max=1)]

sdk/src/Services/EntityResolution/Generated/Model/CreateMatchingWorkflowResponse.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ internal bool IsSetInputSourceConfig()
104104
/// <summary>
105105
/// Gets and sets the property OutputSourceConfig.
106106
/// <para>
107-
/// A list of <c>OutputSource</c> objects, each of which contains fields <c>OutputS3Path</c>,
108-
/// <c>ApplyNormalization</c>, and <c>Output</c>.
107+
/// A list of <c>OutputSource</c> objects, each of which contains fields <c>outputS3Path</c>,
108+
/// <c>applyNormalization</c>, <c>KMSArn</c>, and <c>output</c>.
109109
/// </para>
110110
/// </summary>
111111
[AWSProperty(Required=true, Min=1, Max=1)]

0 commit comments

Comments
 (0)