Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteEnvironmentCommand

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.

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
const client = new MigrationHubRefactorSpacesClient(config);
const command = new DeleteEnvironmentCommand(input);
const response = await client.send(command);
see

DeleteEnvironmentCommandInput for command's input shape.

see

DeleteEnvironmentCommandOutput for command's response shape.

see

config for MigrationHubRefactorSpacesClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteEnvironmentCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions

  • Returns EndpointParameterInstructions