@aws-sdk/client-lex-models-v2 3.299.0 → 3.300.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 +12 -0
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +10 -0
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +13 -0
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +5 -0
- package/dist-types/commands/CreateBotAliasCommand.d.ts +48 -0
- package/dist-types/commands/CreateBotCommand.d.ts +25 -0
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +11 -0
- package/dist-types/commands/CreateBotVersionCommand.d.ts +9 -0
- package/dist-types/commands/CreateExportCommand.d.ts +20 -0
- package/dist-types/commands/CreateIntentCommand.d.ts +708 -0
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +20 -0
- package/dist-types/commands/CreateSlotCommand.d.ts +546 -0
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +46 -0
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +1 -0
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +5 -0
- package/dist-types/commands/DeleteBotCommand.d.ts +4 -0
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +5 -0
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +5 -0
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +5 -0
- package/dist-types/commands/DeleteExportCommand.d.ts +3 -0
- package/dist-types/commands/DeleteImportCommand.d.ts +3 -0
- package/dist-types/commands/DeleteIntentCommand.d.ts +6 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +5 -0
- package/dist-types/commands/DeleteSlotCommand.d.ts +7 -0
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +7 -0
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +4 -0
- package/dist-types/commands/DescribeBotCommand.d.ts +3 -0
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +5 -0
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +6 -0
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +4 -0
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +5 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +3 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +3 -0
- package/dist-types/commands/DescribeIntentCommand.d.ts +6 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -0
- package/dist-types/commands/DescribeSlotCommand.d.ts +7 -0
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +6 -0
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +27 -0
- package/dist-types/commands/ListBotAliasesCommand.d.ts +5 -0
- package/dist-types/commands/ListBotLocalesCommand.d.ts +19 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +7 -0
- package/dist-types/commands/ListBotVersionsCommand.d.ts +9 -0
- package/dist-types/commands/ListBotsCommand.d.ts +17 -0
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +9 -0
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +9 -0
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +7 -0
- package/dist-types/commands/ListExportsCommand.d.ts +20 -0
- package/dist-types/commands/ListImportsCommand.d.ts +20 -0
- package/dist-types/commands/ListIntentsCommand.d.ts +20 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +8 -0
- package/dist-types/commands/ListSlotTypesCommand.d.ts +20 -0
- package/dist-types/commands/ListSlotsCommand.d.ts +21 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +30 -0
- package/dist-types/commands/StartImportCommand.d.ts +36 -0
- package/dist-types/commands/StopBotRecommendationCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +46 -0
- package/dist-types/commands/UpdateBotCommand.d.ts +20 -0
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +11 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +11 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +4 -0
- package/dist-types/commands/UpdateIntentCommand.d.ts +715 -0
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +5 -0
- package/dist-types/commands/UpdateSlotCommand.d.ts +547 -0
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +47 -0
- package/package.json +8 -8
|
@@ -27,6 +27,18 @@ export interface BatchCreateCustomVocabularyItemCommandOutput extends BatchCreat
|
|
|
27
27
|
* import { LexModelsV2Client, BatchCreateCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, BatchCreateCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* botId: "STRING_VALUE", // required
|
|
32
|
+
* botVersion: "STRING_VALUE", // required
|
|
33
|
+
* localeId: "STRING_VALUE", // required
|
|
34
|
+
* customVocabularyItemList: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* phrase: "STRING_VALUE", // required
|
|
37
|
+
* weight: Number("int"),
|
|
38
|
+
* displayAs: "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
30
42
|
* const command = new BatchCreateCustomVocabularyItemCommand(input);
|
|
31
43
|
* const response = await client.send(command);
|
|
32
44
|
* ```
|
|
@@ -27,6 +27,16 @@ export interface BatchDeleteCustomVocabularyItemCommandOutput extends BatchDelet
|
|
|
27
27
|
* import { LexModelsV2Client, BatchDeleteCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, BatchDeleteCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* botId: "STRING_VALUE", // required
|
|
32
|
+
* botVersion: "STRING_VALUE", // required
|
|
33
|
+
* localeId: "STRING_VALUE", // required
|
|
34
|
+
* customVocabularyItemList: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* itemId: "STRING_VALUE", // required
|
|
37
|
+
* },
|
|
38
|
+
* ],
|
|
39
|
+
* };
|
|
30
40
|
* const command = new BatchDeleteCustomVocabularyItemCommand(input);
|
|
31
41
|
* const response = await client.send(command);
|
|
32
42
|
* ```
|
|
@@ -27,6 +27,19 @@ export interface BatchUpdateCustomVocabularyItemCommandOutput extends BatchUpdat
|
|
|
27
27
|
* import { LexModelsV2Client, BatchUpdateCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, BatchUpdateCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* botId: "STRING_VALUE", // required
|
|
32
|
+
* botVersion: "STRING_VALUE", // required
|
|
33
|
+
* localeId: "STRING_VALUE", // required
|
|
34
|
+
* customVocabularyItemList: [ // required
|
|
35
|
+
* {
|
|
36
|
+
* itemId: "STRING_VALUE", // required
|
|
37
|
+
* phrase: "STRING_VALUE", // required
|
|
38
|
+
* weight: Number("int"),
|
|
39
|
+
* displayAs: "STRING_VALUE",
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
30
43
|
* const command = new BatchUpdateCustomVocabularyItemCommand(input);
|
|
31
44
|
* const response = await client.send(command);
|
|
32
45
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface BuildBotLocaleCommandOutput extends BuildBotLocaleResponse, __M
|
|
|
28
28
|
* import { LexModelsV2Client, BuildBotLocaleCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
29
29
|
* // const { LexModelsV2Client, BuildBotLocaleCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
30
30
|
* const client = new LexModelsV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* botId: "STRING_VALUE", // required
|
|
33
|
+
* botVersion: "STRING_VALUE", // required
|
|
34
|
+
* localeId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new BuildBotLocaleCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -30,6 +30,54 @@ export interface CreateBotAliasCommandOutput extends CreateBotAliasResponse, __M
|
|
|
30
30
|
* import { LexModelsV2Client, CreateBotAliasCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
31
|
* // const { LexModelsV2Client, CreateBotAliasCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
32
|
* const client = new LexModelsV2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* botAliasName: "STRING_VALUE", // required
|
|
35
|
+
* description: "STRING_VALUE",
|
|
36
|
+
* botVersion: "STRING_VALUE",
|
|
37
|
+
* botAliasLocaleSettings: {
|
|
38
|
+
* "<keys>": {
|
|
39
|
+
* enabled: true || false, // required
|
|
40
|
+
* codeHookSpecification: {
|
|
41
|
+
* lambdaCodeHook: {
|
|
42
|
+
* lambdaARN: "STRING_VALUE", // required
|
|
43
|
+
* codeHookInterfaceVersion: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* },
|
|
48
|
+
* conversationLogSettings: {
|
|
49
|
+
* textLogSettings: [
|
|
50
|
+
* {
|
|
51
|
+
* enabled: true || false, // required
|
|
52
|
+
* destination: {
|
|
53
|
+
* cloudWatch: {
|
|
54
|
+
* cloudWatchLogGroupArn: "STRING_VALUE", // required
|
|
55
|
+
* logPrefix: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* audioLogSettings: [
|
|
61
|
+
* {
|
|
62
|
+
* enabled: true || false, // required
|
|
63
|
+
* destination: {
|
|
64
|
+
* s3Bucket: {
|
|
65
|
+
* kmsKeyArn: "STRING_VALUE",
|
|
66
|
+
* s3BucketArn: "STRING_VALUE", // required
|
|
67
|
+
* logPrefix: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* },
|
|
71
|
+
* ],
|
|
72
|
+
* },
|
|
73
|
+
* sentimentAnalysisSettings: {
|
|
74
|
+
* detectSentiment: true || false, // required
|
|
75
|
+
* },
|
|
76
|
+
* botId: "STRING_VALUE", // required
|
|
77
|
+
* tags: {
|
|
78
|
+
* "<keys>": "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* };
|
|
33
81
|
* const command = new CreateBotAliasCommand(input);
|
|
34
82
|
* const response = await client.send(command);
|
|
35
83
|
* ```
|
|
@@ -26,6 +26,31 @@ export interface CreateBotCommandOutput extends CreateBotResponse, __MetadataBea
|
|
|
26
26
|
* import { LexModelsV2Client, CreateBotCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, CreateBotCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botName: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* roleArn: "STRING_VALUE", // required
|
|
33
|
+
* dataPrivacy: {
|
|
34
|
+
* childDirected: true || false, // required
|
|
35
|
+
* },
|
|
36
|
+
* idleSessionTTLInSeconds: Number("int"), // required
|
|
37
|
+
* botTags: {
|
|
38
|
+
* "<keys>": "STRING_VALUE",
|
|
39
|
+
* },
|
|
40
|
+
* testBotAliasTags: {
|
|
41
|
+
* "<keys>": "STRING_VALUE",
|
|
42
|
+
* },
|
|
43
|
+
* botType: "Bot" || "BotNetwork",
|
|
44
|
+
* botMembers: [
|
|
45
|
+
* {
|
|
46
|
+
* botMemberId: "STRING_VALUE", // required
|
|
47
|
+
* botMemberName: "STRING_VALUE", // required
|
|
48
|
+
* botMemberAliasId: "STRING_VALUE", // required
|
|
49
|
+
* botMemberAliasName: "STRING_VALUE", // required
|
|
50
|
+
* botMemberVersion: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
29
54
|
* const command = new CreateBotCommand(input);
|
|
30
55
|
* const response = await client.send(command);
|
|
31
56
|
* ```
|
|
@@ -29,6 +29,17 @@ export interface CreateBotLocaleCommandOutput extends CreateBotLocaleResponse, _
|
|
|
29
29
|
* import { LexModelsV2Client, CreateBotLocaleCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
30
30
|
* // const { LexModelsV2Client, CreateBotLocaleCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
31
31
|
* const client = new LexModelsV2Client(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* botId: "STRING_VALUE", // required
|
|
34
|
+
* botVersion: "STRING_VALUE", // required
|
|
35
|
+
* localeId: "STRING_VALUE", // required
|
|
36
|
+
* description: "STRING_VALUE",
|
|
37
|
+
* nluIntentConfidenceThreshold: Number("double"), // required
|
|
38
|
+
* voiceSettings: {
|
|
39
|
+
* voiceId: "STRING_VALUE", // required
|
|
40
|
+
* engine: "standard" || "neural",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
32
43
|
* const command = new CreateBotLocaleCommand(input);
|
|
33
44
|
* const response = await client.send(command);
|
|
34
45
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
|
|
|
31
31
|
* import { LexModelsV2Client, CreateBotVersionCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
32
32
|
* // const { LexModelsV2Client, CreateBotVersionCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
33
33
|
* const client = new LexModelsV2Client(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* botId: "STRING_VALUE", // required
|
|
36
|
+
* description: "STRING_VALUE",
|
|
37
|
+
* botVersionLocaleSpecification: { // required
|
|
38
|
+
* "<keys>": {
|
|
39
|
+
* sourceBotVersion: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
34
43
|
* const command = new CreateBotVersionCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -35,6 +35,26 @@ export interface CreateExportCommandOutput extends CreateExportResponse, __Metad
|
|
|
35
35
|
* import { LexModelsV2Client, CreateExportCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
36
36
|
* // const { LexModelsV2Client, CreateExportCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
37
37
|
* const client = new LexModelsV2Client(config);
|
|
38
|
+
* const input = {
|
|
39
|
+
* resourceSpecification: {
|
|
40
|
+
* botExportSpecification: {
|
|
41
|
+
* botId: "STRING_VALUE", // required
|
|
42
|
+
* botVersion: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* botLocaleExportSpecification: {
|
|
45
|
+
* botId: "STRING_VALUE", // required
|
|
46
|
+
* botVersion: "STRING_VALUE", // required
|
|
47
|
+
* localeId: "STRING_VALUE", // required
|
|
48
|
+
* },
|
|
49
|
+
* customVocabularyExportSpecification: {
|
|
50
|
+
* botId: "STRING_VALUE", // required
|
|
51
|
+
* botVersion: "STRING_VALUE", // required
|
|
52
|
+
* localeId: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* fileFormat: "LexJson" || "TSV", // required
|
|
56
|
+
* filePassword: "STRING_VALUE",
|
|
57
|
+
* };
|
|
38
58
|
* const command = new CreateExportCommand(input);
|
|
39
59
|
* const response = await client.send(command);
|
|
40
60
|
* ```
|