@aws-sdk/client-entityresolution 3.428.0 → 3.429.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 (99) hide show
  1. package/README.md +104 -17
  2. package/dist-cjs/EntityResolution.js +22 -0
  3. package/dist-cjs/commands/CreateIdMappingWorkflowCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteIdMappingWorkflowCommand.js +51 -0
  5. package/dist-cjs/commands/GetIdMappingJobCommand.js +51 -0
  6. package/dist-cjs/commands/GetIdMappingWorkflowCommand.js +51 -0
  7. package/dist-cjs/commands/GetProviderServiceCommand.js +51 -0
  8. package/dist-cjs/commands/ListIdMappingJobsCommand.js +51 -0
  9. package/dist-cjs/commands/ListIdMappingWorkflowsCommand.js +51 -0
  10. package/dist-cjs/commands/ListProviderServicesCommand.js +51 -0
  11. package/dist-cjs/commands/StartIdMappingJobCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateIdMappingWorkflowCommand.js +51 -0
  13. package/dist-cjs/commands/UpdateSchemaMappingCommand.js +51 -0
  14. package/dist-cjs/commands/index.js +11 -0
  15. package/dist-cjs/endpoint/ruleset.js +3 -3
  16. package/dist-cjs/models/models_0.js +29 -12
  17. package/dist-cjs/pagination/ListIdMappingJobsPaginator.js +29 -0
  18. package/dist-cjs/pagination/ListIdMappingWorkflowsPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListProviderServicesPaginator.js +29 -0
  20. package/dist-cjs/pagination/index.js +3 -0
  21. package/dist-cjs/protocols/Aws_restJson1.js +917 -71
  22. package/dist-es/EntityResolution.js +22 -0
  23. package/dist-es/commands/CreateIdMappingWorkflowCommand.js +47 -0
  24. package/dist-es/commands/DeleteIdMappingWorkflowCommand.js +47 -0
  25. package/dist-es/commands/GetIdMappingJobCommand.js +47 -0
  26. package/dist-es/commands/GetIdMappingWorkflowCommand.js +47 -0
  27. package/dist-es/commands/GetProviderServiceCommand.js +47 -0
  28. package/dist-es/commands/ListIdMappingJobsCommand.js +47 -0
  29. package/dist-es/commands/ListIdMappingWorkflowsCommand.js +47 -0
  30. package/dist-es/commands/ListProviderServicesCommand.js +47 -0
  31. package/dist-es/commands/StartIdMappingJobCommand.js +47 -0
  32. package/dist-es/commands/UpdateIdMappingWorkflowCommand.js +47 -0
  33. package/dist-es/commands/UpdateSchemaMappingCommand.js +47 -0
  34. package/dist-es/commands/index.js +11 -0
  35. package/dist-es/endpoint/ruleset.js +3 -3
  36. package/dist-es/models/models_0.js +28 -11
  37. package/dist-es/pagination/ListIdMappingJobsPaginator.js +25 -0
  38. package/dist-es/pagination/ListIdMappingWorkflowsPaginator.js +25 -0
  39. package/dist-es/pagination/ListProviderServicesPaginator.js +25 -0
  40. package/dist-es/pagination/index.js +3 -0
  41. package/dist-es/protocols/Aws_restJson1.js +908 -85
  42. package/dist-types/EntityResolution.d.ts +86 -10
  43. package/dist-types/EntityResolutionClient.d.ts +22 -12
  44. package/dist-types/commands/CreateIdMappingWorkflowCommand.d.ts +160 -0
  45. package/dist-types/commands/CreateMatchingWorkflowCommand.d.ts +34 -13
  46. package/dist-types/commands/CreateSchemaMappingCommand.d.ts +18 -10
  47. package/dist-types/commands/DeleteIdMappingWorkflowCommand.d.ts +94 -0
  48. package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +10 -6
  49. package/dist-types/commands/DeleteSchemaMappingCommand.d.ts +15 -9
  50. package/dist-types/commands/GetIdMappingJobCommand.d.ts +110 -0
  51. package/dist-types/commands/GetIdMappingWorkflowCommand.d.ts +127 -0
  52. package/dist-types/commands/GetMatchIdCommand.d.ts +10 -5
  53. package/dist-types/commands/GetMatchingJobCommand.d.ts +10 -5
  54. package/dist-types/commands/GetMatchingWorkflowCommand.d.ts +16 -5
  55. package/dist-types/commands/GetProviderServiceCommand.d.ts +121 -0
  56. package/dist-types/commands/GetSchemaMappingCommand.d.ts +11 -5
  57. package/dist-types/commands/ListIdMappingJobsCommand.d.ts +107 -0
  58. package/dist-types/commands/ListIdMappingWorkflowsCommand.d.ts +103 -0
  59. package/dist-types/commands/ListMatchingJobsCommand.d.ts +8 -4
  60. package/dist-types/commands/ListMatchingWorkflowsCommand.d.ts +11 -5
  61. package/dist-types/commands/ListProviderServicesCommand.d.ts +105 -0
  62. package/dist-types/commands/ListSchemaMappingsCommand.d.ts +11 -5
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -5
  64. package/dist-types/commands/StartIdMappingJobCommand.d.ts +110 -0
  65. package/dist-types/commands/StartMatchingJobCommand.d.ts +16 -10
  66. package/dist-types/commands/TagResourceCommand.d.ts +11 -9
  67. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  68. package/dist-types/commands/UpdateIdMappingWorkflowCommand.d.ts +149 -0
  69. package/dist-types/commands/UpdateMatchingWorkflowCommand.d.ts +27 -9
  70. package/dist-types/commands/UpdateSchemaMappingCommand.d.ts +128 -0
  71. package/dist-types/commands/index.d.ts +11 -0
  72. package/dist-types/index.d.ts +9 -10
  73. package/dist-types/models/models_0.d.ts +1128 -234
  74. package/dist-types/pagination/ListIdMappingJobsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListIdMappingWorkflowsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListProviderServicesPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +3 -0
  78. package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
  79. package/dist-types/ts3.4/EntityResolution.d.ts +187 -0
  80. package/dist-types/ts3.4/EntityResolutionClient.d.ts +68 -2
  81. package/dist-types/ts3.4/commands/CreateIdMappingWorkflowCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/DeleteIdMappingWorkflowCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/GetIdMappingJobCommand.d.ts +38 -0
  84. package/dist-types/ts3.4/commands/GetIdMappingWorkflowCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/GetProviderServiceCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/ListIdMappingJobsCommand.d.ts +38 -0
  87. package/dist-types/ts3.4/commands/ListIdMappingWorkflowsCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/ListProviderServicesCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/StartIdMappingJobCommand.d.ts +38 -0
  90. package/dist-types/ts3.4/commands/UpdateIdMappingWorkflowCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/UpdateSchemaMappingCommand.d.ts +39 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +268 -55
  94. package/dist-types/ts3.4/pagination/ListIdMappingJobsPaginator.d.ts +11 -0
  95. package/dist-types/ts3.4/pagination/ListIdMappingWorkflowsPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListProviderServicesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  98. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
  99. package/package.json +5 -5
