@aws-sdk/client-customer-profiles 3.39.0 → 3.43.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/CHANGELOG.md +41 -0
- package/dist-cjs/CustomerProfiles.js +45 -0
- package/dist-cjs/commands/GetAutoMergingPreviewCommand.js +36 -0
- package/dist-cjs/commands/GetIdentityResolutionJobCommand.js +36 -0
- package/dist-cjs/commands/ListIdentityResolutionJobsCommand.js +36 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoints.js +74 -5
- package/dist-cjs/models/models_0.js +124 -3
- package/dist-cjs/protocols/Aws_restJson1.js +621 -2
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/CustomerProfiles.js +45 -0
- package/dist-es/commands/GetAutoMergingPreviewCommand.js +39 -0
- package/dist-es/commands/GetIdentityResolutionJobCommand.js +39 -0
- package/dist-es/commands/ListIdentityResolutionJobsCommand.js +39 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoints.js +74 -5
- package/dist-es/models/models_0.js +89 -0
- package/dist-es/protocols/Aws_restJson1.js +653 -4
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/CustomerProfiles.d.ts +48 -2
- package/dist-types/CustomerProfilesClient.d.ts +13 -2
- package/dist-types/commands/AddProfileKeyCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +3 -1
- package/dist-types/commands/CreateProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProfileKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProfileObjectCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetAutoMergingPreviewCommand.d.ts +48 -0
- package/dist-types/commands/GetDomainCommand.d.ts +1 -1
- package/dist-types/commands/GetIdentityResolutionJobCommand.d.ts +37 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/GetMatchesCommand.d.ts +8 -3
- package/dist-types/commands/GetProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetProfileObjectTypeTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountIntegrationsCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListIdentityResolutionJobsCommand.d.ts +36 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +1 -1
- package/dist-types/commands/ListProfileObjectTypeTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListProfileObjectTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListProfileObjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/MergeProfilesCommand.d.ts +1 -1
- package/dist-types/commands/PutIntegrationCommand.d.ts +1 -1
- package/dist-types/commands/PutProfileObjectCommand.d.ts +1 -1
- package/dist-types/commands/PutProfileObjectTypeCommand.d.ts +1 -1
- package/dist-types/commands/SearchProfilesCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainCommand.d.ts +3 -1
- package/dist-types/commands/UpdateProfileCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +573 -28
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +15 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +9 -2
- package/dist-types/ts3.4/commands/GetAutoMergingPreviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetIdentityResolutionJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListIdentityResolutionJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +250 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
|
@@ -8,13 +8,16 @@ import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./command
|
|
|
8
8
|
import { DeleteProfileKeyCommandInput, DeleteProfileKeyCommandOutput } from "./commands/DeleteProfileKeyCommand";
|
|
9
9
|
import { DeleteProfileObjectCommandInput, DeleteProfileObjectCommandOutput } from "./commands/DeleteProfileObjectCommand";
|
|
10
10
|
import { DeleteProfileObjectTypeCommandInput, DeleteProfileObjectTypeCommandOutput } from "./commands/DeleteProfileObjectTypeCommand";
|
|
11
|
+
import { GetAutoMergingPreviewCommandInput, GetAutoMergingPreviewCommandOutput } from "./commands/GetAutoMergingPreviewCommand";
|
|
11
12
|
import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
|
|
13
|
+
import { GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
|
|
12
14
|
import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
13
15
|
import { GetMatchesCommandInput, GetMatchesCommandOutput } from "./commands/GetMatchesCommand";
|
|
14
16
|
import { GetProfileObjectTypeCommandInput, GetProfileObjectTypeCommandOutput } from "./commands/GetProfileObjectTypeCommand";
|
|
15
17
|
import { GetProfileObjectTypeTemplateCommandInput, GetProfileObjectTypeTemplateCommandOutput } from "./commands/GetProfileObjectTypeTemplateCommand";
|
|
16
18
|
import { ListAccountIntegrationsCommandInput, ListAccountIntegrationsCommandOutput } from "./commands/ListAccountIntegrationsCommand";
|
|
17
19
|
import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
|
|
20
|
+
import { ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsCommandOutput } from "./commands/ListIdentityResolutionJobsCommand";
|
|
18
21
|
import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
19
22
|
import { ListProfileObjectsCommandInput, ListProfileObjectsCommandOutput } from "./commands/ListProfileObjectsCommand";
|
|
20
23
|
import { ListProfileObjectTypesCommandInput, ListProfileObjectTypesCommandOutput } from "./commands/ListProfileObjectTypesCommand";
|
|
@@ -61,6 +64,8 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
61
64
|
* <p>Use this API or <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
|
|
62
65
|
* enable <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">identity
|
|
63
66
|
* resolution</a>: set <code>Matching</code> to true. </p>
|
|
67
|
+
* <p>To prevent cross-service impersonation when you call this API, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html">Cross-service confused deputy prevention</a> for sample policies that you should
|
|
68
|
+
* apply. </p>
|
|
64
69
|
*/
|
|
65
70
|
createDomain(args: CreateDomainCommandInput, options?: __HttpHandlerOptions): Promise<CreateDomainCommandOutput>;
|
|
66
71
|
createDomain(args: CreateDomainCommandInput, cb: (err: any, data?: CreateDomainCommandOutput) => void): void;
|
|
@@ -113,12 +118,39 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
113
118
|
deleteProfileObjectType(args: DeleteProfileObjectTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileObjectTypeCommandOutput>;
|
|
114
119
|
deleteProfileObjectType(args: DeleteProfileObjectTypeCommandInput, cb: (err: any, data?: DeleteProfileObjectTypeCommandOutput) => void): void;
|
|
115
120
|
deleteProfileObjectType(args: DeleteProfileObjectTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileObjectTypeCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* <p>Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly
|
|
123
|
+
* selects a sample of matching groups from the existing matching results, and applies the
|
|
124
|
+
* automerging settings that you provided. You can then view the number of profiles in the
|
|
125
|
+
* sample, the number of matches, and the number of profiles identified to be merged. This
|
|
126
|
+
* enables you to evaluate the accuracy of the attributes in your matching list. </p>
|
|
127
|
+
* <p>You can't view which profiles are matched and would be merged.</p>
|
|
128
|
+
* <important>
|
|
129
|
+
*
|
|
130
|
+
* <p>We strongly recommend you use this API to do a dry run of the automerging process
|
|
131
|
+
* before running the Identity Resolution Job. Include <b>at least</b> two matching
|
|
132
|
+
* attributes. If your matching list includes too few attributes (such as only
|
|
133
|
+
* <code>FirstName</code> or only <code>LastName</code>), there may be a large number of
|
|
134
|
+
* matches. This increases the chances of erroneous merges.</p>
|
|
135
|
+
* </important>
|
|
136
|
+
*/
|
|
137
|
+
getAutoMergingPreview(args: GetAutoMergingPreviewCommandInput, options?: __HttpHandlerOptions): Promise<GetAutoMergingPreviewCommandOutput>;
|
|
138
|
+
getAutoMergingPreview(args: GetAutoMergingPreviewCommandInput, cb: (err: any, data?: GetAutoMergingPreviewCommandOutput) => void): void;
|
|
139
|
+
getAutoMergingPreview(args: GetAutoMergingPreviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAutoMergingPreviewCommandOutput) => void): void;
|
|
116
140
|
/**
|
|
117
141
|
* <p>Returns information about a specific domain.</p>
|
|
118
142
|
*/
|
|
119
143
|
getDomain(args: GetDomainCommandInput, options?: __HttpHandlerOptions): Promise<GetDomainCommandOutput>;
|
|
120
144
|
getDomain(args: GetDomainCommandInput, cb: (err: any, data?: GetDomainCommandOutput) => void): void;
|
|
121
145
|
getDomain(args: GetDomainCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDomainCommandOutput) => void): void;
|
|
146
|
+
/**
|
|
147
|
+
* <p>Returns information about an Identity Resolution Job in a specific domain. </p>
|
|
148
|
+
* <p>Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/use-identity-resolution.html">Use
|
|
149
|
+
* Identity Resolution to consolidate similar profiles</a>.</p>
|
|
150
|
+
*/
|
|
151
|
+
getIdentityResolutionJob(args: GetIdentityResolutionJobCommandInput, options?: __HttpHandlerOptions): Promise<GetIdentityResolutionJobCommandOutput>;
|
|
152
|
+
getIdentityResolutionJob(args: GetIdentityResolutionJobCommandInput, cb: (err: any, data?: GetIdentityResolutionJobCommandOutput) => void): void;
|
|
153
|
+
getIdentityResolutionJob(args: GetIdentityResolutionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIdentityResolutionJobCommandOutput) => void): void;
|
|
122
154
|
/**
|
|
123
155
|
* <p>Returns an integration for a domain.</p>
|
|
124
156
|
*/
|
|
@@ -133,8 +165,13 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
133
165
|
* <p>GetMatches returns potentially matching profiles, based on the results of the latest run
|
|
134
166
|
* of a machine learning process. </p>
|
|
135
167
|
* <important>
|
|
136
|
-
* <p>
|
|
137
|
-
*
|
|
168
|
+
* <p>The process of matching duplicate profiles. If <code>Matching</code> = <code>true</code>, Amazon Connect Customer Profiles starts a weekly
|
|
169
|
+
* batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every
|
|
170
|
+
* Saturday at 12AM UTC to detect duplicate profiles in your domains. </p>
|
|
171
|
+
* <p>After the Identity Resolution Job completes, use the
|
|
172
|
+
* <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">GetMatches</a>
|
|
173
|
+
* API to return and review the results. Or, if you have configured <code>ExportingConfig</code> in the <code>MatchingRequest</code>, you can download the results from
|
|
174
|
+
* S3.</p>
|
|
138
175
|
* </important>
|
|
139
176
|
*
|
|
140
177
|
* <p>Amazon Connect uses the following profile attributes to identify matches:</p>
|
|
@@ -203,6 +240,13 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
203
240
|
listDomains(args: ListDomainsCommandInput, options?: __HttpHandlerOptions): Promise<ListDomainsCommandOutput>;
|
|
204
241
|
listDomains(args: ListDomainsCommandInput, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
|
|
205
242
|
listDomains(args: ListDomainsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDomainsCommandOutput) => void): void;
|
|
243
|
+
/**
|
|
244
|
+
* <p>Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by
|
|
245
|
+
* <code>JobStartTime</code>.</p>
|
|
246
|
+
*/
|
|
247
|
+
listIdentityResolutionJobs(args: ListIdentityResolutionJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityResolutionJobsCommandOutput>;
|
|
248
|
+
listIdentityResolutionJobs(args: ListIdentityResolutionJobsCommandInput, cb: (err: any, data?: ListIdentityResolutionJobsCommandOutput) => void): void;
|
|
249
|
+
listIdentityResolutionJobs(args: ListIdentityResolutionJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityResolutionJobsCommandOutput) => void): void;
|
|
206
250
|
/**
|
|
207
251
|
* <p>Lists all of the integrations in your domain.</p>
|
|
208
252
|
*/
|
|
@@ -351,6 +395,8 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
351
395
|
* <p>Use this API or <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> to
|
|
352
396
|
* enable <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">identity
|
|
353
397
|
* resolution</a>: set <code>Matching</code> to true. </p>
|
|
398
|
+
* <p>To prevent cross-service impersonation when you call this API, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html">Cross-service confused deputy prevention</a> for sample policies that you should
|
|
399
|
+
* apply. </p>
|
|
354
400
|
*/
|
|
355
401
|
updateDomain(args: UpdateDomainCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDomainCommandOutput>;
|
|
356
402
|
updateDomain(args: UpdateDomainCommandInput, cb: (err: any, data?: UpdateDomainCommandOutput) => void): void;
|
|
@@ -15,13 +15,16 @@ import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./command
|
|
|
15
15
|
import { DeleteProfileKeyCommandInput, DeleteProfileKeyCommandOutput } from "./commands/DeleteProfileKeyCommand";
|
|
16
16
|
import { DeleteProfileObjectCommandInput, DeleteProfileObjectCommandOutput } from "./commands/DeleteProfileObjectCommand";
|
|
17
17
|
import { DeleteProfileObjectTypeCommandInput, DeleteProfileObjectTypeCommandOutput } from "./commands/DeleteProfileObjectTypeCommand";
|
|
18
|
+
import { GetAutoMergingPreviewCommandInput, GetAutoMergingPreviewCommandOutput } from "./commands/GetAutoMergingPreviewCommand";
|
|
18
19
|
import { GetDomainCommandInput, GetDomainCommandOutput } from "./commands/GetDomainCommand";
|
|
20
|
+
import { GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
|
|
19
21
|
import { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
20
22
|
import { GetMatchesCommandInput, GetMatchesCommandOutput } from "./commands/GetMatchesCommand";
|
|
21
23
|
import { GetProfileObjectTypeCommandInput, GetProfileObjectTypeCommandOutput } from "./commands/GetProfileObjectTypeCommand";
|
|
22
24
|
import { GetProfileObjectTypeTemplateCommandInput, GetProfileObjectTypeTemplateCommandOutput } from "./commands/GetProfileObjectTypeTemplateCommand";
|
|
23
25
|
import { ListAccountIntegrationsCommandInput, ListAccountIntegrationsCommandOutput } from "./commands/ListAccountIntegrationsCommand";
|
|
24
26
|
import { ListDomainsCommandInput, ListDomainsCommandOutput } from "./commands/ListDomainsCommand";
|
|
27
|
+
import { ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsCommandOutput } from "./commands/ListIdentityResolutionJobsCommand";
|
|
25
28
|
import { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
26
29
|
import { ListProfileObjectsCommandInput, ListProfileObjectsCommandOutput } from "./commands/ListProfileObjectsCommand";
|
|
27
30
|
import { ListProfileObjectTypesCommandInput, ListProfileObjectTypesCommandOutput } from "./commands/ListProfileObjectTypesCommand";
|
|
@@ -36,8 +39,8 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
36
39
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
37
40
|
import { UpdateDomainCommandInput, UpdateDomainCommandOutput } from "./commands/UpdateDomainCommand";
|
|
38
41
|
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
39
|
-
export declare type ServiceInputTypes = AddProfileKeyCommandInput | CreateDomainCommandInput | CreateProfileCommandInput | DeleteDomainCommandInput | DeleteIntegrationCommandInput | DeleteProfileCommandInput | DeleteProfileKeyCommandInput | DeleteProfileObjectCommandInput | DeleteProfileObjectTypeCommandInput | GetDomainCommandInput | GetIntegrationCommandInput | GetMatchesCommandInput | GetProfileObjectTypeCommandInput | GetProfileObjectTypeTemplateCommandInput | ListAccountIntegrationsCommandInput | ListDomainsCommandInput | ListIntegrationsCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListTagsForResourceCommandInput | MergeProfilesCommandInput | PutIntegrationCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | SearchProfilesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDomainCommandInput | UpdateProfileCommandInput;
|
|
40
|
-
export declare type ServiceOutputTypes = AddProfileKeyCommandOutput | CreateDomainCommandOutput | CreateProfileCommandOutput | DeleteDomainCommandOutput | DeleteIntegrationCommandOutput | DeleteProfileCommandOutput | DeleteProfileKeyCommandOutput | DeleteProfileObjectCommandOutput | DeleteProfileObjectTypeCommandOutput | GetDomainCommandOutput | GetIntegrationCommandOutput | GetMatchesCommandOutput | GetProfileObjectTypeCommandOutput | GetProfileObjectTypeTemplateCommandOutput | ListAccountIntegrationsCommandOutput | ListDomainsCommandOutput | ListIntegrationsCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListTagsForResourceCommandOutput | MergeProfilesCommandOutput | PutIntegrationCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | SearchProfilesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDomainCommandOutput | UpdateProfileCommandOutput;
|
|
42
|
+
export declare type ServiceInputTypes = AddProfileKeyCommandInput | CreateDomainCommandInput | CreateProfileCommandInput | DeleteDomainCommandInput | DeleteIntegrationCommandInput | DeleteProfileCommandInput | DeleteProfileKeyCommandInput | DeleteProfileObjectCommandInput | DeleteProfileObjectTypeCommandInput | GetAutoMergingPreviewCommandInput | GetDomainCommandInput | GetIdentityResolutionJobCommandInput | GetIntegrationCommandInput | GetMatchesCommandInput | GetProfileObjectTypeCommandInput | GetProfileObjectTypeTemplateCommandInput | ListAccountIntegrationsCommandInput | ListDomainsCommandInput | ListIdentityResolutionJobsCommandInput | ListIntegrationsCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListTagsForResourceCommandInput | MergeProfilesCommandInput | PutIntegrationCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | SearchProfilesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDomainCommandInput | UpdateProfileCommandInput;
|
|
43
|
+
export declare type ServiceOutputTypes = AddProfileKeyCommandOutput | CreateDomainCommandOutput | CreateProfileCommandOutput | DeleteDomainCommandOutput | DeleteIntegrationCommandOutput | DeleteProfileCommandOutput | DeleteProfileKeyCommandOutput | DeleteProfileObjectCommandOutput | DeleteProfileObjectTypeCommandOutput | GetAutoMergingPreviewCommandOutput | GetDomainCommandOutput | GetIdentityResolutionJobCommandOutput | GetIntegrationCommandOutput | GetMatchesCommandOutput | GetProfileObjectTypeCommandOutput | GetProfileObjectTypeTemplateCommandOutput | ListAccountIntegrationsCommandOutput | ListDomainsCommandOutput | ListIdentityResolutionJobsCommandOutput | ListIntegrationsCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListTagsForResourceCommandOutput | MergeProfilesCommandOutput | PutIntegrationCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | SearchProfilesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDomainCommandOutput | UpdateProfileCommandOutput;
|
|
41
44
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
42
45
|
/**
|
|
43
46
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -106,6 +109,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
106
109
|
* Optional logger for logging debug/info/warn/error.
|
|
107
110
|
*/
|
|
108
111
|
logger?: __Logger;
|
|
112
|
+
/**
|
|
113
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
114
|
+
*/
|
|
115
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
116
|
+
/**
|
|
117
|
+
* Enables FIPS compatible endpoints.
|
|
118
|
+
*/
|
|
119
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
109
120
|
/**
|
|
110
121
|
* Unique service identifier.
|
|
111
122
|
* @internal
|
|
@@ -23,7 +23,7 @@ export interface AddProfileKeyCommandOutput extends AddProfileKeyResponse, __Met
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link AddProfileKeyCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link AddProfileKeyCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class AddProfileKeyCommand extends $Command<AddProfileKeyCommandInput, AddProfileKeyCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -15,6 +15,8 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
15
15
|
* <p>Use this API or <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
|
|
16
16
|
* enable <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">identity
|
|
17
17
|
* resolution</a>: set <code>Matching</code> to true. </p>
|
|
18
|
+
* <p>To prevent cross-service impersonation when you call this API, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html">Cross-service confused deputy prevention</a> for sample policies that you should
|
|
19
|
+
* apply. </p>
|
|
18
20
|
* @example
|
|
19
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
22
|
* ```javascript
|
|
@@ -27,7 +29,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
|
|
|
27
29
|
*
|
|
28
30
|
* @see {@link CreateDomainCommandInput} for command's `input` shape.
|
|
29
31
|
* @see {@link CreateDomainCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
32
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
31
33
|
*
|
|
32
34
|
*/
|
|
33
35
|
export declare class CreateDomainCommand extends $Command<CreateDomainCommandInput, CreateDomainCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -22,7 +22,7 @@ export interface CreateProfileCommandOutput extends CreateProfileResponse, __Met
|
|
|
22
22
|
*
|
|
23
23
|
* @see {@link CreateProfileCommandInput} for command's `input` shape.
|
|
24
24
|
* @see {@link CreateProfileCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
25
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export declare class CreateProfileCommand extends $Command<CreateProfileCommandInput, CreateProfileCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface DeleteDomainCommandOutput extends DeleteDomainResponse, __Metad
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link DeleteDomainCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link DeleteDomainCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class DeleteDomainCommand extends $Command<DeleteDomainCommandInput, DeleteDomainCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteIntegrationCommandOutput extends DeleteIntegrationRespons
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteIntegrationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteIntegrationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteIntegrationCommand extends $Command<DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteProfileCommandOutput extends DeleteProfileResponse, __Met
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteProfileCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteProfileCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteProfileCommand extends $Command<DeleteProfileCommandInput, DeleteProfileCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteProfileKeyCommandOutput extends DeleteProfileKeyResponse,
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteProfileKeyCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteProfileKeyCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteProfileKeyCommand extends $Command<DeleteProfileKeyCommandInput, DeleteProfileKeyCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteProfileObjectCommandOutput extends DeleteProfileObjectRes
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteProfileObjectCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteProfileObjectCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteProfileObjectCommand extends $Command<DeleteProfileObjectCommandInput, DeleteProfileObjectCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -23,7 +23,7 @@ export interface DeleteProfileObjectTypeCommandOutput extends DeleteProfileObjec
|
|
|
23
23
|
*
|
|
24
24
|
* @see {@link DeleteProfileObjectTypeCommandInput} for command's `input` shape.
|
|
25
25
|
* @see {@link DeleteProfileObjectTypeCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
26
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
export declare class DeleteProfileObjectTypeCommand extends $Command<DeleteProfileObjectTypeCommandInput, DeleteProfileObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
|
|
4
|
+
import { GetAutoMergingPreviewRequest, GetAutoMergingPreviewResponse } from "../models/models_0";
|
|
5
|
+
export interface GetAutoMergingPreviewCommandInput extends GetAutoMergingPreviewRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetAutoMergingPreviewCommandOutput extends GetAutoMergingPreviewResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Tests the auto-merging settings of your Identity Resolution Job without merging your data. It randomly
|
|
11
|
+
* selects a sample of matching groups from the existing matching results, and applies the
|
|
12
|
+
* automerging settings that you provided. You can then view the number of profiles in the
|
|
13
|
+
* sample, the number of matches, and the number of profiles identified to be merged. This
|
|
14
|
+
* enables you to evaluate the accuracy of the attributes in your matching list. </p>
|
|
15
|
+
* <p>You can't view which profiles are matched and would be merged.</p>
|
|
16
|
+
* <important>
|
|
17
|
+
*
|
|
18
|
+
* <p>We strongly recommend you use this API to do a dry run of the automerging process
|
|
19
|
+
* before running the Identity Resolution Job. Include <b>at least</b> two matching
|
|
20
|
+
* attributes. If your matching list includes too few attributes (such as only
|
|
21
|
+
* <code>FirstName</code> or only <code>LastName</code>), there may be a large number of
|
|
22
|
+
* matches. This increases the chances of erroneous merges.</p>
|
|
23
|
+
* </important>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { CustomerProfilesClient, GetAutoMergingPreviewCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
28
|
+
* // const { CustomerProfilesClient, GetAutoMergingPreviewCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
29
|
+
* const client = new CustomerProfilesClient(config);
|
|
30
|
+
* const command = new GetAutoMergingPreviewCommand(input);
|
|
31
|
+
* const response = await client.send(command);
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* @see {@link GetAutoMergingPreviewCommandInput} for command's `input` shape.
|
|
35
|
+
* @see {@link GetAutoMergingPreviewCommandOutput} for command's `response` shape.
|
|
36
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare class GetAutoMergingPreviewCommand extends $Command<GetAutoMergingPreviewCommandInput, GetAutoMergingPreviewCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
40
|
+
readonly input: GetAutoMergingPreviewCommandInput;
|
|
41
|
+
constructor(input: GetAutoMergingPreviewCommandInput);
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetAutoMergingPreviewCommandInput, GetAutoMergingPreviewCommandOutput>;
|
|
46
|
+
private serialize;
|
|
47
|
+
private deserialize;
|
|
48
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface GetDomainCommandOutput extends GetDomainResponse, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetDomainCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetDomainCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetDomainCommand extends $Command<GetDomainCommandInput, GetDomainCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
|
|
4
|
+
import { GetIdentityResolutionJobRequest, GetIdentityResolutionJobResponse } from "../models/models_0";
|
|
5
|
+
export interface GetIdentityResolutionJobCommandInput extends GetIdentityResolutionJobRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetIdentityResolutionJobCommandOutput extends GetIdentityResolutionJobResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns information about an Identity Resolution Job in a specific domain. </p>
|
|
11
|
+
* <p>Identity Resolution Jobs are set up using the Amazon Connect admin console. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/use-identity-resolution.html">Use
|
|
12
|
+
* Identity Resolution to consolidate similar profiles</a>.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { CustomerProfilesClient, GetIdentityResolutionJobCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
17
|
+
* // const { CustomerProfilesClient, GetIdentityResolutionJobCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
18
|
+
* const client = new CustomerProfilesClient(config);
|
|
19
|
+
* const command = new GetIdentityResolutionJobCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetIdentityResolutionJobCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetIdentityResolutionJobCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetIdentityResolutionJobCommand extends $Command<GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
29
|
+
readonly input: GetIdentityResolutionJobCommandInput;
|
|
30
|
+
constructor(input: GetIdentityResolutionJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface GetIntegrationCommandOutput extends GetIntegrationResponse, __M
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetIntegrationCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetIntegrationCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetIntegrationCommand extends $Command<GetIntegrationCommandInput, GetIntegrationCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -14,8 +14,13 @@ export interface GetMatchesCommandOutput extends GetMatchesResponse, __MetadataB
|
|
|
14
14
|
* <p>GetMatches returns potentially matching profiles, based on the results of the latest run
|
|
15
15
|
* of a machine learning process. </p>
|
|
16
16
|
* <important>
|
|
17
|
-
* <p>
|
|
18
|
-
*
|
|
17
|
+
* <p>The process of matching duplicate profiles. If <code>Matching</code> = <code>true</code>, Amazon Connect Customer Profiles starts a weekly
|
|
18
|
+
* batch process called Identity Resolution Job. If you do not specify a date and time for Identity Resolution Job to run, by default it runs every
|
|
19
|
+
* Saturday at 12AM UTC to detect duplicate profiles in your domains. </p>
|
|
20
|
+
* <p>After the Identity Resolution Job completes, use the
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_GetMatches.html">GetMatches</a>
|
|
22
|
+
* API to return and review the results. Or, if you have configured <code>ExportingConfig</code> in the <code>MatchingRequest</code>, you can download the results from
|
|
23
|
+
* S3.</p>
|
|
19
24
|
* </important>
|
|
20
25
|
*
|
|
21
26
|
* <p>Amazon Connect uses the following profile attributes to identify matches:</p>
|
|
@@ -64,7 +69,7 @@ export interface GetMatchesCommandOutput extends GetMatchesResponse, __MetadataB
|
|
|
64
69
|
*
|
|
65
70
|
* @see {@link GetMatchesCommandInput} for command's `input` shape.
|
|
66
71
|
* @see {@link GetMatchesCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
72
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
68
73
|
*
|
|
69
74
|
*/
|
|
70
75
|
export declare class GetMatchesCommand extends $Command<GetMatchesCommandInput, GetMatchesCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetProfileObjectTypeCommandOutput extends GetProfileObjectTypeR
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetProfileObjectTypeCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetProfileObjectTypeCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetProfileObjectTypeCommand extends $Command<GetProfileObjectTypeCommandInput, GetProfileObjectTypeCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -24,7 +24,7 @@ export interface GetProfileObjectTypeTemplateCommandOutput extends GetProfileObj
|
|
|
24
24
|
*
|
|
25
25
|
* @see {@link GetProfileObjectTypeTemplateCommandInput} for command's `input` shape.
|
|
26
26
|
* @see {@link GetProfileObjectTypeTemplateCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
27
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
28
28
|
*
|
|
29
29
|
*/
|
|
30
30
|
export declare class GetProfileObjectTypeTemplateCommand extends $Command<GetProfileObjectTypeTemplateCommandInput, GetProfileObjectTypeTemplateCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListAccountIntegrationsCommandOutput extends ListAccountIntegra
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListAccountIntegrationsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListAccountIntegrationsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListAccountIntegrationsCommand extends $Command<ListAccountIntegrationsCommandInput, ListAccountIntegrationsCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListDomainsCommandOutput extends ListDomainsResponse, __Metadat
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListDomainsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListDomainsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListDomainsCommand extends $Command<ListDomainsCommandInput, ListDomainsCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CustomerProfilesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CustomerProfilesClient";
|
|
4
|
+
import { ListIdentityResolutionJobsRequest, ListIdentityResolutionJobsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListIdentityResolutionJobsCommandInput extends ListIdentityResolutionJobsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListIdentityResolutionJobsCommandOutput extends ListIdentityResolutionJobsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Lists all of the Identity Resolution Jobs in your domain. The response sorts the list by
|
|
11
|
+
* <code>JobStartTime</code>.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { CustomerProfilesClient, ListIdentityResolutionJobsCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
16
|
+
* // const { CustomerProfilesClient, ListIdentityResolutionJobsCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
17
|
+
* const client = new CustomerProfilesClient(config);
|
|
18
|
+
* const command = new ListIdentityResolutionJobsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListIdentityResolutionJobsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListIdentityResolutionJobsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListIdentityResolutionJobsCommand extends $Command<ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
28
|
+
readonly input: ListIdentityResolutionJobsCommandInput;
|
|
29
|
+
constructor(input: ListIdentityResolutionJobsCommandInput);
|
|
30
|
+
/**
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CustomerProfilesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsCommandOutput>;
|
|
34
|
+
private serialize;
|
|
35
|
+
private deserialize;
|
|
36
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface ListIntegrationsCommandOutput extends ListIntegrationsResponse,
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListIntegrationsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListIntegrationsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListIntegrationsCommand extends $Command<ListIntegrationsCommandInput, ListIntegrationsCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListProfileObjectTypeTemplatesCommandOutput extends ListProfile
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListProfileObjectTypeTemplatesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListProfileObjectTypeTemplatesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListProfileObjectTypeTemplatesCommand extends $Command<ListProfileObjectTypeTemplatesCommandInput, ListProfileObjectTypeTemplatesCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListProfileObjectTypesCommandOutput extends ListProfileObjectTy
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListProfileObjectTypesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListProfileObjectTypesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListProfileObjectTypesCommand extends $Command<ListProfileObjectTypesCommandInput, ListProfileObjectTypesCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface ListProfileObjectsCommandOutput extends ListProfileObjectsRespo
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link ListProfileObjectsCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link ListProfileObjectsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class ListProfileObjectsCommand extends $Command<ListProfileObjectsCommandInput, ListProfileObjectsCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CustomerProfilesClientResolvedConfig> {
|
|
@@ -64,7 +64,7 @@ export interface MergeProfilesCommandOutput extends MergeProfilesResponse, __Met
|
|
|
64
64
|
*
|
|
65
65
|
* @see {@link MergeProfilesCommandInput} for command's `input` shape.
|
|
66
66
|
* @see {@link MergeProfilesCommandOutput} for command's `response` shape.
|
|
67
|
-
* @see {@link CustomerProfilesClientResolvedConfig | config} for
|
|
67
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
68
68
|
*
|
|
69
69
|
*/
|
|
70
70
|
export declare class MergeProfilesCommand extends $Command<MergeProfilesCommandInput, MergeProfilesCommandOutput, CustomerProfilesClientResolvedConfig> {
|