@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.
- package/README.md +104 -17
- package/dist-cjs/EntityResolution.js +22 -0
- package/dist-cjs/commands/CreateIdMappingWorkflowCommand.js +51 -0
- package/dist-cjs/commands/DeleteIdMappingWorkflowCommand.js +51 -0
- package/dist-cjs/commands/GetIdMappingJobCommand.js +51 -0
- package/dist-cjs/commands/GetIdMappingWorkflowCommand.js +51 -0
- package/dist-cjs/commands/GetProviderServiceCommand.js +51 -0
- package/dist-cjs/commands/ListIdMappingJobsCommand.js +51 -0
- package/dist-cjs/commands/ListIdMappingWorkflowsCommand.js +51 -0
- package/dist-cjs/commands/ListProviderServicesCommand.js +51 -0
- package/dist-cjs/commands/StartIdMappingJobCommand.js +51 -0
- package/dist-cjs/commands/UpdateIdMappingWorkflowCommand.js +51 -0
- package/dist-cjs/commands/UpdateSchemaMappingCommand.js +51 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +29 -12
- package/dist-cjs/pagination/ListIdMappingJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListIdMappingWorkflowsPaginator.js +29 -0
- package/dist-cjs/pagination/ListProviderServicesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +917 -71
- package/dist-es/EntityResolution.js +22 -0
- package/dist-es/commands/CreateIdMappingWorkflowCommand.js +47 -0
- package/dist-es/commands/DeleteIdMappingWorkflowCommand.js +47 -0
- package/dist-es/commands/GetIdMappingJobCommand.js +47 -0
- package/dist-es/commands/GetIdMappingWorkflowCommand.js +47 -0
- package/dist-es/commands/GetProviderServiceCommand.js +47 -0
- package/dist-es/commands/ListIdMappingJobsCommand.js +47 -0
- package/dist-es/commands/ListIdMappingWorkflowsCommand.js +47 -0
- package/dist-es/commands/ListProviderServicesCommand.js +47 -0
- package/dist-es/commands/StartIdMappingJobCommand.js +47 -0
- package/dist-es/commands/UpdateIdMappingWorkflowCommand.js +47 -0
- package/dist-es/commands/UpdateSchemaMappingCommand.js +47 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +28 -11
- package/dist-es/pagination/ListIdMappingJobsPaginator.js +25 -0
- package/dist-es/pagination/ListIdMappingWorkflowsPaginator.js +25 -0
- package/dist-es/pagination/ListProviderServicesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +908 -85
- package/dist-types/EntityResolution.d.ts +86 -10
- package/dist-types/EntityResolutionClient.d.ts +22 -12
- package/dist-types/commands/CreateIdMappingWorkflowCommand.d.ts +160 -0
- package/dist-types/commands/CreateMatchingWorkflowCommand.d.ts +34 -13
- package/dist-types/commands/CreateSchemaMappingCommand.d.ts +18 -10
- package/dist-types/commands/DeleteIdMappingWorkflowCommand.d.ts +94 -0
- package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +10 -6
- package/dist-types/commands/DeleteSchemaMappingCommand.d.ts +15 -9
- package/dist-types/commands/GetIdMappingJobCommand.d.ts +110 -0
- package/dist-types/commands/GetIdMappingWorkflowCommand.d.ts +127 -0
- package/dist-types/commands/GetMatchIdCommand.d.ts +10 -5
- package/dist-types/commands/GetMatchingJobCommand.d.ts +10 -5
- package/dist-types/commands/GetMatchingWorkflowCommand.d.ts +16 -5
- package/dist-types/commands/GetProviderServiceCommand.d.ts +121 -0
- package/dist-types/commands/GetSchemaMappingCommand.d.ts +11 -5
- package/dist-types/commands/ListIdMappingJobsCommand.d.ts +107 -0
- package/dist-types/commands/ListIdMappingWorkflowsCommand.d.ts +103 -0
- package/dist-types/commands/ListMatchingJobsCommand.d.ts +8 -4
- package/dist-types/commands/ListMatchingWorkflowsCommand.d.ts +11 -5
- package/dist-types/commands/ListProviderServicesCommand.d.ts +105 -0
- package/dist-types/commands/ListSchemaMappingsCommand.d.ts +11 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -5
- package/dist-types/commands/StartIdMappingJobCommand.d.ts +110 -0
- package/dist-types/commands/StartMatchingJobCommand.d.ts +16 -10
- package/dist-types/commands/TagResourceCommand.d.ts +11 -9
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateIdMappingWorkflowCommand.d.ts +149 -0
- package/dist-types/commands/UpdateMatchingWorkflowCommand.d.ts +27 -9
- package/dist-types/commands/UpdateSchemaMappingCommand.d.ts +128 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/index.d.ts +9 -10
- package/dist-types/models/models_0.d.ts +1128 -234
- package/dist-types/pagination/ListIdMappingJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIdMappingWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProviderServicesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +99 -0
- package/dist-types/ts3.4/EntityResolution.d.ts +187 -0
- package/dist-types/ts3.4/EntityResolutionClient.d.ts +68 -2
- package/dist-types/ts3.4/commands/CreateIdMappingWorkflowCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteIdMappingWorkflowCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetIdMappingJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetIdMappingWorkflowCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetProviderServiceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListIdMappingJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIdMappingWorkflowsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListProviderServicesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartIdMappingJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateIdMappingWorkflowCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateSchemaMappingCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +268 -55
- package/dist-types/ts3.4/pagination/ListIdMappingJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIdMappingWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProviderServicesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +132 -0
- 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
|
|
32
|
-
|
|
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
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
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";
|