import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { SearchVocabulariesRequest, SearchVocabulariesResponse } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link SearchVocabulariesCommand}. */ export interface SearchVocabulariesCommandInput extends SearchVocabulariesRequest { } /** * @public * * The output of {@link SearchVocabulariesCommand}. */ export interface SearchVocabulariesCommandOutput extends SearchVocabulariesResponse, __MetadataBearer { } declare const SearchVocabulariesCommand_base: { new (input: SearchVocabulariesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: SearchVocabulariesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Searches for vocabularies within a specific Amazon Connect instance using State, * NameStartsWith, and LanguageCode.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, SearchVocabulariesCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, SearchVocabulariesCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // SearchVocabulariesRequest * InstanceId: "STRING_VALUE", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS", * NameStartsWith: "STRING_VALUE", * LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", * }; * const command = new SearchVocabulariesCommand(input); * const response = await client.send(command); * // { // SearchVocabulariesResponse * // VocabularySummaryList: [ // VocabularySummaryList * // { // VocabularySummary * // Name: "STRING_VALUE", // required * // Id: "STRING_VALUE", // required * // Arn: "STRING_VALUE", // required * // LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA" || "ca-ES" || "da-DK" || "fi-FI" || "id-ID" || "ms-MY" || "nl-NL" || "no-NO" || "pl-PL" || "sv-SE" || "tl-PH", // required * // State: "CREATION_IN_PROGRESS" || "ACTIVE" || "CREATION_FAILED" || "DELETE_IN_PROGRESS", // required * // LastModifiedTime: new Date("TIMESTAMP"), // required * // FailureReason: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param SearchVocabulariesCommandInput - {@link SearchVocabulariesCommandInput} * @returns {@link SearchVocabulariesCommandOutput} * @see {@link SearchVocabulariesCommandInput} for command's `input` shape. * @see {@link SearchVocabulariesCommandOutput} for command's `response` shape. * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient permissions to perform this action.

* * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

* * @throws {@link InvalidRequestException} (client fault) *

The request is not valid.

* * @throws {@link ThrottlingException} (client fault) *

The throttling limit has been exceeded.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect service.

* * * @public */ export declare class SearchVocabulariesCommand extends SearchVocabulariesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SearchVocabulariesRequest; output: SearchVocabulariesResponse; }; sdk: { input: SearchVocabulariesCommandInput; output: SearchVocabulariesCommandOutput; }; }; }