@aws-sdk/client-customer-profiles 3.1179.0 → 3.1181.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 +1 -1
@@ -1,4 +1,4 @@
1
- import type { ActionType, AttributeDimensionType, AttributeMatchingModel, ComparisonOperator, ConflictResolvingModel, ContactType, ContentType, DataFormat, DataPullMode, DateDimensionType, DiversityCapType, EstimateStatus, EventStreamDestinationStatus, EventStreamState, EventSubscriptionSegmentStatus, EventSubscriptionState, EventTriggerLogicalOperator, FeatureType, FieldContentType, FilterDimensionType, Gender, IdentityResolutionJobStatus, Include, IncludeOptions, JobScheduleDayOfTheWeek, LayoutType, MarketoConnectorOperator, MatchType, Operator, OperatorPropertiesKeys, PartyType, PeriodUnit, ProfileType, ProfileTypeDimensionType, QueryResult, RangeUnit, ReadinessStatus, RecommenderFilterStatus, RecommenderRecipeName, RecommenderSchemaStatus, RecommenderStatus, RuleBasedMatchingStatus, S3ConnectorOperator, SalesforceConnectorOperator, ScheduleConfigurationUnit, Scope, SegmentSnapshotStatus, SegmentSortDataType, SegmentSortOrder, SegmentSubscriptionStatus, SegmentType, ServiceNowConnectorOperator, SortAttributeType, SourceConnectorType, StandardIdentifier, Statistic, Status, StatusReason, StringDimensionType, TaskType, TrainingMetricName, TriggerType, Type, Unit, UploadJobStatus, WorkflowType, ZendeskConnectorOperator } from "./enums";
1
+ import type { ActionType, AttributeDimensionType, AttributeMatchingModel, ComparisonOperator, ConflictResolvingModel, ContactType, ContentType, DataFormat, DataPullMode, DateDimensionType, DiversityCapType, EstimateStatus, EventStreamDestinationStatus, EventStreamState, EventSubscriptionSegmentStatus, EventSubscriptionState, EventTriggerLogicalOperator, FeatureType, FieldContentType, FilterDimensionType, Gender, IdentityResolutionJobStatus, Include, IncludeOptions, IntentDomain, IntentErrorCode, IntentFilterComparisonOperator, IntentType, JobScheduleDayOfTheWeek, LayoutType, MarketoConnectorOperator, MatchType, Operator, OperatorPropertiesKeys, PartyType, PeriodUnit, ProfileType, ProfileTypeDimensionType, QueryResult, RangeUnit, ReadinessStatus, RecommenderFilterStatus, RecommenderRecipeName, RecommenderSchemaStatus, RecommenderStatus, RuleBasedMatchingStatus, S3ConnectorOperator, SalesforceConnectorOperator, ScheduleConfigurationUnit, Scope, SegmentSnapshotStatus, SegmentSortDataType, SegmentSortOrder, SegmentSubscriptionStatus, SegmentType, ServiceNowConnectorOperator, SortAttributeType, SourceConnectorType, StandardIdentifier, Statistic, Status, StatusReason, StringDimensionType, TaskType, TrainingMetricName, TriggerType, Type, Unit, UploadJobStatus, WorkflowType, ZendeskConnectorOperator } from "./enums";
2
2
  /**
3
3
  * <p>A data type pair that consists of a <code>KeyName</code> and <code>Values</code> list
4
4
  * that is used in conjunction with the <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html#customerprofiles-SearchProfiles-request-KeyName">KeyName</a> and <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html#customerprofiles-SearchProfiles-request-Values">Values</a> parameters to search for profiles using the <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_SearchProfiles.html">SearchProfiles</a>
@@ -1106,6 +1106,94 @@ export interface BatchGetCalculatedAttributeForProfileResponse {
1106
1106
  */
1107
1107
  ConditionOverrides?: ConditionOverrides | undefined;
1108
1108
  }
