@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.
- package/README.md +35 -0
- package/dist-cjs/index.js +315 -33
- package/dist-es/CustomerProfiles.js +12 -0
- package/dist-es/commands/BatchGetIntentForProfileCommand.js +4 -0
- package/dist-es/commands/DeleteIntentDefinitionCommand.js +4 -0
- package/dist-es/commands/GetIntentDefinitionCommand.js +4 -0
- package/dist-es/commands/ListIntentTypesCommand.js +4 -0
- package/dist-es/commands/PutIntentDefinitionCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +24 -0
- package/dist-es/pagination/ListIntentTypesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +231 -32
- package/dist-types/CustomerProfiles.d.ts +43 -0
- package/dist-types/CustomerProfilesClient.d.ts +7 -2
- package/dist-types/commands/BatchGetIntentForProfileCommand.d.ts +109 -0
- package/dist-types/commands/CreateEventTriggerCommand.d.ts +40 -0
- package/dist-types/commands/DeleteIntentDefinitionCommand.d.ts +85 -0
- package/dist-types/commands/GetEventTriggerCommand.d.ts +20 -0
- package/dist-types/commands/GetIntentDefinitionCommand.d.ts +106 -0
- package/dist-types/commands/ListIntentTypesCommand.d.ts +97 -0
- package/dist-types/commands/ListObjectTypeAttributeValuesCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectTypeAttributesCommand.d.ts +1 -1
- package/dist-types/commands/ListProfileAttributeValuesCommand.d.ts +1 -1
- package/dist-types/commands/ListProfileHistoryRecordsCommand.d.ts +1 -1
- package/dist-types/commands/ListProfileObjectTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListProfileObjectsCommand.d.ts +1 -1
- package/dist-types/commands/PutIntentDefinitionCommand.d.ts +130 -0
- package/dist-types/commands/UpdateEventTriggerCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +56 -0
- package/dist-types/models/models_0.d.ts +361 -413
- package/dist-types/models/models_1.d.ts +553 -2
- package/dist-types/pagination/ListIntentTypesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +28 -0
- package/dist-types/ts3.4/CustomerProfiles.d.ts +93 -0
- package/dist-types/ts3.4/CustomerProfilesClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchGetIntentForProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteIntentDefinitionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetIntentDefinitionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListIntentTypesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListObjectTypeAttributeValuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListObjectTypeAttributesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProfileAttributeValuesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProfileHistoryRecordsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProfileObjectTypesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListProfileObjectsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutIntentDefinitionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +29 -0
- package/dist-types/ts3.4/models/models_0.d.ts +125 -98
- package/dist-types/ts3.4/models/models_1.d.ts +136 -0
- package/dist-types/ts3.4/pagination/ListIntentTypesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __M
|
|
|
2
2
|
import { type AddProfileKeyCommandInput, type AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
|
|
3
3
|
import { type AssociateStreamForSegmentsCommandInput, type AssociateStreamForSegmentsCommandOutput } from "./commands/AssociateStreamForSegmentsCommand";
|
|
4
4
|
import { type BatchGetCalculatedAttributeForProfileCommandInput, type BatchGetCalculatedAttributeForProfileCommandOutput } from "./commands/BatchGetCalculatedAttributeForProfileCommand";
|
|
5
|
+
import { type BatchGetIntentForProfileCommandInput, type BatchGetIntentForProfileCommandOutput } from "./commands/BatchGetIntentForProfileCommand";
|
|
5
6
|
import { type BatchGetProfileCommandInput, type BatchGetProfileCommandOutput } from "./commands/BatchGetProfileCommand";
|
|
6
7
|
import { type BatchPutProfileObjectCommandInput, type BatchPutProfileObjectCommandOutput } from "./commands/BatchPutProfileObjectCommand";
|
|
7
8
|
import { type CreateCalculatedAttributeDefinitionCommandInput, type CreateCalculatedAttributeDefinitionCommandOutput } from "./commands/CreateCalculatedAttributeDefinitionCommand";
|
|
@@ -25,6 +26,7 @@ import { type DeleteDomainObjectTypeCommandInput, type DeleteDomainObjectTypeCom
|
|
|
25
26
|
import { type DeleteEventStreamCommandInput, type DeleteEventStreamCommandOutput } from "./commands/DeleteEventStreamCommand";
|
|
26
27
|
import { type DeleteEventTriggerCommandInput, type DeleteEventTriggerCommandOutput } from "./commands/DeleteEventTriggerCommand";
|
|
27
28
|
import { type DeleteIntegrationCommandInput, type DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
29
|
+
import { type DeleteIntentDefinitionCommandInput, type DeleteIntentDefinitionCommandOutput } from "./commands/DeleteIntentDefinitionCommand";
|
|
28
30
|
import { type DeleteProfileCommandInput, type DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
29
31
|
import { type DeleteProfileKeyCommandInput, type DeleteProfileKeyCommandOutput } from "./commands/DeleteProfileKeyCommand";
|
|
30
32
|
import { type DeleteProfileObjectCommandInput, type DeleteProfileObjectCommandOutput } from "./commands/DeleteProfileObjectCommand";
|
|
@@ -47,6 +49,7 @@ import { type GetEventStreamCommandInput, type GetEventStreamCommandOutput } fro
|
|
|
47
49
|
import { type GetEventTriggerCommandInput, type GetEventTriggerCommandOutput } from "./commands/GetEventTriggerCommand";
|
|
48
50
|
import { type GetIdentityResolutionJobCommandInput, type GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
|
|
49
51
|
import { type GetIntegrationCommandInput, type GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
52
|
+
import { type GetIntentDefinitionCommandInput, type GetIntentDefinitionCommandOutput } from "./commands/GetIntentDefinitionCommand";
|
|
50
53
|
import { type GetMatchesCommandInput, type GetMatchesCommandOutput } from "./commands/GetMatchesCommand";
|
|
51
54
|
import { type GetObjectTypeAttributeStatisticsCommandInput, type GetObjectTypeAttributeStatisticsCommandOutput } from "./commands/GetObjectTypeAttributeStatisticsCommand";
|
|
52
55
|
import { type GetProfileHistoryRecordCommandInput, type GetProfileHistoryRecordCommandOutput } from "./commands/GetProfileHistoryRecordCommand";
|
|
@@ -77,6 +80,7 @@ import { type ListEventStreamsCommandInput, type ListEventStreamsCommandOutput }
|
|
|
77
80
|
import { type ListEventTriggersCommandInput, type ListEventTriggersCommandOutput } from "./commands/ListEventTriggersCommand";
|
|
78
81
|
import { type ListIdentityResolutionJobsCommandInput, type ListIdentityResolutionJobsCommandOutput } from "./commands/ListIdentityResolutionJobsCommand";
|
|
79
82
|
import { type ListIntegrationsCommandInput, type ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
83
|
+
import { type ListIntentTypesCommandInput, type ListIntentTypesCommandOutput } from "./commands/ListIntentTypesCommand";
|
|
80
84
|
import { type ListObjectTypeAttributesCommandInput, type ListObjectTypeAttributesCommandOutput } from "./commands/ListObjectTypeAttributesCommand";
|
|
81
85
|
import { type ListObjectTypeAttributeValuesCommandInput, type ListObjectTypeAttributeValuesCommandOutput } from "./commands/ListObjectTypeAttributeValuesCommand";
|
|
82
86
|
import { type ListProfileAttributeValuesCommandInput, type ListProfileAttributeValuesCommandOutput } from "./commands/ListProfileAttributeValuesCommand";
|
|
@@ -97,6 +101,7 @@ import { type ListWorkflowsCommandInput, type ListWorkflowsCommandOutput } from
|
|
|
97
101
|
import { type MergeProfilesCommandInput, type MergeProfilesCommandOutput } from "./commands/MergeProfilesCommand";
|
|
98
102
|
import { type PutDomainObjectTypeCommandInput, type PutDomainObjectTypeCommandOutput } from "./commands/PutDomainObjectTypeCommand";
|
|
99
103
|
import { type PutIntegrationCommandInput, type PutIntegrationCommandOutput } from "./commands/PutIntegrationCommand";
|
|
104
|
+
import { type PutIntentDefinitionCommandInput, type PutIntentDefinitionCommandOutput } from "./commands/PutIntentDefinitionCommand";
|
|
100
105
|
import { type PutProfileObjectCommandInput, type PutProfileObjectCommandOutput } from "./commands/PutProfileObjectCommand";
|
|
101
106
|
import { type PutProfileObjectTypeCommandInput, type PutProfileObjectTypeCommandOutput } from "./commands/PutProfileObjectTypeCommand";
|
|
102
107
|
import { type PutSegmentSubscriptionCommandInput, type PutSegmentSubscriptionCommandOutput } from "./commands/PutSegmentSubscriptionCommand";
|
|
@@ -140,6 +145,12 @@ export interface CustomerProfiles {
|
|
|
140
145
|
batchGetCalculatedAttributeForProfile(args: BatchGetCalculatedAttributeForProfileCommandInput, options?: CustomerProfilesRequestOptions): Promise<BatchGetCalculatedAttributeForProfileCommandOutput>;
|
|
141
146
|
batchGetCalculatedAttributeForProfile(args: BatchGetCalculatedAttributeForProfileCommandInput, cb: (err: any, data?: BatchGetCalculatedAttributeForProfileCommandOutput) => void): void;
|
|
142
147
|
batchGetCalculatedAttributeForProfile(args: BatchGetCalculatedAttributeForProfileCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: BatchGetCalculatedAttributeForProfileCommandOutput) => void): void;
|
|
148
|
+
/**
|
|
149
|
+
* @see {@link BatchGetIntentForProfileCommand}
|
|
150
|
+
*/
|
|
151
|
+
batchGetIntentForProfile(args: BatchGetIntentForProfileCommandInput, options?: CustomerProfilesRequestOptions): Promise<BatchGetIntentForProfileCommandOutput>;
|
|
152
|
+
batchGetIntentForProfile(args: BatchGetIntentForProfileCommandInput, cb: (err: any, data?: BatchGetIntentForProfileCommandOutput) => void): void;
|
|
153
|
+
batchGetIntentForProfile(args: BatchGetIntentForProfileCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: BatchGetIntentForProfileCommandOutput) => void): void;
|
|
143
154
|
/**
|
|
144
155
|
* @see {@link BatchGetProfileCommand}
|
|
145
156
|
*/
|
|
@@ -278,6 +289,12 @@ export interface CustomerProfiles {
|
|
|
278
289
|
deleteIntegration(args: DeleteIntegrationCommandInput, options?: CustomerProfilesRequestOptions): Promise<DeleteIntegrationCommandOutput>;
|
|
279
290
|
deleteIntegration(args: DeleteIntegrationCommandInput, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void;
|
|
280
291
|
deleteIntegration(args: DeleteIntegrationCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: DeleteIntegrationCommandOutput) => void): void;
|
|
292
|
+
/**
|
|
293
|
+
* @see {@link DeleteIntentDefinitionCommand}
|
|
294
|
+
*/
|
|
295
|
+
deleteIntentDefinition(args: DeleteIntentDefinitionCommandInput, options?: CustomerProfilesRequestOptions): Promise<DeleteIntentDefinitionCommandOutput>;
|
|
296
|
+
deleteIntentDefinition(args: DeleteIntentDefinitionCommandInput, cb: (err: any, data?: DeleteIntentDefinitionCommandOutput) => void): void;
|
|
297
|
+
deleteIntentDefinition(args: DeleteIntentDefinitionCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: DeleteIntentDefinitionCommandOutput) => void): void;
|
|
281
298
|
/**
|
|
282
299
|
* @see {@link DeleteProfileCommand}
|
|
283
300
|
*/
|
|
@@ -410,6 +427,12 @@ export interface CustomerProfiles {
|
|
|
410
427
|
getIntegration(args: GetIntegrationCommandInput, options?: CustomerProfilesRequestOptions): Promise<GetIntegrationCommandOutput>;
|
|
411
428
|
getIntegration(args: GetIntegrationCommandInput, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
|
|
412
429
|
getIntegration(args: GetIntegrationCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
|
|
430
|
+
/**
|
|
431
|
+
* @see {@link GetIntentDefinitionCommand}
|
|
432
|
+
*/
|
|
433
|
+
getIntentDefinition(args: GetIntentDefinitionCommandInput, options?: CustomerProfilesRequestOptions): Promise<GetIntentDefinitionCommandOutput>;
|
|
434
|
+
getIntentDefinition(args: GetIntentDefinitionCommandInput, cb: (err: any, data?: GetIntentDefinitionCommandOutput) => void): void;
|
|
435
|
+
getIntentDefinition(args: GetIntentDefinitionCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: GetIntentDefinitionCommandOutput) => void): void;
|
|
413
436
|
/**
|
|
414
437
|
* @see {@link GetMatchesCommand}
|
|
415
438
|
*/
|
|
@@ -591,6 +614,13 @@ export interface CustomerProfiles {
|
|
|
591
614
|
listIntegrations(args: ListIntegrationsCommandInput, options?: CustomerProfilesRequestOptions): Promise<ListIntegrationsCommandOutput>;
|
|
592
615
|
listIntegrations(args: ListIntegrationsCommandInput, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void;
|
|
593
616
|
listIntegrations(args: ListIntegrationsCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: ListIntegrationsCommandOutput) => void): void;
|
|
617
|
+
/**
|
|
618
|
+
* @see {@link ListIntentTypesCommand}
|
|
619
|
+
*/
|
|
620
|
+
listIntentTypes(): Promise<ListIntentTypesCommandOutput>;
|
|
621
|
+
listIntentTypes(args: ListIntentTypesCommandInput, options?: CustomerProfilesRequestOptions): Promise<ListIntentTypesCommandOutput>;
|
|
622
|
+
listIntentTypes(args: ListIntentTypesCommandInput, cb: (err: any, data?: ListIntentTypesCommandOutput) => void): void;
|
|
623
|
+
listIntentTypes(args: ListIntentTypesCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: ListIntentTypesCommandOutput) => void): void;
|
|
594
624
|
/**
|
|
595
625
|
* @see {@link ListObjectTypeAttributesCommand}
|
|
596
626
|
*/
|
|
@@ -713,6 +743,12 @@ export interface CustomerProfiles {
|
|
|
713
743
|
putIntegration(args: PutIntegrationCommandInput, options?: CustomerProfilesRequestOptions): Promise<PutIntegrationCommandOutput>;
|
|
714
744
|
putIntegration(args: PutIntegrationCommandInput, cb: (err: any, data?: PutIntegrationCommandOutput) => void): void;
|
|
715
745
|
putIntegration(args: PutIntegrationCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: PutIntegrationCommandOutput) => void): void;
|
|
746
|
+
/**
|
|
747
|
+
* @see {@link PutIntentDefinitionCommand}
|
|
748
|
+
*/
|
|
749
|
+
putIntentDefinition(args: PutIntentDefinitionCommandInput, options?: CustomerProfilesRequestOptions): Promise<PutIntentDefinitionCommandOutput>;
|
|
750
|
+
putIntentDefinition(args: PutIntentDefinitionCommandInput, cb: (err: any, data?: PutIntentDefinitionCommandOutput) => void): void;
|
|
751
|
+
putIntentDefinition(args: PutIntentDefinitionCommandInput, options: CustomerProfilesRequestOptions, cb: (err: any, data?: PutIntentDefinitionCommandOutput) => void): void;
|
|
716
752
|
/**
|
|
717
753
|
* @see {@link PutProfileObjectCommand}
|
|
718
754
|
*/
|
|
@@ -850,6 +886,13 @@ export interface CustomerProfiles {
|
|
|
850
886
|
* @returns AsyncIterable of {@link ListEventTriggersCommandOutput}.
|
|
851
887
|
*/
|
|
852
888
|
paginateListEventTriggers(args: ListEventTriggersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEventTriggersCommandOutput>;
|
|
889
|
+
/**
|
|
890
|
+
* @see {@link ListIntentTypesCommand}
|
|
891
|
+
* @param args - command input.
|
|
892
|
+
* @param paginationConfig - optional pagination config.
|
|
893
|
+
* @returns AsyncIterable of {@link ListIntentTypesCommandOutput}.
|
|
894
|
+
*/
|
|
895
|
+
paginateListIntentTypes(args?: ListIntentTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListIntentTypesCommandOutput>;
|
|
853
896
|
/**
|
|
854
897
|
* @see {@link ListObjectTypeAttributesCommand}
|
|
855
898
|
* @param args - command input.
|
|
@@ -9,6 +9,7 @@ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } fro
|
|
|
9
9
|
import type { AddProfileKeyCommandInput, AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
|
|
10
10
|
import type { AssociateStreamForSegmentsCommandInput, AssociateStreamForSegmentsCommandOutput } from "./commands/AssociateStreamForSegmentsCommand";
|
|
11
11
|
import type { BatchGetCalculatedAttributeForProfileCommandInput, BatchGetCalculatedAttributeForProfileCommandOutput } from "./commands/BatchGetCalculatedAttributeForProfileCommand";
|
|
12
|
+
import type { BatchGetIntentForProfileCommandInput, BatchGetIntentForProfileCommandOutput } from "./commands/BatchGetIntentForProfileCommand";
|
|
12
13
|
import type { BatchGetProfileCommandInput, BatchGetProfileCommandOutput } from "./commands/BatchGetProfileCommand";
|
|
13
14
|
import type { BatchPutProfileObjectCommandInput, BatchPutProfileObjectCommandOutput } from "./commands/BatchPutProfileObjectCommand";
|
|
14
15
|
import type { CreateCalculatedAttributeDefinitionCommandInput, CreateCalculatedAttributeDefinitionCommandOutput } from "./commands/CreateCalculatedAttributeDefinitionCommand";
|
|
@@ -32,6 +33,7 @@ import type { DeleteDomainObjectTypeCommandInput, DeleteDomainObjectTypeCommandO
|
|
|
32
33
|
import type { DeleteEventStreamCommandInput, DeleteEventStreamCommandOutput } from "./commands/DeleteEventStreamCommand";
|
|
33
34
|
import type { DeleteEventTriggerCommandInput, DeleteEventTriggerCommandOutput } from "./commands/DeleteEventTriggerCommand";
|
|
34
35
|
import type { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
|
|
36
|
+
import type { DeleteIntentDefinitionCommandInput, DeleteIntentDefinitionCommandOutput } from "./commands/DeleteIntentDefinitionCommand";
|
|
35
37
|
import type { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
36
38
|
import type { DeleteProfileKeyCommandInput, DeleteProfileKeyCommandOutput } from "./commands/DeleteProfileKeyCommand";
|
|
37
39
|
import type { DeleteProfileObjectCommandInput, DeleteProfileObjectCommandOutput } from "./commands/DeleteProfileObjectCommand";
|
|
@@ -54,6 +56,7 @@ import type { GetEventStreamCommandInput, GetEventStreamCommandOutput } from "./
|
|
|
54
56
|
import type { GetEventTriggerCommandInput, GetEventTriggerCommandOutput } from "./commands/GetEventTriggerCommand";
|
|
55
57
|
import type { GetIdentityResolutionJobCommandInput, GetIdentityResolutionJobCommandOutput } from "./commands/GetIdentityResolutionJobCommand";
|
|
56
58
|
import type { GetIntegrationCommandInput, GetIntegrationCommandOutput } from "./commands/GetIntegrationCommand";
|
|
59
|
+
import type { GetIntentDefinitionCommandInput, GetIntentDefinitionCommandOutput } from "./commands/GetIntentDefinitionCommand";
|
|
57
60
|
import type { GetMatchesCommandInput, GetMatchesCommandOutput } from "./commands/GetMatchesCommand";
|
|
58
61
|
import type { GetObjectTypeAttributeStatisticsCommandInput, GetObjectTypeAttributeStatisticsCommandOutput } from "./commands/GetObjectTypeAttributeStatisticsCommand";
|
|
59
62
|
import type { GetProfileHistoryRecordCommandInput, GetProfileHistoryRecordCommandOutput } from "./commands/GetProfileHistoryRecordCommand";
|
|
@@ -84,6 +87,7 @@ import type { ListEventStreamsCommandInput, ListEventStreamsCommandOutput } from
|
|
|
84
87
|
import type { ListEventTriggersCommandInput, ListEventTriggersCommandOutput } from "./commands/ListEventTriggersCommand";
|
|
85
88
|
import type { ListIdentityResolutionJobsCommandInput, ListIdentityResolutionJobsCommandOutput } from "./commands/ListIdentityResolutionJobsCommand";
|
|
86
89
|
import type { ListIntegrationsCommandInput, ListIntegrationsCommandOutput } from "./commands/ListIntegrationsCommand";
|
|
90
|
+
import type { ListIntentTypesCommandInput, ListIntentTypesCommandOutput } from "./commands/ListIntentTypesCommand";
|
|
87
91
|
import type { ListObjectTypeAttributesCommandInput, ListObjectTypeAttributesCommandOutput } from "./commands/ListObjectTypeAttributesCommand";
|
|
88
92
|
import type { ListObjectTypeAttributeValuesCommandInput, ListObjectTypeAttributeValuesCommandOutput } from "./commands/ListObjectTypeAttributeValuesCommand";
|
|
89
93
|
import type { ListProfileAttributeValuesCommandInput, ListProfileAttributeValuesCommandOutput } from "./commands/ListProfileAttributeValuesCommand";
|
|
@@ -104,6 +108,7 @@ import type { ListWorkflowsCommandInput, ListWorkflowsCommandOutput } from "./co
|
|
|
104
108
|
import type { MergeProfilesCommandInput, MergeProfilesCommandOutput } from "./commands/MergeProfilesCommand";
|
|
105
109
|
import type { PutDomainObjectTypeCommandInput, PutDomainObjectTypeCommandOutput } from "./commands/PutDomainObjectTypeCommand";
|
|
106
110
|
import type { PutIntegrationCommandInput, PutIntegrationCommandOutput } from "./commands/PutIntegrationCommand";
|
|
111
|
+
import type { PutIntentDefinitionCommandInput, PutIntentDefinitionCommandOutput } from "./commands/PutIntentDefinitionCommand";
|
|
107
112
|
import type { PutProfileObjectCommandInput, PutProfileObjectCommandOutput } from "./commands/PutProfileObjectCommand";
|
|
108
113
|
import type { PutProfileObjectTypeCommandInput, PutProfileObjectTypeCommandOutput } from "./commands/PutProfileObjectTypeCommand";
|
|
109
114
|
import type { PutSegmentSubscriptionCommandInput, PutSegmentSubscriptionCommandOutput } from "./commands/PutSegmentSubscriptionCommand";
|
|
@@ -127,11 +132,11 @@ export { __Client };
|
|
|
127
132
|
/**
|
|
128
133
|
* @public
|
|
129
134
|
*/
|
|
130
|
-
export type ServiceInputTypes = AddProfileKeyCommandInput | AssociateStreamForSegmentsCommandInput | BatchGetCalculatedAttributeForProfileCommandInput | BatchGetProfileCommandInput | BatchPutProfileObjectCommandInput | CreateCalculatedAttributeDefinitionCommandInput | CreateDomainCommandInput | CreateDomainLayoutCommandInput | CreateEventStreamCommandInput | CreateEventTriggerCommandInput | CreateIntegrationWorkflowCommandInput | CreateProfileCommandInput | CreateRecommenderCommandInput | CreateRecommenderFilterCommandInput | CreateRecommenderSchemaCommandInput | CreateSegmentDefinitionCommandInput | CreateSegmentEstimateCommandInput | CreateSegmentSnapshotCommandInput | CreateUploadJobCommandInput | DeleteCalculatedAttributeDefinitionCommandInput | DeleteDomainCommandInput | DeleteDomainLayoutCommandInput | DeleteDomainObjectTypeCommandInput | DeleteEventStreamCommandInput | DeleteEventTriggerCommandInput | DeleteIntegrationCommandInput | DeleteProfileCommandInput | DeleteProfileKeyCommandInput | DeleteProfileObjectCommandInput | DeleteProfileObjectTypeCommandInput | DeleteRecommenderCommandInput | DeleteRecommenderFilterCommandInput | DeleteRecommenderSchemaCommandInput | DeleteSegmentDefinitionCommandInput | DeleteSegmentSubscriptionCommandInput | DeleteWorkflowCommandInput | DetectProfileObjectTypeCommandInput | DisassociateStreamForSegmentsCommandInput | GetAutoMergingPreviewCommandInput | GetCalculatedAttributeDefinitionCommandInput | GetCalculatedAttributeForProfileCommandInput | GetDomainCommandInput | GetDomainLayoutCommandInput | GetDomainObjectTypeCommandInput | GetEventStreamCommandInput | GetEventTriggerCommandInput | GetIdentityResolutionJobCommandInput | GetIntegrationCommandInput | GetMatchesCommandInput | GetObjectTypeAttributeStatisticsCommandInput | GetProfileHistoryRecordCommandInput | GetProfileObjectTypeCommandInput | GetProfileObjectTypeTemplateCommandInput | GetProfileRecommendationsCommandInput | GetRecommenderCommandInput | GetRecommenderFilterCommandInput | GetRecommenderSchemaCommandInput | GetSegmentDefinitionCommandInput | GetSegmentEstimateCommandInput | GetSegmentMembershipCommandInput | GetSegmentSnapshotCommandInput | GetSegmentSubscriptionCommandInput | GetSimilarProfilesCommandInput | GetStreamForSegmentsCommandInput | GetUploadJobCommandInput | GetUploadJobPathCommandInput | GetWorkflowCommandInput | GetWorkflowStepsCommandInput | ListAccountIntegrationsCommandInput | ListCalculatedAttributeDefinitionsCommandInput | ListCalculatedAttributesForProfileCommandInput | ListDomainLayoutsCommandInput | ListDomainObjectTypesCommandInput | ListDomainsCommandInput | ListEventStreamsCommandInput | ListEventTriggersCommandInput | ListIdentityResolutionJobsCommandInput | ListIntegrationsCommandInput | ListObjectTypeAttributeValuesCommandInput | ListObjectTypeAttributesCommandInput | ListProfileAttributeValuesCommandInput | ListProfileHistoryRecordsCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListRecommenderFiltersCommandInput | ListRecommenderRecipesCommandInput | ListRecommenderSchemasCommandInput | ListRecommendersCommandInput | ListRuleBasedMatchesCommandInput | ListSegmentDefinitionsCommandInput | ListSegmentSubscriptionEventsCommandInput | ListTagsForResourceCommandInput | ListUploadJobsCommandInput | ListWorkflowsCommandInput | MergeProfilesCommandInput | PutDomainObjectTypeCommandInput | PutIntegrationCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | PutSegmentSubscriptionCommandInput | SearchProfilesCommandInput | SearchRecommendationsCommandInput | StartRecommenderCommandInput | StartUploadJobCommandInput | StopRecommenderCommandInput | StopUploadJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCalculatedAttributeDefinitionCommandInput | UpdateDomainCommandInput | UpdateDomainLayoutCommandInput | UpdateEventTriggerCommandInput | UpdateProfileCommandInput | UpdateRecommenderCommandInput;
|
|
135
|
+
export type ServiceInputTypes = AddProfileKeyCommandInput | AssociateStreamForSegmentsCommandInput | BatchGetCalculatedAttributeForProfileCommandInput | BatchGetIntentForProfileCommandInput | BatchGetProfileCommandInput | BatchPutProfileObjectCommandInput | CreateCalculatedAttributeDefinitionCommandInput | CreateDomainCommandInput | CreateDomainLayoutCommandInput | CreateEventStreamCommandInput | CreateEventTriggerCommandInput | CreateIntegrationWorkflowCommandInput | CreateProfileCommandInput | CreateRecommenderCommandInput | CreateRecommenderFilterCommandInput | CreateRecommenderSchemaCommandInput | CreateSegmentDefinitionCommandInput | CreateSegmentEstimateCommandInput | CreateSegmentSnapshotCommandInput | CreateUploadJobCommandInput | DeleteCalculatedAttributeDefinitionCommandInput | DeleteDomainCommandInput | DeleteDomainLayoutCommandInput | DeleteDomainObjectTypeCommandInput | DeleteEventStreamCommandInput | DeleteEventTriggerCommandInput | DeleteIntegrationCommandInput | DeleteIntentDefinitionCommandInput | DeleteProfileCommandInput | DeleteProfileKeyCommandInput | DeleteProfileObjectCommandInput | DeleteProfileObjectTypeCommandInput | DeleteRecommenderCommandInput | DeleteRecommenderFilterCommandInput | DeleteRecommenderSchemaCommandInput | DeleteSegmentDefinitionCommandInput | DeleteSegmentSubscriptionCommandInput | DeleteWorkflowCommandInput | DetectProfileObjectTypeCommandInput | DisassociateStreamForSegmentsCommandInput | GetAutoMergingPreviewCommandInput | GetCalculatedAttributeDefinitionCommandInput | GetCalculatedAttributeForProfileCommandInput | GetDomainCommandInput | GetDomainLayoutCommandInput | GetDomainObjectTypeCommandInput | GetEventStreamCommandInput | GetEventTriggerCommandInput | GetIdentityResolutionJobCommandInput | GetIntegrationCommandInput | GetIntentDefinitionCommandInput | GetMatchesCommandInput | GetObjectTypeAttributeStatisticsCommandInput | GetProfileHistoryRecordCommandInput | GetProfileObjectTypeCommandInput | GetProfileObjectTypeTemplateCommandInput | GetProfileRecommendationsCommandInput | GetRecommenderCommandInput | GetRecommenderFilterCommandInput | GetRecommenderSchemaCommandInput | GetSegmentDefinitionCommandInput | GetSegmentEstimateCommandInput | GetSegmentMembershipCommandInput | GetSegmentSnapshotCommandInput | GetSegmentSubscriptionCommandInput | GetSimilarProfilesCommandInput | GetStreamForSegmentsCommandInput | GetUploadJobCommandInput | GetUploadJobPathCommandInput | GetWorkflowCommandInput | GetWorkflowStepsCommandInput | ListAccountIntegrationsCommandInput | ListCalculatedAttributeDefinitionsCommandInput | ListCalculatedAttributesForProfileCommandInput | ListDomainLayoutsCommandInput | ListDomainObjectTypesCommandInput | ListDomainsCommandInput | ListEventStreamsCommandInput | ListEventTriggersCommandInput | ListIdentityResolutionJobsCommandInput | ListIntegrationsCommandInput | ListIntentTypesCommandInput | ListObjectTypeAttributeValuesCommandInput | ListObjectTypeAttributesCommandInput | ListProfileAttributeValuesCommandInput | ListProfileHistoryRecordsCommandInput | ListProfileObjectTypeTemplatesCommandInput | ListProfileObjectTypesCommandInput | ListProfileObjectsCommandInput | ListRecommenderFiltersCommandInput | ListRecommenderRecipesCommandInput | ListRecommenderSchemasCommandInput | ListRecommendersCommandInput | ListRuleBasedMatchesCommandInput | ListSegmentDefinitionsCommandInput | ListSegmentSubscriptionEventsCommandInput | ListTagsForResourceCommandInput | ListUploadJobsCommandInput | ListWorkflowsCommandInput | MergeProfilesCommandInput | PutDomainObjectTypeCommandInput | PutIntegrationCommandInput | PutIntentDefinitionCommandInput | PutProfileObjectCommandInput | PutProfileObjectTypeCommandInput | PutSegmentSubscriptionCommandInput | SearchProfilesCommandInput | SearchRecommendationsCommandInput | StartRecommenderCommandInput | StartUploadJobCommandInput | StopRecommenderCommandInput | StopUploadJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCalculatedAttributeDefinitionCommandInput | UpdateDomainCommandInput | UpdateDomainLayoutCommandInput | UpdateEventTriggerCommandInput | UpdateProfileCommandInput | UpdateRecommenderCommandInput;
|
|
131
136
|
/**
|
|
132
137
|
* @public
|
|
133
138
|
*/
|
|
134
|
-
export type ServiceOutputTypes = AddProfileKeyCommandOutput | AssociateStreamForSegmentsCommandOutput | BatchGetCalculatedAttributeForProfileCommandOutput | BatchGetProfileCommandOutput | BatchPutProfileObjectCommandOutput | CreateCalculatedAttributeDefinitionCommandOutput | CreateDomainCommandOutput | CreateDomainLayoutCommandOutput | CreateEventStreamCommandOutput | CreateEventTriggerCommandOutput | CreateIntegrationWorkflowCommandOutput | CreateProfileCommandOutput | CreateRecommenderCommandOutput | CreateRecommenderFilterCommandOutput | CreateRecommenderSchemaCommandOutput | CreateSegmentDefinitionCommandOutput | CreateSegmentEstimateCommandOutput | CreateSegmentSnapshotCommandOutput | CreateUploadJobCommandOutput | DeleteCalculatedAttributeDefinitionCommandOutput | DeleteDomainCommandOutput | DeleteDomainLayoutCommandOutput | DeleteDomainObjectTypeCommandOutput | DeleteEventStreamCommandOutput | DeleteEventTriggerCommandOutput | DeleteIntegrationCommandOutput | DeleteProfileCommandOutput | DeleteProfileKeyCommandOutput | DeleteProfileObjectCommandOutput | DeleteProfileObjectTypeCommandOutput | DeleteRecommenderCommandOutput | DeleteRecommenderFilterCommandOutput | DeleteRecommenderSchemaCommandOutput | DeleteSegmentDefinitionCommandOutput | DeleteSegmentSubscriptionCommandOutput | DeleteWorkflowCommandOutput | DetectProfileObjectTypeCommandOutput | DisassociateStreamForSegmentsCommandOutput | GetAutoMergingPreviewCommandOutput | GetCalculatedAttributeDefinitionCommandOutput | GetCalculatedAttributeForProfileCommandOutput | GetDomainCommandOutput | GetDomainLayoutCommandOutput | GetDomainObjectTypeCommandOutput | GetEventStreamCommandOutput | GetEventTriggerCommandOutput | GetIdentityResolutionJobCommandOutput | GetIntegrationCommandOutput | GetMatchesCommandOutput | GetObjectTypeAttributeStatisticsCommandOutput | GetProfileHistoryRecordCommandOutput | GetProfileObjectTypeCommandOutput | GetProfileObjectTypeTemplateCommandOutput | GetProfileRecommendationsCommandOutput | GetRecommenderCommandOutput | GetRecommenderFilterCommandOutput | GetRecommenderSchemaCommandOutput | GetSegmentDefinitionCommandOutput | GetSegmentEstimateCommandOutput | GetSegmentMembershipCommandOutput | GetSegmentSnapshotCommandOutput | GetSegmentSubscriptionCommandOutput | GetSimilarProfilesCommandOutput | GetStreamForSegmentsCommandOutput | GetUploadJobCommandOutput | GetUploadJobPathCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepsCommandOutput | ListAccountIntegrationsCommandOutput | ListCalculatedAttributeDefinitionsCommandOutput | ListCalculatedAttributesForProfileCommandOutput | ListDomainLayoutsCommandOutput | ListDomainObjectTypesCommandOutput | ListDomainsCommandOutput | ListEventStreamsCommandOutput | ListEventTriggersCommandOutput | ListIdentityResolutionJobsCommandOutput | ListIntegrationsCommandOutput | ListObjectTypeAttributeValuesCommandOutput | ListObjectTypeAttributesCommandOutput | ListProfileAttributeValuesCommandOutput | ListProfileHistoryRecordsCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListRecommenderFiltersCommandOutput | ListRecommenderRecipesCommandOutput | ListRecommenderSchemasCommandOutput | ListRecommendersCommandOutput | ListRuleBasedMatchesCommandOutput | ListSegmentDefinitionsCommandOutput | ListSegmentSubscriptionEventsCommandOutput | ListTagsForResourceCommandOutput | ListUploadJobsCommandOutput | ListWorkflowsCommandOutput | MergeProfilesCommandOutput | PutDomainObjectTypeCommandOutput | PutIntegrationCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | PutSegmentSubscriptionCommandOutput | SearchProfilesCommandOutput | SearchRecommendationsCommandOutput | StartRecommenderCommandOutput | StartUploadJobCommandOutput | StopRecommenderCommandOutput | StopUploadJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCalculatedAttributeDefinitionCommandOutput | UpdateDomainCommandOutput | UpdateDomainLayoutCommandOutput | UpdateEventTriggerCommandOutput | UpdateProfileCommandOutput | UpdateRecommenderCommandOutput;
|
|
139
|
+
export type ServiceOutputTypes = AddProfileKeyCommandOutput | AssociateStreamForSegmentsCommandOutput | BatchGetCalculatedAttributeForProfileCommandOutput | BatchGetIntentForProfileCommandOutput | BatchGetProfileCommandOutput | BatchPutProfileObjectCommandOutput | CreateCalculatedAttributeDefinitionCommandOutput | CreateDomainCommandOutput | CreateDomainLayoutCommandOutput | CreateEventStreamCommandOutput | CreateEventTriggerCommandOutput | CreateIntegrationWorkflowCommandOutput | CreateProfileCommandOutput | CreateRecommenderCommandOutput | CreateRecommenderFilterCommandOutput | CreateRecommenderSchemaCommandOutput | CreateSegmentDefinitionCommandOutput | CreateSegmentEstimateCommandOutput | CreateSegmentSnapshotCommandOutput | CreateUploadJobCommandOutput | DeleteCalculatedAttributeDefinitionCommandOutput | DeleteDomainCommandOutput | DeleteDomainLayoutCommandOutput | DeleteDomainObjectTypeCommandOutput | DeleteEventStreamCommandOutput | DeleteEventTriggerCommandOutput | DeleteIntegrationCommandOutput | DeleteIntentDefinitionCommandOutput | DeleteProfileCommandOutput | DeleteProfileKeyCommandOutput | DeleteProfileObjectCommandOutput | DeleteProfileObjectTypeCommandOutput | DeleteRecommenderCommandOutput | DeleteRecommenderFilterCommandOutput | DeleteRecommenderSchemaCommandOutput | DeleteSegmentDefinitionCommandOutput | DeleteSegmentSubscriptionCommandOutput | DeleteWorkflowCommandOutput | DetectProfileObjectTypeCommandOutput | DisassociateStreamForSegmentsCommandOutput | GetAutoMergingPreviewCommandOutput | GetCalculatedAttributeDefinitionCommandOutput | GetCalculatedAttributeForProfileCommandOutput | GetDomainCommandOutput | GetDomainLayoutCommandOutput | GetDomainObjectTypeCommandOutput | GetEventStreamCommandOutput | GetEventTriggerCommandOutput | GetIdentityResolutionJobCommandOutput | GetIntegrationCommandOutput | GetIntentDefinitionCommandOutput | GetMatchesCommandOutput | GetObjectTypeAttributeStatisticsCommandOutput | GetProfileHistoryRecordCommandOutput | GetProfileObjectTypeCommandOutput | GetProfileObjectTypeTemplateCommandOutput | GetProfileRecommendationsCommandOutput | GetRecommenderCommandOutput | GetRecommenderFilterCommandOutput | GetRecommenderSchemaCommandOutput | GetSegmentDefinitionCommandOutput | GetSegmentEstimateCommandOutput | GetSegmentMembershipCommandOutput | GetSegmentSnapshotCommandOutput | GetSegmentSubscriptionCommandOutput | GetSimilarProfilesCommandOutput | GetStreamForSegmentsCommandOutput | GetUploadJobCommandOutput | GetUploadJobPathCommandOutput | GetWorkflowCommandOutput | GetWorkflowStepsCommandOutput | ListAccountIntegrationsCommandOutput | ListCalculatedAttributeDefinitionsCommandOutput | ListCalculatedAttributesForProfileCommandOutput | ListDomainLayoutsCommandOutput | ListDomainObjectTypesCommandOutput | ListDomainsCommandOutput | ListEventStreamsCommandOutput | ListEventTriggersCommandOutput | ListIdentityResolutionJobsCommandOutput | ListIntegrationsCommandOutput | ListIntentTypesCommandOutput | ListObjectTypeAttributeValuesCommandOutput | ListObjectTypeAttributesCommandOutput | ListProfileAttributeValuesCommandOutput | ListProfileHistoryRecordsCommandOutput | ListProfileObjectTypeTemplatesCommandOutput | ListProfileObjectTypesCommandOutput | ListProfileObjectsCommandOutput | ListRecommenderFiltersCommandOutput | ListRecommenderRecipesCommandOutput | ListRecommenderSchemasCommandOutput | ListRecommendersCommandOutput | ListRuleBasedMatchesCommandOutput | ListSegmentDefinitionsCommandOutput | ListSegmentSubscriptionEventsCommandOutput | ListTagsForResourceCommandOutput | ListUploadJobsCommandOutput | ListWorkflowsCommandOutput | MergeProfilesCommandOutput | PutDomainObjectTypeCommandOutput | PutIntegrationCommandOutput | PutIntentDefinitionCommandOutput | PutProfileObjectCommandOutput | PutProfileObjectTypeCommandOutput | PutSegmentSubscriptionCommandOutput | SearchProfilesCommandOutput | SearchRecommendationsCommandOutput | StartRecommenderCommandOutput | StartUploadJobCommandOutput | StopRecommenderCommandOutput | StopUploadJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCalculatedAttributeDefinitionCommandOutput | UpdateDomainCommandOutput | UpdateDomainLayoutCommandOutput | UpdateEventTriggerCommandOutput | UpdateProfileCommandOutput | UpdateRecommenderCommandOutput;
|
|
135
140
|
/**
|
|
136
141
|
* @public
|
|
137
142
|
*/
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { BatchGetIntentForProfileRequest, BatchGetIntentForProfileResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link BatchGetIntentForProfileCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface BatchGetIntentForProfileCommandInput extends BatchGetIntentForProfileRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link BatchGetIntentForProfileCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface BatchGetIntentForProfileCommandOutput extends BatchGetIntentForProfileResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const BatchGetIntentForProfileCommand_base: {
|
|
22
|
+
new (input: BatchGetIntentForProfileCommandInput): import("@smithy/core/client").CommandImpl<BatchGetIntentForProfileCommandInput, BatchGetIntentForProfileCommandOutput, import("..").CustomerProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: BatchGetIntentForProfileCommandInput): import("@smithy/core/client").CommandImpl<BatchGetIntentForProfileCommandInput, BatchGetIntentForProfileCommandOutput, import("..").CustomerProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns intents for a profile. Predictive Intent analyzes the recent web clickstream activity of the profile to generate the requested intents. The profile is identified using a search key, which consists of a <code>KeyName</code> and a <code>KeyValues</code> list.</p>
|
|
28
|
+
* <p>The search key must match exactly one profile. If no profile matches the search key, the operation returns a <code>ResourceNotFoundException</code>. If more than one profile matches the search key, the operation returns a <code>BadRequestException</code>.</p>
|
|
29
|
+
* <p>The operation supports partial success. Intents that can't be generated, for example because the intent type isn't enabled in the intent definition or the profile doesn't have enough recent activity, are returned in <code>Errors</code>.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CustomerProfilesClient, BatchGetIntentForProfileCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
34
|
+
* // const { CustomerProfilesClient, BatchGetIntentForProfileCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
35
|
+
* // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
|
|
36
|
+
* const config = {}; // type is CustomerProfilesClientConfig
|
|
37
|
+
* const client = new CustomerProfilesClient(config);
|
|
38
|
+
* const input = { // BatchGetIntentForProfileRequest
|
|
39
|
+
* DomainName: "STRING_VALUE", // required
|
|
40
|
+
* IntentDomain: "DEFAULT", // required
|
|
41
|
+
* Intents: [ // IntentTypeList // required
|
|
42
|
+
* "PRICE_SENSITIVITY" || "WEB_SESSION_SUMMARY" || "UPGRADE_UPSELL_PROPENSITY" || "LAST_SEARCH_INTENT",
|
|
43
|
+
* ],
|
|
44
|
+
* KeyName: "STRING_VALUE", // required
|
|
45
|
+
* KeyValues: [ // KeyValues // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new BatchGetIntentForProfileCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // BatchGetIntentForProfileResponse
|
|
52
|
+
* // Intents: [ // IntentResultList // required
|
|
53
|
+
* // { // IntentResult
|
|
54
|
+
* // IntentType: "PRICE_SENSITIVITY" || "WEB_SESSION_SUMMARY" || "UPGRADE_UPSELL_PROPENSITY" || "LAST_SEARCH_INTENT", // required
|
|
55
|
+
* // Summary: "STRING_VALUE",
|
|
56
|
+
* // Value: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // Errors: [ // IntentErrorList // required
|
|
60
|
+
* // { // IntentError
|
|
61
|
+
* // IntentType: "PRICE_SENSITIVITY" || "WEB_SESSION_SUMMARY" || "UPGRADE_UPSELL_PROPENSITY" || "LAST_SEARCH_INTENT", // required
|
|
62
|
+
* // Code: "INSUFFICIENT_DATA" || "INTENT_NOT_ENABLED" || "INTERNAL_SERVER_ERROR", // required
|
|
63
|
+
* // Message: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param BatchGetIntentForProfileCommandInput - {@link BatchGetIntentForProfileCommandInput}
|
|
71
|
+
* @returns {@link BatchGetIntentForProfileCommandOutput}
|
|
72
|
+
* @see {@link BatchGetIntentForProfileCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link BatchGetIntentForProfileCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
77
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link BadRequestException} (client fault)
|
|
80
|
+
* <p>The input you provided is invalid.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link InternalServerException} (server fault)
|
|
83
|
+
* <p>An internal service error occurred.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
86
|
+
* <p>The requested resource does not exist, or access was denied.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
89
|
+
* <p>You exceeded the maximum number of requests.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link CustomerProfilesServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class BatchGetIntentForProfileCommand extends BatchGetIntentForProfileCommand_base {
|
|
98
|
+
/** @internal type navigation helper, not in runtime. */
|
|
99
|
+
protected static __types: {
|
|
100
|
+
api: {
|
|
101
|
+
input: BatchGetIntentForProfileRequest;
|
|
102
|
+
output: BatchGetIntentForProfileResponse;
|
|
103
|
+
};
|
|
104
|
+
sdk: {
|
|
105
|
+
input: BatchGetIntentForProfileCommandInput;
|
|
106
|
+
output: BatchGetIntentForProfileCommandOutput;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -61,6 +61,26 @@ declare const CreateEventTriggerCommand_base: {
|
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
63
|
* SegmentFilter: "STRING_VALUE",
|
|
64
|
+
* IntentFilterDefinition: { // IntentFilterDefinition
|
|
65
|
+
* Groups: [ // IntentFilterGroups // required
|
|
66
|
+
* { // IntentFilterGroup
|
|
67
|
+
* Conditions: [ // IntentFilterConditions // required
|
|
68
|
+
* { // IntentFilterCondition
|
|
69
|
+
* Intent: { // Intent
|
|
70
|
+
* IntentDomain: "DEFAULT", // required
|
|
71
|
+
* Type: "PRICE_SENSITIVITY" || "WEB_SESSION_SUMMARY" || "UPGRADE_UPSELL_PROPENSITY" || "LAST_SEARCH_INTENT", // required
|
|
72
|
+
* },
|
|
73
|
+
* ComparisonOperator: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "EQUAL", // required
|
|
74
|
+
* Values: [ // IntentFilterValues // required
|
|
75
|
+
* "STRING_VALUE",
|
|
76
|
+
* ],
|
|
77
|
+
* },
|
|
78
|
+
* ],
|
|
79
|
+
* LogicalOperator: "ANY" || "ALL" || "NONE", // required
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* LogicalOperator: "ANY" || "ALL" || "NONE", // required
|
|
83
|
+
* },
|
|
64
84
|
* EventTriggerLimits: { // EventTriggerLimits
|
|
65
85
|
* EventExpiration: Number("long"),
|
|
66
86
|
* Periods: [ // Periods
|
|
@@ -102,6 +122,26 @@ declare const CreateEventTriggerCommand_base: {
|
|
|
102
122
|
* // },
|
|
103
123
|
* // ],
|
|
104
124
|
* // SegmentFilter: "STRING_VALUE",
|
|
125
|
+
* // IntentFilterDefinition: { // IntentFilterDefinition
|
|
126
|
+
* // Groups: [ // IntentFilterGroups // required
|
|
127
|
+
* // { // IntentFilterGroup
|
|
128
|
+
* // Conditions: [ // IntentFilterConditions // required
|
|
129
|
+
* // { // IntentFilterCondition
|
|
130
|
+
* // Intent: { // Intent
|
|
131
|
+
* // IntentDomain: "DEFAULT", // required
|
|
132
|
+
* // Type: "PRICE_SENSITIVITY" || "WEB_SESSION_SUMMARY" || "UPGRADE_UPSELL_PROPENSITY" || "LAST_SEARCH_INTENT", // required
|
|
133
|
+
* // },
|
|
134
|
+
* // ComparisonOperator: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "EQUAL", // required
|
|
135
|
+
* // Values: [ // IntentFilterValues // required
|
|
136
|
+
* // "STRING_VALUE",
|
|
137
|
+
* // ],
|
|
138
|
+
* // },
|
|
139
|
+
* // ],
|
|
140
|
+
* // LogicalOperator: "ANY" || "ALL" || "NONE", // required
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // LogicalOperator: "ANY" || "ALL" || "NONE", // required
|
|
144
|
+
* // },
|
|
105
145
|
* // EventTriggerLimits: { // EventTriggerLimits
|
|
106
146
|
* // EventExpiration: Number("long"),
|
|
107
147
|
* // Periods: [ // Periods
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteIntentDefinitionRequest, DeleteIntentDefinitionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteIntentDefinitionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteIntentDefinitionCommandInput extends DeleteIntentDefinitionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteIntentDefinitionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteIntentDefinitionCommandOutput extends DeleteIntentDefinitionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteIntentDefinitionCommand_base: {
|
|
22
|
+
new (input: DeleteIntentDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DeleteIntentDefinitionCommandInput, DeleteIntentDefinitionCommandOutput, import("..").CustomerProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteIntentDefinitionCommandInput): import("@smithy/core/client").CommandImpl<DeleteIntentDefinitionCommandInput, DeleteIntentDefinitionCommandOutput, import("..").CustomerProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes the intent definition for an intent domain in a domain.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { CustomerProfilesClient, DeleteIntentDefinitionCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
32
|
+
* // const { CustomerProfilesClient, DeleteIntentDefinitionCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
33
|
+
* // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
|
|
34
|
+
* const config = {}; // type is CustomerProfilesClientConfig
|
|
35
|
+
* const client = new CustomerProfilesClient(config);
|
|
36
|
+
* const input = { // DeleteIntentDefinitionRequest
|
|
37
|
+
* DomainName: "STRING_VALUE", // required
|
|
38
|
+
* IntentDomain: "DEFAULT", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteIntentDefinitionCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteIntentDefinitionCommandInput - {@link DeleteIntentDefinitionCommandInput}
|
|
47
|
+
* @returns {@link DeleteIntentDefinitionCommandOutput}
|
|
48
|
+
* @see {@link DeleteIntentDefinitionCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteIntentDefinitionCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link BadRequestException} (client fault)
|
|
56
|
+
* <p>The input you provided is invalid.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>An internal service error occurred.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* <p>The requested resource does not exist, or access was denied.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* <p>You exceeded the maximum number of requests.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link CustomerProfilesServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
|
|
69
|
+
*
|
|
70
|
+
*
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
export declare class DeleteIntentDefinitionCommand extends DeleteIntentDefinitionCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteIntentDefinitionRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteIntentDefinitionCommandInput;
|
|
82
|
+
output: DeleteIntentDefinitionCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -63,6 +63,26 @@ declare const GetEventTriggerCommand_base: {
|
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
65
65
|
* // SegmentFilter: "STRING_VALUE",
|
|
66
|
+
* // IntentFilterDefinition: { // IntentFilterDefinition
|
|
67
|
+
* // Groups: [ // IntentFilterGroups // required
|
|
68
|
+
* // { // IntentFilterGroup
|
|
69
|
+
* // Conditions: [ // IntentFilterConditions // required
|
|
70
|
+
* // { // IntentFilterCondition
|
|
71
|
+
* // Intent: { // Intent
|
|
72
|
+
* // IntentDomain: "DEFAULT", // required
|
|
73
|
+
* // Type: "PRICE_SENSITIVITY" || "WEB_SESSION_SUMMARY" || "UPGRADE_UPSELL_PROPENSITY" || "LAST_SEARCH_INTENT", // required
|
|
74
|
+
* // },
|
|
75
|
+
* // ComparisonOperator: "INCLUSIVE" || "EXCLUSIVE" || "CONTAINS" || "GREATER_THAN" || "LESS_THAN" || "GREATER_THAN_OR_EQUAL" || "LESS_THAN_OR_EQUAL" || "EQUAL", // required
|
|
76
|
+
* // Values: [ // IntentFilterValues // required
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // LogicalOperator: "ANY" || "ALL" || "NONE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // LogicalOperator: "ANY" || "ALL" || "NONE", // required
|
|
85
|
+
* // },
|
|
66
86
|
* // EventTriggerLimits: { // EventTriggerLimits
|
|
67
87
|
* // EventExpiration: Number("long"),
|
|
68
88
|
* // Periods: [ // Periods
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { GetIntentDefinitionRequest, GetIntentDefinitionResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link GetIntentDefinitionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetIntentDefinitionCommandInput extends GetIntentDefinitionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link GetIntentDefinitionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetIntentDefinitionCommandOutput extends GetIntentDefinitionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const GetIntentDefinitionCommand_base: {
|
|
22
|
+
new (input: GetIntentDefinitionCommandInput): import("@smithy/core/client").CommandImpl<GetIntentDefinitionCommandInput, GetIntentDefinitionCommandOutput, import("..").CustomerProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: GetIntentDefinitionCommandInput): import("@smithy/core/client").CommandImpl<GetIntentDefinitionCommandInput, GetIntentDefinitionCommandOutput, import("..").CustomerProfilesClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Returns the intent definition for an intent domain in a domain.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { CustomerProfilesClient, GetIntentDefinitionCommand } from "@aws-sdk/client-customer-profiles"; // ES Modules import
|
|
32
|
+
* // const { CustomerProfilesClient, GetIntentDefinitionCommand } = require("@aws-sdk/client-customer-profiles"); // CommonJS import
|
|
33
|
+
* // import type { CustomerProfilesClientConfig } from "@aws-sdk/client-customer-profiles";
|
|
34
|
+
* const config = {}; // type is CustomerProfilesClientConfig
|
|
35
|
+
* const client = new CustomerProfilesClient(config);
|
|
36
|
+
* const input = { // GetIntentDefinitionRequest
|
|
37
|
+
* DomainName: "STRING_VALUE", // required
|
|
38
|
+
* IntentDomain: "DEFAULT", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new GetIntentDefinitionCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // GetIntentDefinitionResponse
|
|
43
|
+
* // DomainName: "STRING_VALUE", // required
|
|
44
|
+
* // IntentDomain: "DEFAULT", // required
|
|
45
|
+
* // Intents: [ // IntentConfigList // required
|
|
46
|
+
* // { // IntentConfig Union: only one key present
|
|
47
|
+
* // PriceSensitivityConfig: { // PriceSensitivityConfig
|
|
48
|
+
* // Enabled: true || false, // required
|
|
49
|
+
* // },
|
|
50
|
+
* // WebSessionSummaryConfig: { // WebSessionSummaryConfig
|
|
51
|
+
* // Enabled: true || false, // required
|
|
52
|
+
* // },
|
|
53
|
+
* // UpgradeUpsellPropensityConfig: { // UpgradeUpsellPropensityConfig
|
|
54
|
+
* // Enabled: true || false, // required
|
|
55
|
+
* // },
|
|
56
|
+
* // LastSearchIntentConfig: { // LastSearchIntentConfig
|
|
57
|
+
* // Enabled: true || false, // required
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // CreatedAt: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // LastUpdatedAt: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param GetIntentDefinitionCommandInput - {@link GetIntentDefinitionCommandInput}
|
|
68
|
+
* @returns {@link GetIntentDefinitionCommandOutput}
|
|
69
|
+
* @see {@link GetIntentDefinitionCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link GetIntentDefinitionCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link CustomerProfilesClientResolvedConfig | config} for CustomerProfilesClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
74
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link BadRequestException} (client fault)
|
|
77
|
+
* <p>The input you provided is invalid.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InternalServerException} (server fault)
|
|
80
|
+
* <p>An internal service error occurred.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
83
|
+
* <p>The requested resource does not exist, or access was denied.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
86
|
+
* <p>You exceeded the maximum number of requests.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link CustomerProfilesServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from CustomerProfiles service.</p>
|
|
90
|
+
*
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class GetIntentDefinitionCommand extends GetIntentDefinitionCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: GetIntentDefinitionRequest;
|
|
99
|
+
output: GetIntentDefinitionResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: GetIntentDefinitionCommandInput;
|
|
103
|
+
output: GetIntentDefinitionCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|