import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateAccountSettingsRequest, UpdateAccountSettingsResponse } from "../models/models_0"; import type { OpenSearchServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchServerlessClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateAccountSettingsCommand}. */ export interface UpdateAccountSettingsCommandInput extends UpdateAccountSettingsRequest { } /** * @public * * The output of {@link UpdateAccountSettingsCommand}. */ export interface UpdateAccountSettingsCommandOutput extends UpdateAccountSettingsResponse, __MetadataBearer { } declare const UpdateAccountSettingsCommand_base: { new (input: UpdateAccountSettingsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [UpdateAccountSettingsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Update the OpenSearch Serverless settings for the current Amazon Web Services account. For more information, see Managing capacity limits for Amazon OpenSearch Serverless.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchServerlessClient, UpdateAccountSettingsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import * // const { OpenSearchServerlessClient, UpdateAccountSettingsCommand } = require("@aws-sdk/client-opensearchserverless"); // CommonJS import * // import type { OpenSearchServerlessClientConfig } from "@aws-sdk/client-opensearchserverless"; * const config = {}; // type is OpenSearchServerlessClientConfig * const client = new OpenSearchServerlessClient(config); * const input = { // UpdateAccountSettingsRequest * capacityLimits: { // CapacityLimits * maxIndexingCapacityInOCU: Number("int"), * maxSearchCapacityInOCU: Number("int"), * }, * }; * const command = new UpdateAccountSettingsCommand(input); * const response = await client.send(command); * // { // UpdateAccountSettingsResponse * // accountSettingsDetail: { // AccountSettingsDetail * // capacityLimits: { // CapacityLimits * // maxIndexingCapacityInOCU: Number("int"), * // maxSearchCapacityInOCU: Number("int"), * // }, * // }, * // }; * * ``` * * @param UpdateAccountSettingsCommandInput - {@link UpdateAccountSettingsCommandInput} * @returns {@link UpdateAccountSettingsCommandOutput} * @see {@link UpdateAccountSettingsCommandInput} for command's `input` shape. * @see {@link UpdateAccountSettingsCommandOutput} for command's `response` shape. * @see {@link OpenSearchServerlessClientResolvedConfig | config} for OpenSearchServerlessClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

Thrown when an error internal to the service occurs while processing a request.

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

Thrown when you attempt to create more resources than the service allows based on service quotas.

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

Thrown when the HTTP request contains invalid input or is missing required input.

* * @throws {@link OpenSearchServerlessServiceException} *

Base exception class for all service exceptions from OpenSearchServerless service.

* * * @public */ export declare class UpdateAccountSettingsCommand extends UpdateAccountSettingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateAccountSettingsRequest; output: UpdateAccountSettingsResponse; }; sdk: { input: UpdateAccountSettingsCommandInput; output: UpdateAccountSettingsCommandOutput; }; }; }