@aws-sdk/client-customer-profiles 3.370.0 → 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/README.md +16 -0
- package/dist-cjs/CustomerProfiles.js +4 -0
- package/dist-cjs/commands/GetSimilarProfilesCommand.js +46 -0
- package/dist-cjs/commands/ListRuleBasedMatchesCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +14 -1
- package/dist-cjs/protocols/Aws_restJson1.js +158 -2
- package/dist-es/CustomerProfiles.js +4 -0
- package/dist-es/commands/GetSimilarProfilesCommand.js +42 -0
- package/dist-es/commands/ListRuleBasedMatchesCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_restJson1.js +151 -0
- package/dist-types/CustomerProfiles.d.ts +14 -0
- package/dist-types/CustomerProfilesClient.d.ts +4 -2
- package/dist-types/commands/CreateDomainCommand.d.ts +70 -1
- package/dist-types/commands/GetDomainCommand.d.ts +35 -0
- package/dist-types/commands/GetSimilarProfilesCommand.d.ts +102 -0
- package/dist-types/commands/ListRuleBasedMatchesCommand.d.ts +93 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +70 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +444 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +34 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetSimilarProfilesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListRuleBasedMatchesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +76 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -408,6 +408,14 @@ GetProfileObjectTypeTemplate
|
|
|
408
408
|
|
|
409
409
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/getprofileobjecttypetemplatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getprofileobjecttypetemplatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getprofileobjecttypetemplatecommandoutput.html)
|
|
410
410
|
|
|
411
|
+
</details>
|
|
412
|
+
<details>
|
|
413
|
+
<summary>
|
|
414
|
+
GetSimilarProfiles
|
|
415
|
+
</summary>
|
|
416
|
+
|
|
417
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/getsimilarprofilescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getsimilarprofilescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/getsimilarprofilescommandoutput.html)
|
|
418
|
+
|
|
411
419
|
</details>
|
|
412
420
|
<details>
|
|
413
421
|
<summary>
|
|
@@ -504,6 +512,14 @@ ListProfileObjectTypeTemplates
|
|
|
504
512
|
|
|
505
513
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listprofileobjecttypetemplatescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listprofileobjecttypetemplatescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listprofileobjecttypetemplatescommandoutput.html)
|
|
506
514
|
|
|
515
|
+
</details>
|
|
516
|
+
<details>
|
|
517
|
+
<summary>
|
|
518
|
+
ListRuleBasedMatches
|
|
519
|
+
</summary>
|
|
520
|
+
|
|
521
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/classes/listrulebasedmatchescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listrulebasedmatchescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-customer-profiles/interfaces/listrulebasedmatchescommandoutput.html)
|
|
522
|
+
|
|
507
523
|
</details>
|
|
508
524
|
<details>
|
|
509
525
|
<summary>
|
|
@@ -27,6 +27,7 @@ const GetIntegrationCommand_1 = require("./commands/GetIntegrationCommand");
|
|
|
27
27
|
const GetMatchesCommand_1 = require("./commands/GetMatchesCommand");
|
|
28
28
|
const GetProfileObjectTypeCommand_1 = require("./commands/GetProfileObjectTypeCommand");
|
|
29
29
|
const GetProfileObjectTypeTemplateCommand_1 = require("./commands/GetProfileObjectTypeTemplateCommand");
|
|
30
|
+
const GetSimilarProfilesCommand_1 = require("./commands/GetSimilarProfilesCommand");
|
|
30
31
|
const GetWorkflowCommand_1 = require("./commands/GetWorkflowCommand");
|
|
31
32
|
const GetWorkflowStepsCommand_1 = require("./commands/GetWorkflowStepsCommand");
|
|
32
33
|
const ListAccountIntegrationsCommand_1 = require("./commands/ListAccountIntegrationsCommand");
|
|
@@ -39,6 +40,7 @@ const ListIntegrationsCommand_1 = require("./commands/ListIntegrationsCommand");
|
|
|
39
40
|
const ListProfileObjectsCommand_1 = require("./commands/ListProfileObjectsCommand");
|
|
40
41
|
const ListProfileObjectTypesCommand_1 = require("./commands/ListProfileObjectTypesCommand");
|
|
41
42
|
const ListProfileObjectTypeTemplatesCommand_1 = require("./commands/ListProfileObjectTypeTemplatesCommand");
|
|
43
|
+
const ListRuleBasedMatchesCommand_1 = require("./commands/ListRuleBasedMatchesCommand");
|
|
42
44
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
43
45
|
const ListWorkflowsCommand_1 = require("./commands/ListWorkflowsCommand");
|
|
44
46
|
const MergeProfilesCommand_1 = require("./commands/MergeProfilesCommand");
|
|
@@ -78,6 +80,7 @@ const commands = {
|
|
|
78
80
|
GetMatchesCommand: GetMatchesCommand_1.GetMatchesCommand,
|
|
79
81
|
GetProfileObjectTypeCommand: GetProfileObjectTypeCommand_1.GetProfileObjectTypeCommand,
|
|
80
82
|
GetProfileObjectTypeTemplateCommand: GetProfileObjectTypeTemplateCommand_1.GetProfileObjectTypeTemplateCommand,
|
|
83
|
+
GetSimilarProfilesCommand: GetSimilarProfilesCommand_1.GetSimilarProfilesCommand,
|
|
81
84
|
GetWorkflowCommand: GetWorkflowCommand_1.GetWorkflowCommand,
|
|
82
85
|
GetWorkflowStepsCommand: GetWorkflowStepsCommand_1.GetWorkflowStepsCommand,
|
|
83
86
|
ListAccountIntegrationsCommand: ListAccountIntegrationsCommand_1.ListAccountIntegrationsCommand,
|
|
@@ -90,6 +93,7 @@ const commands = {
|
|
|
90
93
|
ListProfileObjectsCommand: ListProfileObjectsCommand_1.ListProfileObjectsCommand,
|
|
91
94
|
ListProfileObjectTypesCommand: ListProfileObjectTypesCommand_1.ListProfileObjectTypesCommand,
|
|
92
95
|
ListProfileObjectTypeTemplatesCommand: ListProfileObjectTypeTemplatesCommand_1.ListProfileObjectTypeTemplatesCommand,
|
|
96
|
+
ListRuleBasedMatchesCommand: ListRuleBasedMatchesCommand_1.ListRuleBasedMatchesCommand,
|
|
93
97
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
94
98
|
ListWorkflowsCommand: ListWorkflowsCommand_1.ListWorkflowsCommand,
|
|
95
99
|
MergeProfilesCommand: MergeProfilesCommand_1.MergeProfilesCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetSimilarProfilesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class GetSimilarProfilesCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetSimilarProfilesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CustomerProfilesClient";
|
|
28
|
+
const commandName = "GetSimilarProfilesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_GetSimilarProfilesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_GetSimilarProfilesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetSimilarProfilesCommand = GetSimilarProfilesCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListRuleBasedMatchesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class ListRuleBasedMatchesCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListRuleBasedMatchesCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "CustomerProfilesClient";
|
|
28
|
+
const commandName = "ListRuleBasedMatchesCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.se_ListRuleBasedMatchesCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.de_ListRuleBasedMatchesCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ListRuleBasedMatchesCommand = ListRuleBasedMatchesCommand;
|
|
@@ -26,6 +26,7 @@ tslib_1.__exportStar(require("./GetIntegrationCommand"), exports);
|
|
|
26
26
|
tslib_1.__exportStar(require("./GetMatchesCommand"), exports);
|
|
27
27
|
tslib_1.__exportStar(require("./GetProfileObjectTypeCommand"), exports);
|
|
28
28
|
tslib_1.__exportStar(require("./GetProfileObjectTypeTemplateCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./GetSimilarProfilesCommand"), exports);
|
|
29
30
|
tslib_1.__exportStar(require("./GetWorkflowCommand"), exports);
|
|
30
31
|
tslib_1.__exportStar(require("./GetWorkflowStepsCommand"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./ListAccountIntegrationsCommand"), exports);
|
|
@@ -38,6 +39,7 @@ tslib_1.__exportStar(require("./ListIntegrationsCommand"), exports);
|
|
|
38
39
|
tslib_1.__exportStar(require("./ListProfileObjectTypeTemplatesCommand"), exports);
|
|
39
40
|
tslib_1.__exportStar(require("./ListProfileObjectTypesCommand"), exports);
|
|
40
41
|
tslib_1.__exportStar(require("./ListProfileObjectsCommand"), exports);
|
|
42
|
+
tslib_1.__exportStar(require("./ListRuleBasedMatchesCommand"), exports);
|
|
41
43
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
42
44
|
tslib_1.__exportStar(require("./ListWorkflowsCommand"), exports);
|
|
43
45
|
tslib_1.__exportStar(require("./MergeProfilesCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LogicalOperator = exports.StandardIdentifier = exports.FieldContentType = exports.IdentityResolutionJobStatus = exports.EventStreamState = exports.EventStreamDestinationStatus = exports.PartyType = exports.Gender = exports.WorkflowType = exports.JobScheduleDayOfTheWeek = exports.Statistic = exports.Operator = exports.Unit = exports.ConflictResolvingModel = exports.Status = exports.TriggerType = exports.DataPullMode = exports.TaskType = exports.OperatorPropertiesKeys = exports.ZendeskConnectorOperator = exports.ServiceNowConnectorOperator = exports.SalesforceConnectorOperator = exports.S3ConnectorOperator = exports.MarketoConnectorOperator = exports.SourceConnectorType = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.LogicalOperator = exports.MatchType = exports.StandardIdentifier = exports.FieldContentType = exports.IdentityResolutionJobStatus = exports.EventStreamState = exports.EventStreamDestinationStatus = exports.PartyType = exports.Gender = exports.WorkflowType = exports.RuleBasedMatchingStatus = exports.JobScheduleDayOfTheWeek = exports.Statistic = exports.Operator = exports.Unit = exports.ConflictResolvingModel = exports.AttributeMatchingModel = exports.Status = exports.TriggerType = exports.DataPullMode = exports.TaskType = exports.OperatorPropertiesKeys = exports.ZendeskConnectorOperator = exports.ServiceNowConnectorOperator = exports.SalesforceConnectorOperator = exports.S3ConnectorOperator = exports.MarketoConnectorOperator = exports.SourceConnectorType = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
4
|
const CustomerProfilesServiceException_1 = require("./CustomerProfilesServiceException");
|
|
5
5
|
class AccessDeniedException extends CustomerProfilesServiceException_1.CustomerProfilesServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -224,6 +224,10 @@ exports.Status = {
|
|
|
224
224
|
RETRY: "RETRY",
|
|
225
225
|
SPLIT: "SPLIT",
|
|
226
226
|
};
|
|
227
|
+
exports.AttributeMatchingModel = {
|
|
228
|
+
MANY_TO_MANY: "MANY_TO_MANY",
|
|
229
|
+
ONE_TO_ONE: "ONE_TO_ONE",
|
|
230
|
+
};
|
|
227
231
|
exports.ConflictResolvingModel = {
|
|
228
232
|
RECENCY: "RECENCY",
|
|
229
233
|
SOURCE: "SOURCE",
|
|
@@ -256,6 +260,11 @@ exports.JobScheduleDayOfTheWeek = {
|
|
|
256
260
|
TUESDAY: "TUESDAY",
|
|
257
261
|
WEDNESDAY: "WEDNESDAY",
|
|
258
262
|
};
|
|
263
|
+
exports.RuleBasedMatchingStatus = {
|
|
264
|
+
ACTIVE: "ACTIVE",
|
|
265
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
266
|
+
PENDING: "PENDING",
|
|
267
|
+
};
|
|
259
268
|
exports.WorkflowType = {
|
|
260
269
|
APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION",
|
|
261
270
|
};
|
|
@@ -303,6 +312,10 @@ exports.StandardIdentifier = {
|
|
|
303
312
|
SECONDARY: "SECONDARY",
|
|
304
313
|
UNIQUE: "UNIQUE",
|
|
305
314
|
};
|
|
315
|
+
exports.MatchType = {
|
|
316
|
+
ML_BASED_MATCHING: "ML_BASED_MATCHING",
|
|
317
|
+
RULE_BASED_MATCHING: "RULE_BASED_MATCHING",
|
|
318
|
+
};
|
|
306
319
|
exports.LogicalOperator = {
|
|
307
320
|
AND: "AND",
|
|
308
321
|
OR: "OR",
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.se_UpdateDomainCommand = exports.se_UpdateCalculatedAttributeDefinitionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_SearchProfilesCommand = exports.se_PutProfileObjectTypeCommand = exports.se_PutProfileObjectCommand = exports.se_PutIntegrationCommand = exports.se_MergeProfilesCommand = exports.se_ListWorkflowsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRuleBasedMatchesCommand = exports.se_ListProfileObjectTypeTemplatesCommand = exports.se_ListProfileObjectTypesCommand = exports.se_ListProfileObjectsCommand = exports.se_ListIntegrationsCommand = exports.se_ListIdentityResolutionJobsCommand = exports.se_ListEventStreamsCommand = exports.se_ListDomainsCommand = exports.se_ListCalculatedAttributesForProfileCommand = exports.se_ListCalculatedAttributeDefinitionsCommand = exports.se_ListAccountIntegrationsCommand = exports.se_GetWorkflowStepsCommand = exports.se_GetWorkflowCommand = exports.se_GetSimilarProfilesCommand = exports.se_GetProfileObjectTypeTemplateCommand = exports.se_GetProfileObjectTypeCommand = exports.se_GetMatchesCommand = exports.se_GetIntegrationCommand = exports.se_GetIdentityResolutionJobCommand = exports.se_GetEventStreamCommand = exports.se_GetDomainCommand = exports.se_GetCalculatedAttributeForProfileCommand = exports.se_GetCalculatedAttributeDefinitionCommand = exports.se_GetAutoMergingPreviewCommand = exports.se_DeleteWorkflowCommand = exports.se_DeleteProfileObjectTypeCommand = exports.se_DeleteProfileObjectCommand = exports.se_DeleteProfileKeyCommand = exports.se_DeleteProfileCommand = exports.se_DeleteIntegrationCommand = exports.se_DeleteEventStreamCommand = exports.se_DeleteDomainCommand = exports.se_DeleteCalculatedAttributeDefinitionCommand = exports.se_CreateProfileCommand = exports.se_CreateIntegrationWorkflowCommand = exports.se_CreateEventStreamCommand = exports.se_CreateDomainCommand = exports.se_CreateCalculatedAttributeDefinitionCommand = exports.se_AddProfileKeyCommand = void 0;
|
|
4
|
+
exports.de_UpdateCalculatedAttributeDefinitionCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_SearchProfilesCommand = exports.de_PutProfileObjectTypeCommand = exports.de_PutProfileObjectCommand = exports.de_PutIntegrationCommand = exports.de_MergeProfilesCommand = exports.de_ListWorkflowsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRuleBasedMatchesCommand = exports.de_ListProfileObjectTypeTemplatesCommand = exports.de_ListProfileObjectTypesCommand = exports.de_ListProfileObjectsCommand = exports.de_ListIntegrationsCommand = exports.de_ListIdentityResolutionJobsCommand = exports.de_ListEventStreamsCommand = exports.de_ListDomainsCommand = exports.de_ListCalculatedAttributesForProfileCommand = exports.de_ListCalculatedAttributeDefinitionsCommand = exports.de_ListAccountIntegrationsCommand = exports.de_GetWorkflowStepsCommand = exports.de_GetWorkflowCommand = exports.de_GetSimilarProfilesCommand = exports.de_GetProfileObjectTypeTemplateCommand = exports.de_GetProfileObjectTypeCommand = exports.de_GetMatchesCommand = exports.de_GetIntegrationCommand = exports.de_GetIdentityResolutionJobCommand = exports.de_GetEventStreamCommand = exports.de_GetDomainCommand = exports.de_GetCalculatedAttributeForProfileCommand = exports.de_GetCalculatedAttributeDefinitionCommand = exports.de_GetAutoMergingPreviewCommand = exports.de_DeleteWorkflowCommand = exports.de_DeleteProfileObjectTypeCommand = exports.de_DeleteProfileObjectCommand = exports.de_DeleteProfileKeyCommand = exports.de_DeleteProfileCommand = exports.de_DeleteIntegrationCommand = exports.de_DeleteEventStreamCommand = exports.de_DeleteDomainCommand = exports.de_DeleteCalculatedAttributeDefinitionCommand = exports.de_CreateProfileCommand = exports.de_CreateIntegrationWorkflowCommand = exports.de_CreateEventStreamCommand = exports.de_CreateDomainCommand = exports.de_CreateCalculatedAttributeDefinitionCommand = exports.de_AddProfileKeyCommand = exports.se_UpdateProfileCommand = void 0;
|
|
5
|
+
exports.de_UpdateProfileCommand = exports.de_UpdateDomainCommand = void 0;
|
|
5
6
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
8
|
const CustomerProfilesServiceException_1 = require("../models/CustomerProfilesServiceException");
|
|
@@ -72,6 +73,7 @@ const se_CreateDomainCommand = async (input, context) => {
|
|
|
72
73
|
DefaultEncryptionKey: [],
|
|
73
74
|
DefaultExpirationDays: [],
|
|
74
75
|
Matching: (_) => se_MatchingRequest(_, context),
|
|
76
|
+
RuleBasedMatching: (_) => (0, smithy_client_1._json)(_),
|
|
75
77
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
76
78
|
}));
|
|
77
79
|
return new protocol_http_1.HttpRequest({
|
|
@@ -567,6 +569,35 @@ const se_GetProfileObjectTypeTemplateCommand = async (input, context) => {
|
|
|
567
569
|
});
|
|
568
570
|
};
|
|
569
571
|
exports.se_GetProfileObjectTypeTemplateCommand = se_GetProfileObjectTypeTemplateCommand;
|
|
572
|
+
const se_GetSimilarProfilesCommand = async (input, context) => {
|
|
573
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
574
|
+
const headers = {
|
|
575
|
+
"content-type": "application/json",
|
|
576
|
+
};
|
|
577
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/domains/{DomainName}/matches";
|
|
578
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
579
|
+
const query = (0, smithy_client_1.map)({
|
|
580
|
+
"next-token": [, input.NextToken],
|
|
581
|
+
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
582
|
+
});
|
|
583
|
+
let body;
|
|
584
|
+
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
585
|
+
MatchType: [],
|
|
586
|
+
SearchKey: [],
|
|
587
|
+
SearchValue: [],
|
|
588
|
+
}));
|
|
589
|
+
return new protocol_http_1.HttpRequest({
|
|
590
|
+
protocol,
|
|
591
|
+
hostname,
|
|
592
|
+
port,
|
|
593
|
+
method: "POST",
|
|
594
|
+
headers,
|
|
595
|
+
path: resolvedPath,
|
|
596
|
+
query,
|
|
597
|
+
body,
|
|
598
|
+
});
|
|
599
|
+
};
|
|
600
|
+
exports.se_GetSimilarProfilesCommand = se_GetSimilarProfilesCommand;
|
|
570
601
|
const se_GetWorkflowCommand = async (input, context) => {
|
|
571
602
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
572
603
|
const headers = {};
|
|
@@ -845,6 +876,29 @@ const se_ListProfileObjectTypeTemplatesCommand = async (input, context) => {
|
|
|
845
876
|
});
|
|
846
877
|
};
|
|
847
878
|
exports.se_ListProfileObjectTypeTemplatesCommand = se_ListProfileObjectTypeTemplatesCommand;
|
|
879
|
+
const se_ListRuleBasedMatchesCommand = async (input, context) => {
|
|
880
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
881
|
+
const headers = {};
|
|
882
|
+
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
883
|
+
"/domains/{DomainName}/profiles/ruleBasedMatches";
|
|
884
|
+
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DomainName", () => input.DomainName, "{DomainName}", false);
|
|
885
|
+
const query = (0, smithy_client_1.map)({
|
|
886
|
+
"next-token": [, input.NextToken],
|
|
887
|
+
"max-results": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
888
|
+
});
|
|
889
|
+
let body;
|
|
890
|
+
return new protocol_http_1.HttpRequest({
|
|
891
|
+
protocol,
|
|
892
|
+
hostname,
|
|
893
|
+
port,
|
|
894
|
+
method: "GET",
|
|
895
|
+
headers,
|
|
896
|
+
path: resolvedPath,
|
|
897
|
+
query,
|
|
898
|
+
body,
|
|
899
|
+
});
|
|
900
|
+
};
|
|
901
|
+
exports.se_ListRuleBasedMatchesCommand = se_ListRuleBasedMatchesCommand;
|
|
848
902
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
849
903
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
850
904
|
const headers = {};
|
|
@@ -1113,6 +1167,7 @@ const se_UpdateDomainCommand = async (input, context) => {
|
|
|
1113
1167
|
DefaultEncryptionKey: [],
|
|
1114
1168
|
DefaultExpirationDays: [],
|
|
1115
1169
|
Matching: (_) => se_MatchingRequest(_, context),
|
|
1170
|
+
RuleBasedMatching: (_) => (0, smithy_client_1._json)(_),
|
|
1116
1171
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
1117
1172
|
}));
|
|
1118
1173
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1288,6 +1343,7 @@ const de_CreateDomainCommand = async (output, context) => {
|
|
|
1288
1343
|
DomainName: smithy_client_1.expectString,
|
|
1289
1344
|
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1290
1345
|
Matching: (_) => de_MatchingResponse(_, context),
|
|
1346
|
+
RuleBasedMatching: smithy_client_1._json,
|
|
1291
1347
|
Tags: smithy_client_1._json,
|
|
1292
1348
|
});
|
|
1293
1349
|
Object.assign(contents, doc);
|
|
@@ -2035,6 +2091,7 @@ const de_GetDomainCommand = async (output, context) => {
|
|
|
2035
2091
|
DomainName: smithy_client_1.expectString,
|
|
2036
2092
|
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2037
2093
|
Matching: (_) => de_MatchingResponse(_, context),
|
|
2094
|
+
RuleBasedMatching: smithy_client_1._json,
|
|
2038
2095
|
Stats: smithy_client_1._json,
|
|
2039
2096
|
Tags: smithy_client_1._json,
|
|
2040
2097
|
});
|
|
@@ -2393,6 +2450,57 @@ const de_GetProfileObjectTypeTemplateCommandError = async (output, context) => {
|
|
|
2393
2450
|
});
|
|
2394
2451
|
}
|
|
2395
2452
|
};
|
|
2453
|
+
const de_GetSimilarProfilesCommand = async (output, context) => {
|
|
2454
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2455
|
+
return de_GetSimilarProfilesCommandError(output, context);
|
|
2456
|
+
}
|
|
2457
|
+
const contents = (0, smithy_client_1.map)({
|
|
2458
|
+
$metadata: deserializeMetadata(output),
|
|
2459
|
+
});
|
|
2460
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2461
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
2462
|
+
ConfidenceScore: smithy_client_1.limitedParseDouble,
|
|
2463
|
+
MatchId: smithy_client_1.expectString,
|
|
2464
|
+
MatchType: smithy_client_1.expectString,
|
|
2465
|
+
NextToken: smithy_client_1.expectString,
|
|
2466
|
+
ProfileIds: smithy_client_1._json,
|
|
2467
|
+
RuleLevel: smithy_client_1.expectInt32,
|
|
2468
|
+
});
|
|
2469
|
+
Object.assign(contents, doc);
|
|
2470
|
+
return contents;
|
|
2471
|
+
};
|
|
2472
|
+
exports.de_GetSimilarProfilesCommand = de_GetSimilarProfilesCommand;
|
|
2473
|
+
const de_GetSimilarProfilesCommandError = async (output, context) => {
|
|
2474
|
+
const parsedOutput = {
|
|
2475
|
+
...output,
|
|
2476
|
+
body: await parseErrorBody(output.body, context),
|
|
2477
|
+
};
|
|
2478
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2479
|
+
switch (errorCode) {
|
|
2480
|
+
case "AccessDeniedException":
|
|
2481
|
+
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
2482
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2483
|
+
case "BadRequestException":
|
|
2484
|
+
case "com.amazonaws.customerprofiles#BadRequestException":
|
|
2485
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2486
|
+
case "InternalServerException":
|
|
2487
|
+
case "com.amazonaws.customerprofiles#InternalServerException":
|
|
2488
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2489
|
+
case "ResourceNotFoundException":
|
|
2490
|
+
case "com.amazonaws.customerprofiles#ResourceNotFoundException":
|
|
2491
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2492
|
+
case "ThrottlingException":
|
|
2493
|
+
case "com.amazonaws.customerprofiles#ThrottlingException":
|
|
2494
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2495
|
+
default:
|
|
2496
|
+
const parsedBody = parsedOutput.body;
|
|
2497
|
+
return throwDefaultError({
|
|
2498
|
+
output,
|
|
2499
|
+
parsedBody,
|
|
2500
|
+
errorCode,
|
|
2501
|
+
});
|
|
2502
|
+
}
|
|
2503
|
+
};
|
|
2396
2504
|
const de_GetWorkflowCommand = async (output, context) => {
|
|
2397
2505
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2398
2506
|
return de_GetWorkflowCommandError(output, context);
|
|
@@ -2965,6 +3073,53 @@ const de_ListProfileObjectTypeTemplatesCommandError = async (output, context) =>
|
|
|
2965
3073
|
});
|
|
2966
3074
|
}
|
|
2967
3075
|
};
|
|
3076
|
+
const de_ListRuleBasedMatchesCommand = async (output, context) => {
|
|
3077
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3078
|
+
return de_ListRuleBasedMatchesCommandError(output, context);
|
|
3079
|
+
}
|
|
3080
|
+
const contents = (0, smithy_client_1.map)({
|
|
3081
|
+
$metadata: deserializeMetadata(output),
|
|
3082
|
+
});
|
|
3083
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3084
|
+
const doc = (0, smithy_client_1.take)(data, {
|
|
3085
|
+
MatchIds: smithy_client_1._json,
|
|
3086
|
+
NextToken: smithy_client_1.expectString,
|
|
3087
|
+
});
|
|
3088
|
+
Object.assign(contents, doc);
|
|
3089
|
+
return contents;
|
|
3090
|
+
};
|
|
3091
|
+
exports.de_ListRuleBasedMatchesCommand = de_ListRuleBasedMatchesCommand;
|
|
3092
|
+
const de_ListRuleBasedMatchesCommandError = async (output, context) => {
|
|
3093
|
+
const parsedOutput = {
|
|
3094
|
+
...output,
|
|
3095
|
+
body: await parseErrorBody(output.body, context),
|
|
3096
|
+
};
|
|
3097
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3098
|
+
switch (errorCode) {
|
|
3099
|
+
case "AccessDeniedException":
|
|
3100
|
+
case "com.amazonaws.customerprofiles#AccessDeniedException":
|
|
3101
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3102
|
+
case "BadRequestException":
|
|
3103
|
+
case "com.amazonaws.customerprofiles#BadRequestException":
|
|
3104
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3105
|
+
case "InternalServerException":
|
|
3106
|
+
case "com.amazonaws.customerprofiles#InternalServerException":
|
|
3107
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3108
|
+
case "ResourceNotFoundException":
|
|
3109
|
+
case "com.amazonaws.customerprofiles#ResourceNotFoundException":
|
|
3110
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3111
|
+
case "ThrottlingException":
|
|
3112
|
+
case "com.amazonaws.customerprofiles#ThrottlingException":
|
|
3113
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3114
|
+
default:
|
|
3115
|
+
const parsedBody = parsedOutput.body;
|
|
3116
|
+
return throwDefaultError({
|
|
3117
|
+
output,
|
|
3118
|
+
parsedBody,
|
|
3119
|
+
errorCode,
|
|
3120
|
+
});
|
|
3121
|
+
}
|
|
3122
|
+
};
|
|
2968
3123
|
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2969
3124
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2970
3125
|
return de_ListTagsForResourceCommandError(output, context);
|
|
@@ -3441,6 +3596,7 @@ const de_UpdateDomainCommand = async (output, context) => {
|
|
|
3441
3596
|
DomainName: smithy_client_1.expectString,
|
|
3442
3597
|
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3443
3598
|
Matching: (_) => de_MatchingResponse(_, context),
|
|
3599
|
+
RuleBasedMatching: smithy_client_1._json,
|
|
3444
3600
|
Tags: smithy_client_1._json,
|
|
3445
3601
|
});
|
|
3446
3602
|
Object.assign(contents, doc);
|
|
@@ -24,6 +24,7 @@ import { GetIntegrationCommand, } from "./commands/GetIntegrationCommand";
|
|
|
24
24
|
import { GetMatchesCommand } from "./commands/GetMatchesCommand";
|
|
25
25
|
import { GetProfileObjectTypeCommand, } from "./commands/GetProfileObjectTypeCommand";
|
|
26
26
|
import { GetProfileObjectTypeTemplateCommand, } from "./commands/GetProfileObjectTypeTemplateCommand";
|
|
27
|
+
import { GetSimilarProfilesCommand, } from "./commands/GetSimilarProfilesCommand";
|
|
27
28
|
import { GetWorkflowCommand } from "./commands/GetWorkflowCommand";
|
|
28
29
|
import { GetWorkflowStepsCommand, } from "./commands/GetWorkflowStepsCommand";
|
|
29
30
|
import { ListAccountIntegrationsCommand, } from "./commands/ListAccountIntegrationsCommand";
|
|
@@ -36,6 +37,7 @@ import { ListIntegrationsCommand, } from "./commands/ListIntegrationsCommand";
|
|
|
36
37
|
import { ListProfileObjectsCommand, } from "./commands/ListProfileObjectsCommand";
|
|
37
38
|
import { ListProfileObjectTypesCommand, } from "./commands/ListProfileObjectTypesCommand";
|
|
38
39
|
import { ListProfileObjectTypeTemplatesCommand, } from "./commands/ListProfileObjectTypeTemplatesCommand";
|
|
40
|
+
import { ListRuleBasedMatchesCommand, } from "./commands/ListRuleBasedMatchesCommand";
|
|
39
41
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
40
42
|
import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
|
|
41
43
|
import { MergeProfilesCommand, } from "./commands/MergeProfilesCommand";
|
|
@@ -75,6 +77,7 @@ const commands = {
|
|
|
75
77
|
GetMatchesCommand,
|
|
76
78
|
GetProfileObjectTypeCommand,
|
|
77
79
|
GetProfileObjectTypeTemplateCommand,
|
|
80
|
+
GetSimilarProfilesCommand,
|
|
78
81
|
GetWorkflowCommand,
|
|
79
82
|
GetWorkflowStepsCommand,
|
|
80
83
|
ListAccountIntegrationsCommand,
|
|
@@ -87,6 +90,7 @@ const commands = {
|
|
|
87
90
|
ListProfileObjectsCommand,
|
|
88
91
|
ListProfileObjectTypesCommand,
|
|
89
92
|
ListProfileObjectTypeTemplatesCommand,
|
|
93
|
+
ListRuleBasedMatchesCommand,
|
|
90
94
|
ListTagsForResourceCommand,
|
|
91
95
|
ListWorkflowsCommand,
|
|
92
96
|
MergeProfilesCommand,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_GetSimilarProfilesCommand, se_GetSimilarProfilesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetSimilarProfilesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetSimilarProfilesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CustomerProfilesClient";
|
|
25
|
+
const commandName = "GetSimilarProfilesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_GetSimilarProfilesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_GetSimilarProfilesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_ListRuleBasedMatchesCommand, se_ListRuleBasedMatchesCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ListRuleBasedMatchesCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListRuleBasedMatchesCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CustomerProfilesClient";
|
|
25
|
+
const commandName = "ListRuleBasedMatchesCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ListRuleBasedMatchesCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ListRuleBasedMatchesCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -23,6 +23,7 @@ export * from "./GetIntegrationCommand";
|
|
|
23
23
|
export * from "./GetMatchesCommand";
|
|
24
24
|
export * from "./GetProfileObjectTypeCommand";
|
|
25
25
|
export * from "./GetProfileObjectTypeTemplateCommand";
|
|
26
|
+
export * from "./GetSimilarProfilesCommand";
|
|
26
27
|
export * from "./GetWorkflowCommand";
|
|
27
28
|
export * from "./GetWorkflowStepsCommand";
|
|
28
29
|
export * from "./ListAccountIntegrationsCommand";
|
|
@@ -35,6 +36,7 @@ export * from "./ListIntegrationsCommand";
|
|
|
35
36
|
export * from "./ListProfileObjectTypeTemplatesCommand";
|
|
36
37
|
export * from "./ListProfileObjectTypesCommand";
|
|
37
38
|
export * from "./ListProfileObjectsCommand";
|
|
39
|
+
export * from "./ListRuleBasedMatchesCommand";
|
|
38
40
|
export * from "./ListTagsForResourceCommand";
|
|
39
41
|
export * from "./ListWorkflowsCommand";
|
|
40
42
|
export * from "./MergeProfilesCommand";
|
|
@@ -216,6 +216,10 @@ export const Status = {
|
|
|
216
216
|
RETRY: "RETRY",
|
|
217
217
|
SPLIT: "SPLIT",
|
|
218
218
|
};
|
|
219
|
+
export const AttributeMatchingModel = {
|
|
220
|
+
MANY_TO_MANY: "MANY_TO_MANY",
|
|
221
|
+
ONE_TO_ONE: "ONE_TO_ONE",
|
|
222
|
+
};
|
|
219
223
|
export const ConflictResolvingModel = {
|
|
220
224
|
RECENCY: "RECENCY",
|
|
221
225
|
SOURCE: "SOURCE",
|
|
@@ -248,6 +252,11 @@ export const JobScheduleDayOfTheWeek = {
|
|
|
248
252
|
TUESDAY: "TUESDAY",
|
|
249
253
|
WEDNESDAY: "WEDNESDAY",
|
|
250
254
|
};
|
|
255
|
+
export const RuleBasedMatchingStatus = {
|
|
256
|
+
ACTIVE: "ACTIVE",
|
|
257
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
258
|
+
PENDING: "PENDING",
|
|
259
|
+
};
|
|
251
260
|
export const WorkflowType = {
|
|
252
261
|
APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION",
|
|
253
262
|
};
|
|
@@ -295,6 +304,10 @@ export const StandardIdentifier = {
|
|
|
295
304
|
SECONDARY: "SECONDARY",
|
|
296
305
|
UNIQUE: "UNIQUE",
|
|
297
306
|
};
|
|
307
|
+
export const MatchType = {
|
|
308
|
+
ML_BASED_MATCHING: "ML_BASED_MATCHING",
|
|
309
|
+
RULE_BASED_MATCHING: "RULE_BASED_MATCHING",
|
|
310
|
+
};
|
|
298
311
|
export const LogicalOperator = {
|
|
299
312
|
AND: "AND",
|
|
300
313
|
OR: "OR",
|