import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteApplicationMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteApplicationCommand}. */ export interface DeleteApplicationCommandInput extends DeleteApplicationMessage { } /** * @public * * The output of {@link DeleteApplicationCommand}. */ export interface DeleteApplicationCommandOutput extends __MetadataBearer { } declare const DeleteApplicationCommand_base: { new (input: DeleteApplicationCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteApplicationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified application along with all associated versions and configurations. * The application versions will not be deleted from your Amazon S3 bucket.

* *

You cannot delete an application that has a running environment.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, DeleteApplicationCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, DeleteApplicationCommand } = require("@aws-sdk/client-elastic-beanstalk"); // CommonJS import * // import type { ElasticBeanstalkClientConfig } from "@aws-sdk/client-elastic-beanstalk"; * const config = {}; // type is ElasticBeanstalkClientConfig * const client = new ElasticBeanstalkClient(config); * const input = { // DeleteApplicationMessage * ApplicationName: "STRING_VALUE", // required * TerminateEnvByForce: true || false, * }; * const command = new DeleteApplicationCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteApplicationCommandInput - {@link DeleteApplicationCommandInput} * @returns {@link DeleteApplicationCommandOutput} * @see {@link DeleteApplicationCommandInput} for command's `input` shape. * @see {@link DeleteApplicationCommandOutput} for command's `response` shape. * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape. * * @throws {@link OperationInProgressException} (client fault) *

Unable to perform the specified operation because another operation that effects an * element in this activity is already in progress.

* * @throws {@link ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @example To delete an application * ```javascript * // The following operation deletes an application named my-app: * const input = { * ApplicationName: "my-app" * }; * const command = new DeleteApplicationCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteApplicationCommand extends DeleteApplicationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteApplicationMessage; output: {}; }; sdk: { input: DeleteApplicationCommandInput; output: DeleteApplicationCommandOutput; }; }; }