@aws-sdk/client-lex-models-v2 3.325.0 → 3.327.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/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +23 -0
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +23 -0
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +23 -0
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +10 -0
- package/dist-types/commands/CreateBotAliasCommand.d.ts +54 -0
- package/dist-types/commands/CreateBotCommand.d.ts +31 -0
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +17 -0
- package/dist-types/commands/CreateBotVersionCommand.d.ts +15 -0
- package/dist-types/commands/CreateExportCommand.d.ts +25 -0
- package/dist-types/commands/CreateIntentCommand.d.ts +435 -0
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +7 -0
- package/dist-types/commands/CreateSlotCommand.d.ts +405 -0
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +51 -0
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +7 -0
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +8 -0
- package/dist-types/commands/DeleteBotCommand.d.ts +7 -0
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +9 -0
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +8 -0
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +9 -0
- package/dist-types/commands/DeleteExportCommand.d.ts +7 -0
- package/dist-types/commands/DeleteImportCommand.d.ts +7 -0
- package/dist-types/commands/DeleteIntentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +7 -0
- package/dist-types/commands/DeleteSlotCommand.d.ts +4 -0
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +4 -0
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +4 -0
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +65 -0
- package/dist-types/commands/DescribeBotCommand.d.ts +29 -0
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +33 -0
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +52 -0
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +35 -0
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +11 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +30 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +46 -0
- package/dist-types/commands/DescribeIntentCommand.d.ts +442 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +8 -0
- package/dist-types/commands/DescribeSlotCommand.d.ts +406 -0
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +52 -0
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +29 -0
- package/dist-types/commands/ListBotAliasesCommand.d.ts +18 -0
- package/dist-types/commands/ListBotLocalesCommand.d.ts +18 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +17 -0
- package/dist-types/commands/ListBotVersionsCommand.d.ts +16 -0
- package/dist-types/commands/ListBotsCommand.d.ts +17 -0
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +13 -0
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +13 -0
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +17 -0
- package/dist-types/commands/ListExportsCommand.d.ts +34 -0
- package/dist-types/commands/ListImportsCommand.d.ts +21 -0
- package/dist-types/commands/ListIntentsCommand.d.ts +30 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +17 -0
- package/dist-types/commands/ListSlotTypesCommand.d.ts +19 -0
- package/dist-types/commands/ListSlotsCommand.d.ts +100 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +8 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +16 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/StartImportCommand.d.ts +40 -0
- package/dist-types/commands/StopBotRecommendationCommand.d.ts +10 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +52 -0
- package/dist-types/commands/UpdateBotCommand.d.ts +26 -0
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +24 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +26 -0
- package/dist-types/commands/UpdateIntentCommand.d.ts +442 -0
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +7 -0
- package/dist-types/commands/UpdateSlotCommand.d.ts +406 -0
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +52 -0
- package/package.json +7 -7
|
@@ -74,6 +74,56 @@ export interface UpdateBotAliasCommandOutput extends UpdateBotAliasResponse, __M
|
|
|
74
74
|
* };
|
|
75
75
|
* const command = new UpdateBotAliasCommand(input);
|
|
76
76
|
* const response = await client.send(command);
|
|
77
|
+
* // { // UpdateBotAliasResponse
|
|
78
|
+
* // botAliasId: "STRING_VALUE",
|
|
79
|
+
* // botAliasName: "STRING_VALUE",
|
|
80
|
+
* // description: "STRING_VALUE",
|
|
81
|
+
* // botVersion: "STRING_VALUE",
|
|
82
|
+
* // botAliasLocaleSettings: { // BotAliasLocaleSettingsMap
|
|
83
|
+
* // "<keys>": { // BotAliasLocaleSettings
|
|
84
|
+
* // enabled: true || false, // required
|
|
85
|
+
* // codeHookSpecification: { // CodeHookSpecification
|
|
86
|
+
* // lambdaCodeHook: { // LambdaCodeHook
|
|
87
|
+
* // lambdaARN: "STRING_VALUE", // required
|
|
88
|
+
* // codeHookInterfaceVersion: "STRING_VALUE", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // conversationLogSettings: { // ConversationLogSettings
|
|
94
|
+
* // textLogSettings: [ // TextLogSettingsList
|
|
95
|
+
* // { // TextLogSetting
|
|
96
|
+
* // enabled: true || false, // required
|
|
97
|
+
* // destination: { // TextLogDestination
|
|
98
|
+
* // cloudWatch: { // CloudWatchLogGroupLogDestination
|
|
99
|
+
* // cloudWatchLogGroupArn: "STRING_VALUE", // required
|
|
100
|
+
* // logPrefix: "STRING_VALUE", // required
|
|
101
|
+
* // },
|
|
102
|
+
* // },
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // audioLogSettings: [ // AudioLogSettingsList
|
|
106
|
+
* // { // AudioLogSetting
|
|
107
|
+
* // enabled: true || false, // required
|
|
108
|
+
* // destination: { // AudioLogDestination
|
|
109
|
+
* // s3Bucket: { // S3BucketLogDestination
|
|
110
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
111
|
+
* // s3BucketArn: "STRING_VALUE", // required
|
|
112
|
+
* // logPrefix: "STRING_VALUE", // required
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // },
|
|
118
|
+
* // sentimentAnalysisSettings: { // SentimentAnalysisSettings
|
|
119
|
+
* // detectSentiment: true || false, // required
|
|
120
|
+
* // },
|
|
121
|
+
* // botAliasStatus: "Creating" || "Available" || "Deleting" || "Failed",
|
|
122
|
+
* // botId: "STRING_VALUE",
|
|
123
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
124
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
125
|
+
* // };
|
|
126
|
+
*
|
|
77
127
|
* ```
|
|
78
128
|
*
|
|
79
129
|
* @param UpdateBotAliasCommandInput - {@link UpdateBotAliasCommandInput}
|
|
@@ -107,6 +157,8 @@ export interface UpdateBotAliasCommandOutput extends UpdateBotAliasResponse, __M
|
|
|
107
157
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
108
158
|
* parameters and try your request again.</p>
|
|
109
159
|
*
|
|
160
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
161
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
110
162
|
*
|
|
111
163
|
*/
|
|
112
164
|
export declare class UpdateBotAliasCommand extends $Command<UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -48,6 +48,30 @@ export interface UpdateBotCommandOutput extends UpdateBotResponse, __MetadataBea
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new UpdateBotCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // UpdateBotResponse
|
|
52
|
+
* // botId: "STRING_VALUE",
|
|
53
|
+
* // botName: "STRING_VALUE",
|
|
54
|
+
* // description: "STRING_VALUE",
|
|
55
|
+
* // roleArn: "STRING_VALUE",
|
|
56
|
+
* // dataPrivacy: { // DataPrivacy
|
|
57
|
+
* // childDirected: true || false, // required
|
|
58
|
+
* // },
|
|
59
|
+
* // idleSessionTTLInSeconds: Number("int"),
|
|
60
|
+
* // botStatus: "Creating" || "Available" || "Inactive" || "Deleting" || "Failed" || "Versioning" || "Importing" || "Updating",
|
|
61
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
63
|
+
* // botType: "Bot" || "BotNetwork",
|
|
64
|
+
* // botMembers: [ // BotMembers
|
|
65
|
+
* // { // BotMember
|
|
66
|
+
* // botMemberId: "STRING_VALUE", // required
|
|
67
|
+
* // botMemberName: "STRING_VALUE", // required
|
|
68
|
+
* // botMemberAliasId: "STRING_VALUE", // required
|
|
69
|
+
* // botMemberAliasName: "STRING_VALUE", // required
|
|
70
|
+
* // botMemberVersion: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
51
75
|
* ```
|
|
52
76
|
*
|
|
53
77
|
* @param UpdateBotCommandInput - {@link UpdateBotCommandInput}
|
|
@@ -81,6 +105,8 @@ export interface UpdateBotCommandOutput extends UpdateBotResponse, __MetadataBea
|
|
|
81
105
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
82
106
|
* parameters and try your request again.</p>
|
|
83
107
|
*
|
|
108
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
84
110
|
*
|
|
85
111
|
*/
|
|
86
112
|
export declare class UpdateBotCommand extends $Command<UpdateBotCommandInput, UpdateBotCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -39,6 +39,28 @@ export interface UpdateBotLocaleCommandOutput extends UpdateBotLocaleResponse, _
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new UpdateBotLocaleCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateBotLocaleResponse
|
|
43
|
+
* // botId: "STRING_VALUE",
|
|
44
|
+
* // botVersion: "STRING_VALUE",
|
|
45
|
+
* // localeId: "STRING_VALUE",
|
|
46
|
+
* // localeName: "STRING_VALUE",
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // nluIntentConfidenceThreshold: Number("double"),
|
|
49
|
+
* // voiceSettings: { // VoiceSettings
|
|
50
|
+
* // voiceId: "STRING_VALUE", // required
|
|
51
|
+
* // engine: "standard" || "neural",
|
|
52
|
+
* // },
|
|
53
|
+
* // botLocaleStatus: "Creating" || "Building" || "Built" || "ReadyExpressTesting" || "Failed" || "Deleting" || "NotBuilt" || "Importing" || "Processing",
|
|
54
|
+
* // failureReasons: [ // FailureReasons
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
58
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
59
|
+
* // recommendedActions: [ // RecommendedActions
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
42
64
|
* ```
|
|
43
65
|
*
|
|
44
66
|
* @param UpdateBotLocaleCommandInput - {@link UpdateBotLocaleCommandInput}
|
|
@@ -72,6 +94,8 @@ export interface UpdateBotLocaleCommandOutput extends UpdateBotLocaleResponse, _
|
|
|
72
94
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
73
95
|
* parameters and try your request again.</p>
|
|
74
96
|
*
|
|
97
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
75
99
|
*
|
|
76
100
|
*/
|
|
77
101
|
export declare class UpdateBotLocaleCommand extends $Command<UpdateBotLocaleCommandInput, UpdateBotLocaleCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -39,6 +39,41 @@ export interface UpdateBotRecommendationCommandOutput extends UpdateBotRecommend
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new UpdateBotRecommendationCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // UpdateBotRecommendationResponse
|
|
43
|
+
* // botId: "STRING_VALUE",
|
|
44
|
+
* // botVersion: "STRING_VALUE",
|
|
45
|
+
* // localeId: "STRING_VALUE",
|
|
46
|
+
* // botRecommendationStatus: "Processing" || "Deleting" || "Deleted" || "Downloading" || "Updating" || "Available" || "Failed" || "Stopping" || "Stopped",
|
|
47
|
+
* // botRecommendationId: "STRING_VALUE",
|
|
48
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // transcriptSourceSetting: { // TranscriptSourceSetting
|
|
51
|
+
* // s3BucketTranscriptSource: { // S3BucketTranscriptSource
|
|
52
|
+
* // s3BucketName: "STRING_VALUE", // required
|
|
53
|
+
* // pathFormat: { // PathFormat
|
|
54
|
+
* // objectPrefixes: [ // ObjectPrefixes
|
|
55
|
+
* // "STRING_VALUE",
|
|
56
|
+
* // ],
|
|
57
|
+
* // },
|
|
58
|
+
* // transcriptFormat: "Lex", // required
|
|
59
|
+
* // transcriptFilter: { // TranscriptFilter
|
|
60
|
+
* // lexTranscriptFilter: { // LexTranscriptFilter
|
|
61
|
+
* // dateRangeFilter: { // DateRangeFilter
|
|
62
|
+
* // startDateTime: new Date("TIMESTAMP"), // required
|
|
63
|
+
* // endDateTime: new Date("TIMESTAMP"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
68
|
+
* // },
|
|
69
|
+
* // },
|
|
70
|
+
* // encryptionSetting: { // EncryptionSetting
|
|
71
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
72
|
+
* // botLocaleExportPassword: "STRING_VALUE",
|
|
73
|
+
* // associatedTranscriptsPassword: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
42
77
|
* ```
|
|
43
78
|
*
|
|
44
79
|
* @param UpdateBotRecommendationCommandInput - {@link UpdateBotRecommendationCommandInput}
|
|
@@ -76,6 +111,8 @@ export interface UpdateBotRecommendationCommandOutput extends UpdateBotRecommend
|
|
|
76
111
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
77
112
|
* parameters and try your request again.</p>
|
|
78
113
|
*
|
|
114
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
115
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
79
116
|
*
|
|
80
117
|
*/
|
|
81
118
|
export declare class UpdateBotRecommendationCommand extends $Command<UpdateBotRecommendationCommandInput, UpdateBotRecommendationCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -36,6 +36,30 @@ export interface UpdateExportCommandOutput extends UpdateExportResponse, __Metad
|
|
|
36
36
|
* };
|
|
37
37
|
* const command = new UpdateExportCommand(input);
|
|
38
38
|
* const response = await client.send(command);
|
|
39
|
+
* // { // UpdateExportResponse
|
|
40
|
+
* // exportId: "STRING_VALUE",
|
|
41
|
+
* // resourceSpecification: { // ExportResourceSpecification
|
|
42
|
+
* // botExportSpecification: { // BotExportSpecification
|
|
43
|
+
* // botId: "STRING_VALUE", // required
|
|
44
|
+
* // botVersion: "STRING_VALUE", // required
|
|
45
|
+
* // },
|
|
46
|
+
* // botLocaleExportSpecification: { // BotLocaleExportSpecification
|
|
47
|
+
* // botId: "STRING_VALUE", // required
|
|
48
|
+
* // botVersion: "STRING_VALUE", // required
|
|
49
|
+
* // localeId: "STRING_VALUE", // required
|
|
50
|
+
* // },
|
|
51
|
+
* // customVocabularyExportSpecification: { // CustomVocabularyExportSpecification
|
|
52
|
+
* // botId: "STRING_VALUE", // required
|
|
53
|
+
* // botVersion: "STRING_VALUE", // required
|
|
54
|
+
* // localeId: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // fileFormat: "LexJson" || "TSV",
|
|
58
|
+
* // exportStatus: "InProgress" || "Completed" || "Failed" || "Deleting",
|
|
59
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // lastUpdatedDateTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
39
63
|
* ```
|
|
40
64
|
*
|
|
41
65
|
* @param UpdateExportCommandInput - {@link UpdateExportCommandInput}
|
|
@@ -68,6 +92,8 @@ export interface UpdateExportCommandOutput extends UpdateExportResponse, __Metad
|
|
|
68
92
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
69
93
|
* parameters and try your request again.</p>
|
|
70
94
|
*
|
|
95
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
71
97
|
*
|
|
72
98
|
*/
|
|
73
99
|
export declare class UpdateExportCommand extends $Command<UpdateExportCommandInput, UpdateExportCommandOutput, LexModelsV2ClientResolvedConfig> {
|