import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteApplicationVersionMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteApplicationVersionCommand}. */ export interface DeleteApplicationVersionCommandInput extends DeleteApplicationVersionMessage { } /** * @public * * The output of {@link DeleteApplicationVersionCommand}. */ export interface DeleteApplicationVersionCommandOutput extends __MetadataBearer { } declare const DeleteApplicationVersionCommand_base: { new (input: DeleteApplicationVersionCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteApplicationVersionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified version from the specified application.

* *

You cannot delete an application version that is associated with a running environment.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, DeleteApplicationVersionCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, DeleteApplicationVersionCommand } = 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 = { // DeleteApplicationVersionMessage * ApplicationName: "STRING_VALUE", // required * VersionLabel: "STRING_VALUE", // required * DeleteSourceBundle: true || false, * }; * const command = new DeleteApplicationVersionCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteApplicationVersionCommandInput - {@link DeleteApplicationVersionCommandInput} * @returns {@link DeleteApplicationVersionCommandOutput} * @see {@link DeleteApplicationVersionCommandInput} for command's `input` shape. * @see {@link DeleteApplicationVersionCommandOutput} for command's `response` shape. * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape. * * @throws {@link InsufficientPrivilegesException} (client fault) *

The specified account does not have sufficient privileges for one or more Amazon Web Services services.

* * @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 S3LocationNotInServiceRegionException} (client fault) *

The specified S3 bucket does not belong to the S3 region in which the service is * running. The following regions are supported:

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

Unable to delete the Amazon S3 source bundle associated with the application version. * The application version was deleted successfully.

* * @throws {@link ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @example To delete an application version * ```javascript * // The following operation deletes an application version named 22a0-stage-150819_182129 for an application named my-app: * const input = { * ApplicationName: "my-app", * DeleteSourceBundle: true, * VersionLabel: "22a0-stage-150819_182129" * }; * const command = new DeleteApplicationVersionCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteApplicationVersionCommand extends DeleteApplicationVersionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteApplicationVersionMessage; output: {}; }; sdk: { input: DeleteApplicationVersionCommandInput; output: DeleteApplicationVersionCommandOutput; }; }; }