@aws-sdk/client-lex-models-v2 3.202.0 → 3.205.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/CHANGELOG.md +22 -0
- package/README.md +7 -7
- package/dist-cjs/LexModelsV2.js +60 -0
- package/dist-cjs/commands/BatchCreateCustomVocabularyItemCommand.js +46 -0
- package/dist-cjs/commands/BatchDeleteCustomVocabularyItemCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateCustomVocabularyItemCommand.js +46 -0
- package/dist-cjs/commands/ListCustomVocabularyItemsCommand.js +46 -0
- package/dist-cjs/commands/UpdateBotAliasCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotLocaleCommand.js +3 -3
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +3 -3
- package/dist-cjs/commands/UpdateExportCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourcePolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateSlotTypeCommand.js +1 -2
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +127 -127
- package/dist-cjs/models/models_1.js +58 -1
- package/dist-cjs/pagination/ListCustomVocabularyItemsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +420 -3
- package/dist-cjs/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/LexModelsV2.js +60 -0
- package/dist-es/commands/BatchCreateCustomVocabularyItemCommand.js +42 -0
- package/dist-es/commands/BatchDeleteCustomVocabularyItemCommand.js +42 -0
- package/dist-es/commands/BatchUpdateCustomVocabularyItemCommand.js +42 -0
- package/dist-es/commands/ListCustomVocabularyItemsCommand.js +42 -0
- package/dist-es/commands/UpdateBotAliasCommand.js +1 -1
- package/dist-es/commands/UpdateBotCommand.js +1 -1
- package/dist-es/commands/UpdateBotLocaleCommand.js +1 -1
- package/dist-es/commands/UpdateBotRecommendationCommand.js +1 -1
- package/dist-es/commands/UpdateExportCommand.js +1 -1
- package/dist-es/commands/UpdateResourcePolicyCommand.js +1 -1
- package/dist-es/commands/UpdateSlotTypeCommand.js +1 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +104 -103
- package/dist-es/models/models_1.js +44 -0
- package/dist-es/pagination/ListCustomVocabularyItemsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +409 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/LexModelsV2.d.ts +34 -1
- package/dist-types/LexModelsV2Client.d.ts +6 -2
- package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +38 -0
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +38 -0
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +38 -0
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +38 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +409 -599
- package/dist-types/models/models_1.d.ts +525 -1
- package/dist-types/pagination/ListCustomVocabularyItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +68 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/BatchCreateCustomVocabularyItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListCustomVocabularyItemsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateBotAliasCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBotLocaleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSlotTypeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +150 -191
- package/dist-types/ts3.4/models/models_1.d.ts +169 -0
- package/dist-types/ts3.4/pagination/ListCustomVocabularyItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +5 -4
|
@@ -7,6 +7,9 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { BatchCreateCustomVocabularyItemCommandInput, BatchCreateCustomVocabularyItemCommandOutput } from "./commands/BatchCreateCustomVocabularyItemCommand";
|
|
11
|
+
import { BatchDeleteCustomVocabularyItemCommandInput, BatchDeleteCustomVocabularyItemCommandOutput } from "./commands/BatchDeleteCustomVocabularyItemCommand";
|
|
12
|
+
import { BatchUpdateCustomVocabularyItemCommandInput, BatchUpdateCustomVocabularyItemCommandOutput } from "./commands/BatchUpdateCustomVocabularyItemCommand";
|
|
10
13
|
import { BuildBotLocaleCommandInput, BuildBotLocaleCommandOutput } from "./commands/BuildBotLocaleCommand";
|
|
11
14
|
import { CreateBotAliasCommandInput, CreateBotAliasCommandOutput } from "./commands/CreateBotAliasCommand";
|
|
12
15
|
import { CreateBotCommandInput, CreateBotCommandOutput } from "./commands/CreateBotCommand";
|
|
@@ -52,6 +55,7 @@ import { ListBotsCommandInput, ListBotsCommandOutput } from "./commands/ListBots
|
|
|
52
55
|
import { ListBotVersionsCommandInput, ListBotVersionsCommandOutput } from "./commands/ListBotVersionsCommand";
|
|
53
56
|
import { ListBuiltInIntentsCommandInput, ListBuiltInIntentsCommandOutput } from "./commands/ListBuiltInIntentsCommand";
|
|
54
57
|
import { ListBuiltInSlotTypesCommandInput, ListBuiltInSlotTypesCommandOutput } from "./commands/ListBuiltInSlotTypesCommand";
|
|
58
|
+
import { ListCustomVocabularyItemsCommandInput, ListCustomVocabularyItemsCommandOutput } from "./commands/ListCustomVocabularyItemsCommand";
|
|
55
59
|
import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
|
|
56
60
|
import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
|
|
57
61
|
import { ListIntentsCommandInput, ListIntentsCommandOutput } from "./commands/ListIntentsCommand";
|
|
@@ -75,8 +79,8 @@ import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } f
|
|
|
75
79
|
import { UpdateSlotCommandInput, UpdateSlotCommandOutput } from "./commands/UpdateSlotCommand";
|
|
76
80
|
import { UpdateSlotTypeCommandInput, UpdateSlotTypeCommandOutput } from "./commands/UpdateSlotTypeCommand";
|
|
77
81
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
78
|
-
export declare type ServiceInputTypes = BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | StopBotRecommendationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
|
|
79
|
-
export declare type ServiceOutputTypes = BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | StopBotRecommendationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
|
|
82
|
+
export declare type ServiceInputTypes = BatchCreateCustomVocabularyItemCommandInput | BatchDeleteCustomVocabularyItemCommandInput | BatchUpdateCustomVocabularyItemCommandInput | BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListCustomVocabularyItemsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | StopBotRecommendationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
|
|
83
|
+
export declare type ServiceOutputTypes = BatchCreateCustomVocabularyItemCommandOutput | BatchDeleteCustomVocabularyItemCommandOutput | BatchUpdateCustomVocabularyItemCommandOutput | BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListCustomVocabularyItemsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | StopBotRecommendationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
|
|
80
84
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
81
85
|
/**
|
|
82
86
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
+
import { BatchCreateCustomVocabularyItemRequest, BatchCreateCustomVocabularyItemResponse } from "../models/models_0";
|
|
6
|
+
export interface BatchCreateCustomVocabularyItemCommandInput extends BatchCreateCustomVocabularyItemRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchCreateCustomVocabularyItemCommandOutput extends BatchCreateCustomVocabularyItemResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Batch create custom vocabulary item for the specified locale in the
|
|
12
|
+
* specified bot.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { LexModelsV2Client, BatchCreateCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
17
|
+
* // const { LexModelsV2Client, BatchCreateCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
18
|
+
* const client = new LexModelsV2Client(config);
|
|
19
|
+
* const command = new BatchCreateCustomVocabularyItemCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link BatchCreateCustomVocabularyItemCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link BatchCreateCustomVocabularyItemCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class BatchCreateCustomVocabularyItemCommand extends $Command<BatchCreateCustomVocabularyItemCommandInput, BatchCreateCustomVocabularyItemCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: BatchCreateCustomVocabularyItemCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: BatchCreateCustomVocabularyItemCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchCreateCustomVocabularyItemCommandInput, BatchCreateCustomVocabularyItemCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
+
import { BatchDeleteCustomVocabularyItemRequest, BatchDeleteCustomVocabularyItemResponse } from "../models/models_0";
|
|
6
|
+
export interface BatchDeleteCustomVocabularyItemCommandInput extends BatchDeleteCustomVocabularyItemRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchDeleteCustomVocabularyItemCommandOutput extends BatchDeleteCustomVocabularyItemResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Batch delete custom vocabulary item for the specified locale in the
|
|
12
|
+
* specified bot.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { LexModelsV2Client, BatchDeleteCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
17
|
+
* // const { LexModelsV2Client, BatchDeleteCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
18
|
+
* const client = new LexModelsV2Client(config);
|
|
19
|
+
* const command = new BatchDeleteCustomVocabularyItemCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link BatchDeleteCustomVocabularyItemCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link BatchDeleteCustomVocabularyItemCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class BatchDeleteCustomVocabularyItemCommand extends $Command<BatchDeleteCustomVocabularyItemCommandInput, BatchDeleteCustomVocabularyItemCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: BatchDeleteCustomVocabularyItemCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: BatchDeleteCustomVocabularyItemCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchDeleteCustomVocabularyItemCommandInput, BatchDeleteCustomVocabularyItemCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
+
import { BatchUpdateCustomVocabularyItemRequest, BatchUpdateCustomVocabularyItemResponse } from "../models/models_0";
|
|
6
|
+
export interface BatchUpdateCustomVocabularyItemCommandInput extends BatchUpdateCustomVocabularyItemRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchUpdateCustomVocabularyItemCommandOutput extends BatchUpdateCustomVocabularyItemResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Batch update custom vocabulary item for the specified locale in the
|
|
12
|
+
* specified bot.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { LexModelsV2Client, BatchUpdateCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
17
|
+
* // const { LexModelsV2Client, BatchUpdateCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
18
|
+
* const client = new LexModelsV2Client(config);
|
|
19
|
+
* const command = new BatchUpdateCustomVocabularyItemCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link BatchUpdateCustomVocabularyItemCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link BatchUpdateCustomVocabularyItemCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class BatchUpdateCustomVocabularyItemCommand extends $Command<BatchUpdateCustomVocabularyItemCommandInput, BatchUpdateCustomVocabularyItemCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: BatchUpdateCustomVocabularyItemCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: BatchUpdateCustomVocabularyItemCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchUpdateCustomVocabularyItemCommandInput, BatchUpdateCustomVocabularyItemCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
+
import { ListCustomVocabularyItemsRequest, ListCustomVocabularyItemsResponse } from "../models/models_0";
|
|
6
|
+
export interface ListCustomVocabularyItemsCommandInput extends ListCustomVocabularyItemsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListCustomVocabularyItemsCommandOutput extends ListCustomVocabularyItemsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>List custom vocabulary items for the specified locale in the
|
|
12
|
+
* specified bot.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { LexModelsV2Client, ListCustomVocabularyItemsCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
17
|
+
* // const { LexModelsV2Client, ListCustomVocabularyItemsCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
18
|
+
* const client = new LexModelsV2Client(config);
|
|
19
|
+
* const command = new ListCustomVocabularyItemsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListCustomVocabularyItemsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListCustomVocabularyItemsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link LexModelsV2ClientResolvedConfig | config} for LexModelsV2Client's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListCustomVocabularyItemsCommand extends $Command<ListCustomVocabularyItemsCommandInput, ListCustomVocabularyItemsCommandOutput, LexModelsV2ClientResolvedConfig> {
|
|
29
|
+
readonly input: ListCustomVocabularyItemsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ListCustomVocabularyItemsCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LexModelsV2ClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCustomVocabularyItemsCommandInput, ListCustomVocabularyItemsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -9,7 +9,8 @@ export interface ListRecommendedIntentsCommandOutput extends ListRecommendedInte
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets a list of recommended intents provided by the bot
|
|
12
|
-
* recommendation that you can use in your bot
|
|
12
|
+
* recommendation that you can use in your bot. Intents in the
|
|
13
|
+
* response are ordered by relevance.</p>
|
|
13
14
|
* @example
|
|
14
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
16
|
* ```javascript
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { UpdateBotAliasRequest, UpdateBotAliasResponse } from "../models/
|
|
5
|
+
import { UpdateBotAliasRequest, UpdateBotAliasResponse } from "../models/models_1";
|
|
6
6
|
export interface UpdateBotAliasCommandInput extends UpdateBotAliasRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface UpdateBotAliasCommandOutput extends UpdateBotAliasResponse, __MetadataBearer {
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { UpdateBotRequest, UpdateBotResponse } from "../models/
|
|
5
|
+
import { UpdateBotRequest, UpdateBotResponse } from "../models/models_1";
|
|
6
6
|
export interface UpdateBotCommandInput extends UpdateBotRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface UpdateBotCommandOutput extends UpdateBotResponse, __MetadataBearer {
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { UpdateBotLocaleRequest, UpdateBotLocaleResponse } from "../models/
|
|
5
|
+
import { UpdateBotLocaleRequest, UpdateBotLocaleResponse } from "../models/models_1";
|
|
6
6
|
export interface UpdateBotLocaleCommandInput extends UpdateBotLocaleRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface UpdateBotLocaleCommandOutput extends UpdateBotLocaleResponse, __MetadataBearer {
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { UpdateBotRecommendationRequest, UpdateBotRecommendationResponse } from "../models/
|
|
5
|
+
import { UpdateBotRecommendationRequest, UpdateBotRecommendationResponse } from "../models/models_1";
|
|
6
6
|
export interface UpdateBotRecommendationCommandInput extends UpdateBotRecommendationRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface UpdateBotRecommendationCommandOutput extends UpdateBotRecommendationResponse, __MetadataBearer {
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { UpdateExportRequest, UpdateExportResponse } from "../models/
|
|
5
|
+
import { UpdateExportRequest, UpdateExportResponse } from "../models/models_1";
|
|
6
6
|
export interface UpdateExportCommandInput extends UpdateExportRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface UpdateExportCommandOutput extends UpdateExportResponse, __MetadataBearer {
|
|
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { UpdateResourcePolicyRequest, UpdateResourcePolicyResponse } from "../models/
|
|
5
|
+
import { UpdateResourcePolicyRequest, UpdateResourcePolicyResponse } from "../models/models_1";
|
|
6
6
|
export interface UpdateResourcePolicyCommandInput extends UpdateResourcePolicyRequest {
|
|
7
7
|
}
|
|
8
8
|
export interface UpdateResourcePolicyCommandOutput extends UpdateResourcePolicyResponse, __MetadataBearer {
|
|
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { LexModelsV2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LexModelsV2Client";
|
|
5
|
-
import { UpdateSlotTypeRequest } from "../models/
|
|
6
|
-
import { UpdateSlotTypeResponse } from "../models/models_1";
|
|
5
|
+
import { UpdateSlotTypeRequest, UpdateSlotTypeResponse } from "../models/models_1";
|
|
7
6
|
export interface UpdateSlotTypeCommandInput extends UpdateSlotTypeRequest {
|
|
8
7
|
}
|
|
9
8
|
export interface UpdateSlotTypeCommandOutput extends UpdateSlotTypeResponse, __MetadataBearer {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./BatchCreateCustomVocabularyItemCommand";
|
|
2
|
+
export * from "./BatchDeleteCustomVocabularyItemCommand";
|
|
3
|
+
export * from "./BatchUpdateCustomVocabularyItemCommand";
|
|
1
4
|
export * from "./BuildBotLocaleCommand";
|
|
2
5
|
export * from "./CreateBotAliasCommand";
|
|
3
6
|
export * from "./CreateBotCommand";
|
|
@@ -43,6 +46,7 @@ export * from "./ListBotVersionsCommand";
|
|
|
43
46
|
export * from "./ListBotsCommand";
|
|
44
47
|
export * from "./ListBuiltInIntentsCommand";
|
|
45
48
|
export * from "./ListBuiltInSlotTypesCommand";
|
|
49
|
+
export * from "./ListCustomVocabularyItemsCommand";
|
|
46
50
|
export * from "./ListExportsCommand";
|
|
47
51
|
export * from "./ListImportsCommand";
|
|
48
52
|
export * from "./ListIntentsCommand";
|