import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteEnvironmentRequest, DeleteEnvironmentResponse } 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 DeleteEnvironmentResponse, __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 Amazon Web Services Migration Hub Refactor Spaces environment. Before you can delete an environment, you must first * delete any applications and services within the environment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MigrationHubRefactorSpacesClient, DeleteEnvironmentCommand } from "@aws-sdk/client-migration-hub-refactor-spaces"; // ES Modules import * // const { MigrationHubRefactorSpacesClient, DeleteEnvironmentCommand } = require("@aws-sdk/client-migration-hub-refactor-spaces"); // CommonJS import * // import type { MigrationHubRefactorSpacesClientConfig } from "@aws-sdk/client-migration-hub-refactor-spaces"; * const config = {}; // type is MigrationHubRefactorSpacesClientConfig * const client = new MigrationHubRefactorSpacesClient(config); * const input = { // DeleteEnvironmentRequest * EnvironmentIdentifier: "STRING_VALUE", // required * }; * const command = new DeleteEnvironmentCommand(input); * const response = await client.send(command); * // { // DeleteEnvironmentResponse * // Name: "STRING_VALUE", * // Arn: "STRING_VALUE", * // EnvironmentId: "STRING_VALUE", * // State: "STRING_VALUE", * // LastUpdatedTime: new Date("TIMESTAMP"), * // }; * * ``` * * @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 MigrationHubRefactorSpacesClientResolvedConfig | config} for MigrationHubRefactorSpacesClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The user does not have sufficient access to perform this action.

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

Updating or deleting a resource can cause an inconsistent state.

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

An unexpected error occurred while processing the request.

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

The request references a resource that does not exist.

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

Request was denied because the request was throttled.

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

The input does not satisfy the constraints specified by an Amazon Web Service. *

* * @throws {@link MigrationHubRefactorSpacesServiceException} *

Base exception class for all service exceptions from MigrationHubRefactorSpaces service.

* * * @public */ export declare class DeleteEnvironmentCommand extends DeleteEnvironmentCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteEnvironmentRequest; output: DeleteEnvironmentResponse; }; sdk: { input: DeleteEnvironmentCommandInput; output: DeleteEnvironmentCommandOutput; }; }; }