@aws-sdk/client-entityresolution 3.821.0 → 3.822.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 (58) hide show
  1. package/README.md +9 -11
  2. package/dist-cjs/index.js +69 -0
  3. package/dist-es/EntityResolution.js +2 -0
  4. package/dist-es/commands/GenerateMatchIdCommand.js +23 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/models/models_0.js +13 -0
  7. package/dist-es/protocols/Aws_restJson1.js +30 -0
  8. package/dist-types/EntityResolution.d.ts +8 -11
  9. package/dist-types/EntityResolutionClient.d.ts +4 -13
  10. package/dist-types/commands/AddPolicyStatementCommand.d.ts +3 -7
  11. package/dist-types/commands/BatchDeleteUniqueIdCommand.d.ts +1 -2
  12. package/dist-types/commands/CreateIdMappingWorkflowCommand.d.ts +4 -12
  13. package/dist-types/commands/CreateIdNamespaceCommand.d.ts +4 -11
  14. package/dist-types/commands/CreateMatchingWorkflowCommand.d.ts +4 -12
  15. package/dist-types/commands/CreateSchemaMappingCommand.d.ts +4 -11
  16. package/dist-types/commands/DeleteIdMappingWorkflowCommand.d.ts +3 -7
  17. package/dist-types/commands/DeleteIdNamespaceCommand.d.ts +1 -2
  18. package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +3 -7
  19. package/dist-types/commands/DeletePolicyStatementCommand.d.ts +2 -5
  20. package/dist-types/commands/DeleteSchemaMappingCommand.d.ts +3 -9
  21. package/dist-types/commands/GenerateMatchIdCommand.d.ts +115 -0
  22. package/dist-types/commands/GetIdMappingJobCommand.d.ts +2 -4
  23. package/dist-types/commands/GetIdMappingWorkflowCommand.d.ts +1 -2
  24. package/dist-types/commands/GetIdNamespaceCommand.d.ts +1 -2
  25. package/dist-types/commands/GetMatchIdCommand.d.ts +2 -6
  26. package/dist-types/commands/GetMatchingJobCommand.d.ts +2 -4
  27. package/dist-types/commands/GetMatchingWorkflowCommand.d.ts +1 -2
  28. package/dist-types/commands/GetPolicyCommand.d.ts +1 -2
  29. package/dist-types/commands/GetProviderServiceCommand.d.ts +1 -2
  30. package/dist-types/commands/GetSchemaMappingCommand.d.ts +1 -2
  31. package/dist-types/commands/ListIdMappingJobsCommand.d.ts +1 -2
  32. package/dist-types/commands/ListIdMappingWorkflowsCommand.d.ts +2 -4
  33. package/dist-types/commands/ListIdNamespacesCommand.d.ts +1 -2
  34. package/dist-types/commands/ListMatchingJobsCommand.d.ts +1 -2
  35. package/dist-types/commands/ListMatchingWorkflowsCommand.d.ts +2 -4
  36. package/dist-types/commands/ListProviderServicesCommand.d.ts +2 -4
  37. package/dist-types/commands/ListSchemaMappingsCommand.d.ts +2 -4
  38. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -4
  39. package/dist-types/commands/PutPolicyCommand.d.ts +2 -5
  40. package/dist-types/commands/StartIdMappingJobCommand.d.ts +4 -10
  41. package/dist-types/commands/StartMatchingJobCommand.d.ts +4 -10
  42. package/dist-types/commands/TagResourceCommand.d.ts +2 -12
  43. package/dist-types/commands/UntagResourceCommand.d.ts +2 -4
  44. package/dist-types/commands/UpdateIdMappingWorkflowCommand.d.ts +2 -6
  45. package/dist-types/commands/UpdateIdNamespaceCommand.d.ts +1 -2
  46. package/dist-types/commands/UpdateMatchingWorkflowCommand.d.ts +2 -6
  47. package/dist-types/commands/UpdateSchemaMappingCommand.d.ts +3 -10
  48. package/dist-types/commands/index.d.ts +1 -0
  49. package/dist-types/index.d.ts +1 -11
  50. package/dist-types/models/models_0.d.ts +310 -531
  51. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  52. package/dist-types/ts3.4/EntityResolution.d.ts +17 -0
  53. package/dist-types/ts3.4/EntityResolutionClient.d.ts +6 -0
  54. package/dist-types/ts3.4/commands/GenerateMatchIdCommand.d.ts +50 -0
  55. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  56. package/dist-types/ts3.4/models/models_0.d.ts +39 -0
  57. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  58. package/package.json +1 -1
