import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetAccountPreferencesRequest, GetAccountPreferencesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetAccountPreferencesCommand}. */ export interface GetAccountPreferencesCommandInput extends GetAccountPreferencesRequest { } /** * @public * * The output of {@link GetAccountPreferencesCommand}. */ export interface GetAccountPreferencesCommandOutput extends GetAccountPreferencesResult, __MetadataBearer { } declare const GetAccountPreferencesCommand_base: { new (input: GetAccountPreferencesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetAccountPreferencesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns AWS Chatbot account preferences.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ChatbotClient, GetAccountPreferencesCommand } from "@aws-sdk/client-chatbot"; // ES Modules import * // const { ChatbotClient, GetAccountPreferencesCommand } = require("@aws-sdk/client-chatbot"); // CommonJS import * // import type { ChatbotClientConfig } from "@aws-sdk/client-chatbot"; * const config = {}; // type is ChatbotClientConfig * const client = new ChatbotClient(config); * const input = {}; * const command = new GetAccountPreferencesCommand(input); * const response = await client.send(command); * // { // GetAccountPreferencesResult * // AccountPreferences: { // AccountPreferences * // UserAuthorizationRequired: true || false, * // TrainingDataCollectionEnabled: true || false, * // }, * // }; * * ``` * * @param GetAccountPreferencesCommandInput - {@link GetAccountPreferencesCommandInput} * @returns {@link GetAccountPreferencesCommandOutput} * @see {@link GetAccountPreferencesCommandInput} for command's `input` shape. * @see {@link GetAccountPreferencesCommandOutput} for command's `response` shape. * @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape. * * @throws {@link GetAccountPreferencesException} (server fault) *

We can’t process your request right now because of a server issue. Try again later.

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

Your request input doesn't meet the constraints required by AWS Chatbot.

* * @throws {@link ChatbotServiceException} *

Base exception class for all service exceptions from Chatbot service.

* * * @public */ export declare class GetAccountPreferencesCommand extends GetAccountPreferencesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetAccountPreferencesResult; }; sdk: { input: GetAccountPreferencesCommandInput; output: GetAccountPreferencesCommandOutput; }; }; }