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

Deletes and recreates all of the Amazon Web Services resources (for example: the Auto Scaling group, load balancer, etc.) for a specified environment and forces a * restart.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, RebuildEnvironmentCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, RebuildEnvironmentCommand } = 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 = { // RebuildEnvironmentMessage * EnvironmentId: "STRING_VALUE", * EnvironmentName: "STRING_VALUE", * }; * const command = new RebuildEnvironmentCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param RebuildEnvironmentCommandInput - {@link RebuildEnvironmentCommandInput} * @returns {@link RebuildEnvironmentCommandOutput} * @see {@link RebuildEnvironmentCommandInput} for command's `input` shape. * @see {@link RebuildEnvironmentCommandOutput} 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 rebuild an environment * ```javascript * // The following operation terminates and recreates the resources in an environment named my-env: * const input = { * EnvironmentName: "my-env" * }; * const command = new RebuildEnvironmentCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class RebuildEnvironmentCommand extends RebuildEnvironmentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RebuildEnvironmentMessage; output: {}; }; sdk: { input: RebuildEnvironmentCommandInput; output: RebuildEnvironmentCommandOutput; }; }; }