import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetApplicationRequest, GetApplicationResponse } from "../models/models_0"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetApplicationCommand}. */ export interface GetApplicationCommandInput extends GetApplicationRequest { } /** * @public * * The output of {@link GetApplicationCommand}. */ export interface GetApplicationCommandOutput extends GetApplicationResponse, __MetadataBearer { } declare const GetApplicationCommand_base: { new (input: GetApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Retrieves the configuration and status of an existing OpenSearch application.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OpenSearchClient, GetApplicationCommand } from "@aws-sdk/client-opensearch"; // ES Modules import * // const { OpenSearchClient, GetApplicationCommand } = 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 = { // GetApplicationRequest * id: "STRING_VALUE", // required * }; * const command = new GetApplicationCommand(input); * const response = await client.send(command); * // { // GetApplicationResponse * // id: "STRING_VALUE", * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // endpoint: "STRING_VALUE", * // status: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "FAILED", * // iamIdentityCenterOptions: { // IamIdentityCenterOptions * // enabled: true || false, * // iamIdentityCenterInstanceArn: "STRING_VALUE", * // iamRoleForIdentityCenterApplicationArn: "STRING_VALUE", * // iamIdentityCenterApplicationArn: "STRING_VALUE", * // }, * // dataSources: [ // DataSources * // { // DataSource * // dataSourceArn: "STRING_VALUE", * // dataSourceDescription: "STRING_VALUE", * // iamRoleForDataSourceArn: "STRING_VALUE", * // }, * // ], * // appConfigs: [ // AppConfigs * // { // AppConfig * // key: "opensearchDashboards.dashboardAdmin.users" || "opensearchDashboards.dashboardAdmin.groups", * // value: "STRING_VALUE", * // }, * // ], * // createdAt: new Date("TIMESTAMP"), * // lastUpdatedAt: new Date("TIMESTAMP"), * // kmsKeyArn: "STRING_VALUE", * // }; * * ``` * * @param GetApplicationCommandInput - {@link GetApplicationCommandInput} * @returns {@link GetApplicationCommandOutput} * @see {@link GetApplicationCommandInput} for command's `input` shape. * @see {@link GetApplicationCommandOutput} 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 BaseException} (client fault) *

An error occurred while processing the request.

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

An error occured because the client wanted to access an unsupported operation.

* * @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 GetApplicationCommand extends GetApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetApplicationRequest; output: GetApplicationResponse; }; sdk: { input: GetApplicationCommandInput; output: GetApplicationCommandOutput; }; }; }