@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.
Files changed (90) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +7 -7
  3. package/dist-cjs/LexModelsV2.js +60 -0
  4. package/dist-cjs/commands/BatchCreateCustomVocabularyItemCommand.js +46 -0
  5. package/dist-cjs/commands/BatchDeleteCustomVocabularyItemCommand.js +46 -0
  6. package/dist-cjs/commands/BatchUpdateCustomVocabularyItemCommand.js +46 -0
  7. package/dist-cjs/commands/ListCustomVocabularyItemsCommand.js +46 -0
  8. package/dist-cjs/commands/UpdateBotAliasCommand.js +3 -3
  9. package/dist-cjs/commands/UpdateBotCommand.js +3 -3
  10. package/dist-cjs/commands/UpdateBotLocaleCommand.js +3 -3
  11. package/dist-cjs/commands/UpdateBotRecommendationCommand.js +3 -3
  12. package/dist-cjs/commands/UpdateExportCommand.js +3 -3
  13. package/dist-cjs/commands/UpdateResourcePolicyCommand.js +3 -3
  14. package/dist-cjs/commands/UpdateSlotTypeCommand.js +1 -2
  15. package/dist-cjs/commands/index.js +4 -0
  16. package/dist-cjs/models/models_0.js +127 -127
  17. package/dist-cjs/models/models_1.js +58 -1
  18. package/dist-cjs/pagination/ListCustomVocabularyItemsPaginator.js +36 -0
  19. package/dist-cjs/pagination/index.js +1 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +420 -3
  21. package/dist-cjs/runtimeConfig.browser.js +0 -3
  22. package/dist-cjs/runtimeConfig.js +0 -3
  23. package/dist-cjs/runtimeConfig.shared.js +3 -0
  24. package/dist-es/LexModelsV2.js +60 -0
  25. package/dist-es/commands/BatchCreateCustomVocabularyItemCommand.js +42 -0
  26. package/dist-es/commands/BatchDeleteCustomVocabularyItemCommand.js +42 -0
  27. package/dist-es/commands/BatchUpdateCustomVocabularyItemCommand.js +42 -0
  28. package/dist-es/commands/ListCustomVocabularyItemsCommand.js +42 -0
  29. package/dist-es/commands/UpdateBotAliasCommand.js +1 -1
  30. package/dist-es/commands/UpdateBotCommand.js +1 -1
  31. package/dist-es/commands/UpdateBotLocaleCommand.js +1 -1
  32. package/dist-es/commands/UpdateBotRecommendationCommand.js +1 -1
  33. package/dist-es/commands/UpdateExportCommand.js +1 -1
  34. package/dist-es/commands/UpdateResourcePolicyCommand.js +1 -1
  35. package/dist-es/commands/UpdateSlotTypeCommand.js +1 -2
  36. package/dist-es/commands/index.js +4 -0
  37. package/dist-es/models/models_0.js +104 -103
  38. package/dist-es/models/models_1.js +44 -0
  39. package/dist-es/pagination/ListCustomVocabularyItemsPaginator.js +32 -0
  40. package/dist-es/pagination/index.js +1 -0
  41. package/dist-es/protocols/Aws_restJson1.js +409 -0
  42. package/dist-es/runtimeConfig.browser.js +0 -3
  43. package/dist-es/runtimeConfig.js +0 -3
  44. package/dist-es/runtimeConfig.shared.js +3 -0
  45. package/dist-types/LexModelsV2.d.ts +34 -1
  46. package/dist-types/LexModelsV2Client.d.ts +6 -2
  47. package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +38 -0
  48. package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +38 -0
  49. package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +38 -0
  50. package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +38 -0
  51. package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +2 -1
  52. package/dist-types/commands/UpdateBotAliasCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateBotCommand.d.ts +1 -1
  54. package/dist-types/commands/UpdateBotLocaleCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +1 -1
  58. package/dist-types/commands/UpdateSlotTypeCommand.d.ts +1 -2
  59. package/dist-types/commands/index.d.ts +4 -0
  60. package/dist-types/models/models_0.d.ts +409 -599
  61. package/dist-types/models/models_1.d.ts +525 -1
  62. package/dist-types/pagination/ListCustomVocabularyItemsPaginator.d.ts +4 -0
  63. package/dist-types/pagination/index.d.ts +1 -0
  64. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  65. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  66. package/dist-types/runtimeConfig.d.ts +2 -2
  67. package/dist-types/runtimeConfig.shared.d.ts +2 -0
  68. package/dist-types/ts3.4/LexModelsV2.d.ts +68 -0
  69. package/dist-types/ts3.4/LexModelsV2Client.d.ts +24 -0
  70. package/dist-types/ts3.4/commands/BatchCreateCustomVocabularyItemCommand.d.ts +41 -0
  71. package/dist-types/ts3.4/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +41 -0
  72. package/dist-types/ts3.4/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +41 -0
  73. package/dist-types/ts3.4/commands/ListCustomVocabularyItemsCommand.d.ts +41 -0
  74. package/dist-types/ts3.4/commands/UpdateBotAliasCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateBotLocaleCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/UpdateResourcePolicyCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/UpdateSlotTypeCommand.d.ts +4 -2
  81. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +150 -191
  83. package/dist-types/ts3.4/models/models_1.d.ts +169 -0
  84. package/dist-types/ts3.4/pagination/ListCustomVocabularyItemsPaginator.d.ts +11 -0
  85. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  86. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  87. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  88. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  89. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
  90. 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.</p>
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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/models_0";
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";