@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,34 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
|
+
export const getRuntimeConfig = (config) => {
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
return {
|
|
17
|
+
...clientSharedValues,
|
|
18
|
+
...config,
|
|
19
|
+
runtime: "browser",
|
|
20
|
+
defaultsMode,
|
|
21
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
28
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
|
+
sha256: config?.sha256 ?? Sha256,
|
|
30
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
|
+
export const getRuntimeConfig = (config) => {
|
|
17
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
18
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
+
return {
|
|
22
|
+
...clientSharedValues,
|
|
23
|
+
...config,
|
|
24
|
+
runtime: "node",
|
|
25
|
+
defaultsMode,
|
|
26
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
27
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
28
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
33
|
+
retryMode: config?.retryMode ??
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
|
+
}),
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
2
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
4
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
5
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
|
+
export const getRuntimeConfig = (config) => ({
|
|
7
|
+
apiVersion: "2018-05-10",
|
|
8
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
9
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
10
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
11
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
12
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
13
|
+
serviceId: config?.serviceId ?? "EntityResolution",
|
|
14
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
15
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
16
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
17
|
+
});
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateMatchingWorkflowCommandInput, CreateMatchingWorkflowCommandOutput } from "./commands/CreateMatchingWorkflowCommand";
|
|
3
|
+
import { CreateSchemaMappingCommandInput, CreateSchemaMappingCommandOutput } from "./commands/CreateSchemaMappingCommand";
|
|
4
|
+
import { DeleteMatchingWorkflowCommandInput, DeleteMatchingWorkflowCommandOutput } from "./commands/DeleteMatchingWorkflowCommand";
|
|
5
|
+
import { DeleteSchemaMappingCommandInput, DeleteSchemaMappingCommandOutput } from "./commands/DeleteSchemaMappingCommand";
|
|
6
|
+
import { GetMatchIdCommandInput, GetMatchIdCommandOutput } from "./commands/GetMatchIdCommand";
|
|
7
|
+
import { GetMatchingJobCommandInput, GetMatchingJobCommandOutput } from "./commands/GetMatchingJobCommand";
|
|
8
|
+
import { GetMatchingWorkflowCommandInput, GetMatchingWorkflowCommandOutput } from "./commands/GetMatchingWorkflowCommand";
|
|
9
|
+
import { GetSchemaMappingCommandInput, GetSchemaMappingCommandOutput } from "./commands/GetSchemaMappingCommand";
|
|
10
|
+
import { ListMatchingJobsCommandInput, ListMatchingJobsCommandOutput } from "./commands/ListMatchingJobsCommand";
|
|
11
|
+
import { ListMatchingWorkflowsCommandInput, ListMatchingWorkflowsCommandOutput } from "./commands/ListMatchingWorkflowsCommand";
|
|
12
|
+
import { ListSchemaMappingsCommandInput, ListSchemaMappingsCommandOutput } from "./commands/ListSchemaMappingsCommand";
|
|
13
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
14
|
+
import { StartMatchingJobCommandInput, StartMatchingJobCommandOutput } from "./commands/StartMatchingJobCommand";
|
|
15
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
16
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
|
+
import { UpdateMatchingWorkflowCommandInput, UpdateMatchingWorkflowCommandOutput } from "./commands/UpdateMatchingWorkflowCommand";
|
|
18
|
+
import { EntityResolutionClient } from "./EntityResolutionClient";
|
|
19
|
+
export interface EntityResolution {
|
|
20
|
+
/**
|
|
21
|
+
* @see {@link CreateMatchingWorkflowCommand}
|
|
22
|
+
*/
|
|
23
|
+
createMatchingWorkflow(args: CreateMatchingWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<CreateMatchingWorkflowCommandOutput>;
|
|
24
|
+
createMatchingWorkflow(args: CreateMatchingWorkflowCommandInput, cb: (err: any, data?: CreateMatchingWorkflowCommandOutput) => void): void;
|
|
25
|
+
createMatchingWorkflow(args: CreateMatchingWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMatchingWorkflowCommandOutput) => void): void;
|
|
26
|
+
/**
|
|
27
|
+
* @see {@link CreateSchemaMappingCommand}
|
|
28
|
+
*/
|
|
29
|
+
createSchemaMapping(args: CreateSchemaMappingCommandInput, options?: __HttpHandlerOptions): Promise<CreateSchemaMappingCommandOutput>;
|
|
30
|
+
createSchemaMapping(args: CreateSchemaMappingCommandInput, cb: (err: any, data?: CreateSchemaMappingCommandOutput) => void): void;
|
|
31
|
+
createSchemaMapping(args: CreateSchemaMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSchemaMappingCommandOutput) => void): void;
|
|
32
|
+
/**
|
|
33
|
+
* @see {@link DeleteMatchingWorkflowCommand}
|
|
34
|
+
*/
|
|
35
|
+
deleteMatchingWorkflow(args: DeleteMatchingWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMatchingWorkflowCommandOutput>;
|
|
36
|
+
deleteMatchingWorkflow(args: DeleteMatchingWorkflowCommandInput, cb: (err: any, data?: DeleteMatchingWorkflowCommandOutput) => void): void;
|
|
37
|
+
deleteMatchingWorkflow(args: DeleteMatchingWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMatchingWorkflowCommandOutput) => void): void;
|
|
38
|
+
/**
|
|
39
|
+
* @see {@link DeleteSchemaMappingCommand}
|
|
40
|
+
*/
|
|
41
|
+
deleteSchemaMapping(args: DeleteSchemaMappingCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSchemaMappingCommandOutput>;
|
|
42
|
+
deleteSchemaMapping(args: DeleteSchemaMappingCommandInput, cb: (err: any, data?: DeleteSchemaMappingCommandOutput) => void): void;
|
|
43
|
+
deleteSchemaMapping(args: DeleteSchemaMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSchemaMappingCommandOutput) => void): void;
|
|
44
|
+
/**
|
|
45
|
+
* @see {@link GetMatchIdCommand}
|
|
46
|
+
*/
|
|
47
|
+
getMatchId(args: GetMatchIdCommandInput, options?: __HttpHandlerOptions): Promise<GetMatchIdCommandOutput>;
|
|
48
|
+
getMatchId(args: GetMatchIdCommandInput, cb: (err: any, data?: GetMatchIdCommandOutput) => void): void;
|
|
49
|
+
getMatchId(args: GetMatchIdCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMatchIdCommandOutput) => void): void;
|
|
50
|
+
/**
|
|
51
|
+
* @see {@link GetMatchingJobCommand}
|
|
52
|
+
*/
|
|
53
|
+
getMatchingJob(args: GetMatchingJobCommandInput, options?: __HttpHandlerOptions): Promise<GetMatchingJobCommandOutput>;
|
|
54
|
+
getMatchingJob(args: GetMatchingJobCommandInput, cb: (err: any, data?: GetMatchingJobCommandOutput) => void): void;
|
|
55
|
+
getMatchingJob(args: GetMatchingJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMatchingJobCommandOutput) => void): void;
|
|
56
|
+
/**
|
|
57
|
+
* @see {@link GetMatchingWorkflowCommand}
|
|
58
|
+
*/
|
|
59
|
+
getMatchingWorkflow(args: GetMatchingWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<GetMatchingWorkflowCommandOutput>;
|
|
60
|
+
getMatchingWorkflow(args: GetMatchingWorkflowCommandInput, cb: (err: any, data?: GetMatchingWorkflowCommandOutput) => void): void;
|
|
61
|
+
getMatchingWorkflow(args: GetMatchingWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMatchingWorkflowCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* @see {@link GetSchemaMappingCommand}
|
|
64
|
+
*/
|
|
65
|
+
getSchemaMapping(args: GetSchemaMappingCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaMappingCommandOutput>;
|
|
66
|
+
getSchemaMapping(args: GetSchemaMappingCommandInput, cb: (err: any, data?: GetSchemaMappingCommandOutput) => void): void;
|
|
67
|
+
getSchemaMapping(args: GetSchemaMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaMappingCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* @see {@link ListMatchingJobsCommand}
|
|
70
|
+
*/
|
|
71
|
+
listMatchingJobs(args: ListMatchingJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListMatchingJobsCommandOutput>;
|
|
72
|
+
listMatchingJobs(args: ListMatchingJobsCommandInput, cb: (err: any, data?: ListMatchingJobsCommandOutput) => void): void;
|
|
73
|
+
listMatchingJobs(args: ListMatchingJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMatchingJobsCommandOutput) => void): void;
|
|
74
|
+
/**
|
|
75
|
+
* @see {@link ListMatchingWorkflowsCommand}
|
|
76
|
+
*/
|
|
77
|
+
listMatchingWorkflows(args: ListMatchingWorkflowsCommandInput, options?: __HttpHandlerOptions): Promise<ListMatchingWorkflowsCommandOutput>;
|
|
78
|
+
listMatchingWorkflows(args: ListMatchingWorkflowsCommandInput, cb: (err: any, data?: ListMatchingWorkflowsCommandOutput) => void): void;
|
|
79
|
+
listMatchingWorkflows(args: ListMatchingWorkflowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMatchingWorkflowsCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* @see {@link ListSchemaMappingsCommand}
|
|
82
|
+
*/
|
|
83
|
+
listSchemaMappings(args: ListSchemaMappingsCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemaMappingsCommandOutput>;
|
|
84
|
+
listSchemaMappings(args: ListSchemaMappingsCommandInput, cb: (err: any, data?: ListSchemaMappingsCommandOutput) => void): void;
|
|
85
|
+
listSchemaMappings(args: ListSchemaMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemaMappingsCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* @see {@link ListTagsForResourceCommand}
|
|
88
|
+
*/
|
|
89
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
90
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
91
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
92
|
+
/**
|
|
93
|
+
* @see {@link StartMatchingJobCommand}
|
|
94
|
+
*/
|
|
95
|
+
startMatchingJob(args: StartMatchingJobCommandInput, options?: __HttpHandlerOptions): Promise<StartMatchingJobCommandOutput>;
|
|
96
|
+
startMatchingJob(args: StartMatchingJobCommandInput, cb: (err: any, data?: StartMatchingJobCommandOutput) => void): void;
|
|
97
|
+
startMatchingJob(args: StartMatchingJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartMatchingJobCommandOutput) => void): void;
|
|
98
|
+
/**
|
|
99
|
+
* @see {@link TagResourceCommand}
|
|
100
|
+
*/
|
|
101
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
102
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
103
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
104
|
+
/**
|
|
105
|
+
* @see {@link UntagResourceCommand}
|
|
106
|
+
*/
|
|
107
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
108
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
109
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* @see {@link UpdateMatchingWorkflowCommand}
|
|
112
|
+
*/
|
|
113
|
+
updateMatchingWorkflow(args: UpdateMatchingWorkflowCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMatchingWorkflowCommandOutput>;
|
|
114
|
+
updateMatchingWorkflow(args: UpdateMatchingWorkflowCommandInput, cb: (err: any, data?: UpdateMatchingWorkflowCommandOutput) => void): void;
|
|
115
|
+
updateMatchingWorkflow(args: UpdateMatchingWorkflowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMatchingWorkflowCommandOutput) => void): void;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* <p>Welcome to the <i>AWS Entity Resolution API Reference</i>.</p>
|
|
120
|
+
* <p>AWS Entity Resolution is an AWS service that provides pre-configured entity resolution capabilities
|
|
121
|
+
* that enable developers and analysts at advertising and marketing companies to build an accurate and
|
|
122
|
+
* complete view of their consumers.</p>
|
|
123
|
+
* <p>
|
|
124
|
+
* With AWS Entity Resolution, you have the ability to match source records containing consumer identifiers,
|
|
125
|
+
* such as name, email address, and phone number. This holds true even when these records have incomplete or
|
|
126
|
+
* conflicting identifiers. For example, AWS Entity Resolution can effectively match a source record from a
|
|
127
|
+
* customer relationship management (CRM) system, which includes account information like first name, last name,
|
|
128
|
+
* postal address, phone number, and email address, with a source record from a marketing system containing
|
|
129
|
+
* campaign information, such as username and email address.</p>
|
|
130
|
+
* <p>To learn more about AWS Entity Resolution concepts, procedures, and best practices, see the
|
|
131
|
+
* <a href="https://docs.aws.amazon.com/entityresolution/latest/userguide/what-is-service.html">AWS Entity Resolution
|
|
132
|
+
* User Guide</a>.</p>
|
|
133
|
+
*/
|
|
134
|
+
export declare class EntityResolution extends EntityResolutionClient implements EntityResolution {
|
|
135
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
3
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
4
|
+
import { Credentials as __Credentials } from "@aws-sdk/types";
|
|
5
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
7
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
8
|
+
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
|
+
import { CreateMatchingWorkflowCommandInput, CreateMatchingWorkflowCommandOutput } from "./commands/CreateMatchingWorkflowCommand";
|
|
12
|
+
import { CreateSchemaMappingCommandInput, CreateSchemaMappingCommandOutput } from "./commands/CreateSchemaMappingCommand";
|
|
13
|
+
import { DeleteMatchingWorkflowCommandInput, DeleteMatchingWorkflowCommandOutput } from "./commands/DeleteMatchingWorkflowCommand";
|
|
14
|
+
import { DeleteSchemaMappingCommandInput, DeleteSchemaMappingCommandOutput } from "./commands/DeleteSchemaMappingCommand";
|
|
15
|
+
import { GetMatchIdCommandInput, GetMatchIdCommandOutput } from "./commands/GetMatchIdCommand";
|
|
16
|
+
import { GetMatchingJobCommandInput, GetMatchingJobCommandOutput } from "./commands/GetMatchingJobCommand";
|
|
17
|
+
import { GetMatchingWorkflowCommandInput, GetMatchingWorkflowCommandOutput } from "./commands/GetMatchingWorkflowCommand";
|
|
18
|
+
import { GetSchemaMappingCommandInput, GetSchemaMappingCommandOutput } from "./commands/GetSchemaMappingCommand";
|
|
19
|
+
import { ListMatchingJobsCommandInput, ListMatchingJobsCommandOutput } from "./commands/ListMatchingJobsCommand";
|
|
20
|
+
import { ListMatchingWorkflowsCommandInput, ListMatchingWorkflowsCommandOutput } from "./commands/ListMatchingWorkflowsCommand";
|
|
21
|
+
import { ListSchemaMappingsCommandInput, ListSchemaMappingsCommandOutput } from "./commands/ListSchemaMappingsCommand";
|
|
22
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
23
|
+
import { StartMatchingJobCommandInput, StartMatchingJobCommandOutput } from "./commands/StartMatchingJobCommand";
|
|
24
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
25
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
26
|
+
import { UpdateMatchingWorkflowCommandInput, UpdateMatchingWorkflowCommandOutput } from "./commands/UpdateMatchingWorkflowCommand";
|
|
27
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
28
|
+
export { __Client };
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type ServiceInputTypes = CreateMatchingWorkflowCommandInput | CreateSchemaMappingCommandInput | DeleteMatchingWorkflowCommandInput | DeleteSchemaMappingCommandInput | GetMatchIdCommandInput | GetMatchingJobCommandInput | GetMatchingWorkflowCommandInput | GetSchemaMappingCommandInput | ListMatchingJobsCommandInput | ListMatchingWorkflowsCommandInput | ListSchemaMappingsCommandInput | ListTagsForResourceCommandInput | StartMatchingJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateMatchingWorkflowCommandInput;
|
|
33
|
+
/**
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export type ServiceOutputTypes = CreateMatchingWorkflowCommandOutput | CreateSchemaMappingCommandOutput | DeleteMatchingWorkflowCommandOutput | DeleteSchemaMappingCommandOutput | GetMatchIdCommandOutput | GetMatchingJobCommandOutput | GetMatchingWorkflowCommandOutput | GetSchemaMappingCommandOutput | ListMatchingJobsCommandOutput | ListMatchingWorkflowsCommandOutput | ListSchemaMappingsCommandOutput | ListTagsForResourceCommandOutput | StartMatchingJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateMatchingWorkflowCommandOutput;
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
41
|
+
/**
|
|
42
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
43
|
+
*/
|
|
44
|
+
requestHandler?: __HttpHandler;
|
|
45
|
+
/**
|
|
46
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
47
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
51
|
+
/**
|
|
52
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
urlParser?: __UrlParser;
|
|
56
|
+
/**
|
|
57
|
+
* A function that can calculate the length of a request body.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
61
|
+
/**
|
|
62
|
+
* A function that converts a stream into an array of bytes.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
streamCollector?: __StreamCollector;
|
|
66
|
+
/**
|
|
67
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
base64Decoder?: __Decoder;
|
|
71
|
+
/**
|
|
72
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
base64Encoder?: __Encoder;
|
|
76
|
+
/**
|
|
77
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
utf8Decoder?: __Decoder;
|
|
81
|
+
/**
|
|
82
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
utf8Encoder?: __Encoder;
|
|
86
|
+
/**
|
|
87
|
+
* The runtime environment.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
runtime?: string;
|
|
91
|
+
/**
|
|
92
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
93
|
+
* trait of an operation.
|
|
94
|
+
*/
|
|
95
|
+
disableHostPrefix?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Unique service identifier.
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
serviceId?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
103
|
+
*/
|
|
104
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* Enables FIPS compatible endpoints.
|
|
107
|
+
*/
|
|
108
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
109
|
+
/**
|
|
110
|
+
* The AWS region to which this client will send requests
|
|
111
|
+
*/
|
|
112
|
+
region?: string | __Provider<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Default credentials provider; Not available in browser runtime.
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
118
|
+
/**
|
|
119
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
123
|
+
/**
|
|
124
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
125
|
+
*/
|
|
126
|
+
maxAttempts?: number | __Provider<number>;
|
|
127
|
+
/**
|
|
128
|
+
* Specifies which retry algorithm to use.
|
|
129
|
+
*/
|
|
130
|
+
retryMode?: string | __Provider<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Optional logger for logging debug/info/warn/error.
|
|
133
|
+
*/
|
|
134
|
+
logger?: __Logger;
|
|
135
|
+
/**
|
|
136
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
137
|
+
*/
|
|
138
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
export type EntityResolutionClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
144
|
+
/**
|
|
145
|
+
* @public
|
|
146
|
+
*
|
|
147
|
+
* The configuration interface of EntityResolutionClient class constructor that set the region, credentials and other options.
|
|
148
|
+
*/
|
|
149
|
+
export interface EntityResolutionClientConfig extends EntityResolutionClientConfigType {
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export type EntityResolutionClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
155
|
+
/**
|
|
156
|
+
* @public
|
|
157
|
+
*
|
|
158
|
+
* The resolved configuration interface of EntityResolutionClient class. This is resolved and normalized from the {@link EntityResolutionClientConfig | constructor configuration interface}.
|
|
159
|
+
*/
|
|
160
|
+
export interface EntityResolutionClientResolvedConfig extends EntityResolutionClientResolvedConfigType {
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* <p>Welcome to the <i>AWS Entity Resolution API Reference</i>.</p>
|
|
165
|
+
* <p>AWS Entity Resolution is an AWS service that provides pre-configured entity resolution capabilities
|
|
166
|
+
* that enable developers and analysts at advertising and marketing companies to build an accurate and
|
|
167
|
+
* complete view of their consumers.</p>
|
|
168
|
+
* <p>
|
|
169
|
+
* With AWS Entity Resolution, you have the ability to match source records containing consumer identifiers,
|
|
170
|
+
* such as name, email address, and phone number. This holds true even when these records have incomplete or
|
|
171
|
+
* conflicting identifiers. For example, AWS Entity Resolution can effectively match a source record from a
|
|
172
|
+
* customer relationship management (CRM) system, which includes account information like first name, last name,
|
|
173
|
+
* postal address, phone number, and email address, with a source record from a marketing system containing
|
|
174
|
+
* campaign information, such as username and email address.</p>
|
|
175
|
+
* <p>To learn more about AWS Entity Resolution concepts, procedures, and best practices, see the
|
|
176
|
+
* <a href="https://docs.aws.amazon.com/entityresolution/latest/userguide/what-is-service.html">AWS Entity Resolution
|
|
177
|
+
* User Guide</a>.</p>
|
|
178
|
+
*/
|
|
179
|
+
export declare class EntityResolutionClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EntityResolutionClientResolvedConfig> {
|
|
180
|
+
/**
|
|
181
|
+
* The resolved configuration of EntityResolutionClient class. This is resolved and normalized from the {@link EntityResolutionClientConfig | constructor configuration interface}.
|
|
182
|
+
*/
|
|
183
|
+
readonly config: EntityResolutionClientResolvedConfig;
|
|
184
|
+
constructor(configuration: EntityResolutionClientConfig);
|
|
185
|
+
/**
|
|
186
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
187
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
188
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
189
|
+
*/
|
|
190
|
+
destroy(): void;
|
|
191
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { EntityResolutionClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EntityResolutionClient";
|
|
5
|
+
import { CreateMatchingWorkflowInput, CreateMatchingWorkflowOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateMatchingWorkflowCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateMatchingWorkflowCommandInput extends CreateMatchingWorkflowInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateMatchingWorkflowCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateMatchingWorkflowCommandOutput extends CreateMatchingWorkflowOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a <code>MatchingWorkflow</code> object which stores the configuration of the data processing job
|
|
27
|
+
* to be run. It is important to note that there should not be a pre-existing <code>MatchingWorkflow</code>
|
|
28
|
+
* with the same name. To modify an existing workflow, utilize the <code>UpdateMatchingWorkflow</code> API.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { EntityResolutionClient, CreateMatchingWorkflowCommand } from "@aws-sdk/client-entityresolution"; // ES Modules import
|
|
33
|
+
* // const { EntityResolutionClient, CreateMatchingWorkflowCommand } = require("@aws-sdk/client-entityresolution"); // CommonJS import
|
|
34
|
+
* const client = new EntityResolutionClient(config);
|
|
35
|
+
* const input = { // CreateMatchingWorkflowInput
|
|
36
|
+
* workflowName: "STRING_VALUE", // required
|
|
37
|
+
* description: "STRING_VALUE",
|
|
38
|
+
* inputSourceConfig: [ // InputSourceConfig // required
|
|
39
|
+
* { // InputSource
|
|
40
|
+
* inputSourceARN: "STRING_VALUE", // required
|
|
41
|
+
* schemaName: "STRING_VALUE", // required
|
|
42
|
+
* applyNormalization: true || false,
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* outputSourceConfig: [ // OutputSourceConfig // required
|
|
46
|
+
* { // OutputSource
|
|
47
|
+
* outputS3Path: "STRING_VALUE", // required
|
|
48
|
+
* output: [ // OutputAttributes // required
|
|
49
|
+
* { // OutputAttribute
|
|
50
|
+
* name: "STRING_VALUE", // required
|
|
51
|
+
* hashed: true || false,
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* KMSArn: "STRING_VALUE",
|
|
55
|
+
* applyNormalization: true || false,
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* resolutionTechniques: { // ResolutionTechniques
|
|
59
|
+
* resolutionType: "RULE_MATCHING" || "ML_MATCHING",
|
|
60
|
+
* ruleBasedProperties: { // RuleBasedProperties
|
|
61
|
+
* rules: [ // RuleList // required
|
|
62
|
+
* { // Rule
|
|
63
|
+
* ruleName: "STRING_VALUE", // required
|
|
64
|
+
* matchingKeys: [ // MatchingKeys // required
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* ],
|
|
69
|
+
* attributeMatchingModel: "ONE_TO_ONE" || "MANY_TO_MANY", // required
|
|
70
|
+
* },
|
|
71
|
+
* },
|
|
72
|
+
* incrementalRunConfig: { // IncrementalRunConfig
|
|
73
|
+
* incrementalRunType: "IMMEDIATE",
|
|
74
|
+
* },
|
|
75
|
+
* roleArn: "STRING_VALUE", // required
|
|
76
|
+
* tags: { // TagMap
|
|
77
|
+
* "<keys>": "STRING_VALUE",
|
|
78
|
+
* },
|
|
79
|
+
* };
|
|
80
|
+
* const command = new CreateMatchingWorkflowCommand(input);
|
|
81
|
+
* const response = await client.send(command);
|
|
82
|
+
* // { // CreateMatchingWorkflowOutput
|
|
83
|
+
* // workflowName: "STRING_VALUE", // required
|
|
84
|
+
* // workflowArn: "STRING_VALUE", // required
|
|
85
|
+
* // description: "STRING_VALUE",
|
|
86
|
+
* // inputSourceConfig: [ // InputSourceConfig // required
|
|
87
|
+
* // { // InputSource
|
|
88
|
+
* // inputSourceARN: "STRING_VALUE", // required
|
|
89
|
+
* // schemaName: "STRING_VALUE", // required
|
|
90
|
+
* // applyNormalization: true || false,
|
|
91
|
+
* // },
|
|
92
|
+
* // ],
|
|
93
|
+
* // outputSourceConfig: [ // OutputSourceConfig // required
|
|
94
|
+
* // { // OutputSource
|
|
95
|
+
* // outputS3Path: "STRING_VALUE", // required
|
|
96
|
+
* // output: [ // OutputAttributes // required
|
|
97
|
+
* // { // OutputAttribute
|
|
98
|
+
* // name: "STRING_VALUE", // required
|
|
99
|
+
* // hashed: true || false,
|
|
100
|
+
* // },
|
|
101
|
+
* // ],
|
|
102
|
+
* // KMSArn: "STRING_VALUE",
|
|
103
|
+
* // applyNormalization: true || false,
|
|
104
|
+
* // },
|
|
105
|
+
* // ],
|
|
106
|
+
* // resolutionTechniques: { // ResolutionTechniques
|
|
107
|
+
* // resolutionType: "RULE_MATCHING" || "ML_MATCHING",
|
|
108
|
+
* // ruleBasedProperties: { // RuleBasedProperties
|
|
109
|
+
* // rules: [ // RuleList // required
|
|
110
|
+
* // { // Rule
|
|
111
|
+
* // ruleName: "STRING_VALUE", // required
|
|
112
|
+
* // matchingKeys: [ // MatchingKeys // required
|
|
113
|
+
* // "STRING_VALUE",
|
|
114
|
+
* // ],
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // attributeMatchingModel: "ONE_TO_ONE" || "MANY_TO_MANY", // required
|
|
118
|
+
* // },
|
|
119
|
+
* // },
|
|
120
|
+
* // incrementalRunConfig: { // IncrementalRunConfig
|
|
121
|
+
* // incrementalRunType: "IMMEDIATE",
|
|
122
|
+
* // },
|
|
123
|
+
* // roleArn: "STRING_VALUE", // required
|
|
124
|
+
* // };
|
|
125
|
+
*
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
128
|
+
* @param CreateMatchingWorkflowCommandInput - {@link CreateMatchingWorkflowCommandInput}
|
|
129
|
+
* @returns {@link CreateMatchingWorkflowCommandOutput}
|
|
130
|
+
* @see {@link CreateMatchingWorkflowCommandInput} for command's `input` shape.
|
|
131
|
+
* @see {@link CreateMatchingWorkflowCommandOutput} for command's `response` shape.
|
|
132
|
+
* @see {@link EntityResolutionClientResolvedConfig | config} for EntityResolutionClient's `config` shape.
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
135
|
+
* <p>You do not have sufficient access to perform this action. <code>HTTP Status Code: 403</code>
|
|
136
|
+
* </p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link ConflictException} (client fault)
|
|
139
|
+
* <p>The request could not be processed because of conflict in the current state of the resource. Example: Workflow already exists,
|
|
140
|
+
* Schema already exists, Workflow is currently running, etc. <code>HTTP Status Code: 400</code>
|
|
141
|
+
* </p>
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link ExceedsLimitException} (client fault)
|
|
144
|
+
* <p>The request was rejected because it attempted to create resources beyond the current AWS Entity Resolution account limits.
|
|
145
|
+
* The error message describes the limit exceeded. <code>HTTP Status Code: 402</code>
|
|
146
|
+
* </p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link InternalServerException} (server fault)
|
|
149
|
+
* <p>This exception occurs when there is an internal failure in the AWS Entity Resolution service. <code>HTTP Status Code: 500</code>
|
|
150
|
+
* </p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
153
|
+
* <p>The request was denied due to request throttling. <code>HTTP Status Code: 429</code>
|
|
154
|
+
* </p>
|
|
155
|
+
*
|
|
156
|
+
* @throws {@link ValidationException} (client fault)
|
|
157
|
+
* <p>The input fails to satisfy the constraints specified by AWS Entity Resolution. <code>HTTP Status Code: 400</code>
|
|
158
|
+
* </p>
|
|
159
|
+
*
|
|
160
|
+
* @throws {@link EntityResolutionServiceException}
|
|
161
|
+
* <p>Base exception class for all service exceptions from EntityResolution service.</p>
|
|
162
|
+
*
|
|
163
|
+
*/
|
|
164
|
+
export declare class CreateMatchingWorkflowCommand extends $Command<CreateMatchingWorkflowCommandInput, CreateMatchingWorkflowCommandOutput, EntityResolutionClientResolvedConfig> {
|
|
165
|
+
readonly input: CreateMatchingWorkflowCommandInput;
|
|
166
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
constructor(input: CreateMatchingWorkflowCommandInput);
|
|
171
|
+
/**
|
|
172
|
+
* @internal
|
|
173
|
+
*/
|
|
174
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EntityResolutionClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateMatchingWorkflowCommandInput, CreateMatchingWorkflowCommandOutput>;
|
|
175
|
+
/**
|
|
176
|
+
* @internal
|
|
177
|
+
*/
|
|
178
|
+
private serialize;
|
|
179
|
+
/**
|
|
180
|
+
* @internal
|
|
181
|
+
*/
|
|
182
|
+
private deserialize;
|
|
183
|
+
}
|