@aws-sdk/client-lex-models-v2 3.325.0 → 3.326.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 +3 -3
|
@@ -41,6 +41,27 @@ export interface BatchCreateCustomVocabularyItemCommandOutput extends BatchCreat
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new BatchCreateCustomVocabularyItemCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // BatchCreateCustomVocabularyItemResponse
|
|
45
|
+
* // botId: "STRING_VALUE",
|
|
46
|
+
* // botVersion: "STRING_VALUE",
|
|
47
|
+
* // localeId: "STRING_VALUE",
|
|
48
|
+
* // errors: [ // FailedCustomVocabularyItems
|
|
49
|
+
* // { // FailedCustomVocabularyItem
|
|
50
|
+
* // itemId: "STRING_VALUE",
|
|
51
|
+
* // errorMessage: "STRING_VALUE",
|
|
52
|
+
* // errorCode: "DUPLICATE_INPUT" || "RESOURCE_DOES_NOT_EXIST" || "RESOURCE_ALREADY_EXISTS" || "INTERNAL_SERVER_FAILURE",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // resources: [ // CustomVocabularyItems
|
|
56
|
+
* // { // CustomVocabularyItem
|
|
57
|
+
* // itemId: "STRING_VALUE", // required
|
|
58
|
+
* // phrase: "STRING_VALUE", // required
|
|
59
|
+
* // weight: Number("int"),
|
|
60
|
+
* // displayAs: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // ],
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
44
65
|
* ```
|
|
45
66
|
*
|
|
46
67
|
* @param BatchCreateCustomVocabularyItemCommandInput - {@link BatchCreateCustomVocabularyItemCommandInput}
|
|
@@ -68,6 +89,8 @@ export interface BatchCreateCustomVocabularyItemCommandOutput extends BatchCreat
|
|
|
68
89
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
69
90
|
* parameters and try your request again.</p>
|
|
70
91
|
*
|
|
92
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
71
94
|
*
|
|
72
95
|
*/
|
|
73
96
|
export declare class BatchCreateCustomVocabularyItemCommand extends $Command<BatchCreateCustomVocabularyItemCommandInput, BatchCreateCustomVocabularyItemCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -39,6 +39,27 @@ export interface BatchDeleteCustomVocabularyItemCommandOutput extends BatchDelet
|
|
|
39
39
|
* };
|
|
40
40
|
* const command = new BatchDeleteCustomVocabularyItemCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
|
+
* // { // BatchDeleteCustomVocabularyItemResponse
|
|
43
|
+
* // botId: "STRING_VALUE",
|
|
44
|
+
* // botVersion: "STRING_VALUE",
|
|
45
|
+
* // localeId: "STRING_VALUE",
|
|
46
|
+
* // errors: [ // FailedCustomVocabularyItems
|
|
47
|
+
* // { // FailedCustomVocabularyItem
|
|
48
|
+
* // itemId: "STRING_VALUE",
|
|
49
|
+
* // errorMessage: "STRING_VALUE",
|
|
50
|
+
* // errorCode: "DUPLICATE_INPUT" || "RESOURCE_DOES_NOT_EXIST" || "RESOURCE_ALREADY_EXISTS" || "INTERNAL_SERVER_FAILURE",
|
|
51
|
+
* // },
|
|
52
|
+
* // ],
|
|
53
|
+
* // resources: [ // CustomVocabularyItems
|
|
54
|
+
* // { // CustomVocabularyItem
|
|
55
|
+
* // itemId: "STRING_VALUE", // required
|
|
56
|
+
* // phrase: "STRING_VALUE", // required
|
|
57
|
+
* // weight: Number("int"),
|
|
58
|
+
* // displayAs: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
42
63
|
* ```
|
|
43
64
|
*
|
|
44
65
|
* @param BatchDeleteCustomVocabularyItemCommandInput - {@link BatchDeleteCustomVocabularyItemCommandInput}
|
|
@@ -66,6 +87,8 @@ export interface BatchDeleteCustomVocabularyItemCommandOutput extends BatchDelet
|
|
|
66
87
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
67
88
|
* parameters and try your request again.</p>
|
|
68
89
|
*
|
|
90
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
91
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
69
92
|
*
|
|
70
93
|
*/
|
|
71
94
|
export declare class BatchDeleteCustomVocabularyItemCommand extends $Command<BatchDeleteCustomVocabularyItemCommandInput, BatchDeleteCustomVocabularyItemCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -42,6 +42,27 @@ export interface BatchUpdateCustomVocabularyItemCommandOutput extends BatchUpdat
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new BatchUpdateCustomVocabularyItemCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // BatchUpdateCustomVocabularyItemResponse
|
|
46
|
+
* // botId: "STRING_VALUE",
|
|
47
|
+
* // botVersion: "STRING_VALUE",
|
|
48
|
+
* // localeId: "STRING_VALUE",
|
|
49
|
+
* // errors: [ // FailedCustomVocabularyItems
|
|
50
|
+
* // { // FailedCustomVocabularyItem
|
|
51
|
+
* // itemId: "STRING_VALUE",
|
|
52
|
+
* // errorMessage: "STRING_VALUE",
|
|
53
|
+
* // errorCode: "DUPLICATE_INPUT" || "RESOURCE_DOES_NOT_EXIST" || "RESOURCE_ALREADY_EXISTS" || "INTERNAL_SERVER_FAILURE",
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // resources: [ // CustomVocabularyItems
|
|
57
|
+
* // { // CustomVocabularyItem
|
|
58
|
+
* // itemId: "STRING_VALUE", // required
|
|
59
|
+
* // phrase: "STRING_VALUE", // required
|
|
60
|
+
* // weight: Number("int"),
|
|
61
|
+
* // displayAs: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // };
|
|
65
|
+
*
|
|
45
66
|
* ```
|
|
46
67
|
*
|
|
47
68
|
* @param BatchUpdateCustomVocabularyItemCommandInput - {@link BatchUpdateCustomVocabularyItemCommandInput}
|
|
@@ -69,6 +90,8 @@ export interface BatchUpdateCustomVocabularyItemCommandOutput extends BatchUpdat
|
|
|
69
90
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
70
91
|
* parameters and try your request again.</p>
|
|
71
92
|
*
|
|
93
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
72
95
|
*
|
|
73
96
|
*/
|
|
74
97
|
export declare class BatchUpdateCustomVocabularyItemCommand extends $Command<BatchUpdateCustomVocabularyItemCommandInput, BatchUpdateCustomVocabularyItemCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -35,6 +35,14 @@ export interface BuildBotLocaleCommandOutput extends BuildBotLocaleResponse, __M
|
|
|
35
35
|
* };
|
|
36
36
|
* const command = new BuildBotLocaleCommand(input);
|
|
37
37
|
* const response = await client.send(command);
|
|
38
|
+
* // { // BuildBotLocaleResponse
|
|
39
|
+
* // botId: "STRING_VALUE",
|
|
40
|
+
* // botVersion: "STRING_VALUE",
|
|
41
|
+
* // localeId: "STRING_VALUE",
|
|
42
|
+
* // botLocaleStatus: "Creating" || "Building" || "Built" || "ReadyExpressTesting" || "Failed" || "Deleting" || "NotBuilt" || "Importing" || "Processing",
|
|
43
|
+
* // lastBuildSubmittedDateTime: new Date("TIMESTAMP"),
|
|
44
|
+
* // };
|
|
45
|
+
*
|
|
38
46
|
* ```
|
|
39
47
|
*
|
|
40
48
|
* @param BuildBotLocaleCommandInput - {@link BuildBotLocaleCommandInput}
|
|
@@ -68,6 +76,8 @@ export interface BuildBotLocaleCommandOutput extends BuildBotLocaleResponse, __M
|
|
|
68
76
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
69
77
|
* parameters and try your request again.</p>
|
|
70
78
|
*
|
|
79
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
71
81
|
*
|
|
72
82
|
*/
|
|
73
83
|
export declare class BuildBotLocaleCommand extends $Command<BuildBotLocaleCommandInput, BuildBotLocaleCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -80,6 +80,58 @@ export interface CreateBotAliasCommandOutput extends CreateBotAliasResponse, __M
|
|
|
80
80
|
* };
|
|
81
81
|
* const command = new CreateBotAliasCommand(input);
|
|
82
82
|
* const response = await client.send(command);
|
|
83
|
+
* // { // CreateBotAliasResponse
|
|
84
|
+
* // botAliasId: "STRING_VALUE",
|
|
85
|
+
* // botAliasName: "STRING_VALUE",
|
|
86
|
+
* // description: "STRING_VALUE",
|
|
87
|
+
* // botVersion: "STRING_VALUE",
|
|
88
|
+
* // botAliasLocaleSettings: { // BotAliasLocaleSettingsMap
|
|
89
|
+
* // "<keys>": { // BotAliasLocaleSettings
|
|
90
|
+
* // enabled: true || false, // required
|
|
91
|
+
* // codeHookSpecification: { // CodeHookSpecification
|
|
92
|
+
* // lambdaCodeHook: { // LambdaCodeHook
|
|
93
|
+
* // lambdaARN: "STRING_VALUE", // required
|
|
94
|
+
* // codeHookInterfaceVersion: "STRING_VALUE", // required
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // },
|
|
98
|
+
* // },
|
|
99
|
+
* // conversationLogSettings: { // ConversationLogSettings
|
|
100
|
+
* // textLogSettings: [ // TextLogSettingsList
|
|
101
|
+
* // { // TextLogSetting
|
|
102
|
+
* // enabled: true || false, // required
|
|
103
|
+
* // destination: { // TextLogDestination
|
|
104
|
+
* // cloudWatch: { // CloudWatchLogGroupLogDestination
|
|
105
|
+
* // cloudWatchLogGroupArn: "STRING_VALUE", // required
|
|
106
|
+
* // logPrefix: "STRING_VALUE", // required
|
|
107
|
+
* // },
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // audioLogSettings: [ // AudioLogSettingsList
|
|
112
|
+
* // { // AudioLogSetting
|
|
113
|
+
* // enabled: true || false, // required
|
|
114
|
+
* // destination: { // AudioLogDestination
|
|
115
|
+
* // s3Bucket: { // S3BucketLogDestination
|
|
116
|
+
* // kmsKeyArn: "STRING_VALUE",
|
|
117
|
+
* // s3BucketArn: "STRING_VALUE", // required
|
|
118
|
+
* // logPrefix: "STRING_VALUE", // required
|
|
119
|
+
* // },
|
|
120
|
+
* // },
|
|
121
|
+
* // },
|
|
122
|
+
* // ],
|
|
123
|
+
* // },
|
|
124
|
+
* // sentimentAnalysisSettings: { // SentimentAnalysisSettings
|
|
125
|
+
* // detectSentiment: true || false, // required
|
|
126
|
+
* // },
|
|
127
|
+
* // botAliasStatus: "Creating" || "Available" || "Deleting" || "Failed",
|
|
128
|
+
* // botId: "STRING_VALUE",
|
|
129
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
130
|
+
* // tags: { // TagMap
|
|
131
|
+
* // "<keys>": "STRING_VALUE",
|
|
132
|
+
* // },
|
|
133
|
+
* // };
|
|
134
|
+
*
|
|
83
135
|
* ```
|
|
84
136
|
*
|
|
85
137
|
* @param CreateBotAliasCommandInput - {@link CreateBotAliasCommandInput}
|
|
@@ -113,6 +165,8 @@ export interface CreateBotAliasCommandOutput extends CreateBotAliasResponse, __M
|
|
|
113
165
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
114
166
|
* parameters and try your request again.</p>
|
|
115
167
|
*
|
|
168
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
169
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
116
170
|
*
|
|
117
171
|
*/
|
|
118
172
|
export declare class CreateBotAliasCommand extends $Command<CreateBotAliasCommandInput, CreateBotAliasCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -53,6 +53,35 @@ export interface CreateBotCommandOutput extends CreateBotResponse, __MetadataBea
|
|
|
53
53
|
* };
|
|
54
54
|
* const command = new CreateBotCommand(input);
|
|
55
55
|
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateBotResponse
|
|
57
|
+
* // botId: "STRING_VALUE",
|
|
58
|
+
* // botName: "STRING_VALUE",
|
|
59
|
+
* // description: "STRING_VALUE",
|
|
60
|
+
* // roleArn: "STRING_VALUE",
|
|
61
|
+
* // dataPrivacy: { // DataPrivacy
|
|
62
|
+
* // childDirected: true || false, // required
|
|
63
|
+
* // },
|
|
64
|
+
* // idleSessionTTLInSeconds: Number("int"),
|
|
65
|
+
* // botStatus: "Creating" || "Available" || "Inactive" || "Deleting" || "Failed" || "Versioning" || "Importing" || "Updating",
|
|
66
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // botTags: { // TagMap
|
|
68
|
+
* // "<keys>": "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // testBotAliasTags: {
|
|
71
|
+
* // "<keys>": "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // botType: "Bot" || "BotNetwork",
|
|
74
|
+
* // botMembers: [ // BotMembers
|
|
75
|
+
* // { // BotMember
|
|
76
|
+
* // botMemberId: "STRING_VALUE", // required
|
|
77
|
+
* // botMemberName: "STRING_VALUE", // required
|
|
78
|
+
* // botMemberAliasId: "STRING_VALUE", // required
|
|
79
|
+
* // botMemberAliasName: "STRING_VALUE", // required
|
|
80
|
+
* // botMemberVersion: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // };
|
|
84
|
+
*
|
|
56
85
|
* ```
|
|
57
86
|
*
|
|
58
87
|
* @param CreateBotCommandInput - {@link CreateBotCommandInput}
|
|
@@ -86,6 +115,8 @@ export interface CreateBotCommandOutput extends CreateBotResponse, __MetadataBea
|
|
|
86
115
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
87
116
|
* parameters and try your request again.</p>
|
|
88
117
|
*
|
|
118
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
119
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
89
120
|
*
|
|
90
121
|
*/
|
|
91
122
|
export declare class CreateBotCommand extends $Command<CreateBotCommandInput, CreateBotCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -42,6 +42,21 @@ export interface CreateBotLocaleCommandOutput extends CreateBotLocaleResponse, _
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new CreateBotLocaleCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateBotLocaleResponse
|
|
46
|
+
* // botId: "STRING_VALUE",
|
|
47
|
+
* // botVersion: "STRING_VALUE",
|
|
48
|
+
* // localeName: "STRING_VALUE",
|
|
49
|
+
* // localeId: "STRING_VALUE",
|
|
50
|
+
* // description: "STRING_VALUE",
|
|
51
|
+
* // nluIntentConfidenceThreshold: Number("double"),
|
|
52
|
+
* // voiceSettings: { // VoiceSettings
|
|
53
|
+
* // voiceId: "STRING_VALUE", // required
|
|
54
|
+
* // engine: "standard" || "neural",
|
|
55
|
+
* // },
|
|
56
|
+
* // botLocaleStatus: "Creating" || "Building" || "Built" || "ReadyExpressTesting" || "Failed" || "Deleting" || "NotBuilt" || "Importing" || "Processing",
|
|
57
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
45
60
|
* ```
|
|
46
61
|
*
|
|
47
62
|
* @param CreateBotLocaleCommandInput - {@link CreateBotLocaleCommandInput}
|
|
@@ -75,6 +90,8 @@ export interface CreateBotLocaleCommandOutput extends CreateBotLocaleResponse, _
|
|
|
75
90
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
76
91
|
* parameters and try your request again.</p>
|
|
77
92
|
*
|
|
93
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
78
95
|
*
|
|
79
96
|
*/
|
|
80
97
|
export declare class CreateBotLocaleCommand extends $Command<CreateBotLocaleCommandInput, CreateBotLocaleCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -42,6 +42,19 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new CreateBotVersionCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateBotVersionResponse
|
|
46
|
+
* // botId: "STRING_VALUE",
|
|
47
|
+
* // description: "STRING_VALUE",
|
|
48
|
+
* // botVersion: "STRING_VALUE",
|
|
49
|
+
* // botVersionLocaleSpecification: { // BotVersionLocaleSpecification
|
|
50
|
+
* // "<keys>": { // BotVersionLocaleDetails
|
|
51
|
+
* // sourceBotVersion: "STRING_VALUE", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // botStatus: "Creating" || "Available" || "Inactive" || "Deleting" || "Failed" || "Versioning" || "Importing" || "Updating",
|
|
55
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
45
58
|
* ```
|
|
46
59
|
*
|
|
47
60
|
* @param CreateBotVersionCommandInput - {@link CreateBotVersionCommandInput}
|
|
@@ -75,6 +88,8 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
|
|
|
75
88
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
76
89
|
* parameters and try your request again.</p>
|
|
77
90
|
*
|
|
91
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
78
93
|
*
|
|
79
94
|
*/
|
|
80
95
|
export declare class CreateBotVersionCommand extends $Command<CreateBotVersionCommandInput, CreateBotVersionCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
@@ -57,6 +57,29 @@ export interface CreateExportCommandOutput extends CreateExportResponse, __Metad
|
|
|
57
57
|
* };
|
|
58
58
|
* const command = new CreateExportCommand(input);
|
|
59
59
|
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateExportResponse
|
|
61
|
+
* // exportId: "STRING_VALUE",
|
|
62
|
+
* // resourceSpecification: { // ExportResourceSpecification
|
|
63
|
+
* // botExportSpecification: { // BotExportSpecification
|
|
64
|
+
* // botId: "STRING_VALUE", // required
|
|
65
|
+
* // botVersion: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
67
|
+
* // botLocaleExportSpecification: { // BotLocaleExportSpecification
|
|
68
|
+
* // botId: "STRING_VALUE", // required
|
|
69
|
+
* // botVersion: "STRING_VALUE", // required
|
|
70
|
+
* // localeId: "STRING_VALUE", // required
|
|
71
|
+
* // },
|
|
72
|
+
* // customVocabularyExportSpecification: { // CustomVocabularyExportSpecification
|
|
73
|
+
* // botId: "STRING_VALUE", // required
|
|
74
|
+
* // botVersion: "STRING_VALUE", // required
|
|
75
|
+
* // localeId: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // fileFormat: "LexJson" || "TSV",
|
|
79
|
+
* // exportStatus: "InProgress" || "Completed" || "Failed" || "Deleting",
|
|
80
|
+
* // creationDateTime: new Date("TIMESTAMP"),
|
|
81
|
+
* // };
|
|
82
|
+
*
|
|
60
83
|
* ```
|
|
61
84
|
*
|
|
62
85
|
* @param CreateExportCommandInput - {@link CreateExportCommandInput}
|
|
@@ -89,6 +112,8 @@ export interface CreateExportCommandOutput extends CreateExportResponse, __Metad
|
|
|
89
112
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
90
113
|
* parameters and try your request again.</p>
|
|
91
114
|
*
|
|
115
|
+
* @throws {@link LexModelsV2ServiceException}
|
|
116
|
+
* <p>Base exception class for all service exceptions from LexModelsV2 service.</p>
|
|
92
117
|
*
|
|
93
118
|
*/
|
|
94
119
|
export declare class CreateExportCommand extends $Command<CreateExportCommandInput, CreateExportCommandOutput, LexModelsV2ClientResolvedConfig> {
|