@aws-sdk/client-customer-profiles 3.1120.0 → 3.1122.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 +49 -0
- package/dist-cjs/index.js +266 -7
- package/dist-es/CustomerProfiles.js +16 -0
- package/dist-es/commands/AssociateStreamForSegmentsCommand.js +4 -0
- package/dist-es/commands/DeleteSegmentSubscriptionCommand.js +4 -0
- package/dist-es/commands/DisassociateStreamForSegmentsCommand.js +4 -0
- package/dist-es/commands/GetSegmentSubscriptionCommand.js +4 -0
- package/dist-es/commands/GetStreamForSegmentsCommand.js +4 -0
- package/dist-es/commands/ListSegmentSubscriptionEventsCommand.js +4 -0
- package/dist-es/commands/PutSegmentSubscriptionCommand.js +4 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/enums.js +31 -0
- package/dist-es/pagination/ListSegmentSubscriptionEventsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +164 -6
- package/dist-types/CustomerProfiles.d.ts +56 -0
- package/dist-types/CustomerProfilesClient.d.ts +9 -2
- package/dist-types/commands/AssociateStreamForSegmentsCommand.d.ts +89 -0
- package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/CreateSegmentDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/CreateSegmentEstimateCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSegmentSubscriptionCommand.d.ts +88 -0
- package/dist-types/commands/DisassociateStreamForSegmentsCommand.d.ts +87 -0
- package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/GetSegmentDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/GetSegmentSubscriptionCommand.d.ts +99 -0
- package/dist-types/commands/GetStreamForSegmentsCommand.d.ts +100 -0
- package/dist-types/commands/ListProfileObjectTypeTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommenderFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommenderRecipesCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommenderSchemasCommand.d.ts +1 -2
- package/dist-types/commands/ListRecommendersCommand.d.ts +1 -1
- package/dist-types/commands/ListSegmentSubscriptionEventsCommand.d.ts +99 -0
- package/dist-types/commands/PutSegmentSubscriptionCommand.d.ts +107 -0
- package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/enums.d.ts +79 -0
- package/dist-types/models/models_0.d.ts +335 -300
- package/dist-types/models/models_1.d.ts +446 -2
- package/dist-types/pagination/ListSegmentSubscriptionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +25 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +126 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/AssociateStreamForSegmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteSegmentSubscriptionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DisassociateStreamForSegmentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetSegmentSubscriptionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetStreamForSegmentsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfileObjectTypeTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRecommenderFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRecommenderRecipesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRecommenderSchemasCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSegmentSubscriptionEventsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutSegmentSubscriptionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/enums.d.ts +42 -0
- package/dist-types/ts3.4/models/models_0.d.ts +61 -71
- package/dist-types/ts3.4/models/models_1.d.ts +105 -0
- package/dist-types/ts3.4/pagination/ListSegmentSubscriptionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { AddProfileKeyCommand, } from "./commands/AddProfileKeyCommand";
|
|
3
|
+
import { AssociateStreamForSegmentsCommand, } from "./commands/AssociateStreamForSegmentsCommand";
|
|
3
4
|
import { BatchGetCalculatedAttributeForProfileCommand, } from "./commands/BatchGetCalculatedAttributeForProfileCommand";
|
|
4
5
|
import { BatchGetProfileCommand, } from "./commands/BatchGetProfileCommand";
|
|
5
6
|
import { BatchPutProfileObjectCommand, } from "./commands/BatchPutProfileObjectCommand";
|
|
@@ -32,8 +33,10 @@ import { DeleteRecommenderCommand, } from "./commands/DeleteRecommenderCommand";
|
|
|
32
33
|
import { DeleteRecommenderFilterCommand, } from "./commands/DeleteRecommenderFilterCommand";
|
|
33
34
|
import { DeleteRecommenderSchemaCommand, } from "./commands/DeleteRecommenderSchemaCommand";
|
|
34
35
|
import { DeleteSegmentDefinitionCommand, } from "./commands/DeleteSegmentDefinitionCommand";
|
|
36
|
+
import { DeleteSegmentSubscriptionCommand, } from "./commands/DeleteSegmentSubscriptionCommand";
|
|
35
37
|
import { DeleteWorkflowCommand, } from "./commands/DeleteWorkflowCommand";
|
|
36
38
|
import { DetectProfileObjectTypeCommand, } from "./commands/DetectProfileObjectTypeCommand";
|
|
39
|
+
import { DisassociateStreamForSegmentsCommand, } from "./commands/DisassociateStreamForSegmentsCommand";
|
|
37
40
|
import { GetAutoMergingPreviewCommand, } from "./commands/GetAutoMergingPreviewCommand";
|
|
38
41
|
import { GetCalculatedAttributeDefinitionCommand, } from "./commands/GetCalculatedAttributeDefinitionCommand";
|
|
39
42
|
import { GetCalculatedAttributeForProfileCommand, } from "./commands/GetCalculatedAttributeForProfileCommand";
|
|
@@ -57,7 +60,9 @@ import { GetSegmentDefinitionCommand, } from "./commands/GetSegmentDefinitionCom
|
|
|
57
60
|
import { GetSegmentEstimateCommand, } from "./commands/GetSegmentEstimateCommand";
|
|
58
61
|
import { GetSegmentMembershipCommand, } from "./commands/GetSegmentMembershipCommand";
|
|
59
62
|
import { GetSegmentSnapshotCommand, } from "./commands/GetSegmentSnapshotCommand";
|
|
63
|
+
import { GetSegmentSubscriptionCommand, } from "./commands/GetSegmentSubscriptionCommand";
|
|
60
64
|
import { GetSimilarProfilesCommand, } from "./commands/GetSimilarProfilesCommand";
|
|
65
|
+
import { GetStreamForSegmentsCommand, } from "./commands/GetStreamForSegmentsCommand";
|
|
61
66
|
import { GetUploadJobCommand, } from "./commands/GetUploadJobCommand";
|
|
62
67
|
import { GetUploadJobPathCommand, } from "./commands/GetUploadJobPathCommand";
|
|
63
68
|
import { GetWorkflowCommand, } from "./commands/GetWorkflowCommand";
|
|
@@ -85,6 +90,7 @@ import { ListRecommenderSchemasCommand, } from "./commands/ListRecommenderSchema
|
|
|
85
90
|
import { ListRecommendersCommand, } from "./commands/ListRecommendersCommand";
|
|
86
91
|
import { ListRuleBasedMatchesCommand, } from "./commands/ListRuleBasedMatchesCommand";
|
|
87
92
|
import { ListSegmentDefinitionsCommand, } from "./commands/ListSegmentDefinitionsCommand";
|
|
93
|
+
import { ListSegmentSubscriptionEventsCommand, } from "./commands/ListSegmentSubscriptionEventsCommand";
|
|
88
94
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
89
95
|
import { ListUploadJobsCommand, } from "./commands/ListUploadJobsCommand";
|
|
90
96
|
import { ListWorkflowsCommand, } from "./commands/ListWorkflowsCommand";
|
|
@@ -93,6 +99,7 @@ import { PutDomainObjectTypeCommand, } from "./commands/PutDomainObjectTypeComma
|
|
|
93
99
|
import { PutIntegrationCommand, } from "./commands/PutIntegrationCommand";
|
|
94
100
|
import { PutProfileObjectCommand, } from "./commands/PutProfileObjectCommand";
|
|
95
101
|
import { PutProfileObjectTypeCommand, } from "./commands/PutProfileObjectTypeCommand";
|
|
102
|
+
import { PutSegmentSubscriptionCommand, } from "./commands/PutSegmentSubscriptionCommand";
|
|
96
103
|
import { SearchProfilesCommand, } from "./commands/SearchProfilesCommand";
|
|
97
104
|
import { StartRecommenderCommand, } from "./commands/StartRecommenderCommand";
|
|
98
105
|
import { StartUploadJobCommand, } from "./commands/StartUploadJobCommand";
|
|
@@ -119,9 +126,11 @@ import { paginateListRecommenderSchemas } from "./pagination/ListRecommenderSche
|
|
|
119
126
|
import { paginateListRecommenders } from "./pagination/ListRecommendersPaginator";
|
|
120
127
|
import { paginateListRuleBasedMatches } from "./pagination/ListRuleBasedMatchesPaginator";
|
|
121
128
|
import { paginateListSegmentDefinitions } from "./pagination/ListSegmentDefinitionsPaginator";
|
|
129
|
+
import { paginateListSegmentSubscriptionEvents } from "./pagination/ListSegmentSubscriptionEventsPaginator";
|
|
122
130
|
import { paginateListUploadJobs } from "./pagination/ListUploadJobsPaginator";
|
|
123
131
|
const commands = {
|
|
124
132
|
AddProfileKeyCommand,
|
|
133
|
+
AssociateStreamForSegmentsCommand,
|
|
125
134
|
BatchGetCalculatedAttributeForProfileCommand,
|
|
126
135
|
BatchGetProfileCommand,
|
|
127
136
|
BatchPutProfileObjectCommand,
|
|
@@ -154,8 +163,10 @@ const commands = {
|
|
|
154
163
|
DeleteRecommenderFilterCommand,
|
|
155
164
|
DeleteRecommenderSchemaCommand,
|
|
156
165
|
DeleteSegmentDefinitionCommand,
|
|
166
|
+
DeleteSegmentSubscriptionCommand,
|
|
157
167
|
DeleteWorkflowCommand,
|
|
158
168
|
DetectProfileObjectTypeCommand,
|
|
169
|
+
DisassociateStreamForSegmentsCommand,
|
|
159
170
|
GetAutoMergingPreviewCommand,
|
|
160
171
|
GetCalculatedAttributeDefinitionCommand,
|
|
161
172
|
GetCalculatedAttributeForProfileCommand,
|
|
@@ -179,7 +190,9 @@ const commands = {
|
|
|
179
190
|
GetSegmentEstimateCommand,
|
|
180
191
|
GetSegmentMembershipCommand,
|
|
181
192
|
GetSegmentSnapshotCommand,
|
|
193
|
+
GetSegmentSubscriptionCommand,
|
|
182
194
|
GetSimilarProfilesCommand,
|
|
195
|
+
GetStreamForSegmentsCommand,
|
|
183
196
|
GetUploadJobCommand,
|
|
184
197
|
GetUploadJobPathCommand,
|
|
185
198
|
GetWorkflowCommand,
|
|
@@ -207,6 +220,7 @@ const commands = {
|
|
|
207
220
|
ListRecommenderSchemasCommand,
|
|
208
221
|
ListRuleBasedMatchesCommand,
|
|
209
222
|
ListSegmentDefinitionsCommand,
|
|
223
|
+
ListSegmentSubscriptionEventsCommand,
|
|
210
224
|
ListTagsForResourceCommand,
|
|
211
225
|
ListUploadJobsCommand,
|
|
212
226
|
ListWorkflowsCommand,
|
|
@@ -215,6 +229,7 @@ const commands = {
|
|
|
215
229
|
PutIntegrationCommand,
|
|
216
230
|
PutProfileObjectCommand,
|
|
217
231
|
PutProfileObjectTypeCommand,
|
|
232
|
+
PutSegmentSubscriptionCommand,
|
|
218
233
|
SearchProfilesCommand,
|
|
219
234
|
StartRecommenderCommand,
|
|
220
235
|
StartUploadJobCommand,
|
|
@@ -242,6 +257,7 @@ const paginators = {
|
|
|
242
257
|
paginateListRecommenderSchemas,
|
|
243
258
|
paginateListRuleBasedMatches,
|
|
244
259
|
paginateListSegmentDefinitions,
|
|
260
|
+
paginateListSegmentSubscriptionEvents,
|
|
245
261
|
paginateListUploadJobs,
|
|
246
262
|
};
|
|
247
263
|
export class CustomerProfiles extends CustomerProfilesClient {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { DisassociateStreamForSegments$ } from "../schemas/schemas_0";
|
|
3
|
+
export class DisassociateStreamForSegmentsCommand extends command(_ep0, _mw0, "DisassociateStreamForSegments", DisassociateStreamForSegments$) {
|
|
4
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListSegmentSubscriptionEvents$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListSegmentSubscriptionEventsCommand extends command(_ep0, _mw0, "ListSegmentSubscriptionEvents", ListSegmentSubscriptionEvents$) {
|
|
4
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AddProfileKeyCommand";
|
|
2
|
+
export * from "./AssociateStreamForSegmentsCommand";
|
|
2
3
|
export * from "./BatchGetCalculatedAttributeForProfileCommand";
|
|
3
4
|
export * from "./BatchGetProfileCommand";
|
|
4
5
|
export * from "./BatchPutProfileObjectCommand";
|
|
@@ -31,8 +32,10 @@ export * from "./DeleteRecommenderCommand";
|
|
|
31
32
|
export * from "./DeleteRecommenderFilterCommand";
|
|
32
33
|
export * from "./DeleteRecommenderSchemaCommand";
|
|
33
34
|
export * from "./DeleteSegmentDefinitionCommand";
|
|
35
|
+
export * from "./DeleteSegmentSubscriptionCommand";
|
|
34
36
|
export * from "./DeleteWorkflowCommand";
|
|
35
37
|
export * from "./DetectProfileObjectTypeCommand";
|
|
38
|
+
export * from "./DisassociateStreamForSegmentsCommand";
|
|
36
39
|
export * from "./GetAutoMergingPreviewCommand";
|
|
37
40
|
export * from "./GetCalculatedAttributeDefinitionCommand";
|
|
38
41
|
export * from "./GetCalculatedAttributeForProfileCommand";
|
|
@@ -56,7 +59,9 @@ export * from "./GetSegmentDefinitionCommand";
|
|
|
56
59
|
export * from "./GetSegmentEstimateCommand";
|
|
57
60
|
export * from "./GetSegmentMembershipCommand";
|
|
58
61
|
export * from "./GetSegmentSnapshotCommand";
|
|
62
|
+
export * from "./GetSegmentSubscriptionCommand";
|
|
59
63
|
export * from "./GetSimilarProfilesCommand";
|
|
64
|
+
export * from "./GetStreamForSegmentsCommand";
|
|
60
65
|
export * from "./GetUploadJobCommand";
|
|
61
66
|
export * from "./GetUploadJobPathCommand";
|
|
62
67
|
export * from "./GetWorkflowCommand";
|
|
@@ -84,6 +89,7 @@ export * from "./ListRecommenderSchemasCommand";
|
|
|
84
89
|
export * from "./ListRecommendersCommand";
|
|
85
90
|
export * from "./ListRuleBasedMatchesCommand";
|
|
86
91
|
export * from "./ListSegmentDefinitionsCommand";
|
|
92
|
+
export * from "./ListSegmentSubscriptionEventsCommand";
|
|
87
93
|
export * from "./ListTagsForResourceCommand";
|
|
88
94
|
export * from "./ListUploadJobsCommand";
|
|
89
95
|
export * from "./ListWorkflowsCommand";
|
|
@@ -92,6 +98,7 @@ export * from "./PutDomainObjectTypeCommand";
|
|
|
92
98
|
export * from "./PutIntegrationCommand";
|
|
93
99
|
export * from "./PutProfileObjectCommand";
|
|
94
100
|
export * from "./PutProfileObjectTypeCommand";
|
|
101
|
+
export * from "./PutSegmentSubscriptionCommand";
|
|
95
102
|
export * from "./SearchProfilesCommand";
|
|
96
103
|
export * from "./StartRecommenderCommand";
|
|
97
104
|
export * from "./StartUploadJobCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -168,6 +168,12 @@ export const Status = {
|
|
|
168
168
|
RETRY: "RETRY",
|
|
169
169
|
SPLIT: "SPLIT",
|
|
170
170
|
};
|
|
171
|
+
export const EventSubscriptionSegmentStatus = {
|
|
172
|
+
FAILED: "FAILED",
|
|
173
|
+
RUNNING: "RUNNING",
|
|
174
|
+
STARTING: "STARTING",
|
|
175
|
+
STOPPED: "STOPPED",
|
|
176
|
+
};
|
|
171
177
|
export const AttributeDimensionType = {
|
|
172
178
|
AFTER: "AFTER",
|
|
173
179
|
BEFORE: "BEFORE",
|
|
@@ -182,6 +188,8 @@ export const AttributeDimensionType = {
|
|
|
182
188
|
INCLUSIVE: "INCLUSIVE",
|
|
183
189
|
LESS_THAN: "LESS_THAN",
|
|
184
190
|
LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL",
|
|
191
|
+
LIST_CONTAINS: "LIST_CONTAINS",
|
|
192
|
+
LIST_CONTAINS_ALL: "LIST_CONTAINS_ALL",
|
|
185
193
|
NOT_BETWEEN: "NOT_BETWEEN",
|
|
186
194
|
ON: "ON",
|
|
187
195
|
};
|
|
@@ -290,6 +298,7 @@ export const Statistic = {
|
|
|
290
298
|
MAXIMUM: "MAXIMUM",
|
|
291
299
|
MAX_OCCURRENCE: "MAX_OCCURRENCE",
|
|
292
300
|
MINIMUM: "MINIMUM",
|
|
301
|
+
RECENT_OCCURRENCES: "RECENT_OCCURRENCES",
|
|
293
302
|
SUM: "SUM",
|
|
294
303
|
};
|
|
295
304
|
export const JobScheduleDayOfTheWeek = {
|
|
@@ -478,10 +487,24 @@ export const SegmentSnapshotStatus = {
|
|
|
478
487
|
FAILED: "FAILED",
|
|
479
488
|
IN_PROGRESS: "IN_PROGRESS",
|
|
480
489
|
};
|
|
490
|
+
export const ScheduleConfigurationUnit = {
|
|
491
|
+
HOURLY: "HOURLY",
|
|
492
|
+
};
|
|
493
|
+
export const SegmentSubscriptionStatus = {
|
|
494
|
+
FAILED: "FAILED",
|
|
495
|
+
RUNNING: "RUNNING",
|
|
496
|
+
STARTING: "STARTING",
|
|
497
|
+
STOPPED: "STOPPED",
|
|
498
|
+
};
|
|
481
499
|
export const MatchType = {
|
|
482
500
|
ML_BASED_MATCHING: "ML_BASED_MATCHING",
|
|
483
501
|
RULE_BASED_MATCHING: "RULE_BASED_MATCHING",
|
|
484
502
|
};
|
|
503
|
+
export const EventSubscriptionState = {
|
|
504
|
+
RUNNING: "RUNNING",
|
|
505
|
+
STOPPED: "STOPPED",
|
|
506
|
+
UNHEALTHY: "UNHEALTHY",
|
|
507
|
+
};
|
|
485
508
|
export const UploadJobStatus = {
|
|
486
509
|
CREATED: "CREATED",
|
|
487
510
|
FAILED: "FAILED",
|
|
@@ -494,6 +517,14 @@ export const StatusReason = {
|
|
|
494
517
|
INTERNAL_FAILURE: "INTERNAL_FAILURE",
|
|
495
518
|
VALIDATION_FAILURE: "VALIDATION_FAILURE",
|
|
496
519
|
};
|
|
520
|
+
export const SubscriptionEvent = {
|
|
521
|
+
JOINED: "JOINED",
|
|
522
|
+
LEFT: "LEFT",
|
|
523
|
+
};
|
|
524
|
+
export const SubscriptionEventType = {
|
|
525
|
+
LIVE: "LIVE",
|
|
526
|
+
SCHEDULE: "SCHEDULE",
|
|
527
|
+
};
|
|
497
528
|
export const LogicalOperator = {
|
|
498
529
|
AND: "AND",
|
|
499
530
|
OR: "OR",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListSegmentSubscriptionEventsCommand, } from "../commands/ListSegmentSubscriptionEventsCommand";
|
|
3
|
+
import { CustomerProfilesClient } from "../CustomerProfilesClient";
|
|
4
|
+
export const paginateListSegmentSubscriptionEvents = createPaginator(CustomerProfilesClient, ListSegmentSubscriptionEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -11,4 +11,5 @@ export * from "./ListRecommendersPaginator";
|
|
|
11
11
|
export * from "./ListRecommenderSchemasPaginator";
|
|
12
12
|
export * from "./ListRuleBasedMatchesPaginator";
|
|
13
13
|
export * from "./ListSegmentDefinitionsPaginator";
|
|
14
|
+
export * from "./ListSegmentSubscriptionEventsPaginator";
|
|
14
15
|
export * from "./ListUploadJobsPaginator";
|