@@ -11,6 +11,7 @@ import { DeleteIdNamespaceCommandInput, DeleteIdNamespaceCommandOutput } from ".
11
11
  import { DeleteMatchingWorkflowCommandInput, DeleteMatchingWorkflowCommandOutput } from "../commands/DeleteMatchingWorkflowCommand";
12
12
  import { DeletePolicyStatementCommandInput, DeletePolicyStatementCommandOutput } from "../commands/DeletePolicyStatementCommand";
13
13
  import { DeleteSchemaMappingCommandInput, DeleteSchemaMappingCommandOutput } from "../commands/DeleteSchemaMappingCommand";
14
+ import { GenerateMatchIdCommandInput, GenerateMatchIdCommandOutput } from "../commands/GenerateMatchIdCommand";
14
15
  import { GetIdMappingJobCommandInput, GetIdMappingJobCommandOutput } from "../commands/GetIdMappingJobCommand";
15
16
  import { GetIdMappingWorkflowCommandInput, GetIdMappingWorkflowCommandOutput } from "../commands/GetIdMappingWorkflowCommand";
16
17
  import { GetIdNamespaceCommandInput, GetIdNamespaceCommandOutput } from "../commands/GetIdNamespaceCommand";
@@ -81,6 +82,10 @@ export declare const se_DeletePolicyStatementCommand: (input: DeletePolicyStatem
81
82
  * serializeAws_restJson1DeleteSchemaMappingCommand
82
83
  */
83
84
  export declare const se_DeleteSchemaMappingCommand: (input: DeleteSchemaMappingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
85
+ /**
86
+ * serializeAws_restJson1GenerateMatchIdCommand
87
+ */
88
+ export declare const se_GenerateMatchIdCommand: (input: GenerateMatchIdCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
84
89
  /**
85
90
  * serializeAws_restJson1GetIdMappingJobCommand
86
91
  */
@@ -229,6 +234,10 @@ export declare const de_DeletePolicyStatementCommand: (output: __HttpResponse, c
229
234
  * deserializeAws_restJson1DeleteSchemaMappingCommand
230
235
  */
231
236
  export declare const de_DeleteSchemaMappingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteSchemaMappingCommandOutput>;
237
+ /**
238
+ * deserializeAws_restJson1GenerateMatchIdCommand
239
+ */
240
+ export declare const de_GenerateMatchIdCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GenerateMatchIdCommandOutput>;
232
241
  /**
233
242
  * deserializeAws_restJson1GetIdMappingJobCommand
234
243
  */
@@ -43,6 +43,10 @@ import {
43
43
  DeleteSchemaMappingCommandInput,
44
44
  DeleteSchemaMappingCommandOutput,
45
45
  } from "./commands/DeleteSchemaMappingCommand";
46
+ import {
47
+ GenerateMatchIdCommandInput,
48
+ GenerateMatchIdCommandOutput,
49
+ } from "./commands/GenerateMatchIdCommand";
46
50
  import {
47
51
  GetIdMappingJobCommandInput,
48
52
  GetIdMappingJobCommandOutput,
@@ -292,6 +296,19 @@ export interface EntityResolution {
292
296
  options: __HttpHandlerOptions,
293
297
  cb: (err: any, data?: DeleteSchemaMappingCommandOutput) => void
294
298
  ): void;
299
+ generateMatchId(
300
+ args: GenerateMatchIdCommandInput,
301
+ options?: __HttpHandlerOptions
302
+ ): Promise<GenerateMatchIdCommandOutput>;
303
+ generateMatchId(
304
+ args: GenerateMatchIdCommandInput,
305
+ cb: (err: any, data?: GenerateMatchIdCommandOutput) => void
306
+ ): void;
307
+ generateMatchId(
308
+ args: GenerateMatchIdCommandInput,
309
+ options: __HttpHandlerOptions,
310
+ cb: (err: any, data?: GenerateMatchIdCommandOutput) => void
311
+ ): void;
295
312
  getIdMappingJob(
296
313
  args: GetIdMappingJobCommandInput,
297
314
  options?: __HttpHandlerOptions
@@ -89,6 +89,10 @@ import {
89
89
  DeleteSchemaMappingCommandInput,
90
90
  DeleteSchemaMappingCommandOutput,
91
91
  } from "./commands/DeleteSchemaMappingCommand";
92
+ import {
93
+ GenerateMatchIdCommandInput,
94
+ GenerateMatchIdCommandOutput,
95
+ } from "./commands/GenerateMatchIdCommand";
92
96
  import {
93
97
  GetIdMappingJobCommandInput,
94
98
  GetIdMappingJobCommandOutput,
@@ -212,6 +216,7 @@ export type ServiceInputTypes =
212
216
  | DeleteMatchingWorkflowCommandInput
213
217
  | DeletePolicyStatementCommandInput
214
218
  | DeleteSchemaMappingCommandInput
219
+ | GenerateMatchIdCommandInput
215
220
  | GetIdMappingJobCommandInput
216
221
  | GetIdMappingWorkflowCommandInput
217
222
  | GetIdNamespaceCommandInput
@@ -250,6 +255,7 @@ export type ServiceOutputTypes =
250
255
  | DeleteMatchingWorkflowCommandOutput
251
256
  | DeletePolicyStatementCommandOutput
252
257
  | DeleteSchemaMappingCommandOutput
258
+ | GenerateMatchIdCommandOutput
253
259
  | GetIdMappingJobCommandOutput
254
260
  | GetIdMappingWorkflowCommandOutput
255
261
  | GetIdNamespaceCommandOutput
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EntityResolutionClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EntityResolutionClient";
8
+ import {
9
+ GenerateMatchIdInput,
10
+ GenerateMatchIdOutput,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GenerateMatchIdCommandInput extends GenerateMatchIdInput {}
15
+ export interface GenerateMatchIdCommandOutput
16
+ extends GenerateMatchIdOutput,
17
+ __MetadataBearer {}
18
+ declare const GenerateMatchIdCommand_base: {
19
+ new (
20
+ input: GenerateMatchIdCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GenerateMatchIdCommandInput,
23
+ GenerateMatchIdCommandOutput,
24
+ EntityResolutionClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GenerateMatchIdCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GenerateMatchIdCommandInput,
32
+ GenerateMatchIdCommandOutput,
33
+ EntityResolutionClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GenerateMatchIdCommand extends GenerateMatchIdCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GenerateMatchIdInput;
43
+ output: GenerateMatchIdOutput;
44
+ };
45
+ sdk: {
46
+ input: GenerateMatchIdCommandInput;
47
+ output: GenerateMatchIdCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -9,6 +9,7 @@ export * from "./DeleteIdNamespaceCommand";
9
9
  export * from "./DeleteMatchingWorkflowCommand";
10
10
  export * from "./DeletePolicyStatementCommand";
11
11
  export * from "./DeleteSchemaMappingCommand";
12
+ export * from "./GenerateMatchIdCommand";
12
13
  export * from "./GetIdMappingJobCommand";
13
14
  export * from "./GetIdMappingWorkflowCommand";
14
15
  export * from "./GetIdNamespaceCommand";
@@ -371,6 +371,41 @@ export interface DeleteSchemaMappingInput {
371
371
  export interface DeleteSchemaMappingOutput {
372
372
  message: string | undefined;
373
373
  }
374
+ export declare const ProcessingType: {
375
+ readonly CONSISTENT: "CONSISTENT";
376
+ readonly EVENTUAL: "EVENTUAL";
377
+ readonly EVENTUAL_NO_LOOKUP: "EVENTUAL_NO_LOOKUP";
378
+ };
379
+ export type ProcessingType =
380
+ (typeof ProcessingType)[keyof typeof ProcessingType];
381
+ export interface _Record {
382
+ inputSourceARN: string | undefined;
383
+ uniqueId: string | undefined;
384
+ recordAttributeMap: Record<string, string> | undefined;
385
+ }
386
+ export interface GenerateMatchIdInput {
387
+ workflowName: string | undefined;
388
+ records: _Record[] | undefined;
389
+ processingType?: ProcessingType | undefined;
390
+ }
391
+ export interface FailedRecord {
392
+ inputSourceARN: string | undefined;
393
+ uniqueId: string | undefined;
394
+ errorMessage: string | undefined;
395
+ }
396
+ export interface MatchedRecord {
397
+ inputSourceARN: string | undefined;
398
+ recordId: string | undefined;
399
+ }
400
+ export interface MatchGroup {
401
+ records: MatchedRecord[] | undefined;
402
+ matchId: string | undefined;
403
+ matchRule: string | undefined;
404
+ }
405
+ export interface GenerateMatchIdOutput {
406
+ matchGroups: MatchGroup[] | undefined;
407
+ failedRecords: FailedRecord[] | undefined;
408
+ }
374
409
  export interface GetIdMappingJobInput {
375
410
  workflowName: string | undefined;
376
411
  jobId: string | undefined;
@@ -798,6 +833,10 @@ export interface UpdateSchemaMappingOutput {
798
833
  description?: string | undefined;
799
834
  mappedInputFields: SchemaInputAttribute[] | undefined;
800
835
  }
836
+ export declare const _RecordFilterSensitiveLog: (obj: _Record) => any;
837
+ export declare const GenerateMatchIdInputFilterSensitiveLog: (
838
+ obj: GenerateMatchIdInput
839
+ ) => any;
801
840
  export declare const GetMatchIdInputFilterSensitiveLog: (
802
841
  obj: GetMatchIdInput
803
842
  ) => any;
@@ -47,6 +47,10 @@ import {
47
47
  DeleteSchemaMappingCommandInput,
48
48
  DeleteSchemaMappingCommandOutput,
49
49
  } from "../commands/DeleteSchemaMappingCommand";
50
+ import {
51
+ GenerateMatchIdCommandInput,
52
+ GenerateMatchIdCommandOutput,
53
+ } from "../commands/GenerateMatchIdCommand";
50
54
  import {
51
55
  GetIdMappingJobCommandInput,
52
56
  GetIdMappingJobCommandOutput,
@@ -195,6 +199,10 @@ export declare const se_DeleteSchemaMappingCommand: (
195
199
  input: DeleteSchemaMappingCommandInput,
196
200
  context: __SerdeContext
197
201
  ) => Promise<__HttpRequest>;
202
+ export declare const se_GenerateMatchIdCommand: (
203
+ input: GenerateMatchIdCommandInput,
204
+ context: __SerdeContext
205
+ ) => Promise<__HttpRequest>;
198
206
  export declare const se_GetIdMappingJobCommand: (
199
207
  input: GetIdMappingJobCommandInput,
200
208
  context: __SerdeContext
@@ -343,6 +351,10 @@ export declare const de_DeleteSchemaMappingCommand: (
343
351
  output: __HttpResponse,
344
352
  context: __SerdeContext
345
353
  ) => Promise<DeleteSchemaMappingCommandOutput>;
354
+ export declare const de_GenerateMatchIdCommand: (
355
+ output: __HttpResponse,
356
+ context: __SerdeContext
357
+ ) => Promise<GenerateMatchIdCommandOutput>;
346
358
  export declare const de_GetIdMappingJobCommand: (
347
359
  output: __HttpResponse,
348
360
  context: __SerdeContext
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.821.0",
4
+ "version": "3.822.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",