import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetDefaultApplicationSettingRequest, GetDefaultApplicationSettingResponse } from "../models/models_0"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDefaultApplicationSettingCommand}. */ export interface GetDefaultApplicationSettingCommandInput extends GetDefaultApplicationSettingRequest { } /** * @public * * The output of {@link GetDefaultApplicationSettingCommand}. */ export interface GetDefaultApplicationSettingCommandOutput extends GetDefaultApplicationSettingResponse, __MetadataBearer { } declare const GetDefaultApplicationSettingCommand_base: { new (input: GetDefaultApplicationSettingCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [GetDefaultApplicationSettingCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Gets the ARN of the current default application.

*

If the default application isn't set, the operation returns a resource not found * error.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, GetDefaultApplicationSettingCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, GetDefaultApplicationSettingCommand } = require("@aws-sdk/client-opensearch"); // CommonJS import * // import type { OpenSearchClientConfig } from "@aws-sdk/client-opensearch"; * const config = {}; // type is OpenSearchClientConfig * const client = new OpenSearchClient(config); * const input = {}; * const command = new GetDefaultApplicationSettingCommand(input); * const response = await client.send(command); * // { // GetDefaultApplicationSettingResponse * // applicationArn: "STRING_VALUE", * // }; * * ``` * * @param GetDefaultApplicationSettingCommandInput - {@link GetDefaultApplicationSettingCommandInput} * @returns {@link GetDefaultApplicationSettingCommandOutput} * @see {@link GetDefaultApplicationSettingCommandInput} for command's `input` shape. * @see {@link GetDefaultApplicationSettingCommandOutput} for command's `response` shape. * @see {@link OpenSearchClientResolvedConfig | config} for OpenSearchClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

An error occurred because you don't have permissions to access the resource.

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

Request processing failed because of an unknown error, exception, or internal failure.

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

An exception for accessing or deleting a resource that doesn't exist.

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

An exception for accessing or deleting a resource that doesn't exist.

* * @throws {@link OpenSearchServiceException} *

Base exception class for all service exceptions from OpenSearch service.

* * * @public */ export declare class GetDefaultApplicationSettingCommand extends GetDefaultApplicationSettingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetDefaultApplicationSettingResponse; }; sdk: { input: GetDefaultApplicationSettingCommandInput; output: GetDefaultApplicationSettingCommandOutput; }; }; }