import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateApplicationRequest, UpdateApplicationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @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(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates the application.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ApplicationInsightsClient, UpdateApplicationCommand } from "@aws-sdk/client-application-insights"; // ES Modules import * // const { ApplicationInsightsClient, UpdateApplicationCommand } = require("@aws-sdk/client-application-insights"); // CommonJS import * // import type { ApplicationInsightsClientConfig } from "@aws-sdk/client-application-insights"; * const config = {}; // type is ApplicationInsightsClientConfig * const client = new ApplicationInsightsClient(config); * const input = { // UpdateApplicationRequest * ResourceGroupName: "STRING_VALUE", // required * OpsCenterEnabled: true || false, * CWEMonitorEnabled: true || false, * OpsItemSNSTopicArn: "STRING_VALUE", * SNSNotificationArn: "STRING_VALUE", * RemoveSNSTopic: true || false, * AutoConfigEnabled: true || false, * AttachMissingPermission: true || false, * }; * const command = new UpdateApplicationCommand(input); * const response = await client.send(command); * // { // UpdateApplicationResponse * // ApplicationInfo: { // ApplicationInfo * // AccountId: "STRING_VALUE", * // ResourceGroupName: "STRING_VALUE", * // LifeCycle: "STRING_VALUE", * // OpsItemSNSTopicArn: "STRING_VALUE", * // SNSNotificationArn: "STRING_VALUE", * // OpsCenterEnabled: true || false, * // CWEMonitorEnabled: true || false, * // Remarks: "STRING_VALUE", * // AutoConfigEnabled: true || false, * // DiscoveryType: "RESOURCE_GROUP_BASED" || "ACCOUNT_BASED", * // AttachMissingPermission: true || false, * // }, * // }; * * ``` * * @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 ApplicationInsightsClientResolvedConfig | config} for ApplicationInsightsClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

The server encountered an internal error and is unable to complete the request.

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

The resource does not exist in the customer account.

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

The parameter is not valid.

* * @throws {@link ApplicationInsightsServiceException} *

Base exception class for all service exceptions from ApplicationInsights 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; }; }; }