import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_1"; import type { OpenSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OpenSearchClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link UpdateApplicationCommand}. */ export interface UpdateApplicationCommandInput extends UpdateApplicationRequest { } /** * @public * * The output of {@link UpdateApplicationCommand}. */ export interface UpdateApplicationCommandOutput extends UpdateApplicationResponse, __MetadataBearer { } declare const UpdateApplicationCommand_base: { new (input: UpdateApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Updates the configuration and settings of an existing OpenSearch application.

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

An error occurred because the client attempts to remove a resource that is currently in use.

* * @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 UpdateApplicationCommand extends UpdateApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateApplicationRequest; output: UpdateApplicationResponse; }; sdk: { input: UpdateApplicationCommandInput; output: UpdateApplicationCommandOutput; }; }; }