@aws-sdk/client-entityresolution 3.616.0 → 3.618.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.
Files changed (43) hide show
  1. package/dist-cjs/index.js +29 -5
  2. package/dist-es/models/models_0.js +13 -0
  3. package/dist-es/protocols/Aws_restJson1.js +5 -0
  4. package/dist-types/commands/AddPolicyStatementCommand.d.ts +6 -15
  5. package/dist-types/commands/BatchDeleteUniqueIdCommand.d.ts +3 -7
  6. package/dist-types/commands/CreateIdMappingWorkflowCommand.d.ts +36 -19
  7. package/dist-types/commands/CreateIdNamespaceCommand.d.ts +42 -17
  8. package/dist-types/commands/CreateMatchingWorkflowCommand.d.ts +8 -15
  9. package/dist-types/commands/CreateSchemaMappingCommand.d.ts +8 -15
  10. package/dist-types/commands/DeleteIdMappingWorkflowCommand.d.ts +5 -13
  11. package/dist-types/commands/DeleteIdNamespaceCommand.d.ts +4 -11
  12. package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +5 -13
  13. package/dist-types/commands/DeletePolicyStatementCommand.d.ts +6 -15
  14. package/dist-types/commands/DeleteSchemaMappingCommand.d.ts +5 -13
  15. package/dist-types/commands/GetIdMappingJobCommand.d.ts +8 -13
  16. package/dist-types/commands/GetIdMappingWorkflowCommand.d.ts +20 -15
  17. package/dist-types/commands/GetIdNamespaceCommand.d.ts +23 -14
  18. package/dist-types/commands/GetMatchIdCommand.d.ts +5 -13
  19. package/dist-types/commands/GetMatchingJobCommand.d.ts +5 -13
  20. package/dist-types/commands/GetMatchingWorkflowCommand.d.ts +6 -13
  21. package/dist-types/commands/GetPolicyCommand.d.ts +5 -13
  22. package/dist-types/commands/GetProviderServiceCommand.d.ts +5 -13
  23. package/dist-types/commands/GetSchemaMappingCommand.d.ts +6 -13
  24. package/dist-types/commands/ListIdMappingJobsCommand.d.ts +5 -13
  25. package/dist-types/commands/ListIdMappingWorkflowsCommand.d.ts +4 -11
  26. package/dist-types/commands/ListIdNamespacesCommand.d.ts +9 -11
  27. package/dist-types/commands/ListMatchingJobsCommand.d.ts +5 -13
  28. package/dist-types/commands/ListMatchingWorkflowsCommand.d.ts +4 -11
  29. package/dist-types/commands/ListProviderServicesCommand.d.ts +4 -11
  30. package/dist-types/commands/ListSchemaMappingsCommand.d.ts +4 -11
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -7
  32. package/dist-types/commands/PutPolicyCommand.d.ts +6 -15
  33. package/dist-types/commands/StartIdMappingJobCommand.d.ts +7 -17
  34. package/dist-types/commands/StartMatchingJobCommand.d.ts +7 -17
  35. package/dist-types/commands/TagResourceCommand.d.ts +3 -7
  36. package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
  37. package/dist-types/commands/UpdateIdMappingWorkflowCommand.d.ts +35 -17
  38. package/dist-types/commands/UpdateIdNamespaceCommand.d.ts +41 -15
  39. package/dist-types/commands/UpdateMatchingWorkflowCommand.d.ts +7 -13
  40. package/dist-types/commands/UpdateSchemaMappingCommand.d.ts +8 -15
  41. package/dist-types/models/models_0.d.ts +265 -77
  42. package/dist-types/ts3.4/models/models_0.d.ts +50 -9
  43. package/package.json +1 -1
@@ -102,6 +102,7 @@ export interface BatchDeleteUniqueIdOutput {
102
102
  }
103
103
  export declare const IdMappingType: {
104
104
  readonly PROVIDER: "PROVIDER";
105
+ readonly RULE_BASED: "RULE_BASED";
105
106
  };
106
107
  export type IdMappingType = (typeof IdMappingType)[keyof typeof IdMappingType];
