import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateAccountPreferencesRequest, UpdateAccountPreferencesResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateAccountPreferencesCommand}. */ export interface UpdateAccountPreferencesCommandInput extends UpdateAccountPreferencesRequest { } /** * @public * * The output of {@link UpdateAccountPreferencesCommand}. */ export interface UpdateAccountPreferencesCommandOutput extends UpdateAccountPreferencesResult, __MetadataBearer { } declare const UpdateAccountPreferencesCommand_base: { new (input: UpdateAccountPreferencesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [UpdateAccountPreferencesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates AWS Chatbot account preferences.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ChatbotClient, UpdateAccountPreferencesCommand } from "@aws-sdk/client-chatbot"; // ES Modules import * // const { ChatbotClient, UpdateAccountPreferencesCommand } = 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 = { // UpdateAccountPreferencesRequest * UserAuthorizationRequired: true || false, * TrainingDataCollectionEnabled: true || false, * }; * const command = new UpdateAccountPreferencesCommand(input); * const response = await client.send(command); * // { // UpdateAccountPreferencesResult * // AccountPreferences: { // AccountPreferences * // UserAuthorizationRequired: true || false, * // TrainingDataCollectionEnabled: true || false, * // }, * // }; * * ``` * * @param UpdateAccountPreferencesCommandInput - {@link UpdateAccountPreferencesCommandInput} * @returns {@link UpdateAccountPreferencesCommandOutput} * @see {@link UpdateAccountPreferencesCommandInput} for command's `input` shape. * @see {@link UpdateAccountPreferencesCommandOutput} for command's `response` shape. * @see {@link ChatbotClientResolvedConfig | config} for ChatbotClient's `config` shape. * * @throws {@link InvalidParameterException} (client fault) *

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

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

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

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

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

* * @throws {@link ChatbotServiceException} *

Base exception class for all service exceptions from Chatbot service.

* * * @public */ export declare class UpdateAccountPreferencesCommand extends UpdateAccountPreferencesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateAccountPreferencesRequest; output: UpdateAccountPreferencesResult; }; sdk: { input: UpdateAccountPreferencesCommandInput; output: UpdateAccountPreferencesCommandOutput; }; }; }