@aws-sdk/client-customer-profiles 3.1121.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.
Files changed (64) hide show
  1. package/README.md +49 -0
  2. package/dist-cjs/index.js +266 -7
  3. package/dist-es/CustomerProfiles.js +16 -0
  4. package/dist-es/commands/AssociateStreamForSegmentsCommand.js +4 -0
  5. package/dist-es/commands/DeleteSegmentSubscriptionCommand.js +4 -0
  6. package/dist-es/commands/DisassociateStreamForSegmentsCommand.js +4 -0
  7. package/dist-es/commands/GetSegmentSubscriptionCommand.js +4 -0
  8. package/dist-es/commands/GetStreamForSegmentsCommand.js +4 -0
  9. package/dist-es/commands/ListSegmentSubscriptionEventsCommand.js +4 -0
  10. package/dist-es/commands/PutSegmentSubscriptionCommand.js +4 -0
  11. package/dist-es/commands/index.js +7 -0
  12. package/dist-es/models/enums.js +31 -0
  13. package/dist-es/pagination/ListSegmentSubscriptionEventsPaginator.js +4 -0
  14. package/dist-es/pagination/index.js +1 -0
  15. package/dist-es/schemas/schemas_0.js +164 -6
  16. package/dist-types/CustomerProfiles.d.ts +56 -0
  17. package/dist-types/CustomerProfilesClient.d.ts +9 -2
  18. package/dist-types/commands/AssociateStreamForSegmentsCommand.d.ts +89 -0
  19. package/dist-types/commands/CreateCalculatedAttributeDefinitionCommand.d.ts +2 -2
  20. package/dist-types/commands/CreateSegmentDefinitionCommand.d.ts +2 -2
  21. package/dist-types/commands/CreateSegmentEstimateCommand.d.ts +2 -2
  22. package/dist-types/commands/DeleteSegmentSubscriptionCommand.d.ts +88 -0
  23. package/dist-types/commands/DisassociateStreamForSegmentsCommand.d.ts +87 -0
  24. package/dist-types/commands/GetCalculatedAttributeDefinitionCommand.d.ts +1 -1
  25. package/dist-types/commands/GetSegmentDefinitionCommand.d.ts +2 -2
  26. package/dist-types/commands/GetSegmentSubscriptionCommand.d.ts +99 -0
  27. package/dist-types/commands/GetStreamForSegmentsCommand.d.ts +100 -0
  28. package/dist-types/commands/ListProfileObjectTypeTemplatesCommand.d.ts +1 -1
  29. package/dist-types/commands/ListRecommenderFiltersCommand.d.ts +1 -1
  30. package/dist-types/commands/ListRecommenderRecipesCommand.d.ts +1 -1
  31. package/dist-types/commands/ListRecommenderSchemasCommand.d.ts +1 -2
  32. package/dist-types/commands/ListRecommendersCommand.d.ts +1 -1
  33. package/dist-types/commands/ListSegmentSubscriptionEventsCommand.d.ts +99 -0
  34. package/dist-types/commands/PutSegmentSubscriptionCommand.d.ts +107 -0
  35. package/dist-types/commands/UpdateCalculatedAttributeDefinitionCommand.d.ts +1 -1
  36. package/dist-types/commands/index.d.ts +7 -0
  37. package/dist-types/models/enums.d.ts +79 -0
  38. package/dist-types/models/models_0.d.ts +335 -300
  39. package/dist-types/models/models_1.d.ts +446 -2
  40. package/dist-types/pagination/ListSegmentSubscriptionEventsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/schemas/schemas_0.d.ts +25 -0
  43. package/dist-types/ts3.4/CustomerProfiles.d.ts +126 -0
  44. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/AssociateStreamForSegmentsCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/DeleteSegmentSubscriptionCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/DisassociateStreamForSegmentsCommand.d.ts +42 -0
  48. package/dist-types/ts3.4/commands/GetSegmentSubscriptionCommand.d.ts +39 -0
  49. package/dist-types/ts3.4/commands/GetStreamForSegmentsCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/ListProfileObjectTypeTemplatesCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListRecommenderFiltersCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListRecommenderRecipesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListRecommenderSchemasCommand.d.ts +1 -2
  54. package/dist-types/ts3.4/commands/ListRecommendersCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListSegmentSubscriptionEventsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/PutSegmentSubscriptionCommand.d.ts +39 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  58. package/dist-types/ts3.4/models/enums.d.ts +42 -0
  59. package/dist-types/ts3.4/models/models_0.d.ts +61 -71
  60. package/dist-types/ts3.4/models/models_1.d.ts +105 -0
  61. package/dist-types/ts3.4/pagination/ListSegmentSubscriptionEventsPaginator.d.ts +11 -0
  62. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  63. package/dist-types/ts3.4/schemas/schemas_0.d.ts +25 -0
  64. package/package.json +1 -1
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { PutSegmentSubscriptionRequest, PutSegmentSubscriptionResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface PutSegmentSubscriptionCommandInput extends PutSegmentSubscriptionRequest {}
5
+ export interface PutSegmentSubscriptionCommandOutput
6
+ extends PutSegmentSubscriptionResponse, __MetadataBearer {}
7
+ declare const PutSegmentSubscriptionCommand_base: {
8
+ new (
9
+ input: PutSegmentSubscriptionCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ PutSegmentSubscriptionCommandInput,
12
+ PutSegmentSubscriptionCommandOutput,
13
+ import("..").CustomerProfilesClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: PutSegmentSubscriptionCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ PutSegmentSubscriptionCommandInput,
21
+ PutSegmentSubscriptionCommandOutput,
22
+ import("..").CustomerProfilesClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class PutSegmentSubscriptionCommand extends PutSegmentSubscriptionCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: PutSegmentSubscriptionRequest;
32
+ output: PutSegmentSubscriptionResponse;
33
+ };
34
+ sdk: {
35
+ input: PutSegmentSubscriptionCommandInput;
36
+ output: PutSegmentSubscriptionCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -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";
@@ -186,6 +186,14 @@ export declare const Status: {
186
186
  readonly SPLIT: "SPLIT";
187
187
  };
188
188
  export type Status = (typeof Status)[keyof typeof Status];
189
+ export declare const EventSubscriptionSegmentStatus: {
190
+ readonly FAILED: "FAILED";
191
+ readonly RUNNING: "RUNNING";
192
+ readonly STARTING: "STARTING";
193
+ readonly STOPPED: "STOPPED";
194
+ };
195
+ export type EventSubscriptionSegmentStatus =
196
+ (typeof EventSubscriptionSegmentStatus)[keyof typeof EventSubscriptionSegmentStatus];
189
197
  export declare const AttributeDimensionType: {
190
198
  readonly AFTER: "AFTER";
191
199
  readonly BEFORE: "BEFORE";
@@ -200,6 +208,8 @@ export declare const AttributeDimensionType: {
200
208
  readonly INCLUSIVE: "INCLUSIVE";
201
209
  readonly LESS_THAN: "LESS_THAN";
202
210
  readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
211
+ readonly LIST_CONTAINS: "LIST_CONTAINS";
212
+ readonly LIST_CONTAINS_ALL: "LIST_CONTAINS_ALL";
203
213
  readonly NOT_BETWEEN: "NOT_BETWEEN";
204
214
  readonly ON: "ON";
205
215
  };
@@ -327,6 +337,7 @@ export declare const Statistic: {
327
337
  readonly MAXIMUM: "MAXIMUM";
328
338
  readonly MAX_OCCURRENCE: "MAX_OCCURRENCE";
329
339
  readonly MINIMUM: "MINIMUM";
340
+ readonly RECENT_OCCURRENCES: "RECENT_OCCURRENCES";
330
341
  readonly SUM: "SUM";
331
342
  };
332
343
  export type Statistic = (typeof Statistic)[keyof typeof Statistic];
@@ -556,11 +567,31 @@ export declare const SegmentSnapshotStatus: {
556
567
  };
557
568
  export type SegmentSnapshotStatus =
558
569
  (typeof SegmentSnapshotStatus)[keyof typeof SegmentSnapshotStatus];
570
+ export declare const ScheduleConfigurationUnit: {
571
+ readonly HOURLY: "HOURLY";
572
+ };
573
+ export type ScheduleConfigurationUnit =
574
+ (typeof ScheduleConfigurationUnit)[keyof typeof ScheduleConfigurationUnit];
575
+ export declare const SegmentSubscriptionStatus: {
576
+ readonly FAILED: "FAILED";
577
+ readonly RUNNING: "RUNNING";
578
+ readonly STARTING: "STARTING";
579
+ readonly STOPPED: "STOPPED";
580
+ };
581
+ export type SegmentSubscriptionStatus =
582
+ (typeof SegmentSubscriptionStatus)[keyof typeof SegmentSubscriptionStatus];
559
583
  export declare const MatchType: {
560
584
  readonly ML_BASED_MATCHING: "ML_BASED_MATCHING";
561
585
  readonly RULE_BASED_MATCHING: "RULE_BASED_MATCHING";
562
586
  };
563
587
  export type MatchType = (typeof MatchType)[keyof typeof MatchType];
588
+ export declare const EventSubscriptionState: {
589
+ readonly RUNNING: "RUNNING";
590
+ readonly STOPPED: "STOPPED";
591
+ readonly UNHEALTHY: "UNHEALTHY";
592
+ };
593
+ export type EventSubscriptionState =
594
+ (typeof EventSubscriptionState)[keyof typeof EventSubscriptionState];
564
595
  export declare const UploadJobStatus: {
565
596
  readonly CREATED: "CREATED";
566
597
  readonly FAILED: "FAILED";
@@ -575,6 +606,17 @@ export declare const StatusReason: {
575
606
  readonly VALIDATION_FAILURE: "VALIDATION_FAILURE";
576
607
  };
577
608
  export type StatusReason = (typeof StatusReason)[keyof typeof StatusReason];
609
+ export declare const SubscriptionEvent: {
610
+ readonly JOINED: "JOINED";
611
+ readonly LEFT: "LEFT";
612
+ };
613
+ export type SubscriptionEvent = (typeof SubscriptionEvent)[keyof typeof SubscriptionEvent];
614
+ export declare const SubscriptionEventType: {
615
+ readonly LIVE: "LIVE";
616
+ readonly SCHEDULE: "SCHEDULE";
617
+ };
618
+ export type SubscriptionEventType =
619
+ (typeof SubscriptionEventType)[keyof typeof SubscriptionEventType];
578
620
  export declare const LogicalOperator: {
579
621
  readonly AND: "AND";
580
622
  readonly OR: "OR";
@@ -13,6 +13,8 @@ import {
13
13
  EstimateStatus,
14
14
  EventStreamDestinationStatus,
15
15
  EventStreamState,
16
+ EventSubscriptionSegmentStatus,
17
+ EventSubscriptionState,
16
18
  EventTriggerLogicalOperator,
17
19
  FeatureType,
18
20
  FieldContentType,
@@ -41,10 +43,12 @@ import {
41
43
  RuleBasedMatchingStatus,
42
44
  S3ConnectorOperator,
43
45
  SalesforceConnectorOperator,
46
+ ScheduleConfigurationUnit,
44
47
  Scope,
45
48
  SegmentSnapshotStatus,
46
49
  SegmentSortDataType,
47
50
  SegmentSortOrder,
51
+ SegmentSubscriptionStatus,
48
52
  SegmentType,
49
53
  ServiceNowConnectorOperator,
50
54
  SortAttributeType,
@@ -201,6 +205,17 @@ export interface AppflowIntegrationWorkflowStep {
201
205
  CreatedAt: Date | undefined;
202
206
  LastUpdatedAt: Date | undefined;
203
207
  }
208
+ export interface AssociatedSegment {
209
+ SegmentName?: string | undefined;
210
+ Status?: EventSubscriptionSegmentStatus | undefined;
211
+ Message?: string | undefined;
212
+ }
213
+ export interface AssociateStreamForSegmentsRequest {
214
+ DomainName: string | undefined;
215
+ DestinationArn: string | undefined;
216
+ DestinationRoleArn: string | undefined;
217
+ }
218
+ export interface AssociateStreamForSegmentsResponse {}
204
219
  export interface AttributeItem {
205
220
  Name: string | undefined;
206
221
  }
@@ -954,6 +969,13 @@ export interface DeleteSegmentDefinitionRequest {
954
969
  export interface DeleteSegmentDefinitionResponse {
955
970
  Message?: string | undefined;
956
971
  }
972
+ export interface DeleteSegmentSubscriptionRequest {
973
+ DomainName: string | undefined;
974
+ SegmentDefinitionName: string | undefined;
975
+ }
976
+ export interface DeleteSegmentSubscriptionResponse {
977
+ Message?: string | undefined;
978
+ }
957
979
  export interface DeleteWorkflowRequest {
958
980
  DomainName: string | undefined;
959
981
  WorkflowId: string | undefined;
@@ -975,6 +997,12 @@ export interface DetectedProfileObjectType {
975
997
  export interface DetectProfileObjectTypeResponse {
976
998
  DetectedProfileObjectTypes?: DetectedProfileObjectType[] | undefined;
977
999
  }
1000
+ export interface DisassociateStreamForSegmentsRequest {
1001
+ DomainName: string | undefined;
1002
+ }
1003
+ export interface DisassociateStreamForSegmentsResponse {
1004
+ Message?: string | undefined;
1005
+ }
978
1006
  export interface GetAutoMergingPreviewRequest {
979
1007
  DomainName: string | undefined;
980
1008
  Consolidation: Consolidation | undefined;
@@ -1399,6 +1427,26 @@ export interface GetSegmentSnapshotResponse {
1399
1427
  RoleArn?: string | undefined;
1400
1428
  DestinationUri?: string | undefined;
1401
1429
  }
1430
+ export interface GetSegmentSubscriptionRequest {
1431
+ DomainName: string | undefined;
1432
+ SegmentDefinitionName: string | undefined;
1433
+ }
1434
+ export interface ScheduleConfiguration {
1435
+ Interval: number | undefined;
1436
+ Unit?: ScheduleConfigurationUnit | undefined;
1437
+ }
1438
+ export interface ScheduledExecutions {
1439
+ NextExecutedAt?: Date | undefined;
1440
+ LastExecutedAt?: Date | undefined;
1441
+ }
1442
+ export interface GetSegmentSubscriptionResponse {
1443
+ Status?: SegmentSubscriptionStatus | undefined;
1444
+ Message?: string | undefined;
1445
+ ScheduleConfiguration?: ScheduleConfiguration | undefined;
1446
+ ScheduledExecutions?: ScheduledExecutions | undefined;
1447
+ StartedAt?: Date | undefined;
1448
+ LastUpdatedAt?: Date | undefined;
1449
+ }
1402
1450
  export interface GetSimilarProfilesRequest {
1403
1451
  NextToken?: string | undefined;
1404
1452
  MaxResults?: number | undefined;
@@ -1415,6 +1463,19 @@ export interface GetSimilarProfilesResponse {
1415
1463
  ConfidenceScore?: number | undefined;
1416
1464
  NextToken?: string | undefined;
1417
1465
  }
1466
+ export interface GetStreamForSegmentsRequest {
1467
+ DomainName: string | undefined;
1468
+ }
1469
+ export interface GetStreamForSegmentsResponse {
1470
+ AssociatedAt?: Date | undefined;
1471
+ AssociatedSegments?: AssociatedSegment[] | undefined;
1472
+ DomainName?: string | undefined;
1473
+ DestinationArn?: string | undefined;
1474
+ DestinationRoleArn?: string | undefined;
1475
+ State?: EventSubscriptionState | undefined;
1476
+ DisassociatedAt?: Date | undefined;
1477
+ FailureReason?: string | undefined;
1478
+ }
1418
1479
  export interface GetUploadJobRequest {
1419
1480
  DomainName: string | undefined;
1420
1481
  JobId: string | undefined;
@@ -1742,74 +1803,3 @@ export interface ListProfileObjectTypesResponse {
1742
1803
  Items?: ListProfileObjectTypeItem[] | undefined;
1743
1804
  NextToken?: string | undefined;
1744
1805
  }
1745
- export interface ListProfileObjectTypeTemplatesRequest {
1746
- NextToken?: string | undefined;
1747
- MaxResults?: number | undefined;
1748
- }
1749
- export interface ListProfileObjectTypeTemplateItem {
1750
- TemplateId?: string | undefined;
1751
- SourceName?: string | undefined;
1752
- SourceObject?: string | undefined;
1753
- }
1754
- export interface ListProfileObjectTypeTemplatesResponse {
1755
- Items?: ListProfileObjectTypeTemplateItem[] | undefined;
1756
- NextToken?: string | undefined;
1757
- }
1758
- export interface ListRecommenderFiltersRequest {
1759
- DomainName: string | undefined;
1760
- MaxResults?: number | undefined;
1761
- NextToken?: string | undefined;
1762
- }
1763
- export interface RecommenderFilterSummary {
1764
- RecommenderFilterName?: string | undefined;
1765
- RecommenderSchemaName?: string | undefined;
1766
- RecommenderFilterExpression?: string | undefined;
1767
- CreatedAt?: Date | undefined;
1768
- Description?: string | undefined;
1769
- Status?: RecommenderFilterStatus | undefined;
1770
- FailureReason?: string | undefined;
1771
- Tags?: Record<string, string> | undefined;
1772
- }
1773
- export interface ListRecommenderFiltersResponse {
1774
- NextToken?: string | undefined;
1775
- RecommenderFilters?: RecommenderFilterSummary[] | undefined;
1776
- }
1777
- export interface ListRecommenderRecipesRequest {
1778
- MaxResults?: number | undefined;
1779
- NextToken?: string | undefined;
1780
- }
1781
- export interface RecommenderRecipe {
1782
- name?: RecommenderRecipeName | undefined;
1783
- description?: string | undefined;
1784
- }
1785
- export interface ListRecommenderRecipesResponse {
1786
- NextToken?: string | undefined;
1787
- RecommenderRecipes?: RecommenderRecipe[] | undefined;
1788
- }
1789
- export interface ListRecommendersRequest {
1790
- DomainName: string | undefined;
1791
- MaxResults?: number | undefined;
1792
- NextToken?: string | undefined;
1793
- }
1794
- export interface RecommenderSummary {
1795
- RecommenderName?: string | undefined;
1796
- RecipeName?: RecommenderRecipeName | undefined;
1797
- RecommenderSchemaName?: string | undefined;
1798
- RecommenderConfig?: RecommenderConfig | undefined;
1799
- CreatedAt?: Date | undefined;
1800
- Description?: string | undefined;
1801
- Status?: RecommenderStatus | undefined;
1802
- LastUpdatedAt?: Date | undefined;
1803
- Tags?: Record<string, string> | undefined;
1804
- FailureReason?: string | undefined;
1805
- LatestRecommenderUpdate?: RecommenderUpdate | undefined;
1806
- }
1807
- export interface ListRecommendersResponse {
1808
- NextToken?: string | undefined;
1809
- Recommenders?: RecommenderSummary[] | undefined;
1810
- }
1811
- export interface ListRecommenderSchemasRequest {
1812
- DomainName: string | undefined;
1813
- MaxResults?: number | undefined;
1814
- NextToken?: string | undefined;
1815
- }
@@ -5,12 +5,18 @@ import {
5
5
  PartyType,
6
6
  ProfileType,
7
7
  ReadinessStatus,
8
+ RecommenderFilterStatus,
9
+ RecommenderRecipeName,
8
10
  RecommenderSchemaStatus,
11
+ RecommenderStatus,
9
12
  Scope,
13
+ SegmentSubscriptionStatus,
10
14
  SegmentType,
11
15
  Statistic,
12
16
  Status,
13
17
  StatusReason,
18
+ SubscriptionEvent,
19
+ SubscriptionEventType,
14
20
  UploadJobStatus,
15
21
  WorkflowType,
16
22
  } from "./enums";
@@ -33,9 +39,82 @@ import {
33
39
  Readiness,
34
40
  RecommenderConfig,
35
41
  RecommenderSchemaField,
42
+ RecommenderUpdate,
36
43
  RuleBasedMatchingRequest,
37
44
  RuleBasedMatchingResponse,
45
+ ScheduleConfiguration,
38
46
  } from "./models_0";
47
+ export interface ListProfileObjectTypeTemplatesRequest {
48
+ NextToken?: string | undefined;
49
+ MaxResults?: number | undefined;
50
+ }
51
+ export interface ListProfileObjectTypeTemplateItem {
52
+ TemplateId?: string | undefined;
53
+ SourceName?: string | undefined;
54
+ SourceObject?: string | undefined;
55
+ }
56
+ export interface ListProfileObjectTypeTemplatesResponse {
57
+ Items?: ListProfileObjectTypeTemplateItem[] | undefined;
58
+ NextToken?: string | undefined;
59
+ }
60
+ export interface ListRecommenderFiltersRequest {
61
+ DomainName: string | undefined;
62
+ MaxResults?: number | undefined;
63
+ NextToken?: string | undefined;
64
+ }
65
+ export interface RecommenderFilterSummary {
66
+ RecommenderFilterName?: string | undefined;
67
+ RecommenderSchemaName?: string | undefined;
68
+ RecommenderFilterExpression?: string | undefined;
69
+ CreatedAt?: Date | undefined;
70
+ Description?: string | undefined;
71
+ Status?: RecommenderFilterStatus | undefined;
72
+ FailureReason?: string | undefined;
73
+ Tags?: Record<string, string> | undefined;
74
+ }
75
+ export interface ListRecommenderFiltersResponse {
76
+ NextToken?: string | undefined;
77
+ RecommenderFilters?: RecommenderFilterSummary[] | undefined;
78
+ }
79
+ export interface ListRecommenderRecipesRequest {
80
+ MaxResults?: number | undefined;
81
+ NextToken?: string | undefined;
82
+ }
83
+ export interface RecommenderRecipe {
84
+ name?: RecommenderRecipeName | undefined;
85
+ description?: string | undefined;
86
+ }
87
+ export interface ListRecommenderRecipesResponse {
88
+ NextToken?: string | undefined;
89
+ RecommenderRecipes?: RecommenderRecipe[] | undefined;
90
+ }
91
+ export interface ListRecommendersRequest {
92
+ DomainName: string | undefined;
93
+ MaxResults?: number | undefined;
94
+ NextToken?: string | undefined;
95
+ }
96
+ export interface RecommenderSummary {
97
+ RecommenderName?: string | undefined;
98
+ RecipeName?: RecommenderRecipeName | undefined;
99
+ RecommenderSchemaName?: string | undefined;
100
+ RecommenderConfig?: RecommenderConfig | undefined;
101
+ CreatedAt?: Date | undefined;
102
+ Description?: string | undefined;
103
+ Status?: RecommenderStatus | undefined;
104
+ LastUpdatedAt?: Date | undefined;
105
+ Tags?: Record<string, string> | undefined;
106
+ FailureReason?: string | undefined;
107
+ LatestRecommenderUpdate?: RecommenderUpdate | undefined;
108
+ }
109
+ export interface ListRecommendersResponse {
110
+ NextToken?: string | undefined;
111
+ Recommenders?: RecommenderSummary[] | undefined;
112
+ }
113
+ export interface ListRecommenderSchemasRequest {
114
+ DomainName: string | undefined;
115
+ MaxResults?: number | undefined;
116
+ NextToken?: string | undefined;
117
+ }
39
118
  export interface RecommenderSchemaSummary {
40
119
  RecommenderSchemaName: string | undefined;
41
120
  Fields: Record<string, RecommenderSchemaField[]> | undefined;
@@ -73,6 +152,22 @@ export interface ListSegmentDefinitionsResponse {
73
152
  NextToken?: string | undefined;
74
153
  Items?: SegmentDefinitionItem[] | undefined;
75
154
  }
155
+ export interface ListSegmentSubscriptionEventsRequest {
156
+ DomainName: string | undefined;
157
+ SegmentDefinitionName: string | undefined;
158
+ MaxResults?: number | undefined;
159
+ NextToken?: string | undefined;
160
+ }
161
+ export interface SubscriptionEventItem {
162
+ ProfileId?: string | undefined;
163
+ UpdatedAt?: Date | undefined;
164
+ EventType?: SubscriptionEventType | undefined;
165
+ Event?: SubscriptionEvent | undefined;
166
+ }
167
+ export interface ListSegmentSubscriptionEventsResponse {
168
+ Events?: SubscriptionEventItem[] | undefined;
169
+ NextToken?: string | undefined;
170
+ }
76
171
  export interface ListTagsForResourceRequest {
77
172
  resourceArn: string | undefined;
78
173
  }
@@ -234,6 +329,16 @@ export interface PutProfileObjectTypeResponse {
234
329
  LastUpdatedAt?: Date | undefined;
235
330
  Tags?: Record<string, string> | undefined;
236
331
  }
332
+ export interface PutSegmentSubscriptionRequest {
333
+ DomainName: string | undefined;
334
+ SegmentDefinitionName: string | undefined;
335
+ ScheduleConfiguration?: ScheduleConfiguration | undefined;
336
+ }
337
+ export interface PutSegmentSubscriptionResponse {
338
+ Status?: SegmentSubscriptionStatus | undefined;
339
+ ScheduleConfiguration?: ScheduleConfiguration | undefined;
340
+ StartedAt?: Date | undefined;
341
+ }
237
342
  export interface SearchProfilesRequest {
238
343
  NextToken?: string | undefined;
239
344
  MaxResults?: number | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListSegmentSubscriptionEventsCommandInput,
4
+ ListSegmentSubscriptionEventsCommandOutput,
5
+ } from "../commands/ListSegmentSubscriptionEventsCommand";
6
+ import { CustomerProfilesPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListSegmentSubscriptionEvents: (
8
+ config: CustomerProfilesPaginationConfiguration,
9
+ input: ListSegmentSubscriptionEventsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListSegmentSubscriptionEventsCommandOutput>;
@@ -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";
@@ -21,6 +21,9 @@ export declare var AppflowIntegration$: StaticStructureSchema;
21
21
  export declare var AppflowIntegrationWorkflowAttributes$: StaticStructureSchema;
22
22
  export declare var AppflowIntegrationWorkflowMetrics$: StaticStructureSchema;
23
23
  export declare var AppflowIntegrationWorkflowStep$: StaticStructureSchema;
24
+ export declare var AssociatedSegment$: StaticStructureSchema;
25
+ export declare var AssociateStreamForSegmentsRequest$: StaticStructureSchema;
26
+ export declare var AssociateStreamForSegmentsResponse$: StaticStructureSchema;
24
27
  export declare var AttributeDetails$: StaticStructureSchema;
25
28
  export declare var AttributeDimension$: StaticStructureSchema;
26
29
  export declare var AttributeItem$: StaticStructureSchema;
@@ -109,12 +112,16 @@ export declare var DeleteRecommenderSchemaRequest$: StaticStructureSchema;
109
112
  export declare var DeleteRecommenderSchemaResponse$: StaticStructureSchema;
110
113
  export declare var DeleteSegmentDefinitionRequest$: StaticStructureSchema;
111
114
  export declare var DeleteSegmentDefinitionResponse$: StaticStructureSchema;
115
+ export declare var DeleteSegmentSubscriptionRequest$: StaticStructureSchema;
116
+ export declare var DeleteSegmentSubscriptionResponse$: StaticStructureSchema;
112
117
  export declare var DeleteWorkflowRequest$: StaticStructureSchema;
113
118
  export declare var DeleteWorkflowResponse$: StaticStructureSchema;
114
119
  export declare var DestinationSummary$: StaticStructureSchema;
115
120
  export declare var DetectedProfileObjectType$: StaticStructureSchema;
116
121
  export declare var DetectProfileObjectTypeRequest$: StaticStructureSchema;
117
122
  export declare var DetectProfileObjectTypeResponse$: StaticStructureSchema;
123
+ export declare var DisassociateStreamForSegmentsRequest$: StaticStructureSchema;
124
+ export declare var DisassociateStreamForSegmentsResponse$: StaticStructureSchema;
118
125
  export declare var DiversityColumn$: StaticStructureSchema;
119
126
  export declare var DiversityConfig$: StaticStructureSchema;
120
127
  export declare var DomainObjectTypeField$: StaticStructureSchema;
@@ -187,8 +194,12 @@ export declare var GetSegmentMembershipRequest$: StaticStructureSchema;
187
194
  export declare var GetSegmentMembershipResponse$: StaticStructureSchema;
188
195
  export declare var GetSegmentSnapshotRequest$: StaticStructureSchema;
189
196
  export declare var GetSegmentSnapshotResponse$: StaticStructureSchema;
197
+ export declare var GetSegmentSubscriptionRequest$: StaticStructureSchema;
198
+ export declare var GetSegmentSubscriptionResponse$: StaticStructureSchema;
190
199
  export declare var GetSimilarProfilesRequest$: StaticStructureSchema;
191
200
  export declare var GetSimilarProfilesResponse$: StaticStructureSchema;
201
+ export declare var GetStreamForSegmentsRequest$: StaticStructureSchema;
202
+ export declare var GetStreamForSegmentsResponse$: StaticStructureSchema;
192
203
  export declare var GetUploadJobPathRequest$: StaticStructureSchema;
193
204
  export declare var GetUploadJobPathResponse$: StaticStructureSchema;
194
205
  export declare var GetUploadJobRequest$: StaticStructureSchema;
@@ -258,6 +269,8 @@ export declare var ListRuleBasedMatchesRequest$: StaticStructureSchema;
258
269
  export declare var ListRuleBasedMatchesResponse$: StaticStructureSchema;
259
270
  export declare var ListSegmentDefinitionsRequest$: StaticStructureSchema;
260
271
  export declare var ListSegmentDefinitionsResponse$: StaticStructureSchema;
272
+ export declare var ListSegmentSubscriptionEventsRequest$: StaticStructureSchema;
273
+ export declare var ListSegmentSubscriptionEventsResponse$: StaticStructureSchema;
261
274
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
262
275
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
263
276
  export declare var ListUploadJobsRequest$: StaticStructureSchema;
@@ -295,6 +308,8 @@ export declare var PutProfileObjectRequest$: StaticStructureSchema;
295
308
  export declare var PutProfileObjectResponse$: StaticStructureSchema;
296
309
  export declare var PutProfileObjectTypeRequest$: StaticStructureSchema;
297
310
  export declare var PutProfileObjectTypeResponse$: StaticStructureSchema;
311
+ export declare var PutSegmentSubscriptionRequest$: StaticStructureSchema;
312
+ export declare var PutSegmentSubscriptionResponse$: StaticStructureSchema;
298
313
  export declare var Range$: StaticStructureSchema;
299
314
  export declare var RangeOverride$: StaticStructureSchema;
300
315
  export declare var Readiness$: StaticStructureSchema;
@@ -316,6 +331,8 @@ export declare var S3ExportingConfig$: StaticStructureSchema;
316
331
  export declare var S3ExportingLocation$: StaticStructureSchema;
317
332
  export declare var S3SourceProperties$: StaticStructureSchema;
318
333
  export declare var SalesforceSourceProperties$: StaticStructureSchema;
334
+ export declare var ScheduleConfiguration$: StaticStructureSchema;
335
+ export declare var ScheduledExecutions$: StaticStructureSchema;
319
336
  export declare var ScheduledTriggerProperties$: StaticStructureSchema;
320
337
  export declare var SearchProfilesRequest$: StaticStructureSchema;
321
338
  export declare var SearchProfilesResponse$: StaticStructureSchema;
@@ -336,6 +353,7 @@ export declare var StopRecommenderRequest$: StaticStructureSchema;
336
353
  export declare var StopRecommenderResponse$: StaticStructureSchema;
337
354
  export declare var StopUploadJobRequest$: StaticStructureSchema;
338
355
  export declare var StopUploadJobResponse$: StaticStructureSchema;
356
+ export declare var SubscriptionEventItem$: StaticStructureSchema;
339
357
  export declare var TagResourceRequest$: StaticStructureSchema;
340
358
  export declare var TagResourceResponse$: StaticStructureSchema;
341
359
  export declare var Task$: StaticStructureSchema;
@@ -366,6 +384,7 @@ export declare var WorkflowStepItem$: StaticStructureSchema;
366
384
  export declare var ZendeskSourceProperties$: StaticStructureSchema;
367
385
  export declare var Dimension$: StaticUnionSchema;
368
386
  export declare var AddProfileKey$: StaticOperationSchema;
387
+ export declare var AssociateStreamForSegments$: StaticOperationSchema;
369
388
  export declare var BatchGetCalculatedAttributeForProfile$: StaticOperationSchema;
370
389
  export declare var BatchGetProfile$: StaticOperationSchema;
371
390
  export declare var BatchPutProfileObject$: StaticOperationSchema;
@@ -398,8 +417,10 @@ export declare var DeleteRecommender$: StaticOperationSchema;
398
417
  export declare var DeleteRecommenderFilter$: StaticOperationSchema;
399
418
  export declare var DeleteRecommenderSchema$: StaticOperationSchema;
400
419
  export declare var DeleteSegmentDefinition$: StaticOperationSchema;
420
+ export declare var DeleteSegmentSubscription$: StaticOperationSchema;
401
421
  export declare var DeleteWorkflow$: StaticOperationSchema;
402
422
  export declare var DetectProfileObjectType$: StaticOperationSchema;
423
+ export declare var DisassociateStreamForSegments$: StaticOperationSchema;
403
424
  export declare var GetAutoMergingPreview$: StaticOperationSchema;
404
425
  export declare var GetCalculatedAttributeDefinition$: StaticOperationSchema;
405
426
  export declare var GetCalculatedAttributeForProfile$: StaticOperationSchema;
@@ -423,7 +444,9 @@ export declare var GetSegmentDefinition$: StaticOperationSchema;
423
444
  export declare var GetSegmentEstimate$: StaticOperationSchema;
424
445
  export declare var GetSegmentMembership$: StaticOperationSchema;
425
446
  export declare var GetSegmentSnapshot$: StaticOperationSchema;
447
+ export declare var GetSegmentSubscription$: StaticOperationSchema;
426
448
  export declare var GetSimilarProfiles$: StaticOperationSchema;
449
+ export declare var GetStreamForSegments$: StaticOperationSchema;
427
450
  export declare var GetUploadJob$: StaticOperationSchema;
428
451
  export declare var GetUploadJobPath$: StaticOperationSchema;
429
452
  export declare var GetWorkflow$: StaticOperationSchema;
@@ -451,6 +474,7 @@ export declare var ListRecommenders$: StaticOperationSchema;
451
474
  export declare var ListRecommenderSchemas$: StaticOperationSchema;
452
475
  export declare var ListRuleBasedMatches$: StaticOperationSchema;
453
476
  export declare var ListSegmentDefinitions$: StaticOperationSchema;
477
+ export declare var ListSegmentSubscriptionEvents$: StaticOperationSchema;
454
478
  export declare var ListTagsForResource$: StaticOperationSchema;
455
479
  export declare var ListUploadJobs$: StaticOperationSchema;
456
480
  export declare var ListWorkflows$: StaticOperationSchema;
@@ -459,6 +483,7 @@ export declare var PutDomainObjectType$: StaticOperationSchema;
459
483
  export declare var PutIntegration$: StaticOperationSchema;
460
484
  export declare var PutProfileObject$: StaticOperationSchema;
461
485
  export declare var PutProfileObjectType$: StaticOperationSchema;
486
+ export declare var PutSegmentSubscription$: StaticOperationSchema;
462
487
  export declare var SearchProfiles$: StaticOperationSchema;
463
488
  export declare var StartRecommender$: StaticOperationSchema;
464
489
  export declare var StartUploadJob$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-customer-profiles",
3
- "version": "3.1121.0",
3
+ "version": "3.1122.0",
4
4
  "description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-customer-profiles",
6
6
  "license": "Apache-2.0",