107
108
  export interface IntermediateSourceConfiguration {
@@ -112,8 +113,31 @@ export interface ProviderProperties {
112
113
  providerConfiguration?: __DocumentType;
113
114
  intermediateSourceConfiguration?: IntermediateSourceConfiguration;
114
115
  }
116
+ export declare const RecordMatchingModel: {
117
+ readonly MANY_SOURCE_TO_ONE_TARGET: "MANY_SOURCE_TO_ONE_TARGET";
118
+ readonly ONE_SOURCE_TO_ONE_TARGET: "ONE_SOURCE_TO_ONE_TARGET";
119
+ };
120
+ export type RecordMatchingModel =
121
+ (typeof RecordMatchingModel)[keyof typeof RecordMatchingModel];
122
+ export declare const IdMappingWorkflowRuleDefinitionType: {
123
+ readonly SOURCE: "SOURCE";
124
+ readonly TARGET: "TARGET";
125
+ };
126
+ export type IdMappingWorkflowRuleDefinitionType =
127
+ (typeof IdMappingWorkflowRuleDefinitionType)[keyof typeof IdMappingWorkflowRuleDefinitionType];
128
+ export interface Rule {
129
+ ruleName: string | undefined;
130
+ matchingKeys: string[] | undefined;
131
+ }
132
+ export interface IdMappingRuleBasedProperties {
133
+ rules?: Rule[];
134
+ ruleDefinitionType: IdMappingWorkflowRuleDefinitionType | undefined;
135
+ attributeMatchingModel: AttributeMatchingModel | undefined;
136
+ recordMatchingModel: RecordMatchingModel | undefined;
137
+ }
115
138
  export interface IdMappingTechniques {
116
139
  idMappingType: IdMappingType | undefined;
140
+ ruleBasedProperties?: IdMappingRuleBasedProperties;
117
141
  providerProperties?: ProviderProperties;
118
142
  }
119
143
  export declare const IdNamespaceType: {
@@ -137,7 +161,7 @@ export interface CreateIdMappingWorkflowInput {
137
161
  inputSourceConfig: IdMappingWorkflowInputSource[] | undefined;
138
162
  outputSourceConfig?: IdMappingWorkflowOutputSource[];
139
163
  idMappingTechniques: IdMappingTechniques | undefined;
140
- roleArn: string | undefined;
164
+ roleArn?: string;
141
165
  tags?: Record<string, string>;
142
166
  }
143
167
  export interface CreateIdMappingWorkflowOutput {
@@ -147,7 +171,7 @@ export interface CreateIdMappingWorkflowOutput {
147
171
  inputSourceConfig: IdMappingWorkflowInputSource[] | undefined;
148
172
  outputSourceConfig?: IdMappingWorkflowOutputSource[];
149
173
  idMappingTechniques: IdMappingTechniques | undefined;
150
- roleArn: string | undefined;
174
+ roleArn?: string;
151
175
  }
152
176
  export declare class ExceedsLimitException extends __BaseException {
153
177
  readonly name: "ExceedsLimitException";
@@ -162,8 +186,15 @@ export interface NamespaceProviderProperties {
162
186
  providerServiceArn: string | undefined;
163
187
  providerConfiguration?: __DocumentType;
164
188
  }
189
+ export interface NamespaceRuleBasedProperties {
190
+ rules?: Rule[];
191
+ ruleDefinitionTypes?: IdMappingWorkflowRuleDefinitionType[];
192
+ attributeMatchingModel?: AttributeMatchingModel;
193
+ recordMatchingModels?: RecordMatchingModel[];
194
+ }
165
195
  export interface IdNamespaceIdMappingWorkflowProperties {
166
196
  idMappingType: IdMappingType | undefined;
197
+ ruleBasedProperties?: NamespaceRuleBasedProperties;
167
198
  providerProperties?: NamespaceProviderProperties;
168
199
  }
169
200
  export interface IdNamespaceInputSource {
@@ -221,13 +252,15 @@ export declare const ResolutionType: {
221
252
  };
222
253
  export type ResolutionType =
223
254
  (typeof ResolutionType)[keyof typeof ResolutionType];
224
- export interface Rule {
225
- ruleName: string | undefined;
226
- matchingKeys: string[] | undefined;
227
- }
255
+ export declare const MatchPurpose: {
256
+ readonly IDENTIFIER_GENERATION: "IDENTIFIER_GENERATION";
257
+ readonly INDEXING: "INDEXING";
258
+ };
259
+ export type MatchPurpose = (typeof MatchPurpose)[keyof typeof MatchPurpose];
228
260
  export interface RuleBasedProperties {
229
261
  rules: Rule[] | undefined;
230
262
  attributeMatchingModel: AttributeMatchingModel | undefined;
263
+ matchPurpose?: MatchPurpose;
231
264
  }
232
265
  export interface ResolutionTechniques {
233
266
  resolutionType: ResolutionType | undefined;
@@ -284,6 +317,7 @@ export interface SchemaInputAttribute {
284
317
  groupName?: string;
285
318
  matchKey?: string;
286
319
  subType?: string;
320
+ hashed?: boolean;
287
321
  }
288
322
  export interface CreateSchemaMappingInput {
289
323
  schemaName: string | undefined;
@@ -341,6 +375,9 @@ export interface IdMappingJobMetrics {
341
375
  inputRecords?: number;
342
376
  totalRecordsProcessed?: number;
343
377
  recordsNotProcessed?: number;
378
+ totalMappedRecords?: number;
379
+ totalMappedSourceRecords?: number;
380
+ totalMappedTargetRecords?: number;
344
381
  }
345
382
  export interface IdMappingJobOutputSource {
346
383
  roleArn: string | undefined;
@@ -375,7 +412,7 @@ export interface GetIdMappingWorkflowOutput {
375
412
  idMappingTechniques: IdMappingTechniques | undefined;
376
413
  createdAt: Date | undefined;
377
414
  updatedAt: Date | undefined;
378
- roleArn: string | undefined;
415
+ roleArn?: string;
379
416
  tags?: Record<string, string>;
380
417
  }
381
418
  export interface GetIdNamespaceInput {
@@ -566,10 +603,14 @@ export interface ListIdNamespacesInput {
566
603
  nextToken?: string;
567
604
  maxResults?: number;
568
605
  }
606
+ export interface IdNamespaceIdMappingWorkflowMetadata {
607
+ idMappingType: IdMappingType | undefined;
608
+ }
569
609
  export interface IdNamespaceSummary {
570
610
  idNamespaceName: string | undefined;
571
611
  idNamespaceArn: string | undefined;
572
612
  description?: string;
613
+ idMappingWorkflowProperties?: IdNamespaceIdMappingWorkflowMetadata[];
573
614
  type: IdNamespaceType | undefined;
574
615
  createdAt: Date | undefined;
575
616
  updatedAt: Date | undefined;
@@ -679,7 +720,7 @@ export interface UpdateIdMappingWorkflowInput {
679
720
  inputSourceConfig: IdMappingWorkflowInputSource[] | undefined;
680
721
  outputSourceConfig?: IdMappingWorkflowOutputSource[];
681
722
  idMappingTechniques: IdMappingTechniques | undefined;
682
- roleArn: string | undefined;
723
+ roleArn?: string;
683
724
  }
684
725
  export interface UpdateIdMappingWorkflowOutput {
685
726
  workflowName: string | undefined;
@@ -688,7 +729,7 @@ export interface UpdateIdMappingWorkflowOutput {
688
729
  inputSourceConfig: IdMappingWorkflowInputSource[] | undefined;
689
730
  outputSourceConfig?: IdMappingWorkflowOutputSource[];
690
731
  idMappingTechniques: IdMappingTechniques | undefined;
691
- roleArn: string | undefined;
732
+ roleArn?: string;
692
733
  }
693
734
  export interface UpdateIdNamespaceInput {
694
735
  idNamespaceName: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-entityresolution",
3
3
  "description": "AWS SDK for JavaScript Entityresolution Client for Node.js, Browser and React Native",
4
- "version": "3.616.0",
4
+ "version": "3.618.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-entityresolution",