@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
|
@@ -28,6 +28,11 @@ export interface DeleteBotLocaleCommandOutput extends DeleteBotLocaleResponse, _
|
|
|
28
28
|
* import { LexModelsV2Client, DeleteBotLocaleCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
29
29
|
* // const { LexModelsV2Client, DeleteBotLocaleCommand } = 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 DeleteBotLocaleCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DeleteBotVersionCommandOutput extends DeleteBotVersionResponse,
|
|
|
27
27
|
* import { LexModelsV2Client, DeleteBotVersionCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DeleteBotVersionCommand } = 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
|
+
* skipResourceInUseCheck: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DeleteBotVersionCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DeleteCustomVocabularyCommandOutput extends DeleteCustomVocabul
|
|
|
27
27
|
* import { LexModelsV2Client, DeleteCustomVocabularyCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DeleteCustomVocabularyCommand } = 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
|
+
* };
|
|
30
35
|
* const command = new DeleteCustomVocabularyCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteExportCommandOutput extends DeleteExportResponse, __Metad
|
|
|
27
27
|
* import { LexModelsV2Client, DeleteExportCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DeleteExportCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* exportId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteExportCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteImportCommandOutput extends DeleteImportResponse, __Metad
|
|
|
27
27
|
* import { LexModelsV2Client, DeleteImportCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DeleteImportCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* importId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteImportCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -28,6 +28,12 @@ export interface DeleteIntentCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { LexModelsV2Client, DeleteIntentCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
29
29
|
* // const { LexModelsV2Client, DeleteIntentCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
30
30
|
* const client = new LexModelsV2Client(config);
|
|
31
|
+
* const input = {
|
|
32
|
+
* intentId: "STRING_VALUE", // required
|
|
33
|
+
* botId: "STRING_VALUE", // required
|
|
34
|
+
* botVersion: "STRING_VALUE", // required
|
|
35
|
+
* localeId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
31
37
|
* const command = new DeleteIntentCommand(input);
|
|
32
38
|
* const response = await client.send(command);
|
|
33
39
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyR
|
|
|
27
27
|
* import { LexModelsV2Client, DeleteResourcePolicyCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DeleteResourcePolicyCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* expectedRevisionId: "STRING_VALUE",
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteResourcePolicyCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -30,6 +30,11 @@ export interface DeleteResourcePolicyStatementCommandOutput extends DeleteResour
|
|
|
30
30
|
* import { LexModelsV2Client, DeleteResourcePolicyStatementCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
31
|
* // const { LexModelsV2Client, DeleteResourcePolicyStatementCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
32
|
* const client = new LexModelsV2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* resourceArn: "STRING_VALUE", // required
|
|
35
|
+
* statementId: "STRING_VALUE", // required
|
|
36
|
+
* expectedRevisionId: "STRING_VALUE",
|
|
37
|
+
* };
|
|
33
38
|
* const command = new DeleteResourcePolicyStatementCommand(input);
|
|
34
39
|
* const response = await client.send(command);
|
|
35
40
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DeleteSlotCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { LexModelsV2Client, DeleteSlotCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DeleteSlotCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* slotId: "STRING_VALUE", // required
|
|
31
|
+
* botId: "STRING_VALUE", // required
|
|
32
|
+
* botVersion: "STRING_VALUE", // required
|
|
33
|
+
* localeId: "STRING_VALUE", // required
|
|
34
|
+
* intentId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DeleteSlotCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -30,6 +30,13 @@ export interface DeleteSlotTypeCommandOutput extends __MetadataBearer {
|
|
|
30
30
|
* import { LexModelsV2Client, DeleteSlotTypeCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
31
|
* // const { LexModelsV2Client, DeleteSlotTypeCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
32
|
* const client = new LexModelsV2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* slotTypeId: "STRING_VALUE", // required
|
|
35
|
+
* botId: "STRING_VALUE", // required
|
|
36
|
+
* botVersion: "STRING_VALUE", // required
|
|
37
|
+
* localeId: "STRING_VALUE", // required
|
|
38
|
+
* skipResourceInUseCheck: true || false,
|
|
39
|
+
* };
|
|
33
40
|
* const command = new DeleteSlotTypeCommand(input);
|
|
34
41
|
* const response = await client.send(command);
|
|
35
42
|
* ```
|
|
@@ -37,6 +37,11 @@ export interface DeleteUtterancesCommandOutput extends DeleteUtterancesResponse,
|
|
|
37
37
|
* import { LexModelsV2Client, DeleteUtterancesCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
38
38
|
* // const { LexModelsV2Client, DeleteUtterancesCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
39
39
|
* const client = new LexModelsV2Client(config);
|
|
40
|
+
* const input = {
|
|
41
|
+
* botId: "STRING_VALUE", // required
|
|
42
|
+
* localeId: "STRING_VALUE",
|
|
43
|
+
* sessionId: "STRING_VALUE",
|
|
44
|
+
* };
|
|
40
45
|
* const command = new DeleteUtterancesCommand(input);
|
|
41
46
|
* const response = await client.send(command);
|
|
42
47
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeBotAliasCommandOutput extends DescribeBotAliasResponse,
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeBotAliasCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeBotAliasCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botAliasId: "STRING_VALUE", // required
|
|
31
|
+
* botId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeBotAliasCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeBotCommandOutput extends DescribeBotResponse, __Metadat
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeBotCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeBotCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeBotCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeBotLocaleCommandOutput extends DescribeBotLocaleRespons
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeBotLocaleCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeBotLocaleCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* botVersion: "STRING_VALUE", // required
|
|
32
|
+
* localeId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeBotLocaleCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -30,6 +30,12 @@ export interface DescribeBotRecommendationCommandOutput extends DescribeBotRecom
|
|
|
30
30
|
* import { LexModelsV2Client, DescribeBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
31
|
* // const { LexModelsV2Client, DescribeBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
32
|
* const client = new LexModelsV2Client(config);
|
|
33
|
+
* const input = {
|
|
34
|
+
* botId: "STRING_VALUE", // required
|
|
35
|
+
* botVersion: "STRING_VALUE", // required
|
|
36
|
+
* localeId: "STRING_VALUE", // required
|
|
37
|
+
* botRecommendationId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
33
39
|
* const command = new DescribeBotRecommendationCommand(input);
|
|
34
40
|
* const response = await client.send(command);
|
|
35
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface DescribeBotVersionCommandOutput extends DescribeBotVersionRespo
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeBotVersionCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeBotVersionCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* botVersion: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new DescribeBotVersionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeCustomVocabularyMetadataCommandOutput extends DescribeC
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeCustomVocabularyMetadataCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeCustomVocabularyMetadataCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* botVersion: "STRING_VALUE", // required
|
|
32
|
+
* localeId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeCustomVocabularyMetadataCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeExportCommandOutput extends DescribeExportResponse, __M
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeExportCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeExportCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* exportId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeExportCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DescribeImportCommandOutput extends DescribeImportResponse, __M
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeImportCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeImportCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* importId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DescribeImportCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,12 @@ export interface DescribeIntentCommandOutput extends DescribeIntentResponse, __M
|
|
|
27
27
|
* import { LexModelsV2Client, DescribeIntentCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DescribeIntentCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* intentId: "STRING_VALUE", // required
|
|
32
|
+
* botId: "STRING_VALUE", // required
|
|
33
|
+
* botVersion: "STRING_VALUE", // required
|
|
34
|
+
* localeId: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
30
36
|
* const command = new DescribeIntentCommand(input);
|
|
31
37
|
* const response = await client.send(command);
|
|
32
38
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePol
|
|
|
27
27
|
* import { LexModelsV2Client, DescribeResourcePolicyCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DescribeResourcePolicyCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* resourceArn: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DescribeResourcePolicyCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface DescribeSlotCommandOutput extends DescribeSlotResponse, __Metad
|
|
|
27
27
|
* import { LexModelsV2Client, DescribeSlotCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, DescribeSlotCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* slotId: "STRING_VALUE", // required
|
|
32
|
+
* botId: "STRING_VALUE", // required
|
|
33
|
+
* botVersion: "STRING_VALUE", // required
|
|
34
|
+
* localeId: "STRING_VALUE", // required
|
|
35
|
+
* intentId: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
30
37
|
* const command = new DescribeSlotCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -26,6 +26,12 @@ export interface DescribeSlotTypeCommandOutput extends DescribeSlotTypeResponse,
|
|
|
26
26
|
* import { LexModelsV2Client, DescribeSlotTypeCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DescribeSlotTypeCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* slotTypeId: "STRING_VALUE", // required
|
|
31
|
+
* botId: "STRING_VALUE", // required
|
|
32
|
+
* botVersion: "STRING_VALUE", // required
|
|
33
|
+
* localeId: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
29
35
|
* const command = new DescribeSlotTypeCommand(input);
|
|
30
36
|
* const response = await client.send(command);
|
|
31
37
|
* ```
|
|
@@ -50,6 +50,33 @@ export interface ListAggregatedUtterancesCommandOutput extends ListAggregatedUtt
|
|
|
50
50
|
* import { LexModelsV2Client, ListAggregatedUtterancesCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
51
51
|
* // const { LexModelsV2Client, ListAggregatedUtterancesCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
52
52
|
* const client = new LexModelsV2Client(config);
|
|
53
|
+
* const input = {
|
|
54
|
+
* botId: "STRING_VALUE", // required
|
|
55
|
+
* botAliasId: "STRING_VALUE",
|
|
56
|
+
* botVersion: "STRING_VALUE",
|
|
57
|
+
* localeId: "STRING_VALUE", // required
|
|
58
|
+
* aggregationDuration: {
|
|
59
|
+
* relativeAggregationDuration: {
|
|
60
|
+
* timeDimension: "Hours" || "Days" || "Weeks", // required
|
|
61
|
+
* timeValue: Number("int"), // required
|
|
62
|
+
* },
|
|
63
|
+
* },
|
|
64
|
+
* sortBy: {
|
|
65
|
+
* attribute: "HitCount" || "MissedCount", // required
|
|
66
|
+
* order: "Ascending" || "Descending", // required
|
|
67
|
+
* },
|
|
68
|
+
* filters: [
|
|
69
|
+
* {
|
|
70
|
+
* name: "Utterance", // required
|
|
71
|
+
* values: [ // required
|
|
72
|
+
* "STRING_VALUE",
|
|
73
|
+
* ],
|
|
74
|
+
* operator: "CO" || "EQ", // required
|
|
75
|
+
* },
|
|
76
|
+
* ],
|
|
77
|
+
* maxResults: Number("int"),
|
|
78
|
+
* nextToken: "STRING_VALUE",
|
|
79
|
+
* };
|
|
53
80
|
* const command = new ListAggregatedUtterancesCommand(input);
|
|
54
81
|
* const response = await client.send(command);
|
|
55
82
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface ListBotAliasesCommandOutput extends ListBotAliasesResponse, __M
|
|
|
26
26
|
* import { LexModelsV2Client, ListBotAliasesCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, ListBotAliasesCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new ListBotAliasesCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,25 @@ export interface ListBotLocalesCommandOutput extends ListBotLocalesResponse, __M
|
|
|
26
26
|
* import { LexModelsV2Client, ListBotLocalesCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, ListBotLocalesCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* botVersion: "STRING_VALUE", // required
|
|
32
|
+
* sortBy: {
|
|
33
|
+
* attribute: "BotLocaleName", // required
|
|
34
|
+
* order: "Ascending" || "Descending", // required
|
|
35
|
+
* },
|
|
36
|
+
* filters: [
|
|
37
|
+
* {
|
|
38
|
+
* name: "BotLocaleName", // required
|
|
39
|
+
* values: [ // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* operator: "CO" || "EQ", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* maxResults: Number("int"),
|
|
46
|
+
* nextToken: "STRING_VALUE",
|
|
47
|
+
* };
|
|
29
48
|
* const command = new ListBotLocalesCommand(input);
|
|
30
49
|
* const response = await client.send(command);
|
|
31
50
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ListBotRecommendationsCommandOutput extends ListBotRecommendati
|
|
|
27
27
|
* import { LexModelsV2Client, ListBotRecommendationsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, ListBotRecommendationsCommand } = 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
|
+
* maxResults: Number("int"),
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ListBotRecommendationsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -33,6 +33,15 @@ export interface ListBotVersionsCommandOutput extends ListBotVersionsResponse, _
|
|
|
33
33
|
* import { LexModelsV2Client, ListBotVersionsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
34
34
|
* // const { LexModelsV2Client, ListBotVersionsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
35
35
|
* const client = new LexModelsV2Client(config);
|
|
36
|
+
* const input = {
|
|
37
|
+
* botId: "STRING_VALUE", // required
|
|
38
|
+
* sortBy: {
|
|
39
|
+
* attribute: "BotVersion", // required
|
|
40
|
+
* order: "Ascending" || "Descending", // required
|
|
41
|
+
* },
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
36
45
|
* const command = new ListBotVersionsCommand(input);
|
|
37
46
|
* const response = await client.send(command);
|
|
38
47
|
* ```
|
|
@@ -26,6 +26,23 @@ export interface ListBotsCommandOutput extends ListBotsResponse, __MetadataBeare
|
|
|
26
26
|
* import { LexModelsV2Client, ListBotsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, ListBotsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* sortBy: {
|
|
31
|
+
* attribute: "BotName", // required
|
|
32
|
+
* order: "Ascending" || "Descending", // required
|
|
33
|
+
* },
|
|
34
|
+
* filters: [
|
|
35
|
+
* {
|
|
36
|
+
* name: "BotName" || "BotType", // required
|
|
37
|
+
* values: [ // required
|
|
38
|
+
* "STRING_VALUE",
|
|
39
|
+
* ],
|
|
40
|
+
* operator: "CO" || "EQ" || "NE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* maxResults: Number("int"),
|
|
44
|
+
* nextToken: "STRING_VALUE",
|
|
45
|
+
* };
|
|
29
46
|
* const command = new ListBotsCommand(input);
|
|
30
47
|
* const response = await client.send(command);
|
|
31
48
|
* ```
|
|
@@ -31,6 +31,15 @@ export interface ListBuiltInIntentsCommandOutput extends ListBuiltInIntentsRespo
|
|
|
31
31
|
* import { LexModelsV2Client, ListBuiltInIntentsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
32
32
|
* // const { LexModelsV2Client, ListBuiltInIntentsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
33
33
|
* const client = new LexModelsV2Client(config);
|
|
34
|
+
* const input = {
|
|
35
|
+
* localeId: "STRING_VALUE", // required
|
|
36
|
+
* sortBy: {
|
|
37
|
+
* attribute: "IntentSignature", // required
|
|
38
|
+
* order: "Ascending" || "Descending", // required
|
|
39
|
+
* },
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* };
|
|
34
43
|
* const command = new ListBuiltInIntentsCommand(input);
|
|
35
44
|
* const response = await client.send(command);
|
|
36
45
|
* ```
|
|
@@ -27,6 +27,15 @@ export interface ListBuiltInSlotTypesCommandOutput extends ListBuiltInSlotTypesR
|
|
|
27
27
|
* import { LexModelsV2Client, ListBuiltInSlotTypesCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, ListBuiltInSlotTypesCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* localeId: "STRING_VALUE", // required
|
|
32
|
+
* sortBy: {
|
|
33
|
+
* attribute: "SlotTypeSignature", // required
|
|
34
|
+
* order: "Ascending" || "Descending", // required
|
|
35
|
+
* },
|
|
36
|
+
* maxResults: Number("int"),
|
|
37
|
+
* nextToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
30
39
|
* const command = new ListBuiltInSlotTypesCommand(input);
|
|
31
40
|
* const response = await client.send(command);
|
|
32
41
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface ListCustomVocabularyItemsCommandOutput extends ListCustomVocabu
|
|
|
27
27
|
* import { LexModelsV2Client, ListCustomVocabularyItemsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, ListCustomVocabularyItemsCommand } = 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
|
+
* maxResults: Number("int"),
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
30
37
|
* const command = new ListCustomVocabularyItemsCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -27,6 +27,26 @@ export interface ListExportsCommandOutput extends ListExportsResponse, __Metadat
|
|
|
27
27
|
* import { LexModelsV2Client, ListExportsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, ListExportsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* botId: "STRING_VALUE",
|
|
32
|
+
* botVersion: "STRING_VALUE",
|
|
33
|
+
* sortBy: {
|
|
34
|
+
* attribute: "LastUpdatedDateTime", // required
|
|
35
|
+
* order: "Ascending" || "Descending", // required
|
|
36
|
+
* },
|
|
37
|
+
* filters: [
|
|
38
|
+
* {
|
|
39
|
+
* name: "ExportResourceType", // required
|
|
40
|
+
* values: [ // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* operator: "CO" || "EQ", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* localeId: "STRING_VALUE",
|
|
49
|
+
* };
|
|
30
50
|
* const command = new ListExportsCommand(input);
|
|
31
51
|
* const response = await client.send(command);
|
|
32
52
|
* ```
|
|
@@ -27,6 +27,26 @@ export interface ListImportsCommandOutput extends ListImportsResponse, __Metadat
|
|
|
27
27
|
* import { LexModelsV2Client, ListImportsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, ListImportsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
+
* const input = {
|
|
31
|
+
* botId: "STRING_VALUE",
|
|
32
|
+
* botVersion: "STRING_VALUE",
|
|
33
|
+
* sortBy: {
|
|
34
|
+
* attribute: "LastUpdatedDateTime", // required
|
|
35
|
+
* order: "Ascending" || "Descending", // required
|
|
36
|
+
* },
|
|
37
|
+
* filters: [
|
|
38
|
+
* {
|
|
39
|
+
* name: "ImportResourceType", // required
|
|
40
|
+
* values: [ // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* operator: "CO" || "EQ", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* localeId: "STRING_VALUE",
|
|
49
|
+
* };
|
|
30
50
|
* const command = new ListImportsCommand(input);
|
|
31
51
|
* const response = await client.send(command);
|
|
32
52
|
* ```
|
|
@@ -26,6 +26,26 @@ export interface ListIntentsCommandOutput extends ListIntentsResponse, __Metadat
|
|
|
26
26
|
* import { LexModelsV2Client, ListIntentsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, ListIntentsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* botVersion: "STRING_VALUE", // required
|
|
32
|
+
* localeId: "STRING_VALUE", // required
|
|
33
|
+
* sortBy: {
|
|
34
|
+
* attribute: "IntentName" || "LastUpdatedDateTime", // required
|
|
35
|
+
* order: "Ascending" || "Descending", // required
|
|
36
|
+
* },
|
|
37
|
+
* filters: [
|
|
38
|
+
* {
|
|
39
|
+
* name: "IntentName", // required
|
|
40
|
+
* values: [ // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* operator: "CO" || "EQ", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
29
49
|
* const command = new ListIntentsCommand(input);
|
|
30
50
|
* const response = await client.send(command);
|
|
31
51
|
* ```
|
|
@@ -28,6 +28,14 @@ export interface ListRecommendedIntentsCommandOutput extends ListRecommendedInte
|
|
|
28
28
|
* import { LexModelsV2Client, ListRecommendedIntentsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
29
29
|
* // const { LexModelsV2Client, ListRecommendedIntentsCommand } = 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
|
+
* botRecommendationId: "STRING_VALUE", // required
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* };
|
|
31
39
|
* const command = new ListRecommendedIntentsCommand(input);
|
|
32
40
|
* const response = await client.send(command);
|
|
33
41
|
* ```
|
|
@@ -26,6 +26,26 @@ export interface ListSlotTypesCommandOutput extends ListSlotTypesResponse, __Met
|
|
|
26
26
|
* import { LexModelsV2Client, ListSlotTypesCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, ListSlotTypesCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* botVersion: "STRING_VALUE", // required
|
|
32
|
+
* localeId: "STRING_VALUE", // required
|
|
33
|
+
* sortBy: {
|
|
34
|
+
* attribute: "SlotTypeName" || "LastUpdatedDateTime", // required
|
|
35
|
+
* order: "Ascending" || "Descending", // required
|
|
36
|
+
* },
|
|
37
|
+
* filters: [
|
|
38
|
+
* {
|
|
39
|
+
* name: "SlotTypeName" || "ExternalSourceType", // required
|
|
40
|
+
* values: [ // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* operator: "CO" || "EQ", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* maxResults: Number("int"),
|
|
47
|
+
* nextToken: "STRING_VALUE",
|
|
48
|
+
* };
|
|
29
49
|
* const command = new ListSlotTypesCommand(input);
|
|
30
50
|
* const response = await client.send(command);
|
|
31
51
|
* ```
|
|
@@ -26,6 +26,27 @@ export interface ListSlotsCommandOutput extends ListSlotsResponse, __MetadataBea
|
|
|
26
26
|
* import { LexModelsV2Client, ListSlotsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, ListSlotsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* botId: "STRING_VALUE", // required
|
|
31
|
+
* botVersion: "STRING_VALUE", // required
|
|
32
|
+
* localeId: "STRING_VALUE", // required
|
|
33
|
+
* intentId: "STRING_VALUE", // required
|
|
34
|
+
* sortBy: {
|
|
35
|
+
* attribute: "SlotName" || "LastUpdatedDateTime", // required
|
|
36
|
+
* order: "Ascending" || "Descending", // required
|
|
37
|
+
* },
|
|
38
|
+
* filters: [
|
|
39
|
+
* {
|
|
40
|
+
* name: "SlotName", // required
|
|
41
|
+
* values: [ // required
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* operator: "CO" || "EQ", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* maxResults: Number("int"),
|
|
48
|
+
* nextToken: "STRING_VALUE",
|
|
49
|
+
* };
|
|
29
50
|
* const command = new ListSlotsCommand(input);
|
|
30
51
|
* const response = await client.send(command);
|
|
31
52
|
* ```
|