1109
+ /**
1110
+ * @public
1111
+ */
1112
+ export interface BatchGetIntentForProfileRequest {
1113
+ /**
1114
+ * <p>The unique name of the Customer Profiles domain.</p>
1115
+ * @public
1116
+ */
1117
+ DomainName: string | undefined;
1118
+ /**
1119
+ * <p>The intent domain of the intent definition. The only supported value is <code>DEFAULT</code>.</p>
1120
+ * @public
1121
+ */
1122
+ IntentDomain: IntentDomain | undefined;
1123
+ /**
1124
+ * <p>A list of intent types to generate. Intent types that aren't enabled in the intent definition are returned in <code>Errors</code> with the <code>INTENT_NOT_ENABLED</code> error code.</p>
1125
+ * @public
1126
+ */
1127
+ Intents: IntentType[] | undefined;
1128
+ /**
1129
+ * <p>A searchable identifier of a customer profile. You can use a predefined key, such as <code>_profileId</code>, <code>_phone</code>, or <code>_email</code>, or a custom-defined key. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/mapping-key-definitions.html#object-type-mapping-default-search-keys">Key
1130
+ * definitions in Customer Profiles object type mappings</a>.</p>
1131
+ * @public
1132
+ */
1133
+ KeyName: string | undefined;
1134
+ /**
1135
+ * <p>A list of key values. Provide one value for each field of the search key.</p>
1136
+ * @public
1137
+ */
1138
+ KeyValues: string[] | undefined;
1139
+ }
1140
+ /**
1141
+ * <p>An error for an intent type that couldn't be generated.</p>
1142
+ * @public
1143
+ */
1144
+ export interface IntentError {
1145
+ /**
1146
+ * <p>The intent type that couldn't be generated.</p>
1147
+ * @public
1148
+ */
1149
+ IntentType: IntentType | undefined;
1150
+ /**
1151
+ * <p>The error code that describes why the intent couldn't be generated.</p>
1152
+ * @public
1153
+ */
1154
+ Code: IntentErrorCode | undefined;
1155
+ /**
1156
+ * <p>A message that describes the error.</p>
1157
+ * @public
1158
+ */
1159
+ Message?: string | undefined;
1160
+ }
1161
+ /**
1162
+ * <p>An intent generated for a profile.</p>
1163
+ * @public
1164
+ */
1165
+ export interface IntentResult {
1166
+ /**
1167
+ * <p>The intent type.</p>
1168
+ * @public
1169
+ */
1170
+ IntentType: IntentType | undefined;
1171
+ /**
1172
+ * <p>A natural language summary of the intent. This is returned for the <code>WEB_SESSION_SUMMARY</code> and <code>LAST_SEARCH_INTENT</code> intent types.</p>
1173
+ * @public
1174
+ */
1175
+ Summary?: string | undefined;
1176
+ /**
1177
+ * <p>The classification of the intent, such as <code>HIGH</code> or <code>LOW</code>. This is returned for the <code>PRICE_SENSITIVITY</code> and <code>UPGRADE_UPSELL_PROPENSITY</code> intent types.</p>
1178
+ * @public
1179
+ */
1180
+ Value?: string | undefined;
1181
+ }
1182
+ /**
1183
+ * @public
1184
+ */
1185
+ export interface BatchGetIntentForProfileResponse {
1186
+ /**
1187
+ * <p>A list of the intents that were generated. The list is empty if no intent could be generated.</p>
1188
+ * @public
1189
+ */
1190
+ Intents: IntentResult[] | undefined;
1191
+ /**
1192
+ * <p>A list of errors for the requested intent types that couldn't be generated. The list is empty if every requested intent was generated.</p>
1193
+ * @public
1194
+ */
1195
+ Errors: IntentError[] | undefined;
1196
+ }
1109
1197
  /**
1110
1198
  * @public
1111
1199
  */
@@ -2655,6 +2743,75 @@ export interface EventTriggerLimits {
2655
2743
  */
2656
2744
  Periods?: Period[] | undefined;
2657
2745
  }
