import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AbortEnvironmentUpdateMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AbortEnvironmentUpdateCommand}. */ export interface AbortEnvironmentUpdateCommandInput extends AbortEnvironmentUpdateMessage { } /** * @public * * The output of {@link AbortEnvironmentUpdateCommand}. */ export interface AbortEnvironmentUpdateCommandOutput extends __MetadataBearer { } declare const AbortEnvironmentUpdateCommand_base: { new (input: AbortEnvironmentUpdateCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [AbortEnvironmentUpdateCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Cancels in-progress environment configuration update or application version deployment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, AbortEnvironmentUpdateCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, AbortEnvironmentUpdateCommand } = 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 = { // AbortEnvironmentUpdateMessage * EnvironmentId: "STRING_VALUE", * EnvironmentName: "STRING_VALUE", * }; * const command = new AbortEnvironmentUpdateCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param AbortEnvironmentUpdateCommandInput - {@link AbortEnvironmentUpdateCommandInput} * @returns {@link AbortEnvironmentUpdateCommandOutput} * @see {@link AbortEnvironmentUpdateCommandInput} for command's `input` shape. * @see {@link AbortEnvironmentUpdateCommandOutput} 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 ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @example To abort a deployment * ```javascript * // The following code aborts a running application version deployment for an environment named my-env: * const input = { * EnvironmentName: "my-env" * }; * const command = new AbortEnvironmentUpdateCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class AbortEnvironmentUpdateCommand extends AbortEnvironmentUpdateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AbortEnvironmentUpdateMessage; output: {}; }; sdk: { input: AbortEnvironmentUpdateCommandInput; output: AbortEnvironmentUpdateCommandOutput; }; }; }