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

Returns account-level settings related to OpenSearch Serverless.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchServerlessClient, GetAccountSettingsCommand } from "@aws-sdk/client-opensearchserverless"; // ES Modules import * // const { OpenSearchServerlessClient, GetAccountSettingsCommand } = 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 = {}; * const command = new GetAccountSettingsCommand(input); * const response = await client.send(command); * // { // GetAccountSettingsResponse * // accountSettingsDetail: { // AccountSettingsDetail * // capacityLimits: { // CapacityLimits * // maxIndexingCapacityInOCU: Number("int"), * // maxSearchCapacityInOCU: Number("int"), * // }, * // }, * // }; * * ``` * * @param GetAccountSettingsCommandInput - {@link GetAccountSettingsCommandInput} * @returns {@link GetAccountSettingsCommandOutput} * @see {@link GetAccountSettingsCommandInput} for command's `input` shape. * @see {@link GetAccountSettingsCommandOutput} 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 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 GetAccountSettingsCommand extends GetAccountSettingsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetAccountSettingsResponse; }; sdk: { input: GetAccountSettingsCommandInput; output: GetAccountSettingsCommandOutput; }; }; }