2746
+ /**
2747
+ * <p>Identifies an intent by its intent domain and intent type.</p>
2748
+ * @public
2749
+ */
2750
+ export interface Intent {
2751
+ /**
2752
+ * <p>The intent domain of the intent. The only supported value is <code>DEFAULT</code>.</p>
2753
+ * @public
2754
+ */
2755
+ IntentDomain: IntentDomain | undefined;
2756
+ /**
2757
+ * <p>The intent type. You can use <code>PRICE_SENSITIVITY</code>, <code>UPGRADE_UPSELL_PROPENSITY</code>, or <code>LAST_SEARCH_INTENT</code>. <code>WEB_SESSION_SUMMARY</code> can't be used in an intent filter.</p>
2758
+ * @public
2759
+ */
2760
+ Type: IntentType | undefined;
2761
+ }
2762
+ /**
2763
+ * <p>A condition that an intent of a profile must meet.</p>
2764
+ * @public
2765
+ */
2766
+ export interface IntentFilterCondition {
2767
+ /**
2768
+ * <p>The intent to evaluate.</p>
2769
+ * @public
2770
+ */
2771
+ Intent: Intent | undefined;
2772
+ /**
2773
+ * <p>The operator used to compare the intent against the values. For <code>PRICE_SENSITIVITY</code> and <code>UPGRADE_UPSELL_PROPENSITY</code>, use <code>INCLUSIVE</code>, <code>EXCLUSIVE</code>, <code>EQUAL</code>, <code>GREATER_THAN</code>, <code>GREATER_THAN_OR_EQUAL</code>, <code>LESS_THAN</code>, or <code>LESS_THAN_OR_EQUAL</code>. For <code>LAST_SEARCH_INTENT</code>, use <code>CONTAINS</code>.</p>
2774
+ * @public
2775
+ */
2776
+ ComparisonOperator: IntentFilterComparisonOperator | undefined;
2777
+ /**
2778
+ * <p>A list of values used for comparison. For <code>PRICE_SENSITIVITY</code> and <code>UPGRADE_UPSELL_PROPENSITY</code>, specify exactly one value, <code>HIGH</code> or <code>LOW</code>. For <code>LAST_SEARCH_INTENT</code>, specify up to 10 search phrases. The condition is met if the last search intent of the profile contains any of the phrases.</p>
2779
+ * @public
2780
+ */
2781
+ Values: string[] | undefined;
2782
+ }
2783
+ /**
2784
+ * <p>A group of intent conditions that are combined using a logical operator.</p>
2785
+ * @public
2786
+ */
2787
+ export interface IntentFilterGroup {
2788
+ /**
2789
+ * <p>A list of intent conditions. You can specify up to 5 conditions, and each intent type can appear at most once in a group.</p>
2790
+ * @public
2791
+ */
2792
+ Conditions: IntentFilterCondition[] | undefined;
2793
+ /**
2794
+ * <p>The operator used to combine the conditions in the group.</p>
2795
+ * @public
2796
+ */
2797
+ LogicalOperator: EventTriggerLogicalOperator | undefined;
2798
+ }
2799
+ /**
2800
+ * <p>Defines a filter on the intents of a profile. An event trigger with an intent filter triggers the destination only for profiles whose intents meet the filter.</p>
2801
+ * @public
2802
+ */
2803
+ export interface IntentFilterDefinition {
2804
+ /**
2805
+ * <p>A list of groups of intent conditions. Only one group is supported.</p>
2806
+ * @public
2807
+ */
2808
+ Groups: IntentFilterGroup[] | undefined;
2809
+ /**
2810
+ * <p>The operator used to combine the groups.</p>
2811
+ * @public
2812
+ */
2813
+ LogicalOperator: EventTriggerLogicalOperator | undefined;
2814
+ }
2658
2815
  /**
2659
2816
  * @public
2660
2817
  */
@@ -2690,6 +2847,11 @@ export interface CreateEventTriggerRequest {
2690
2847
  * @public
2691
2848
  */
2692
2849
  SegmentFilter?: string | undefined;
2850
+ /**
2851
+ * <p>Defines a filter on the intents of a profile. When set, the destination is triggered only if the event trigger conditions are met and the profile's intents also meet this filter. The intent types used in the filter must be enabled in the intent definition of the domain.</p>
2852
+ * @public
2853
+ */
2854
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
2693
2855
  /**
2694
2856
  * <p>Defines limits controlling whether an event triggers the destination, based on ingestion
2695
2857
  * latency and the number of invocations per profile over specific time periods.</p>
@@ -2732,6 +2894,11 @@ export interface CreateEventTriggerResponse {
2732
2894
  * @public
2733
2895
  */
2734
2896
  SegmentFilter?: string | undefined;
2897
+ /**
2898
+ * <p>The filter on the intents of a profile. The destination is triggered only for profiles whose intents meet this filter.</p>
2899
+ * @public
2900
+ */
2901
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
2735
2902
  /**
2736
2903
  * <p>Defines limits controlling whether an event triggers the destination, based on ingestion
2737
2904
  * latency and the number of invocations per profile over specific time periods.</p>
@@ -3980,6 +4147,26 @@ export interface DeleteIntegrationResponse {
3980
4147
  */
3981
4148
  Message: string | undefined;
3982
4149
  }
4150
+ /**
4151
+ * @public
4152
+ */
4153
+ export interface DeleteIntentDefinitionRequest {
4154
+ /**
4155
+ * <p>The unique name of the Customer Profiles domain.</p>
4156
+ * @public
4157
+ */
4158
+ DomainName: string | undefined;
4159
+ /**
4160
+ * <p>The intent domain of the intent definition. The only supported value is <code>DEFAULT</code>.</p>
4161
+ * @public
4162
+ */
4163
+ IntentDomain: IntentDomain | undefined;
4164
+ }
4165
+ /**
4166
+ * @public
4167
+ */
4168
+ export interface DeleteIntentDefinitionResponse {
4169
+ }
3983
4170
  /**
3984
4171
  * @public
3985
4172
  */
