import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteEnvironmentConfigurationMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteEnvironmentConfigurationCommand}. */ export interface DeleteEnvironmentConfigurationCommandInput extends DeleteEnvironmentConfigurationMessage { } /** * @public * * The output of {@link DeleteEnvironmentConfigurationCommand}. */ export interface DeleteEnvironmentConfigurationCommandOutput extends __MetadataBearer { } declare const DeleteEnvironmentConfigurationCommand_base: { new (input: DeleteEnvironmentConfigurationCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteEnvironmentConfigurationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the draft configuration associated with the running environment.

*

Updating a running environment with any configuration changes creates a draft * configuration set. You can get the draft configuration using DescribeConfigurationSettings while the update is in progress or if the update * fails. The DeploymentStatus for the draft configuration indicates whether the * deployment is in process or has failed. The draft configuration remains in existence until it * is deleted with this action.

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

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @example To delete a draft configuration * ```javascript * // The following operation deletes a draft configuration for an environment named my-env: * const input = { * ApplicationName: "my-app", * EnvironmentName: "my-env" * }; * const command = new DeleteEnvironmentConfigurationCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteEnvironmentConfigurationCommand extends DeleteEnvironmentConfigurationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteEnvironmentConfigurationMessage; output: {}; }; sdk: { input: DeleteEnvironmentConfigurationCommandInput; output: DeleteEnvironmentConfigurationCommandOutput; }; }; }