import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteEnvironmentRequest, DeleteEnvironmentResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteEnvironmentCommand}. */ export interface DeleteEnvironmentCommandInput extends DeleteEnvironmentRequest { } /** * @public * * The output of {@link DeleteEnvironmentCommand}. */ export interface DeleteEnvironmentCommandOutput extends DeleteEnvironmentResult, __MetadataBearer { } declare const DeleteEnvironmentCommand_base: { new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteEnvironmentCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes an Cloud9 development environment. If an Amazon EC2 instance is connected to the * environment, also terminates the instance.

* *

Cloud9 is no longer available to new customers. Existing customers of * Cloud9 can continue to use the service as normal. * Learn more" *

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { Cloud9Client, DeleteEnvironmentCommand } from "@aws-sdk/client-cloud9"; // ES Modules import * // const { Cloud9Client, DeleteEnvironmentCommand } = require("@aws-sdk/client-cloud9"); // CommonJS import * // import type { Cloud9ClientConfig } from "@aws-sdk/client-cloud9"; * const config = {}; // type is Cloud9ClientConfig * const client = new Cloud9Client(config); * const input = { // DeleteEnvironmentRequest * environmentId: "STRING_VALUE", // required * }; * const command = new DeleteEnvironmentCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteEnvironmentCommandInput - {@link DeleteEnvironmentCommandInput} * @returns {@link DeleteEnvironmentCommandOutput} * @see {@link DeleteEnvironmentCommandInput} for command's `input` shape. * @see {@link DeleteEnvironmentCommandOutput} for command's `response` shape. * @see {@link Cloud9ClientResolvedConfig | config} for Cloud9Client's `config` shape. * * @throws {@link BadRequestException} (client fault) *

The target request is invalid.

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

A conflict occurred.

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

An access permissions issue occurred.

* * @throws {@link InternalServerErrorException} (server fault) *

An internal server error occurred.

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

A service limit was exceeded.

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

The target resource cannot be found.

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

Too many service requests were made over the given time period.

* * @throws {@link Cloud9ServiceException} *

Base exception class for all service exceptions from Cloud9 service.

* * * @example DeleteEnvironment * ```javascript * // * const input = { * environmentId: "8d9967e2f0624182b74e7690ad69ebEX" * }; * const command = new DeleteEnvironmentCommand(input); * const response = await client.send(command); * /* response is * { /* empty *\/ } * *\/ * ``` * * @public */ export declare class DeleteEnvironmentCommand extends DeleteEnvironmentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteEnvironmentRequest; output: {}; }; sdk: { input: DeleteEnvironmentCommandInput; output: DeleteEnvironmentCommandOutput; }; }; }