@@ -28,12 +28,8 @@ export class ConflictException extends __BaseException {
28
28
  Object.setPrototypeOf(this, ConflictException.prototype);
29
29
  }
30
30
  }
31
- export const IncrementalRunType = {
32
- IMMEDIATE: "IMMEDIATE",
33
- };
34
- export const ResolutionType = {
35
- ML_MATCHING: "ML_MATCHING",
36
- RULE_MATCHING: "RULE_MATCHING",
31
+ export const IdMappingType = {
32
+ PROVIDER: "PROVIDER",
37
33
  };
38
34
  export class ExceedsLimitException extends __BaseException {
39
35
  constructor(opts) {
@@ -89,6 +85,14 @@ export class ValidationException extends __BaseException {
89
85
  Object.setPrototypeOf(this, ValidationException.prototype);
90
86
  }
91
87
  }
88
+ export const IncrementalRunType = {
89
+ IMMEDIATE: "IMMEDIATE",
90
+ };
91
+ export const ResolutionType = {
92
+ ML_MATCHING: "ML_MATCHING",
93
+ PROVIDER: "PROVIDER",
94
+ RULE_MATCHING: "RULE_MATCHING",
95
+ };
92
96
  export const SchemaAttributeType = {
93
97
  ADDRESS: "ADDRESS",
94
98
  ADDRESS_CITY: "ADDRESS_CITY",
@@ -107,9 +111,16 @@ export const SchemaAttributeType = {
107
111
  PHONE: "PHONE",
108
112
  PHONE_COUNTRYCODE: "PHONE_COUNTRYCODE",
109
113
  PHONE_NUMBER: "PHONE_NUMBER",
114
+ PROVIDER_ID: "PROVIDER_ID",
110
115
  STRING: "STRING",
111
116
  UNIQUE_ID: "UNIQUE_ID",
112
117
  };
118
+ export const JobStatus = {
119
+ FAILED: "FAILED",
120
+ QUEUED: "QUEUED",
121
+ RUNNING: "RUNNING",
122
+ SUCCEEDED: "SUCCEEDED",
123
+ };
113
124
  export class ResourceNotFoundException extends __BaseException {
114
125
  constructor(opts) {
115
126
  super({
@@ -122,11 +133,17 @@ export class ResourceNotFoundException extends __BaseException {
122
133
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
123
134
  }
124
135
  }
125
- export const JobStatus = {
126
- FAILED: "FAILED",
127
- QUEUED: "QUEUED",
128
- RUNNING: "RUNNING",
129
- SUCCEEDED: "SUCCEEDED",
136
+ export var ProviderEndpointConfiguration;
137
+ (function (ProviderEndpointConfiguration) {
138
+ ProviderEndpointConfiguration.visit = (value, visitor) => {
139
+ if (value.marketplaceConfiguration !== undefined)
140
+ return visitor.marketplaceConfiguration(value.marketplaceConfiguration);
141
+ return visitor._(value.$unknown[0], value.$unknown[1]);
142
+ };
143
+ })(ProviderEndpointConfiguration || (ProviderEndpointConfiguration = {}));
144
+ export const ServiceType = {
145
+ ASSIGNMENT: "ASSIGNMENT",
146
+ ID_MAPPING: "ID_MAPPING",
130
147
  };
131
148
  export const GetMatchIdInputFilterSensitiveLog = (obj) => ({
132
149
  ...obj,
@@ -0,0 +1,25 @@
1
+ import { ListIdMappingJobsCommand, } from "../commands/ListIdMappingJobsCommand";
2
+ import { EntityResolutionClient } from "../EntityResolutionClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListIdMappingJobsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListIdMappingJobs(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof EntityResolutionClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { ListIdMappingWorkflowsCommand, } from "../commands/ListIdMappingWorkflowsCommand";
2
+ import { EntityResolutionClient } from "../EntityResolutionClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListIdMappingWorkflowsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListIdMappingWorkflows(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof EntityResolutionClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -0,0 +1,25 @@
1
+ import { ListProviderServicesCommand, } from "../commands/ListProviderServicesCommand";
2
+ import { EntityResolutionClient } from "../EntityResolutionClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListProviderServicesCommand(input), ...args);
5
+ };
6
+ export async function* paginateListProviderServices(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.nextToken = token;
12
+ input["maxResults"] = config.pageSize;
13
+ if (config.client instanceof EntityResolutionClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.nextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -1,4 +1,7 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListIdMappingJobsPaginator";
3
+ export * from "./ListIdMappingWorkflowsPaginator";
2
4
  export * from "./ListMatchingJobsPaginator";
3
5
  export * from "./ListMatchingWorkflowsPaginator";
6
+ export * from "./ListProviderServicesPaginator";
4
7
  export * from "./ListSchemaMappingsPaginator";