@@ -4917,6 +5104,11 @@ export interface GetEventTriggerResponse {
4917
5104
  * @public
4918
5105
  */
4919
5106
  SegmentFilter?: string | undefined;
5107
+ /**
5108
+ * <p>The filter on the intents of a profile. The destination is triggered only for profiles whose intents meet this filter.</p>
5109
+ * @public
5110
+ */
5111
+ IntentFilterDefinition?: IntentFilterDefinition | undefined;
4920
5112
  /**
4921
5113
  * <p>Defines limits controlling whether an event triggers the destination, based on ingestion
4922
5114
  * latency and the number of invocations per profile over specific time periods.</p>
@@ -5183,6 +5375,170 @@ export interface GetIntegrationResponse {
5183
5375
  */
5184
5376
  Scope?: Scope | undefined;
5185
5377
  }
5378
+ /**
5379
+ * @public
5380
+ */
5381
+ export interface GetIntentDefinitionRequest {
5382
+ /**
5383
+ * <p>The unique name of the Customer Profiles domain.</p>
5384
+ * @public
5385
+ */
5386
+ DomainName: string | undefined;
5387
+ /**
5388
+ * <p>The intent domain of the intent definition. The only supported value is <code>DEFAULT</code>.</p>
5389
+ * @public
5390
+ */
5391
+ IntentDomain: IntentDomain | undefined;
5392
+ }
5393
+ /**
5394
+ * <p>The configuration of the <code>LAST_SEARCH_INTENT</code> intent type.</p>
5395
+ * @public
5396
+ */
5397
+ export interface LastSearchIntentConfig {
5398
+ /**
5399
+ * <p>Whether the intent type is enabled.</p>
5400
+ * @public
5401
+ */
5402
+ Enabled: boolean | undefined;
5403
+ }
5404
+ /**
5405
+ * <p>The configuration of the <code>PRICE_SENSITIVITY</code> intent type.</p>
5406
+ * @public
5407
+ */
5408
+ export interface PriceSensitivityConfig {
5409
+ /**
5410
+ * <p>Whether the intent type is enabled.</p>
5411
+ * @public
5412
+ */
5413
+ Enabled: boolean | undefined;
5414
+ }
5415
+ /**
5416
+ * <p>The configuration of the <code>UPGRADE_UPSELL_PROPENSITY</code> intent type.</p>
5417
+ * @public
5418
+ */
5419
+ export interface UpgradeUpsellPropensityConfig {
5420
+ /**
5421
+ * <p>Whether the intent type is enabled.</p>
5422
+ * @public
5423
+ */
5424
+ Enabled: boolean | undefined;
5425
+ }
5426
+ /**
5427
+ * <p>The configuration of the <code>WEB_SESSION_SUMMARY</code> intent type.</p>
5428
+ * @public
5429
+ */
5430
+ export interface WebSessionSummaryConfig {
5431
+ /**
5432
+ * <p>Whether the intent type is enabled.</p>
5433
+ * @public
5434
+ */
5435
+ Enabled: boolean | undefined;
5436
+ }
5437
+ /**
5438
+ * <p>The configuration of a single intent type. Specify exactly one member.</p>
5439
+ * @public
5440
+ */
5441
+ export type IntentConfig = IntentConfig.LastSearchIntentConfigMember | IntentConfig.PriceSensitivityConfigMember | IntentConfig.UpgradeUpsellPropensityConfigMember | IntentConfig.WebSessionSummaryConfigMember | IntentConfig.$UnknownMember;
5442
+ /**
5443
+ * @public
5444
+ */
5445
+ export declare namespace IntentConfig {
5446
+ /**
5447
+ * <p>The configuration of the <code>PRICE_SENSITIVITY</code> intent type.</p>
5448
+ * @public
5449
+ */
5450
+ interface PriceSensitivityConfigMember {
5451
+ PriceSensitivityConfig: PriceSensitivityConfig;
5452
+ WebSessionSummaryConfig?: never;
5453
+ UpgradeUpsellPropensityConfig?: never;
5454
+ LastSearchIntentConfig?: never;
5455
+ $unknown?: never;
5456
+ }
5457
+ /**
5458
+ * <p>The configuration of the <code>WEB_SESSION_SUMMARY</code> intent type.</p>
5459
+ * @public
5460
+ */
5461
+ interface WebSessionSummaryConfigMember {
5462
+ PriceSensitivityConfig?: never;
5463
+ WebSessionSummaryConfig: WebSessionSummaryConfig;
5464
+ UpgradeUpsellPropensityConfig?: never;
5465
+ LastSearchIntentConfig?: never;
5466
+ $unknown?: never;
5467
+ }
5468
+ /**
5469
+ * <p>The configuration of the <code>UPGRADE_UPSELL_PROPENSITY</code> intent type.</p>
5470
+ * @public
5471
+ */
5472
+ interface UpgradeUpsellPropensityConfigMember {
5473
+ PriceSensitivityConfig?: never;
5474
+ WebSessionSummaryConfig?: never;
5475
+ UpgradeUpsellPropensityConfig: UpgradeUpsellPropensityConfig;
5476
+ LastSearchIntentConfig?: never;
5477
+ $unknown?: never;
5478
+ }
5479
+ /**
5480
+ * <p>The configuration of the <code>LAST_SEARCH_INTENT</code> intent type.</p>
5481
+ * @public
5482
+ */
5483
+ interface LastSearchIntentConfigMember {
5484
+ PriceSensitivityConfig?: never;
5485
+ WebSessionSummaryConfig?: never;
5486
+ UpgradeUpsellPropensityConfig?: never;
5487
+ LastSearchIntentConfig: LastSearchIntentConfig;
5488
+ $unknown?: never;
5489
+ }
5490
+ /**
5491
+ * @public
5492
+ */
5493
+ interface $UnknownMember {
5494
+ PriceSensitivityConfig?: never;
5495
+ WebSessionSummaryConfig?: never;
5496
+ UpgradeUpsellPropensityConfig?: never;
5497
+ LastSearchIntentConfig?: never;
5498
+ $unknown: [string, any];
5499
+ }
5500
+ /**
5501
+ * @deprecated unused in schema-serde mode.
5502
+ *
5503
+ */
5504
+ interface Visitor<T> {
5505
+ PriceSensitivityConfig: (value: PriceSensitivityConfig) => T;
5506
+ WebSessionSummaryConfig: (value: WebSessionSummaryConfig) => T;
5507
+ UpgradeUpsellPropensityConfig: (value: UpgradeUpsellPropensityConfig) => T;
5508
+ LastSearchIntentConfig: (value: LastSearchIntentConfig) => T;
5509
+ _: (name: string, value: any) => T;
5510
+ }
5511
+ }
5512
+ /**
5513
+ * @public
5514
+ */
5515
+ export interface GetIntentDefinitionResponse {
5516
+ /**
5517
+ * <p>The unique name of the Customer Profiles domain.</p>
5518
+ * @public
5519
+ */
5520
+ DomainName: string | undefined;
5521
+ /**
5522
+ * <p>The intent domain of the intent definition.</p>
5523
+ * @public
5524
+ */
5525
+ IntentDomain: IntentDomain | undefined;
5526
+ /**
5527
+ * <p>The intent configurations of the intent definition.</p>
5528
+ * @public
5529
+ */
5530
+ Intents: IntentConfig[] | undefined;
5531
+ /**
5532
+ * <p>The timestamp of when the intent definition was created.</p>
5533
+ * @public
5534
+ */
5535
+ CreatedAt: Date | undefined;
5536
+ /**
5537
+ * <p>The timestamp of when the intent definition was most recently updated.</p>
5538
+ * @public
5539
+ */
5540
+ LastUpdatedAt: Date | undefined;
5541
+ }
5186
5542
  /**
5187
5543
  * @public
5188
5544
  */
