@aws-sdk/client-customer-profiles 3.699.0 → 3.703.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 +40 -0
- package/dist-cjs/index.js +357 -0
- package/dist-es/CustomerProfiles.js +10 -0
- package/dist-es/commands/CreateEventTriggerCommand.js +23 -0
- package/dist-es/commands/DeleteEventTriggerCommand.js +22 -0
- package/dist-es/commands/GetEventTriggerCommand.js +23 -0
- package/dist-es/commands/ListEventTriggersCommand.js +23 -0
- package/dist-es/commands/UpdateEventTriggerCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +57 -0
- package/dist-es/pagination/ListEventTriggersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +189 -0
- package/dist-types/CustomerProfiles.d.ts +35 -0
- package/dist-types/CustomerProfilesClient.d.ts +7 -2
- package/dist-types/commands/CreateEventTriggerCommand.d.ts +164 -0
- package/dist-types/commands/DeleteEventTriggerCommand.d.ts +90 -0
- package/dist-types/commands/GetEventTriggerCommand.d.ts +125 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +3 -0
- package/dist-types/commands/ListAccountIntegrationsCommand.d.ts +3 -0
- package/dist-types/commands/ListEventTriggersCommand.d.ts +100 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -0
- package/dist-types/commands/PutIntegrationCommand.d.ts +6 -0
- package/dist-types/commands/UpdateEventTriggerCommand.d.ts +158 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +585 -19
- package/dist-types/pagination/ListEventTriggersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +85 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateEventTriggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEventTriggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventTriggerCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListEventTriggersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEventTriggerCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +158 -0
- package/dist-types/ts3.4/pagination/ListEventTriggersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -5,6 +5,7 @@ import { BatchGetProfileCommand, } from "./commands/BatchGetProfileCommand";
|
|
|
5
5
|
import { CreateCalculatedAttributeDefinitionCommand, } from "./commands/CreateCalculatedAttributeDefinitionCommand";
|
|
6
6
|
import { CreateDomainCommand, } from "./commands/CreateDomainCommand";
|
|
7
7
|
import { CreateEventStreamCommand, } from "./commands/CreateEventStreamCommand";
|
|
8
|
+
import { CreateEventTriggerCommand, } from "./commands/CreateEventTriggerCommand";
|
|
8
9
|
import { CreateIntegrationWorkflowCommand, } from "./commands/CreateIntegrationWorkflowCommand";
|
|
9
10
|
import { CreateProfileCommand, } from "./commands/CreateProfileCommand";
|
|
10
11
|
import { CreateSegmentDefinitionCommand, } from "./commands/CreateSegmentDefinitionCommand";
|
|
@@ -13,6 +14,7 @@ import { CreateSegmentSnapshotCommand, } from "./commands/CreateSegmentSnapshotC
|
|
|
13
14
|
import { DeleteCalculatedAttributeDefinitionCommand, } from "./commands/DeleteCalculatedAttributeDefinitionCommand";
|
|
14
15
|
import { DeleteDomainCommand, } from "./commands/DeleteDomainCommand";
|
|
15
16
|
import { DeleteEventStreamCommand, } from "./commands/DeleteEventStreamCommand";
|
|
17
|
+
import { DeleteEventTriggerCommand, } from "./commands/DeleteEventTriggerCommand";
|
|
16
18
|
import { DeleteIntegrationCommand, } from "./commands/DeleteIntegrationCommand";
|
|
17
19
|
import { DeleteProfileCommand, } from "./commands/DeleteProfileCommand";
|
|
18
20
|
import { DeleteProfileKeyCommand, } from "./commands/DeleteProfileKeyCommand";
|
|
@@ -26,6 +28,7 @@ import { GetCalculatedAttributeDefinitionCommand, } from "./commands/GetCalculat
|
|
|
26
28
|
import { GetCalculatedAttributeForProfileCommand, } from "./commands/GetCalculatedAttributeForProfileCommand";
|
|
27
29
|
import { GetDomainCommand } from "./commands/GetDomainCommand";
|
|
28
30
|
import { GetEventStreamCommand, } from "./commands/GetEventStreamCommand";
|
|
31
|
+
import { GetEventTriggerCommand, } from "./commands/GetEventTriggerCommand";
|
|
29
32
|
import { GetIdentityResolutionJobCommand, } from "./commands/GetIdentityResolutionJobCommand";
|
|
30
33
|
import { GetIntegrationCommand, } from "./commands/GetIntegrationCommand";
|
|
31
34
|
import { GetMatchesCommand } from "./commands/GetMatchesCommand";
|
|
@@ -43,6 +46,7 @@ import { ListCalculatedAttributeDefinitionsCommand, } from "./commands/ListCalcu
|
|
|
43
46
|
import { ListCalculatedAttributesForProfileCommand, } from "./commands/ListCalculatedAttributesForProfileCommand";
|
|
44
47
|
import { ListDomainsCommand } from "./commands/ListDomainsCommand";
|
|
45
48
|
import { ListEventStreamsCommand, } from "./commands/ListEventStreamsCommand";
|
|
49
|
+
import { ListEventTriggersCommand, } from "./commands/ListEventTriggersCommand";
|
|
46
50
|
import { ListIdentityResolutionJobsCommand, } from "./commands/ListIdentityResolutionJobsCommand";
|
|
47
51
|
import { ListIntegrationsCommand, } from "./commands/ListIntegrationsCommand";
|
|
48
52
|
import { ListObjectTypeAttributesCommand, } from "./commands/ListObjectTypeAttributesCommand";
|
|
@@ -63,6 +67,7 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
63
67
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
64
68
|
import { UpdateCalculatedAttributeDefinitionCommand, } from "./commands/UpdateCalculatedAttributeDefinitionCommand";
|
|
65
69
|
import { UpdateDomainCommand, } from "./commands/UpdateDomainCommand";
|
|
70
|
+
import { UpdateEventTriggerCommand, } from "./commands/UpdateEventTriggerCommand";
|
|
66
71
|
import { UpdateProfileCommand, } from "./commands/UpdateProfileCommand";
|
|
67
72
|
import { CustomerProfilesClient } from "./CustomerProfilesClient";
|
|
68
73
|
const commands = {
|
|
@@ -72,6 +77,7 @@ const commands = {
|
|
|
72
77
|
CreateCalculatedAttributeDefinitionCommand,
|
|
73
78
|
CreateDomainCommand,
|
|
74
79
|
CreateEventStreamCommand,
|
|
80
|
+
CreateEventTriggerCommand,
|
|
75
81
|
CreateIntegrationWorkflowCommand,
|
|
76
82
|
CreateProfileCommand,
|
|
77
83
|
CreateSegmentDefinitionCommand,
|
|
@@ -80,6 +86,7 @@ const commands = {
|
|
|
80
86
|
DeleteCalculatedAttributeDefinitionCommand,
|
|
81
87
|
DeleteDomainCommand,
|
|
82
88
|
DeleteEventStreamCommand,
|
|
89
|
+
DeleteEventTriggerCommand,
|
|
83
90
|
DeleteIntegrationCommand,
|
|
84
91
|
DeleteProfileCommand,
|
|
85
92
|
DeleteProfileKeyCommand,
|
|
@@ -93,6 +100,7 @@ const commands = {
|
|
|
93
100
|
GetCalculatedAttributeForProfileCommand,
|
|
94
101
|
GetDomainCommand,
|
|
95
102
|
GetEventStreamCommand,
|
|
103
|
+
GetEventTriggerCommand,
|
|
96
104
|
GetIdentityResolutionJobCommand,
|
|
97
105
|
GetIntegrationCommand,
|
|
98
106
|
GetMatchesCommand,
|
|
@@ -110,6 +118,7 @@ const commands = {
|
|
|
110
118
|
ListCalculatedAttributesForProfileCommand,
|
|
111
119
|
ListDomainsCommand,
|
|
112
120
|
ListEventStreamsCommand,
|
|
121
|
+
ListEventTriggersCommand,
|
|
113
122
|
ListIdentityResolutionJobsCommand,
|
|
114
123
|
ListIntegrationsCommand,
|
|
115
124
|
ListObjectTypeAttributesCommand,
|
|
@@ -130,6 +139,7 @@ const commands = {
|
|
|
130
139
|
UntagResourceCommand,
|
|
131
140
|
UpdateCalculatedAttributeDefinitionCommand,
|
|
132
141
|
UpdateDomainCommand,
|
|
142
|
+
UpdateEventTriggerCommand,
|
|
133
143
|
UpdateProfileCommand,
|
|
134
144
|
};
|
|
135
145
|
export class CustomerProfiles extends CustomerProfilesClient {
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateEventTriggerRequestFilterSensitiveLog, CreateEventTriggerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateEventTriggerCommand, se_CreateEventTriggerCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateEventTriggerCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("CustomerProfiles_20200815", "CreateEventTrigger", {})
|
|
18
|
+
.n("CustomerProfilesClient", "CreateEventTriggerCommand")
|
|
19
|
+
.f(CreateEventTriggerRequestFilterSensitiveLog, CreateEventTriggerResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_CreateEventTriggerCommand)
|
|
21
|
+
.de(de_CreateEventTriggerCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteEventTriggerCommand, se_DeleteEventTriggerCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteEventTriggerCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("CustomerProfiles_20200815", "DeleteEventTrigger", {})
|
|
17
|
+
.n("CustomerProfilesClient", "DeleteEventTriggerCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteEventTriggerCommand)
|
|
20
|
+
.de(de_DeleteEventTriggerCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetEventTriggerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_GetEventTriggerCommand, se_GetEventTriggerCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetEventTriggerCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("CustomerProfiles_20200815", "GetEventTrigger", {})
|
|
18
|
+
.n("CustomerProfilesClient", "GetEventTriggerCommand")
|
|
19
|
+
.f(void 0, GetEventTriggerResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetEventTriggerCommand)
|
|
21
|
+
.de(de_GetEventTriggerCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListEventTriggersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListEventTriggersCommand, se_ListEventTriggersCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListEventTriggersCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("CustomerProfiles_20200815", "ListEventTriggers", {})
|
|
18
|
+
.n("CustomerProfilesClient", "ListEventTriggersCommand")
|
|
19
|
+
.f(void 0, ListEventTriggersResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListEventTriggersCommand)
|
|
21
|
+
.de(de_ListEventTriggersCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateEventTriggerRequestFilterSensitiveLog, UpdateEventTriggerResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateEventTriggerCommand, se_UpdateEventTriggerCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateEventTriggerCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("CustomerProfiles_20200815", "UpdateEventTrigger", {})
|
|
18
|
+
.n("CustomerProfilesClient", "UpdateEventTriggerCommand")
|
|
19
|
+
.f(UpdateEventTriggerRequestFilterSensitiveLog, UpdateEventTriggerResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_UpdateEventTriggerCommand)
|
|
21
|
+
.de(de_UpdateEventTriggerCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./BatchGetProfileCommand";
|
|
|
4
4
|
export * from "./CreateCalculatedAttributeDefinitionCommand";
|
|
5
5
|
export * from "./CreateDomainCommand";
|
|
6
6
|
export * from "./CreateEventStreamCommand";
|
|
7
|
+
export * from "./CreateEventTriggerCommand";
|
|
7
8
|
export * from "./CreateIntegrationWorkflowCommand";
|
|
8
9
|
export * from "./CreateProfileCommand";
|
|
9
10
|
export * from "./CreateSegmentDefinitionCommand";
|
|
@@ -12,6 +13,7 @@ export * from "./CreateSegmentSnapshotCommand";
|
|
|
12
13
|
export * from "./DeleteCalculatedAttributeDefinitionCommand";
|
|
13
14
|
export * from "./DeleteDomainCommand";
|
|
14
15
|
export * from "./DeleteEventStreamCommand";
|
|
16
|
+
export * from "./DeleteEventTriggerCommand";
|
|
15
17
|
export * from "./DeleteIntegrationCommand";
|
|
16
18
|
export * from "./DeleteProfileCommand";
|
|
17
19
|
export * from "./DeleteProfileKeyCommand";
|
|
@@ -25,6 +27,7 @@ export * from "./GetCalculatedAttributeDefinitionCommand";
|
|
|
25
27
|
export * from "./GetCalculatedAttributeForProfileCommand";
|
|
26
28
|
export * from "./GetDomainCommand";
|
|
27
29
|
export * from "./GetEventStreamCommand";
|
|
30
|
+
export * from "./GetEventTriggerCommand";
|
|
28
31
|
export * from "./GetIdentityResolutionJobCommand";
|
|
29
32
|
export * from "./GetIntegrationCommand";
|
|
30
33
|
export * from "./GetMatchesCommand";
|
|
@@ -42,6 +45,7 @@ export * from "./ListCalculatedAttributeDefinitionsCommand";
|
|
|
42
45
|
export * from "./ListCalculatedAttributesForProfileCommand";
|
|
43
46
|
export * from "./ListDomainsCommand";
|
|
44
47
|
export * from "./ListEventStreamsCommand";
|
|
48
|
+
export * from "./ListEventTriggersCommand";
|
|
45
49
|
export * from "./ListIdentityResolutionJobsCommand";
|
|
46
50
|
export * from "./ListIntegrationsCommand";
|
|
47
51
|
export * from "./ListObjectTypeAttributesCommand";
|
|
@@ -62,4 +66,5 @@ export * from "./TagResourceCommand";
|
|
|
62
66
|
export * from "./UntagResourceCommand";
|
|
63
67
|
export * from "./UpdateCalculatedAttributeDefinitionCommand";
|
|
64
68
|
export * from "./UpdateDomainCommand";
|
|
69
|
+
export * from "./UpdateEventTriggerCommand";
|
|
65
70
|
export * from "./UpdateProfileCommand";
|
|
@@ -279,6 +279,23 @@ export const PartyType = {
|
|
|
279
279
|
INDIVIDUAL: "INDIVIDUAL",
|
|
280
280
|
OTHER: "OTHER",
|
|
281
281
|
};
|
|
282
|
+
export const ComparisonOperator = {
|
|
283
|
+
AFTER: "AFTER",
|
|
284
|
+
BEFORE: "BEFORE",
|
|
285
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
286
|
+
BETWEEN: "BETWEEN",
|
|
287
|
+
CONTAINS: "CONTAINS",
|
|
288
|
+
ENDS_WITH: "ENDS_WITH",
|
|
289
|
+
EQUAL: "EQUAL",
|
|
290
|
+
EXCLUSIVE: "EXCLUSIVE",
|
|
291
|
+
GREATER_THAN: "GREATER_THAN",
|
|
292
|
+
GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL",
|
|
293
|
+
INCLUSIVE: "INCLUSIVE",
|
|
294
|
+
LESS_THAN: "LESS_THAN",
|
|
295
|
+
LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",
|
|
296
|
+
NOT_BETWEEN: "NOT_BETWEEN",
|
|
297
|
+
ON: "ON",
|
|
298
|
+
};
|
|
282
299
|
export const Unit = {
|
|
283
300
|
DAYS: "DAYS",
|
|
284
301
|
};
|
|
@@ -322,6 +339,17 @@ export const RuleBasedMatchingStatus = {
|
|
|
322
339
|
IN_PROGRESS: "IN_PROGRESS",
|
|
323
340
|
PENDING: "PENDING",
|
|
324
341
|
};
|
|
342
|
+
export const EventTriggerLogicalOperator = {
|
|
343
|
+
ALL: "ALL",
|
|
344
|
+
ANY: "ANY",
|
|
345
|
+
NONE: "NONE",
|
|
346
|
+
};
|
|
347
|
+
export const PeriodUnit = {
|
|
348
|
+
DAYS: "DAYS",
|
|
349
|
+
HOURS: "HOURS",
|
|
350
|
+
MONTHS: "MONTHS",
|
|
351
|
+
WEEKS: "WEEKS",
|
|
352
|
+
};
|
|
325
353
|
export const WorkflowType = {
|
|
326
354
|
APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION",
|
|
327
355
|
};
|
|
@@ -488,6 +516,16 @@ export const CreateCalculatedAttributeDefinitionResponseFilterSensitiveLog = (ob
|
|
|
488
516
|
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
489
517
|
...(obj.Statistic && { Statistic: SENSITIVE_STRING }),
|
|
490
518
|
});
|
|
519
|
+
export const CreateEventTriggerRequestFilterSensitiveLog = (obj) => ({
|
|
520
|
+
...obj,
|
|
521
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
522
|
+
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
523
|
+
});
|
|
524
|
+
export const CreateEventTriggerResponseFilterSensitiveLog = (obj) => ({
|
|
525
|
+
...obj,
|
|
526
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
527
|
+
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
528
|
+
});
|
|
491
529
|
export const IntegrationConfigFilterSensitiveLog = (obj) => ({
|
|
492
530
|
...obj,
|
|
493
531
|
...(obj.AppflowIntegration && { AppflowIntegration: AppflowIntegrationFilterSensitiveLog(obj.AppflowIntegration) }),
|
|
@@ -582,6 +620,11 @@ export const GetCalculatedAttributeDefinitionResponseFilterSensitiveLog = (obj)
|
|
|
582
620
|
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
583
621
|
...(obj.AttributeDetails && { AttributeDetails: SENSITIVE_STRING }),
|
|
584
622
|
});
|
|
623
|
+
export const GetEventTriggerResponseFilterSensitiveLog = (obj) => ({
|
|
624
|
+
...obj,
|
|
625
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
626
|
+
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
627
|
+
});
|
|
585
628
|
export const GetProfileObjectTypeResponseFilterSensitiveLog = (obj) => ({
|
|
586
629
|
...obj,
|
|
587
630
|
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
@@ -610,6 +653,10 @@ export const ListCalculatedAttributeDefinitionsResponseFilterSensitiveLog = (obj
|
|
|
610
653
|
...obj,
|
|
611
654
|
...(obj.Items && { Items: SENSITIVE_STRING }),
|
|
612
655
|
});
|
|
656
|
+
export const ListEventTriggersResponseFilterSensitiveLog = (obj) => ({
|
|
657
|
+
...obj,
|
|
658
|
+
...(obj.Items && { Items: SENSITIVE_STRING }),
|
|
659
|
+
});
|
|
613
660
|
export const ListProfileObjectsItemFilterSensitiveLog = (obj) => ({
|
|
614
661
|
...obj,
|
|
615
662
|
...(obj.Object && { Object: SENSITIVE_STRING }),
|
|
@@ -666,6 +713,16 @@ export const UpdateCalculatedAttributeDefinitionResponseFilterSensitiveLog = (ob
|
|
|
666
713
|
...(obj.Conditions && { Conditions: SENSITIVE_STRING }),
|
|
667
714
|
...(obj.AttributeDetails && { AttributeDetails: SENSITIVE_STRING }),
|
|
668
715
|
});
|
|
716
|
+
export const UpdateEventTriggerRequestFilterSensitiveLog = (obj) => ({
|
|
717
|
+
...obj,
|
|
718
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
719
|
+
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
720
|
+
});
|
|
721
|
+
export const UpdateEventTriggerResponseFilterSensitiveLog = (obj) => ({
|
|
722
|
+
...obj,
|
|
723
|
+
...(obj.Description && { Description: SENSITIVE_STRING }),
|
|
724
|
+
...(obj.EventTriggerConditions && { EventTriggerConditions: SENSITIVE_STRING }),
|
|
725
|
+
});
|
|
669
726
|
export const UpdateAddressFilterSensitiveLog = (obj) => ({
|
|
670
727
|
...obj,
|
|
671
728
|
});
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListEventTriggersCommand, } from "../commands/ListEventTriggersCommand";
|
|
3
|
+
import { CustomerProfilesClient } from "../CustomerProfilesClient";
|
|
4
|
+
export const paginateListEventTriggers = createPaginator(CustomerProfilesClient, ListEventTriggersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./GetSimilarProfilesPaginator";
|
|
2
2
|
export * from "./Interfaces";
|
|
3
3
|
export * from "./ListEventStreamsPaginator";
|
|
4
|
+
export * from "./ListEventTriggersPaginator";
|
|
4
5
|
export * from "./ListObjectTypeAttributesPaginator";
|
|
5
6
|
export * from "./ListRuleBasedMatchesPaginator";
|
|
6
7
|
export * from "./ListSegmentDefinitionsPaginator";
|
|
@@ -105,6 +105,26 @@ export const se_CreateEventStreamCommand = async (input, context) => {
|
|
|
105
105
|
b.m("POST").h(headers).b(body);
|
|
106
106
|
return b.build();
|
|
107
107
|
};
|
|
108
|
+
export const se_CreateEventTriggerCommand = async (input, context) => {
|
|
109
|
+
const b = rb(input, context);
|
|
110
|
+
const headers = {
|
|
111
|
+
"content-type": "application/json",
|
|
112
|
+
};
|
|
113
|
+
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
114
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
115
|
+
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
116
|
+
let body;
|
|
117
|
+
body = JSON.stringify(take(input, {
|
|
118
|
+
Description: [],
|
|
119
|
+
EventTriggerConditions: (_) => _json(_),
|
|
120
|
+
EventTriggerLimits: (_) => _json(_),
|
|
121
|
+
ObjectTypeName: [],
|
|
122
|
+
SegmentFilter: [],
|
|
123
|
+
Tags: (_) => _json(_),
|
|
124
|
+
}));
|
|
125
|
+
b.m("POST").h(headers).b(body);
|
|
126
|
+
return b.build();
|
|
127
|
+
};
|
|
108
128
|
export const se_CreateIntegrationWorkflowCommand = async (input, context) => {
|
|
109
129
|
const b = rb(input, context);
|
|
110
130
|
const headers = {
|
|
@@ -238,6 +258,16 @@ export const se_DeleteEventStreamCommand = async (input, context) => {
|
|
|
238
258
|
b.m("DELETE").h(headers).b(body);
|
|
239
259
|
return b.build();
|
|
240
260
|
};
|
|
261
|
+
export const se_DeleteEventTriggerCommand = async (input, context) => {
|
|
262
|
+
const b = rb(input, context);
|
|
263
|
+
const headers = {};
|
|
264
|
+
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
265
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
266
|
+
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
267
|
+
let body;
|
|
268
|
+
b.m("DELETE").h(headers).b(body);
|
|
269
|
+
return b.build();
|
|
270
|
+
};
|
|
241
271
|
export const se_DeleteIntegrationCommand = async (input, context) => {
|
|
242
272
|
const b = rb(input, context);
|
|
243
273
|
const headers = {
|
|
@@ -398,6 +428,16 @@ export const se_GetEventStreamCommand = async (input, context) => {
|
|
|
398
428
|
b.m("GET").h(headers).b(body);
|
|
399
429
|
return b.build();
|
|
400
430
|
};
|
|
431
|
+
export const se_GetEventTriggerCommand = async (input, context) => {
|
|
432
|
+
const b = rb(input, context);
|
|
433
|
+
const headers = {};
|
|
434
|
+
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
435
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
436
|
+
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
437
|
+
let body;
|
|
438
|
+
b.m("GET").h(headers).b(body);
|
|
439
|
+
return b.build();
|
|
440
|
+
};
|
|
401
441
|
export const se_GetIdentityResolutionJobCommand = async (input, context) => {
|
|
402
442
|
const b = rb(input, context);
|
|
403
443
|
const headers = {};
|
|
@@ -614,6 +654,19 @@ export const se_ListEventStreamsCommand = async (input, context) => {
|
|
|
614
654
|
b.m("GET").h(headers).q(query).b(body);
|
|
615
655
|
return b.build();
|
|
616
656
|
};
|
|
657
|
+
export const se_ListEventTriggersCommand = async (input, context) => {
|
|
658
|
+
const b = rb(input, context);
|
|
659
|
+
const headers = {};
|
|
660
|
+
b.bp("/domains/{DomainName}/event-triggers");
|
|
661
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
662
|
+
const query = map({
|
|
663
|
+
[_nt]: [, input[_NT]],
|
|
664
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
665
|
+
});
|
|
666
|
+
let body;
|
|
667
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
668
|
+
return b.build();
|
|
669
|
+
};
|
|
617
670
|
export const se_ListIdentityResolutionJobsCommand = async (input, context) => {
|
|
618
671
|
const b = rb(input, context);
|
|
619
672
|
const headers = {};
|
|
@@ -791,6 +844,7 @@ export const se_PutIntegrationCommand = async (input, context) => {
|
|
|
791
844
|
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
792
845
|
let body;
|
|
793
846
|
body = JSON.stringify(take(input, {
|
|
847
|
+
EventTriggerNames: (_) => _json(_),
|
|
794
848
|
FlowDefinition: (_) => se_FlowDefinition(_, context),
|
|
795
849
|
ObjectTypeName: [],
|
|
796
850
|
ObjectTypeNames: (_) => _json(_),
|
|
@@ -923,6 +977,25 @@ export const se_UpdateDomainCommand = async (input, context) => {
|
|
|
923
977
|
b.m("PUT").h(headers).b(body);
|
|
924
978
|
return b.build();
|
|
925
979
|
};
|
|
980
|
+
export const se_UpdateEventTriggerCommand = async (input, context) => {
|
|
981
|
+
const b = rb(input, context);
|
|
982
|
+
const headers = {
|
|
983
|
+
"content-type": "application/json",
|
|
984
|
+
};
|
|
985
|
+
b.bp("/domains/{DomainName}/event-triggers/{EventTriggerName}");
|
|
986
|
+
b.p("DomainName", () => input.DomainName, "{DomainName}", false);
|
|
987
|
+
b.p("EventTriggerName", () => input.EventTriggerName, "{EventTriggerName}", false);
|
|
988
|
+
let body;
|
|
989
|
+
body = JSON.stringify(take(input, {
|
|
990
|
+
Description: [],
|
|
991
|
+
EventTriggerConditions: (_) => _json(_),
|
|
992
|
+
EventTriggerLimits: (_) => _json(_),
|
|
993
|
+
ObjectTypeName: [],
|
|
994
|
+
SegmentFilter: [],
|
|
995
|
+
}));
|
|
996
|
+
b.m("PUT").h(headers).b(body);
|
|
997
|
+
return b.build();
|
|
998
|
+
};
|
|
926
999
|
export const se_UpdateProfileCommand = async (input, context) => {
|
|
927
1000
|
const b = rb(input, context);
|
|
928
1001
|
const headers = {
|
|
@@ -1066,6 +1139,28 @@ export const de_CreateEventStreamCommand = async (output, context) => {
|
|
|
1066
1139
|
Object.assign(contents, doc);
|
|
1067
1140
|
return contents;
|
|
1068
1141
|
};
|
|
1142
|
+
export const de_CreateEventTriggerCommand = async (output, context) => {
|
|
1143
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1144
|
+
return de_CommandError(output, context);
|
|
1145
|
+
}
|
|
1146
|
+
const contents = map({
|
|
1147
|
+
$metadata: deserializeMetadata(output),
|
|
1148
|
+
});
|
|
1149
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1150
|
+
const doc = take(data, {
|
|
1151
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1152
|
+
Description: __expectString,
|
|
1153
|
+
EventTriggerConditions: _json,
|
|
1154
|
+
EventTriggerLimits: _json,
|
|
1155
|
+
EventTriggerName: __expectString,
|
|
1156
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1157
|
+
ObjectTypeName: __expectString,
|
|
1158
|
+
SegmentFilter: __expectString,
|
|
1159
|
+
Tags: _json,
|
|
1160
|
+
});
|
|
1161
|
+
Object.assign(contents, doc);
|
|
1162
|
+
return contents;
|
|
1163
|
+
};
|
|
1069
1164
|
export const de_CreateIntegrationWorkflowCommand = async (output, context) => {
|
|
1070
1165
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1071
1166
|
return de_CommandError(output, context);
|
|
@@ -1180,6 +1275,20 @@ export const de_DeleteEventStreamCommand = async (output, context) => {
|
|
|
1180
1275
|
await collectBody(output.body, context);
|
|
1181
1276
|
return contents;
|
|
1182
1277
|
};
|
|
1278
|
+
export const de_DeleteEventTriggerCommand = async (output, context) => {
|
|
1279
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1280
|
+
return de_CommandError(output, context);
|
|
1281
|
+
}
|
|
1282
|
+
const contents = map({
|
|
1283
|
+
$metadata: deserializeMetadata(output),
|
|
1284
|
+
});
|
|
1285
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1286
|
+
const doc = take(data, {
|
|
1287
|
+
Message: __expectString,
|
|
1288
|
+
});
|
|
1289
|
+
Object.assign(contents, doc);
|
|
1290
|
+
return contents;
|
|
1291
|
+
};
|
|
1183
1292
|
export const de_DeleteIntegrationCommand = async (output, context) => {
|
|
1184
1293
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1185
1294
|
return de_CommandError(output, context);
|
|
@@ -1388,6 +1497,28 @@ export const de_GetEventStreamCommand = async (output, context) => {
|
|
|
1388
1497
|
Object.assign(contents, doc);
|
|
1389
1498
|
return contents;
|
|
1390
1499
|
};
|
|
1500
|
+
export const de_GetEventTriggerCommand = async (output, context) => {
|
|
1501
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1502
|
+
return de_CommandError(output, context);
|
|
1503
|
+
}
|
|
1504
|
+
const contents = map({
|
|
1505
|
+
$metadata: deserializeMetadata(output),
|
|
1506
|
+
});
|
|
1507
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1508
|
+
const doc = take(data, {
|
|
1509
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1510
|
+
Description: __expectString,
|
|
1511
|
+
EventTriggerConditions: _json,
|
|
1512
|
+
EventTriggerLimits: _json,
|
|
1513
|
+
EventTriggerName: __expectString,
|
|
1514
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1515
|
+
ObjectTypeName: __expectString,
|
|
1516
|
+
SegmentFilter: __expectString,
|
|
1517
|
+
Tags: _json,
|
|
1518
|
+
});
|
|
1519
|
+
Object.assign(contents, doc);
|
|
1520
|
+
return contents;
|
|
1521
|
+
};
|
|
1391
1522
|
export const de_GetIdentityResolutionJobCommand = async (output, context) => {
|
|
1392
1523
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1393
1524
|
return de_CommandError(output, context);
|
|
@@ -1423,6 +1554,7 @@ export const de_GetIntegrationCommand = async (output, context) => {
|
|
|
1423
1554
|
const doc = take(data, {
|
|
1424
1555
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1425
1556
|
DomainName: __expectString,
|
|
1557
|
+
EventTriggerNames: _json,
|
|
1426
1558
|
IsUnstructured: __expectBoolean,
|
|
1427
1559
|
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1428
1560
|
ObjectTypeName: __expectString,
|
|
@@ -1708,6 +1840,21 @@ export const de_ListEventStreamsCommand = async (output, context) => {
|
|
|
1708
1840
|
Object.assign(contents, doc);
|
|
1709
1841
|
return contents;
|
|
1710
1842
|
};
|
|
1843
|
+
export const de_ListEventTriggersCommand = async (output, context) => {
|
|
1844
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1845
|
+
return de_CommandError(output, context);
|
|
1846
|
+
}
|
|
1847
|
+
const contents = map({
|
|
1848
|
+
$metadata: deserializeMetadata(output),
|
|
1849
|
+
});
|
|
1850
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1851
|
+
const doc = take(data, {
|
|
1852
|
+
Items: (_) => de_EventTriggerSummaryList(_, context),
|
|
1853
|
+
NextToken: __expectString,
|
|
1854
|
+
});
|
|
1855
|
+
Object.assign(contents, doc);
|
|
1856
|
+
return contents;
|
|
1857
|
+
};
|
|
1711
1858
|
export const de_ListIdentityResolutionJobsCommand = async (output, context) => {
|
|
1712
1859
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1713
1860
|
return de_CommandError(output, context);
|
|
@@ -1901,6 +2048,7 @@ export const de_PutIntegrationCommand = async (output, context) => {
|
|
|
1901
2048
|
const doc = take(data, {
|
|
1902
2049
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1903
2050
|
DomainName: __expectString,
|
|
2051
|
+
EventTriggerNames: _json,
|
|
1904
2052
|
IsUnstructured: __expectBoolean,
|
|
1905
2053
|
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1906
2054
|
ObjectTypeName: __expectString,
|
|
@@ -2033,6 +2181,28 @@ export const de_UpdateDomainCommand = async (output, context) => {
|
|
|
2033
2181
|
Object.assign(contents, doc);
|
|
2034
2182
|
return contents;
|
|
2035
2183
|
};
|
|
2184
|
+
export const de_UpdateEventTriggerCommand = async (output, context) => {
|
|
2185
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2186
|
+
return de_CommandError(output, context);
|
|
2187
|
+
}
|
|
2188
|
+
const contents = map({
|
|
2189
|
+
$metadata: deserializeMetadata(output),
|
|
2190
|
+
});
|
|
2191
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2192
|
+
const doc = take(data, {
|
|
2193
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2194
|
+
Description: __expectString,
|
|
2195
|
+
EventTriggerConditions: _json,
|
|
2196
|
+
EventTriggerLimits: _json,
|
|
2197
|
+
EventTriggerName: __expectString,
|
|
2198
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2199
|
+
ObjectTypeName: __expectString,
|
|
2200
|
+
SegmentFilter: __expectString,
|
|
2201
|
+
Tags: _json,
|
|
2202
|
+
});
|
|
2203
|
+
Object.assign(contents, doc);
|
|
2204
|
+
return contents;
|
|
2205
|
+
};
|
|
2036
2206
|
export const de_UpdateProfileCommand = async (output, context) => {
|
|
2037
2207
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2038
2208
|
return de_CommandError(output, context);
|
|
@@ -2491,6 +2661,24 @@ const de_EventStreamSummaryList = (output, context) => {
|
|
|
2491
2661
|
});
|
|
2492
2662
|
return retVal;
|
|
2493
2663
|
};
|
|
2664
|
+
const de_EventTriggerSummaryItem = (output, context) => {
|
|
2665
|
+
return take(output, {
|
|
2666
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2667
|
+
Description: __expectString,
|
|
2668
|
+
EventTriggerName: __expectString,
|
|
2669
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2670
|
+
ObjectTypeName: __expectString,
|
|
2671
|
+
Tags: _json,
|
|
2672
|
+
});
|
|
2673
|
+
};
|
|
2674
|
+
const de_EventTriggerSummaryList = (output, context) => {
|
|
2675
|
+
const retVal = (output || [])
|
|
2676
|
+
.filter((e) => e != null)
|
|
2677
|
+
.map((entry) => {
|
|
2678
|
+
return de_EventTriggerSummaryItem(entry, context);
|
|
2679
|
+
});
|
|
2680
|
+
return retVal;
|
|
2681
|
+
};
|
|
2494
2682
|
const de_ExtraLengthValueProfileDimension = (output, context) => {
|
|
2495
2683
|
return take(output, {
|
|
2496
2684
|
DimensionType: [, __expectString, `DimensionType`],
|
|
@@ -2563,6 +2751,7 @@ const de_ListIntegrationItem = (output, context) => {
|
|
|
2563
2751
|
return take(output, {
|
|
2564
2752
|
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2565
2753
|
DomainName: __expectString,
|
|
2754
|
+
EventTriggerNames: _json,
|
|
2566
2755
|
IsUnstructured: __expectBoolean,
|
|
2567
2756
|
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2568
2757
|
ObjectTypeName: __expectString,
|