@aws-sdk/client-customer-profiles 3.1180.0 → 3.1182.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 (57) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +315 -33
  3. package/dist-es/CustomerProfiles.js +12 -0
  4. package/dist-es/commands/BatchGetIntentForProfileCommand.js +4 -0
  5. package/dist-es/commands/DeleteIntentDefinitionCommand.js +4 -0
  6. package/dist-es/commands/GetIntentDefinitionCommand.js +4 -0
  7. package/dist-es/commands/ListIntentTypesCommand.js +4 -0
  8. package/dist-es/commands/PutIntentDefinitionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +24 -0
  11. package/dist-es/pagination/ListIntentTypesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +231 -32
  14. package/dist-types/CustomerProfiles.d.ts +43 -0
  15. package/dist-types/CustomerProfilesClient.d.ts +7 -2
  16. package/dist-types/commands/BatchGetIntentForProfileCommand.d.ts +109 -0
  17. package/dist-types/commands/CreateEventTriggerCommand.d.ts +40 -0
  18. package/dist-types/commands/DeleteIntentDefinitionCommand.d.ts +85 -0
  19. package/dist-types/commands/GetEventTriggerCommand.d.ts +20 -0
  20. package/dist-types/commands/GetIntentDefinitionCommand.d.ts +106 -0
  21. package/dist-types/commands/ListIntentTypesCommand.d.ts +97 -0
  22. package/dist-types/commands/ListObjectTypeAttributeValuesCommand.d.ts +1 -1
  23. package/dist-types/commands/ListObjectTypeAttributesCommand.d.ts +1 -1
  24. package/dist-types/commands/ListProfileAttributeValuesCommand.d.ts +1 -1
  25. package/dist-types/commands/ListProfileHistoryRecordsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListProfileObjectTypesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListProfileObjectsCommand.d.ts +1 -1
  28. package/dist-types/commands/PutIntentDefinitionCommand.d.ts +130 -0
  29. package/dist-types/commands/UpdateEventTriggerCommand.d.ts +40 -0
  30. package/dist-types/commands/index.d.ts +5 -0
  31. package/dist-types/models/enums.d.ts +56 -0
  32. package/dist-types/models/models_0.d.ts +361 -413
  33. package/dist-types/models/models_1.d.ts +553 -2
  34. package/dist-types/pagination/ListIntentTypesPaginator.d.ts +7 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/schemas/schemas_0.d.ts +28 -0
  37. package/dist-types/ts3.4/CustomerProfiles.d.ts +93 -0
  38. package/dist-types/ts3.4/CustomerProfilesClient.d.ts +30 -0
  39. package/dist-types/ts3.4/commands/BatchGetIntentForProfileCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/DeleteIntentDefinitionCommand.d.ts +39 -0
  41. package/dist-types/ts3.4/commands/GetIntentDefinitionCommand.d.ts +39 -0
  42. package/dist-types/ts3.4/commands/ListIntentTypesCommand.d.ts +39 -0
  43. package/dist-types/ts3.4/commands/ListObjectTypeAttributeValuesCommand.d.ts +1 -1
  44. package/dist-types/ts3.4/commands/ListObjectTypeAttributesCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListProfileAttributeValuesCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/ListProfileHistoryRecordsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/PutIntentDefinitionCommand.d.ts +39 -0
  50. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  51. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  52. package/dist-types/ts3.4/models/models_0.d.ts +125 -98
  53. package/dist-types/ts3.4/models/models_1.d.ts +136 -0
  54. package/dist-types/ts3.4/pagination/ListIntentTypesPaginator.d.ts +11 -0
  55. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  56. package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
  57. package/package.json +2 -2
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { PutIntentDefinitionRequest, PutIntentDefinitionResponse } from "../models/models_1";
3
+ export { __MetadataBearer };
4
+ export interface PutIntentDefinitionCommandInput extends PutIntentDefinitionRequest {}
5
+ export interface PutIntentDefinitionCommandOutput
6
+ extends PutIntentDefinitionResponse, __MetadataBearer {}
7
+ declare const PutIntentDefinitionCommand_base: {
8
+ new (
9
+ input: PutIntentDefinitionCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ PutIntentDefinitionCommandInput,
12
+ PutIntentDefinitionCommandOutput,
13
+ import("..").CustomerProfilesClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: PutIntentDefinitionCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ PutIntentDefinitionCommandInput,
21
+ PutIntentDefinitionCommandOutput,
22
+ import("..").CustomerProfilesClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class PutIntentDefinitionCommand extends PutIntentDefinitionCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: PutIntentDefinitionRequest;
32
+ output: PutIntentDefinitionResponse;
33
+ };
34
+ sdk: {
35
+ input: PutIntentDefinitionCommandInput;
36
+ output: PutIntentDefinitionCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -1,6 +1,7 @@
1
1
  export * from "./AddProfileKeyCommand";
2
2
  export * from "./AssociateStreamForSegmentsCommand";
3
3
  export * from "./BatchGetCalculatedAttributeForProfileCommand";
4
+ export * from "./BatchGetIntentForProfileCommand";
4
5
  export * from "./BatchGetProfileCommand";
5
6
  export * from "./BatchPutProfileObjectCommand";
6
7
  export * from "./CreateCalculatedAttributeDefinitionCommand";
@@ -24,6 +25,7 @@ export * from "./DeleteDomainObjectTypeCommand";
24
25
  export * from "./DeleteEventStreamCommand";
25
26
  export * from "./DeleteEventTriggerCommand";
26
27
  export * from "./DeleteIntegrationCommand";
28
+ export * from "./DeleteIntentDefinitionCommand";
27
29
  export * from "./DeleteProfileCommand";
28
30
  export * from "./DeleteProfileKeyCommand";
29
31
  export * from "./DeleteProfileObjectCommand";
@@ -46,6 +48,7 @@ export * from "./GetEventStreamCommand";
46
48
  export * from "./GetEventTriggerCommand";
47
49
  export * from "./GetIdentityResolutionJobCommand";
48
50
  export * from "./GetIntegrationCommand";
51
+ export * from "./GetIntentDefinitionCommand";
49
52
  export * from "./GetMatchesCommand";
50
53
  export * from "./GetObjectTypeAttributeStatisticsCommand";
51
54
  export * from "./GetProfileHistoryRecordCommand";
@@ -76,6 +79,7 @@ export * from "./ListEventStreamsCommand";
76
79
  export * from "./ListEventTriggersCommand";
77
80
  export * from "./ListIdentityResolutionJobsCommand";
78
81
  export * from "./ListIntegrationsCommand";
82
+ export * from "./ListIntentTypesCommand";
79
83
  export * from "./ListObjectTypeAttributeValuesCommand";
80
84
  export * from "./ListObjectTypeAttributesCommand";
81
85
  export * from "./ListProfileAttributeValuesCommand";
@@ -96,6 +100,7 @@ export * from "./ListWorkflowsCommand";
96
100
  export * from "./MergeProfilesCommand";
97
101
  export * from "./PutDomainObjectTypeCommand";
98
102
  export * from "./PutIntegrationCommand";
103
+ export * from "./PutIntentDefinitionCommand";
99
104
  export * from "./PutProfileObjectCommand";
100
105
  export * from "./PutProfileObjectTypeCommand";
101
106
  export * from "./PutSegmentSubscriptionCommand";
@@ -249,6 +249,23 @@ export declare const RangeUnit: {
249
249
  readonly DAYS: "DAYS";
250
250
  };
251
251
  export type RangeUnit = (typeof RangeUnit)[keyof typeof RangeUnit];
252
+ export declare const IntentDomain: {
253
+ readonly DEFAULT: "DEFAULT";
254
+ };
255
+ export type IntentDomain = (typeof IntentDomain)[keyof typeof IntentDomain];
256
+ export declare const IntentType: {
257
+ readonly LAST_SEARCH_INTENT: "LAST_SEARCH_INTENT";
258
+ readonly PRICE_SENSITIVITY: "PRICE_SENSITIVITY";
259
+ readonly UPGRADE_UPSELL_PROPENSITY: "UPGRADE_UPSELL_PROPENSITY";
260
+ readonly WEB_SESSION_SUMMARY: "WEB_SESSION_SUMMARY";
261
+ };
262
+ export type IntentType = (typeof IntentType)[keyof typeof IntentType];
263
+ export declare const IntentErrorCode: {
264
+ readonly INSUFFICIENT_DATA: "INSUFFICIENT_DATA";
265
+ readonly INTENT_NOT_ENABLED: "INTENT_NOT_ENABLED";
266
+ readonly INTERNAL_SERVER_ERROR: "INTERNAL_SERVER_ERROR";
267
+ };
268
+ export type IntentErrorCode = (typeof IntentErrorCode)[keyof typeof IntentErrorCode];
252
269
  export declare const ContactType: {
253
270
  readonly BUSINESS_EMAIL_ADDRESS: "BusinessEmailAddress";
254
271
  readonly BUSINESS_PHONE_NUMBER: "BusinessPhoneNumber";
@@ -378,6 +395,18 @@ export declare const PeriodUnit: {
378
395
  readonly WEEKS: "WEEKS";
379
396
  };
380
397
  export type PeriodUnit = (typeof PeriodUnit)[keyof typeof PeriodUnit];
398
+ export declare const IntentFilterComparisonOperator: {
399
+ readonly CONTAINS: "CONTAINS";
400
+ readonly EQUAL: "EQUAL";
401
+ readonly EXCLUSIVE: "EXCLUSIVE";
402
+ readonly GREATER_THAN: "GREATER_THAN";
403
+ readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
404
+ readonly INCLUSIVE: "INCLUSIVE";
405
+ readonly LESS_THAN: "LESS_THAN";
406
+ readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
407
+ };
408
+ export type IntentFilterComparisonOperator =
409
+ (typeof IntentFilterComparisonOperator)[keyof typeof IntentFilterComparisonOperator];
381
410
  export declare const WorkflowType: {
382
411
  readonly APPFLOW_INTEGRATION: "APPFLOW_INTEGRATION";
383
412
  };
@@ -23,6 +23,10 @@ import {
23
23
  IdentityResolutionJobStatus,
24
24
  Include,
25
25
  IncludeOptions,
26
+ IntentDomain,
27
+ IntentErrorCode,
28
+ IntentFilterComparisonOperator,
29
+ IntentType,
26
30
  JobScheduleDayOfTheWeek,
27
31
  LayoutType,
28
32
  MarketoConnectorOperator,
@@ -285,6 +289,27 @@ export interface BatchGetCalculatedAttributeForProfileResponse {
285
289
  CalculatedAttributeValues?: CalculatedAttributeValue[] | undefined;
286
290
  ConditionOverrides?: ConditionOverrides | undefined;
287
291
  }
292
+ export interface BatchGetIntentForProfileRequest {
293
+ DomainName: string | undefined;
294
+ IntentDomain: IntentDomain | undefined;
295
+ Intents: IntentType[] | undefined;
296
+ KeyName: string | undefined;
297
+ KeyValues: string[] | undefined;
298
+ }
299
+ export interface IntentError {
300
+ IntentType: IntentType | undefined;
301
+ Code: IntentErrorCode | undefined;
302
+ Message?: string | undefined;
303
+ }
304
+ export interface IntentResult {
305
+ IntentType: IntentType | undefined;
306
+ Summary?: string | undefined;
307
+ Value?: string | undefined;
308
+ }
309
+ export interface BatchGetIntentForProfileResponse {
310
+ Intents: IntentResult[] | undefined;
311
+ Errors: IntentError[] | undefined;
312
+ }
288
313
  export interface BatchGetProfileRequest {
289
314
  DomainName: string | undefined;
290
315
  ProfileIds: string[] | undefined;
@@ -591,6 +616,23 @@ export interface EventTriggerLimits {
591
616
  EventExpiration?: number | undefined;
592
617
  Periods?: Period[] | undefined;
593
618
  }
619
+ export interface Intent {
620
+ IntentDomain: IntentDomain | undefined;
621
+ Type: IntentType | undefined;
622
+ }
623
+ export interface IntentFilterCondition {
624
+ Intent: Intent | undefined;
625
+ ComparisonOperator: IntentFilterComparisonOperator | undefined;
626
+ Values: string[] | undefined;
627
+ }
628
+ export interface IntentFilterGroup {
629
+ Conditions: IntentFilterCondition[] | undefined;
630
+ LogicalOperator: EventTriggerLogicalOperator | undefined;
631
+ }
632
+ export interface IntentFilterDefinition {
633
+ Groups: IntentFilterGroup[] | undefined;
634
+ LogicalOperator: EventTriggerLogicalOperator | undefined;
635
+ }
594
636
  export interface CreateEventTriggerRequest {
595
637
  DomainName: string | undefined;
596
638
  EventTriggerName: string | undefined;
@@ -598,6 +640,7 @@ export interface CreateEventTriggerRequest {
598
640
  Description?: string | undefined;
599
641
  EventTriggerConditions: EventTriggerCondition[] | undefined;
600
642
  SegmentFilter?: string | undefined;
643
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
601
644
  EventTriggerLimits?: EventTriggerLimits | undefined;
602
645
  Tags?: Record<string, string> | undefined;
603
646
  }
@@ -607,6 +650,7 @@ export interface CreateEventTriggerResponse {
607
650
  Description?: string | undefined;
608
651
  EventTriggerConditions?: EventTriggerCondition[] | undefined;
609
652
  SegmentFilter?: string | undefined;
653
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
610
654
  EventTriggerLimits?: EventTriggerLimits | undefined;
611
655
  CreatedAt?: Date | undefined;
612
656
  LastUpdatedAt?: Date | undefined;
@@ -913,6 +957,11 @@ export interface DeleteIntegrationRequest {
913
957
  export interface DeleteIntegrationResponse {
914
958
  Message: string | undefined;
915
959
  }
960
+ export interface DeleteIntentDefinitionRequest {
961
+ DomainName: string | undefined;
962
+ IntentDomain: IntentDomain | undefined;
963
+ }
964
+ export interface DeleteIntentDefinitionResponse {}
916
965
  export interface DeleteProfileRequest {
917
966
  ProfileId: string | undefined;
918
967
  DomainName: string | undefined;
@@ -1132,6 +1181,7 @@ export interface GetEventTriggerResponse {
1132
1181
  Description?: string | undefined;
1133
1182
  EventTriggerConditions?: EventTriggerCondition[] | undefined;
1134
1183
  SegmentFilter?: string | undefined;
1184
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
1135
1185
  EventTriggerLimits?: EventTriggerLimits | undefined;
1136
1186
  CreatedAt?: Date | undefined;
1137
1187
  LastUpdatedAt?: Date | undefined;
@@ -1184,6 +1234,79 @@ export interface GetIntegrationResponse {
1184
1234
  EventTriggerNames?: string[] | undefined;
1185
1235
  Scope?: Scope | undefined;
1186
1236
  }
1237
+ export interface GetIntentDefinitionRequest {
1238
+ DomainName: string | undefined;
1239
+ IntentDomain: IntentDomain | undefined;
1240
+ }
1241
+ export interface LastSearchIntentConfig {
1242
+ Enabled: boolean | undefined;
1243
+ }
1244
+ export interface PriceSensitivityConfig {
1245
+ Enabled: boolean | undefined;
1246
+ }
1247
+ export interface UpgradeUpsellPropensityConfig {
1248
+ Enabled: boolean | undefined;
1249
+ }
1250
+ export interface WebSessionSummaryConfig {
1251
+ Enabled: boolean | undefined;
1252
+ }
1253
+ export type IntentConfig =
1254
+ | IntentConfig.LastSearchIntentConfigMember
1255
+ | IntentConfig.PriceSensitivityConfigMember
1256
+ | IntentConfig.UpgradeUpsellPropensityConfigMember
1257
+ | IntentConfig.WebSessionSummaryConfigMember
1258
+ | IntentConfig.$UnknownMember;
1259
+ export declare namespace IntentConfig {
1260
+ interface PriceSensitivityConfigMember {
1261
+ PriceSensitivityConfig: PriceSensitivityConfig;
1262
+ WebSessionSummaryConfig?: never;
1263
+ UpgradeUpsellPropensityConfig?: never;
1264
+ LastSearchIntentConfig?: never;
1265
+ $unknown?: never;
1266
+ }
1267
+ interface WebSessionSummaryConfigMember {
1268
+ PriceSensitivityConfig?: never;
1269
+ WebSessionSummaryConfig: WebSessionSummaryConfig;
1270
+ UpgradeUpsellPropensityConfig?: never;
1271
+ LastSearchIntentConfig?: never;
1272
+ $unknown?: never;
1273
+ }
1274
+ interface UpgradeUpsellPropensityConfigMember {
1275
+ PriceSensitivityConfig?: never;
1276
+ WebSessionSummaryConfig?: never;
1277
+ UpgradeUpsellPropensityConfig: UpgradeUpsellPropensityConfig;
1278
+ LastSearchIntentConfig?: never;
1279
+ $unknown?: never;
1280
+ }
1281
+ interface LastSearchIntentConfigMember {
1282
+ PriceSensitivityConfig?: never;
1283
+ WebSessionSummaryConfig?: never;
1284
+ UpgradeUpsellPropensityConfig?: never;
1285
+ LastSearchIntentConfig: LastSearchIntentConfig;
1286
+ $unknown?: never;
1287
+ }
1288
+ interface $UnknownMember {
1289
+ PriceSensitivityConfig?: never;
1290
+ WebSessionSummaryConfig?: never;
1291
+ UpgradeUpsellPropensityConfig?: never;
1292
+ LastSearchIntentConfig?: never;
1293
+ $unknown: [string, any];
1294
+ }
1295
+ interface Visitor<T> {
1296
+ PriceSensitivityConfig: (value: PriceSensitivityConfig) => T;
1297
+ WebSessionSummaryConfig: (value: WebSessionSummaryConfig) => T;
1298
+ UpgradeUpsellPropensityConfig: (value: UpgradeUpsellPropensityConfig) => T;
1299
+ LastSearchIntentConfig: (value: LastSearchIntentConfig) => T;
1300
+ _: (name: string, value: any) => T;
1301
+ }
1302
+ }
1303
+ export interface GetIntentDefinitionResponse {
1304
+ DomainName: string | undefined;
1305
+ IntentDomain: IntentDomain | undefined;
1306
+ Intents: IntentConfig[] | undefined;
1307
+ CreatedAt: Date | undefined;
1308
+ LastUpdatedAt: Date | undefined;
1309
+ }
1187
1310
  export interface GetMatchesRequest {
1188
1311
  NextToken?: string | undefined;
1189
1312
  MaxResults?: number | undefined;
@@ -1705,104 +1828,8 @@ export interface ListIntegrationsResponse {
1705
1828
  Items?: ListIntegrationItem[] | undefined;
1706
1829
  NextToken?: string | undefined;
1707
1830
  }
1708
- export interface ListObjectTypeAttributesRequest {
1709
- NextToken?: string | undefined;
1710
- MaxResults?: number | undefined;
1711
- DomainName: string | undefined;
1712
- ObjectTypeName: string | undefined;
1713
- }
1714
- export interface ListObjectTypeAttributeItem {
1715
- AttributeName: string | undefined;
1716
- LastUpdatedAt: Date | undefined;
1717
- }
1718
- export interface ListObjectTypeAttributesResponse {
1719
- Items?: ListObjectTypeAttributeItem[] | undefined;
1720
- NextToken?: string | undefined;
1721
- }
1722
- export interface ListObjectTypeAttributeValuesRequest {
1723
- NextToken?: string | undefined;
1724
- MaxResults?: number | undefined;
1725
- DomainName: string | undefined;
1726
- ObjectTypeName: string | undefined;
1727
- AttributeName: string | undefined;
1728
- }
1729
- export interface ListObjectTypeAttributeValuesItem {
1730
- Value: string | undefined;
1731
- LastUpdatedAt: Date | undefined;
1732
- }
1733
- export interface ListObjectTypeAttributeValuesResponse {
1734
- Items?: ListObjectTypeAttributeValuesItem[] | undefined;
1735
- NextToken?: string | undefined;
1736
- }
1737
- export interface ProfileAttributeValuesRequest {
1738
- DomainName: string | undefined;
1739
- AttributeName: string | undefined;
1740
- }
1741
- export interface ProfileAttributeValuesResponse {
1742
- DomainName?: string | undefined;
1743
- AttributeName?: string | undefined;
1744
- Items?: AttributeValueItem[] | undefined;
1745
- StatusCode?: number | undefined;
1746
- }
1747
- export interface ListProfileHistoryRecordsRequest {
1748
- DomainName: string | undefined;
1749
- ProfileId: string | undefined;
1750
- ObjectTypeName?: string | undefined;
1751
- NextToken?: string | undefined;
1752
- MaxResults?: number | undefined;
1753
- ActionType?: ActionType | undefined;
1754
- PerformedBy?: string | undefined;
1755
- }
1756
- export interface ProfileHistoryRecord {
1757
- Id: string | undefined;
1758
- ObjectTypeName: string | undefined;
1759
- CreatedAt: Date | undefined;
1760
- LastUpdatedAt?: Date | undefined;
1761
- ActionType: ActionType | undefined;
1762
- ProfileObjectUniqueKey?: string | undefined;
1763
- PerformedBy?: string | undefined;
1764
- }
1765
- export interface ListProfileHistoryRecordsResponse {
1766
- ProfileHistoryRecords?: ProfileHistoryRecord[] | undefined;
1767
- NextToken?: string | undefined;
1768
- }
1769
- export interface ObjectFilter {
1770
- KeyName: string | undefined;
1771
- Values: string[] | undefined;
1772
- }
1773
- export interface ListProfileObjectsRequest {
1774
- NextToken?: string | undefined;
1831
+ export interface ListIntentTypesRequest {
1832
+ IntentDomain?: IntentDomain | undefined;
1775
1833
  MaxResults?: number | undefined;
1776
- DomainName: string | undefined;
1777
- ObjectTypeName: string | undefined;
1778
- ProfileId: string | undefined;
1779
- ObjectFilter?: ObjectFilter | undefined;
1780
- }
1781
- export interface ListProfileObjectsItem {
1782
- ObjectTypeName?: string | undefined;
1783
- ProfileObjectUniqueKey?: string | undefined;
1784
- Object?: string | undefined;
1785
- }
1786
- export interface ListProfileObjectsResponse {
1787
- Items?: ListProfileObjectsItem[] | undefined;
1788
- NextToken?: string | undefined;
1789
- }
1790
- export interface ListProfileObjectTypesRequest {
1791
- DomainName: string | undefined;
1792
- NextToken?: string | undefined;
1793
- MaxResults?: number | undefined;
1794
- }
1795
- export interface ListProfileObjectTypeItem {
1796
- ObjectTypeName: string | undefined;
1797
- Description: string | undefined;
1798
- CreatedAt?: Date | undefined;
1799
- LastUpdatedAt?: Date | undefined;
1800
- MaxProfileObjectCount?: number | undefined;
1801
- MaxAvailableProfileObjectCount?: number | undefined;
1802
- SourcePriority?: number | undefined;
1803
- Tags?: Record<string, string> | undefined;
1804
- }
1805
- export interface ListProfileObjectTypesResponse {
1806
- Items?: ListProfileObjectTypeItem[] | undefined;
1807
1834
  NextToken?: string | undefined;
1808
1835
  }
@@ -1,5 +1,8 @@
1
1
  import {
2
+ ActionType,
2
3
  Gender,
4
+ IntentDomain,
5
+ IntentType,
3
6
  LayoutType,
4
7
  LogicalOperator,
5
8
  PartyType,
@@ -23,6 +26,7 @@ import {
23
26
  import {
24
27
  AdditionalSearchKey,
25
28
  AttributeDetails,
29
+ AttributeValueItem,
26
30
  Conditions,
27
31
  DataStoreRequest,
28
32
  DataStoreResponse,
@@ -31,6 +35,8 @@ import {
31
35
  EventTriggerCondition,
32
36
  EventTriggerLimits,
33
37
  FlowDefinition,
38
+ IntentConfig,
39
+ IntentFilterDefinition,
34
40
  MatchingRequest,
35
41
  MatchingResponse,
36
42
  ObjectTypeField,
@@ -48,6 +54,119 @@ import {
48
54
  RuleBasedMatchingResponse,
49
55
  ScheduleConfiguration,
50
56
  } from "./models_0";
57
+ export interface IntentTypeInfo {
58
+ IntentType: IntentType | undefined;
59
+ Description: string | undefined;
60
+ }
61
+ export interface IntentTypeGroup {
62
+ IntentDomain: IntentDomain | undefined;
63
+ Types: IntentTypeInfo[] | undefined;
64
+ }
65
+ export interface ListIntentTypesResponse {
66
+ Items: IntentTypeGroup[] | undefined;
67
+ NextToken?: string | undefined;
68
+ }
69
+ export interface ListObjectTypeAttributesRequest {
70
+ NextToken?: string | undefined;
71
+ MaxResults?: number | undefined;
72
+ DomainName: string | undefined;
73
+ ObjectTypeName: string | undefined;
74
+ }
75
+ export interface ListObjectTypeAttributeItem {
76
+ AttributeName: string | undefined;
77
+ LastUpdatedAt: Date | undefined;
78
+ }
79
+ export interface ListObjectTypeAttributesResponse {
80
+ Items?: ListObjectTypeAttributeItem[] | undefined;
81
+ NextToken?: string | undefined;
82
+ }
83
+ export interface ListObjectTypeAttributeValuesRequest {
84
+ NextToken?: string | undefined;
85
+ MaxResults?: number | undefined;
86
+ DomainName: string | undefined;
87
+ ObjectTypeName: string | undefined;
88
+ AttributeName: string | undefined;
89
+ }
90
+ export interface ListObjectTypeAttributeValuesItem {
91
+ Value: string | undefined;
92
+ LastUpdatedAt: Date | undefined;
93
+ }
94
+ export interface ListObjectTypeAttributeValuesResponse {
95
+ Items?: ListObjectTypeAttributeValuesItem[] | undefined;
96
+ NextToken?: string | undefined;
97
+ }
98
+ export interface ProfileAttributeValuesRequest {
99
+ DomainName: string | undefined;
100
+ AttributeName: string | undefined;
101
+ }
102
+ export interface ProfileAttributeValuesResponse {
103
+ DomainName?: string | undefined;
104
+ AttributeName?: string | undefined;
105
+ Items?: AttributeValueItem[] | undefined;
106
+ StatusCode?: number | undefined;
107
+ }
108
+ export interface ListProfileHistoryRecordsRequest {
109
+ DomainName: string | undefined;
110
+ ProfileId: string | undefined;
111
+ ObjectTypeName?: string | undefined;
112
+ NextToken?: string | undefined;
113
+ MaxResults?: number | undefined;
114
+ ActionType?: ActionType | undefined;
115
+ PerformedBy?: string | undefined;
116
+ }
117
+ export interface ProfileHistoryRecord {
118
+ Id: string | undefined;
119
+ ObjectTypeName: string | undefined;
120
+ CreatedAt: Date | undefined;
121
+ LastUpdatedAt?: Date | undefined;
122
+ ActionType: ActionType | undefined;
123
+ ProfileObjectUniqueKey?: string | undefined;
124
+ PerformedBy?: string | undefined;
125
+ }
126
+ export interface ListProfileHistoryRecordsResponse {
127
+ ProfileHistoryRecords?: ProfileHistoryRecord[] | undefined;
128
+ NextToken?: string | undefined;
129
+ }
130
+ export interface ObjectFilter {
131
+ KeyName: string | undefined;
132
+ Values: string[] | undefined;
133
+ }
134
+ export interface ListProfileObjectsRequest {
135
+ NextToken?: string | undefined;
136
+ MaxResults?: number | undefined;
137
+ DomainName: string | undefined;
138
+ ObjectTypeName: string | undefined;
139
+ ProfileId: string | undefined;
140
+ ObjectFilter?: ObjectFilter | undefined;
141
+ }
142
+ export interface ListProfileObjectsItem {
143
+ ObjectTypeName?: string | undefined;
144
+ ProfileObjectUniqueKey?: string | undefined;
145
+ Object?: string | undefined;
146
+ }
147
+ export interface ListProfileObjectsResponse {
148
+ Items?: ListProfileObjectsItem[] | undefined;
149
+ NextToken?: string | undefined;
150
+ }
151
+ export interface ListProfileObjectTypesRequest {
152
+ DomainName: string | undefined;
153
+ NextToken?: string | undefined;
154
+ MaxResults?: number | undefined;
155
+ }
156
+ export interface ListProfileObjectTypeItem {
157
+ ObjectTypeName: string | undefined;
158
+ Description: string | undefined;
159
+ CreatedAt?: Date | undefined;
160
+ LastUpdatedAt?: Date | undefined;
161
+ MaxProfileObjectCount?: number | undefined;
162
+ MaxAvailableProfileObjectCount?: number | undefined;
163
+ SourcePriority?: number | undefined;
164
+ Tags?: Record<string, string> | undefined;
165
+ }
166
+ export interface ListProfileObjectTypesResponse {
167
+ Items?: ListProfileObjectTypeItem[] | undefined;
168
+ NextToken?: string | undefined;
169
+ }
51
170
  export interface ListProfileObjectTypeTemplatesRequest {
52
171
  NextToken?: string | undefined;
53
172
  MaxResults?: number | undefined;
@@ -293,6 +412,21 @@ export interface PutIntegrationResponse {
293
412
  EventTriggerNames?: string[] | undefined;
294
413
  Scope?: Scope | undefined;
295
414
  }
415
+ export interface PutIntentDefinitionRequest {
416
+ DomainName: string | undefined;
417
+ IntentDomain: IntentDomain | undefined;
418
+ Intents: IntentConfig[] | undefined;
419
+ Tags?: Record<string, string> | undefined;
420
+ }
421
+ export interface PutIntentDefinitionResponse {
422
+ DomainName: string | undefined;
423
+ IntentDomain: IntentDomain | undefined;
424
+ IntentDefinitionArn: string | undefined;
425
+ Intents: IntentConfig[] | undefined;
426
+ CreatedAt: Date | undefined;
427
+ LastUpdatedAt: Date | undefined;
428
+ Tags?: Record<string, string> | undefined;
429
+ }
296
430
  export interface PutProfileObjectRequest {
297
431
  ObjectTypeName: string | undefined;
298
432
  Object: string | undefined;
@@ -480,6 +614,7 @@ export interface UpdateEventTriggerRequest {
480
614
  Description?: string | undefined;
481
615
  EventTriggerConditions?: EventTriggerCondition[] | undefined;
482
616
  SegmentFilter?: string | undefined;
617
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
483
618
  EventTriggerLimits?: EventTriggerLimits | undefined;
484
619
  }
485
620
  export interface UpdateEventTriggerResponse {
@@ -488,6 +623,7 @@ export interface UpdateEventTriggerResponse {
488
623
  Description?: string | undefined;
489
624
  EventTriggerConditions?: EventTriggerCondition[] | undefined;
490
625
  SegmentFilter?: string | undefined;
626
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
491
627
  EventTriggerLimits?: EventTriggerLimits | undefined;
492
628
  CreatedAt?: Date | undefined;
493
629
  LastUpdatedAt?: Date | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListIntentTypesCommandInput,
4
+ ListIntentTypesCommandOutput,
5
+ } from "../commands/ListIntentTypesCommand";
6
+ import { CustomerProfilesPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListIntentTypes: (
8
+ config: CustomerProfilesPaginationConfiguration,
9
+ input: ListIntentTypesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<ListIntentTypesCommandOutput>;
@@ -4,6 +4,7 @@ export * from "./ListDomainLayoutsPaginator";
4
4
  export * from "./ListDomainObjectTypesPaginator";
5
5
  export * from "./ListEventStreamsPaginator";
6
6
  export * from "./ListEventTriggersPaginator";
7
+ export * from "./ListIntentTypesPaginator";
7
8
  export * from "./ListObjectTypeAttributesPaginator";
8
9
  export * from "./ListRecommenderFiltersPaginator";
9
10
  export * from "./ListRecommenderRecipesPaginator";