@@ -7584,429 +7940,21 @@ export interface ListIntegrationsResponse {
7584
7940
  /**
7585
7941
  * @public
7586
7942
  */
7587
- export interface ListObjectTypeAttributesRequest {
7943
+ export interface ListIntentTypesRequest {
7588
7944
  /**
7589
- * <p>The pagination token from the previous call. </p>
7945
+ * <p>The intent domain to return intent types for. If you don't specify a value, intent types for all intent domains are returned.</p>
7590
7946
  * @public
7591
7947
  */
7592
- NextToken?: string | undefined;
7948
+ IntentDomain?: IntentDomain | undefined;
7593
7949
  /**
7594
- * <p>The maximum number of objects returned per page.</p>
7950
+ * <p>The maximum number of results to return per page. The value must be between 10 and 100. The default value is 10.</p>
7595
7951
  * @public
7596
7952
  */
7597
7953
  MaxResults?: number | undefined;
7598
- /**
7599
- * <p>The unique identifier of the domain.</p>
7600
- * @public
7601
- */
7602
- DomainName: string | undefined;
7603
- /**
7604
- * <p>The name of the profile object type.</p>
7605
- * @public
7606
- */
7607
- ObjectTypeName: string | undefined;
7608
- }
7609
- /**
7610
- * <p>Item that contains the attribute and when it was last updated.</p>
7611
- * @public
7612
- */
7613
- export interface ListObjectTypeAttributeItem {
7614
- /**
7615
- * <p>Name of the attribute.</p>
7616
- * @public
7617
- */
7618
- AttributeName: string | undefined;
7619
- /**
7620
- * <p>When the attribute was last updated.</p>
7621
- * @public
7622
- */
7623
- LastUpdatedAt: Date | undefined;
7624
- }
7625
- /**
7626
- * @public
7627
- */
7628
- export interface ListObjectTypeAttributesResponse {
7629
- /**
7630
- * <p>The items returned as part of the response.</p>
7631
- * @public
7632
- */
7633
- Items?: ListObjectTypeAttributeItem[] | undefined;
7634
- /**
7635
- * <p>The pagination token from the previous call.</p>
7636
- * @public
7637
- */
7638
- NextToken?: string | undefined;
7639
- }
7640
- /**
7641
- * @public
7642
- */
7643
- export interface ListObjectTypeAttributeValuesRequest {
7644
- /**
7645
- * <p>The pagination token from the previous call.</p>
7646
- * @public
7647
- */
7648
- NextToken?: string | undefined;
7649
- /**
7650
- * <p>The maximum number of objects returned per page. Valid Range: Minimum value of 1. Maximum value of 100. If not provided default as 100.</p>
7651
- * @public
7652
- */
7653
- MaxResults?: number | undefined;
7654
- /**
7655
- * <p>The unique name of the domain.</p>
7656
- * @public
7657
- */
7658
- DomainName: string | undefined;
7659
- /**
7660
- * <p>The unique name of the domain object type.</p>
7661
- * @public
7662
- */
7663
- ObjectTypeName: string | undefined;
7664
- /**
7665
- * <p>The attribute name.</p>
7666
- * @public
7667
- */
7668
- AttributeName: string | undefined;
7669
- }
7670
- /**
7671
- * <p>Represents an item in the list of object type attribute values with its associated metadata.</p>
7672
- * @public
7673
- */
7674
- export interface ListObjectTypeAttributeValuesItem {
7675
- /**
7676
- * <p>The actual value of the object type attribute.</p>
7677
- * @public
7678
- */
7679
- Value: string | undefined;
7680
- /**
7681
- * <p>The timestamp of when the object type attribute value was most recently updated.</p>
7682
- * @public
7683
- */
7684
- LastUpdatedAt: Date | undefined;
7685
- }
7686
- /**
7687
- * @public
7688
- */
7689
- export interface ListObjectTypeAttributeValuesResponse {
7690
- /**
7691
- * <p>A list of unique attribute values sorted on the basis of LastUpdatedAt. </p>
7692
- * @public
7693
- */
7694
- Items?: ListObjectTypeAttributeValuesItem[] | undefined;
7695
- /**
7696
- * <p>The pagination token from the previous call to call ListObjectTypeAttributeValues. </p>
7697
- * @public
7698
- */
7699
- NextToken?: string | undefined;
7700
- }
7701
- /**
7702
- * @public
7703
- */
7704
- export interface ProfileAttributeValuesRequest {
7705
- /**
7706
- * <p>The unique identifier of the domain.</p>
7707
- * @public
7708
- */
7709
- DomainName: string | undefined;
7710
- /**
7711
- * <p>The attribute name.</p>
7712
- * @public
7713
- */
7714
- AttributeName: string | undefined;
7715
- }
7716
- /**
7717
- * @public
7718
- */
7719
- export interface ProfileAttributeValuesResponse {
7720
- /**
7721
- * <p>The name of the domain.</p>
7722
- * @public
7723
- */
7724
- DomainName?: string | undefined;
7725
- /**
7726
- * <p>The attribute name.</p>
7727
- * @public
7728
- */
7729
- AttributeName?: string | undefined;
7730
- /**
7731
- * <p>The items returned as part of the response.</p>
7732
- * @public
7733
- */
7734
- Items?: AttributeValueItem[] | undefined;
7735
- /**
7736
- * <p>The status code for the response.</p>
7737
- * @public
7738
- */
7739
- StatusCode?: number | undefined;
7740
- }
7741
- /**
7742
- * @public
7743
- */
7744
- export interface ListProfileHistoryRecordsRequest {
7745
- /**
7746
- * <p>The unique name of the domain for which to return profile history records.</p>
7747
- * @public
7748
- */
7749
- DomainName: string | undefined;
7750
- /**
7751
- * <p>The identifier of the profile to be taken.</p>
7752
- * @public
7753
- */
7754
- ProfileId: string | undefined;
7755
- /**
7756
- * <p>Applies a filter to include profile history records only with the specified <code>ObjectTypeName</code> value in the response.</p>
7757
- * @public
7758
- */
7759
- ObjectTypeName?: string | undefined;
7760
7954
  /**
7761
7955
  * <p>The token for the next set of results. Use the value returned in the previous
7762
7956
  * response in the next request to retrieve the next set of results.</p>
7763
7957
  * @public
7764
7958
  */
7765
7959
  NextToken?: string | undefined;
7766
- /**
7767
- * <p>The maximum number of results to return per page.</p>
7768
- * @public
7769
- */
7770
- MaxResults?: number | undefined;
7771
- /**
7772
- * <p>Applies a filter to include profile history records only with the specified <code>ActionType</code> value in the response.</p>
7773
- * @public
7774
- */
7775
- ActionType?: ActionType | undefined;
7776
- /**
7777
- * <p>Applies a filter to include profile history records only with the specified <code>PerformedBy</code> value in the response. The <code>PerformedBy</code> value can be the Amazon Resource Name (ARN) of the person or service principal who performed the action.</p>
7778
- * @public
7779
- */
7780
- PerformedBy?: string | undefined;
7781
- }
7782
- /**
7783
- * <p>Contains profile history record metadata.</p>
7784
- * @public
7785
- */
7786
- export interface ProfileHistoryRecord {
7787
- /**
7788
- * <p>The unique identifier of the profile history record.</p>
7789
- * @public
7790
- */
7791
- Id: string | undefined;
7792
- /**
7793
- * <p>The name of the profile object type.</p>
7794
- * @public
7795
- */
7796
- ObjectTypeName: string | undefined;
7797
- /**
7798
- * <p>The timestamp of when the profile history record was created.</p>
7799
- * @public
7800
- */
7801
- CreatedAt: Date | undefined;
7802
- /**
7803
- * <p>The timestamp of when the profile history record was last updated.</p>
7804
- * @public
7805
- */
7806
- LastUpdatedAt?: Date | undefined;
7807
- /**
7808
- * <p>The action type of the profile history record.</p>
7809
- * @public
7810
- */
7811
- ActionType: ActionType | undefined;
7812
- /**
7813
- * <p>The unique identifier of the profile object generated by the service.</p>
7814
- * @public
7815
- */
7816
- ProfileObjectUniqueKey?: string | undefined;
7817
- /**
7818
- * <p>The Amazon Resource Name (ARN) of the person or service principal who performed the action.</p>
7819
- * @public
7820
- */
7821
- PerformedBy?: string | undefined;
7822
- }
7823
- /**
7824
- * @public
7825
- */
7826
- export interface ListProfileHistoryRecordsResponse {
7827
- /**
7828
- * <p>The list of profile history records.</p>
7829
- * @public
7830
- */
7831
- ProfileHistoryRecords?: ProfileHistoryRecord[] | undefined;
7832
- /**
7833
- * <p>If there are additional results, this is the token for the next set of results.</p>
7834
- * @public
7835
- */
7836
- NextToken?: string | undefined;
7837
- }
7838
- /**
7839
- * <p>The filter applied to <code>ListProfileObjects</code> response to include profile
7840
- * objects with the specified index values.</p>
7841
- * @public
7842
- */
7843
- export interface ObjectFilter {
7844
- /**
7845
- * <p>A searchable identifier of a profile object. The predefined keys you can use to search
7846
- * for <code>_asset</code> include: <code>_assetId</code>, <code>_assetName</code>, and
7847
- * <code>_serialNumber</code>. The predefined keys you can use to search for
7848
- * <code>_case</code> include: <code>_caseId</code>. The predefined keys you can use to
7849
- * search for <code>_order</code> include: <code>_orderId</code>.</p>
7850
- * @public
7851
- */
7852
- KeyName: string | undefined;
7853
- /**
7854
- * <p>A list of key values.</p>
7855
- * @public
7856
- */
7857
- Values: string[] | undefined;
7858
- }
7859
- /**
7860
- * @public
7861
- */
7862
- export interface ListProfileObjectsRequest {
7863
- /**
7864
- * <p>The pagination token from the previous call to ListProfileObjects.</p>
7865
- * @public
7866
- */
7867
- NextToken?: string | undefined;
7868
- /**
7869
- * <p>The maximum number of objects returned per page.</p>
7870
- * @public
7871
- */
7872
- MaxResults?: number | undefined;
7873
- /**
7874
- * <p>The unique name of the domain.</p>
7875
- * @public
7876
- */
7877
- DomainName: string | undefined;
7878
- /**
7879
- * <p>The name of the profile object type.</p>
7880
- * @public
7881
- */
7882
- ObjectTypeName: string | undefined;
7883
- /**
7884
- * <p>The unique identifier of a customer profile.</p>
7885
- * @public
7886
- */
7887
- ProfileId: string | undefined;
7888
- /**
7889
- * <p>Applies a filter to the response to include profile objects with the specified index
7890
- * values.</p>
7891
- * @public
7892
- */
7893
- ObjectFilter?: ObjectFilter | undefined;
7894
- }
7895
- /**
7896
- * <p>A ProfileObject in a list of ProfileObjects.</p>
7897
- * @public
7898
- */
7899
- export interface ListProfileObjectsItem {
7900
- /**
7901
- * <p>Specifies the kind of object being added to a profile, such as
7902
- * "Salesforce-Account."</p>
7903
- * @public
7904
- */
7905
- ObjectTypeName?: string | undefined;
7906
- /**
7907
- * <p>The unique identifier of the ProfileObject generated by the service.</p>
7908
- * @public
7909
- */
7910
- ProfileObjectUniqueKey?: string | undefined;
7911
- /**
7912
- * <p>A JSON representation of a ProfileObject that belongs to a profile.</p>
7913
- * @public
7914
- */
7915
- Object?: string | undefined;
7916
- }
7917
- /**
7918
- * @public
7919
- */
7920
- export interface ListProfileObjectsResponse {
7921
- /**
7922
- * <p>The list of ListProfileObject instances.</p>
7923
- * @public
7924
- */
7925
- Items?: ListProfileObjectsItem[] | undefined;
7926
- /**
7927
- * <p>The pagination token from the previous call to ListProfileObjects.</p>
7928
- * @public
7929
- */
7930
- NextToken?: string | undefined;
7931
- }
7932
- /**
7933
- * @public
7934
- */
7935
- export interface ListProfileObjectTypesRequest {
7936
- /**
7937
- * <p>The unique name of the domain.</p>
7938
- * @public
7939
- */
7940
- DomainName: string | undefined;
7941
- /**
7942
- * <p>Identifies the next page of results to return.</p>
7943
- * @public
7944
- */
7945
- NextToken?: string | undefined;
7946
- /**
7947
- * <p>The maximum number of objects returned per page.</p>
7948
- * @public
7949
- */
7950
- MaxResults?: number | undefined;
7951
- }
7952
- /**
7953
- * <p>A ProfileObjectType instance.</p>
7954
- * @public
7955
- */
7956
- export interface ListProfileObjectTypeItem {
7957
- /**
7958
- * <p>The name of the profile object type.</p>
7959
- * @public
7960
- */
7961
- ObjectTypeName: string | undefined;
7962
- /**
7963
- * <p>Description of the profile object type.</p>
7964
- * @public
7965
- */
7966
- Description: string | undefined;
7967
- /**
7968
- * <p>The timestamp of when the domain was created.</p>
7969
- * @public
7970
- */
7971
- CreatedAt?: Date | undefined;
7972
- /**
7973
- * <p>The timestamp of when the profile object type was most recently edited.</p>
7974
- * @public
7975
- */
7976
- LastUpdatedAt?: Date | undefined;
7977
- /**
7978
- * <p>The amount of profile object max count assigned to the object type.</p>
7979
- * @public
7980
- */
7981
- MaxProfileObjectCount?: number | undefined;
7982
- /**
7983
- * <p>The amount of provisioned profile object max count available.</p>
7984
- * @public
7985
- */
7986
- MaxAvailableProfileObjectCount?: number | undefined;
7987
- /**
7988
- * <p>An integer that determines the priority of this object type when data from multiple sources is ingested. Lower values take priority. Object types without a specified source priority default to the lowest priority.</p>
7989
- * @public
7990
- */
7991
- SourcePriority?: number | undefined;
7992
- /**
7993
- * <p>The tags used to organize, track, or control access for this resource.</p>
7994
- * @public
7995
- */
7996
- Tags?: Record<string, string> | undefined;
7997
- }
7998
- /**
7999
- * @public
8000
- */
8001
- export interface ListProfileObjectTypesResponse {
8002
- /**
8003
- * <p>The list of ListProfileObjectTypes instances.</p>
8004
- * @public
8005
- */
8006
- Items?: ListProfileObjectTypeItem[] | undefined;
8007
- /**
8008
- * <p>Identifies the next page of results to return.</p>
8009
- * @public
8010
- */
8011
- NextToken?: string | undefined;
8012
7960
  }