@aws-sdk/client-entityresolution 3.378.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/LICENSE +201 -0
- package/README.md +346 -0
- package/dist-cjs/EntityResolution.js +43 -0
- package/dist-cjs/EntityResolutionClient.js +41 -0
- package/dist-cjs/commands/CreateMatchingWorkflowCommand.js +46 -0
- package/dist-cjs/commands/CreateSchemaMappingCommand.js +46 -0
- package/dist-cjs/commands/DeleteMatchingWorkflowCommand.js +46 -0
- package/dist-cjs/commands/DeleteSchemaMappingCommand.js +46 -0
- package/dist-cjs/commands/GetMatchIdCommand.js +47 -0
- package/dist-cjs/commands/GetMatchingJobCommand.js +46 -0
- package/dist-cjs/commands/GetMatchingWorkflowCommand.js +46 -0
- package/dist-cjs/commands/GetSchemaMappingCommand.js +46 -0
- package/dist-cjs/commands/ListMatchingJobsCommand.js +46 -0
- package/dist-cjs/commands/ListMatchingWorkflowsCommand.js +46 -0
- package/dist-cjs/commands/ListSchemaMappingsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/StartMatchingJobCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/UpdateMatchingWorkflowCommand.js +46 -0
- package/dist-cjs/commands/index.js +19 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/EntityResolutionServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +143 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListMatchingJobsPaginator.js +29 -0
- package/dist-cjs/pagination/ListMatchingWorkflowsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSchemaMappingsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1281 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/EntityResolution.js +39 -0
- package/dist-es/EntityResolutionClient.js +37 -0
- package/dist-es/commands/CreateMatchingWorkflowCommand.js +42 -0
- package/dist-es/commands/CreateSchemaMappingCommand.js +42 -0
- package/dist-es/commands/DeleteMatchingWorkflowCommand.js +42 -0
- package/dist-es/commands/DeleteSchemaMappingCommand.js +42 -0
- package/dist-es/commands/GetMatchIdCommand.js +43 -0
- package/dist-es/commands/GetMatchingJobCommand.js +42 -0
- package/dist-es/commands/GetMatchingWorkflowCommand.js +42 -0
- package/dist-es/commands/GetSchemaMappingCommand.js +42 -0
- package/dist-es/commands/ListMatchingJobsCommand.js +42 -0
- package/dist-es/commands/ListMatchingWorkflowsCommand.js +42 -0
- package/dist-es/commands/ListSchemaMappingsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/StartMatchingJobCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/UpdateMatchingWorkflowCommand.js +42 -0
- package/dist-es/commands/index.js +16 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/EntityResolutionServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +132 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListMatchingJobsPaginator.js +25 -0
- package/dist-es/pagination/ListMatchingWorkflowsPaginator.js +25 -0
- package/dist-es/pagination/ListSchemaMappingsPaginator.js +25 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +1246 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/EntityResolution.d.ts +135 -0
- package/dist-types/EntityResolutionClient.d.ts +191 -0
- package/dist-types/commands/CreateMatchingWorkflowCommand.d.ts +183 -0
- package/dist-types/commands/CreateSchemaMappingCommand.d.ts +123 -0
- package/dist-types/commands/DeleteMatchingWorkflowCommand.d.ts +90 -0
- package/dist-types/commands/DeleteSchemaMappingCommand.d.ts +96 -0
- package/dist-types/commands/GetMatchIdCommand.d.ts +96 -0
- package/dist-types/commands/GetMatchingJobCommand.d.ts +106 -0
- package/dist-types/commands/GetMatchingWorkflowCommand.d.ts +138 -0
- package/dist-types/commands/GetSchemaMappingCommand.d.ts +108 -0
- package/dist-types/commands/ListMatchingJobsCommand.d.ts +103 -0
- package/dist-types/commands/ListMatchingWorkflowsCommand.d.ts +98 -0
- package/dist-types/commands/ListSchemaMappingsCommand.d.ts +98 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +89 -0
- package/dist-types/commands/StartMatchingJobCommand.d.ts +104 -0
- package/dist-types/commands/TagResourceCommand.d.ts +95 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +84 -0
- package/dist-types/commands/UpdateMatchingWorkflowCommand.d.ts +174 -0
- package/dist-types/commands/index.d.ts +16 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +24 -0
- package/dist-types/models/EntityResolutionServiceException.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1017 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListMatchingJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMatchingWorkflowsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSchemaMappingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +146 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/EntityResolution.d.ts +279 -0
- package/dist-types/ts3.4/EntityResolutionClient.d.ts +209 -0
- package/dist-types/ts3.4/commands/CreateMatchingWorkflowCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateSchemaMappingCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteMatchingWorkflowCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSchemaMappingCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetMatchIdCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMatchingJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetMatchingWorkflowCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSchemaMappingCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListMatchingJobsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListMatchingWorkflowsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSchemaMappingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartMatchingJobCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateMatchingWorkflowCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +16 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/EntityResolutionServiceException.d.ts +8 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +322 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListMatchingJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMatchingWorkflowsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSchemaMappingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +197 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +82 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +20 -0
- package/package.json +99 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UntagResourceCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UntagResourceCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EntityResolutionClient";
|
|
28
|
+
const commandName = "UntagResourceCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateMatchingWorkflowCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateMatchingWorkflowCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateMatchingWorkflowCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "EntityResolutionClient";
|
|
28
|
+
const commandName = "UpdateMatchingWorkflowCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_UpdateMatchingWorkflowCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_UpdateMatchingWorkflowCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateMatchingWorkflowCommand = UpdateMatchingWorkflowCommand;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./CreateMatchingWorkflowCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./CreateSchemaMappingCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DeleteMatchingWorkflowCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DeleteSchemaMappingCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./GetMatchIdCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./GetMatchingJobCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./GetMatchingWorkflowCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./GetSchemaMappingCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./ListMatchingJobsCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./ListMatchingWorkflowsCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./ListSchemaMappingsCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./StartMatchingJobCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./UpdateMatchingWorkflowCommand"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveClientEndpointParameters = void 0;
|
|
4
|
+
const resolveClientEndpointParameters = (options) => {
|
|
5
|
+
return {
|
|
6
|
+
...options,
|
|
7
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
8
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
9
|
+
defaultSigningName: "entityresolution",
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultEndpointResolver = void 0;
|
|
4
|
+
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
+
const ruleset_1 = require("./ruleset");
|
|
6
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
7
|
+
return (0, util_endpoints_1.resolveEndpoint)(ruleset_1.ruleSet, {
|
|
8
|
+
endpointParams: endpointParams,
|
|
9
|
+
logger: context.logger,
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ruleSet = void 0;
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://entityresolution-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://entityresolution-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://entityresolution.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://entityresolution.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
|
+
exports.ruleSet = _data;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EntityResolutionServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./EntityResolutionClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./EntityResolution"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
10
|
+
var EntityResolutionServiceException_1 = require("./models/EntityResolutionServiceException");
|
|
11
|
+
Object.defineProperty(exports, "EntityResolutionServiceException", { enumerable: true, get: function () { return EntityResolutionServiceException_1.EntityResolutionServiceException; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EntityResolutionServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class EntityResolutionServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, EntityResolutionServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.EntityResolutionServiceException = EntityResolutionServiceException;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetMatchIdInputFilterSensitiveLog = exports.JobStatus = exports.ResourceNotFoundException = exports.SchemaAttributeType = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.ExceedsLimitException = exports.ResolutionType = exports.IncrementalRunType = exports.ConflictException = exports.AttributeMatchingModel = exports.AccessDeniedException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
const EntityResolutionServiceException_1 = require("./EntityResolutionServiceException");
|
|
6
|
+
class AccessDeniedException extends EntityResolutionServiceException_1.EntityResolutionServiceException {
|
|
7
|
+
constructor(opts) {
|
|
8
|
+
super({
|
|
9
|
+
name: "AccessDeniedException",
|
|
10
|
+
$fault: "client",
|
|
11
|
+
...opts,
|
|
12
|
+
});
|
|
13
|
+
this.name = "AccessDeniedException";
|
|
14
|
+
this.$fault = "client";
|
|
15
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
+
exports.AttributeMatchingModel = {
|
|
20
|
+
MANY_TO_MANY: "MANY_TO_MANY",
|
|
21
|
+
ONE_TO_ONE: "ONE_TO_ONE",
|
|
22
|
+
};
|
|
23
|
+
class ConflictException extends EntityResolutionServiceException_1.EntityResolutionServiceException {
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "ConflictException",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
this.name = "ConflictException";
|
|
31
|
+
this.$fault = "client";
|
|
32
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.ConflictException = ConflictException;
|
|
36
|
+
exports.IncrementalRunType = {
|
|
37
|
+
IMMEDIATE: "IMMEDIATE",
|
|
38
|
+
};
|
|
39
|
+
exports.ResolutionType = {
|
|
40
|
+
ML_MATCHING: "ML_MATCHING",
|
|
41
|
+
RULE_MATCHING: "RULE_MATCHING",
|
|
42
|
+
};
|
|
43
|
+
class ExceedsLimitException extends EntityResolutionServiceException_1.EntityResolutionServiceException {
|
|
44
|
+
constructor(opts) {
|
|
45
|
+
super({
|
|
46
|
+
name: "ExceedsLimitException",
|
|
47
|
+
$fault: "client",
|
|
48
|
+
...opts,
|
|
49
|
+
});
|
|
50
|
+
this.name = "ExceedsLimitException";
|
|
51
|
+
this.$fault = "client";
|
|
52
|
+
Object.setPrototypeOf(this, ExceedsLimitException.prototype);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
exports.ExceedsLimitException = ExceedsLimitException;
|
|
56
|
+
class InternalServerException extends EntityResolutionServiceException_1.EntityResolutionServiceException {
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "InternalServerException",
|
|
60
|
+
$fault: "server",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
this.name = "InternalServerException";
|
|
64
|
+
this.$fault = "server";
|
|
65
|
+
this.$retryable = {};
|
|
66
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.InternalServerException = InternalServerException;
|
|
70
|
+
class ThrottlingException extends EntityResolutionServiceException_1.EntityResolutionServiceException {
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ThrottlingException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
this.name = "ThrottlingException";
|
|
78
|
+
this.$fault = "client";
|
|
79
|
+
this.$retryable = {
|
|
80
|
+
throttling: true,
|
|
81
|
+
};
|
|
82
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
exports.ThrottlingException = ThrottlingException;
|
|
86
|
+
class ValidationException extends EntityResolutionServiceException_1.EntityResolutionServiceException {
|
|
87
|
+
constructor(opts) {
|
|
88
|
+
super({
|
|
89
|
+
name: "ValidationException",
|
|
90
|
+
$fault: "client",
|
|
91
|
+
...opts,
|
|
92
|
+
});
|
|
93
|
+
this.name = "ValidationException";
|
|
94
|
+
this.$fault = "client";
|
|
95
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.ValidationException = ValidationException;
|
|
99
|
+
exports.SchemaAttributeType = {
|
|
100
|
+
ADDRESS: "ADDRESS",
|
|
101
|
+
ADDRESS_CITY: "ADDRESS_CITY",
|
|
102
|
+
ADDRESS_COUNTRY: "ADDRESS_COUNTRY",
|
|
103
|
+
ADDRESS_POSTALCODE: "ADDRESS_POSTALCODE",
|
|
104
|
+
ADDRESS_STATE: "ADDRESS_STATE",
|
|
105
|
+
ADDRESS_STREET1: "ADDRESS_STREET1",
|
|
106
|
+
ADDRESS_STREET2: "ADDRESS_STREET2",
|
|
107
|
+
ADDRESS_STREET3: "ADDRESS_STREET3",
|
|
108
|
+
DATE: "DATE",
|
|
109
|
+
EMAIL_ADDRESS: "EMAIL_ADDRESS",
|
|
110
|
+
NAME: "NAME",
|
|
111
|
+
NAME_FIRST: "NAME_FIRST",
|
|
112
|
+
NAME_LAST: "NAME_LAST",
|
|
113
|
+
NAME_MIDDLE: "NAME_MIDDLE",
|
|
114
|
+
PHONE: "PHONE",
|
|
115
|
+
PHONE_COUNTRYCODE: "PHONE_COUNTRYCODE",
|
|
116
|
+
PHONE_NUMBER: "PHONE_NUMBER",
|
|
117
|
+
STRING: "STRING",
|
|
118
|
+
UNIQUE_ID: "UNIQUE_ID",
|
|
119
|
+
};
|
|
120
|
+
class ResourceNotFoundException extends EntityResolutionServiceException_1.EntityResolutionServiceException {
|
|
121
|
+
constructor(opts) {
|
|
122
|
+
super({
|
|
123
|
+
name: "ResourceNotFoundException",
|
|
124
|
+
$fault: "client",
|
|
125
|
+
...opts,
|
|
126
|
+
});
|
|
127
|
+
this.name = "ResourceNotFoundException";
|
|
128
|
+
this.$fault = "client";
|
|
129
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
133
|
+
exports.JobStatus = {
|
|
134
|
+
FAILED: "FAILED",
|
|
135
|
+
QUEUED: "QUEUED",
|
|
136
|
+
RUNNING: "RUNNING",
|
|
137
|
+
SUCCEEDED: "SUCCEEDED",
|
|
138
|
+
};
|
|
139
|
+
const GetMatchIdInputFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
...(obj.record && { record: smithy_client_1.SENSITIVE_STRING }),
|
|
142
|
+
});
|
|
143
|
+
exports.GetMatchIdInputFilterSensitiveLog = GetMatchIdInputFilterSensitiveLog;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListMatchingJobs = void 0;
|
|
4
|
+
const ListMatchingJobsCommand_1 = require("../commands/ListMatchingJobsCommand");
|
|
5
|
+
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListMatchingJobsCommand_1.ListMatchingJobsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListMatchingJobs(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListMatchingJobs = paginateListMatchingJobs;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListMatchingWorkflows = void 0;
|
|
4
|
+
const ListMatchingWorkflowsCommand_1 = require("../commands/ListMatchingWorkflowsCommand");
|
|
5
|
+
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListMatchingWorkflowsCommand_1.ListMatchingWorkflowsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListMatchingWorkflows(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListMatchingWorkflows = paginateListMatchingWorkflows;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSchemaMappings = void 0;
|
|
4
|
+
const ListSchemaMappingsCommand_1 = require("../commands/ListSchemaMappingsCommand");
|
|
5
|
+
const EntityResolutionClient_1 = require("../EntityResolutionClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListSchemaMappingsCommand_1.ListSchemaMappingsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListSchemaMappings(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof EntityResolutionClient_1.EntityResolutionClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected EntityResolution | EntityResolutionClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListSchemaMappings = paginateListSchemaMappings;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListMatchingJobsPaginator"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./ListMatchingWorkflowsPaginator"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListSchemaMappingsPaginator"), exports);
|