Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeleteAgentCommand

Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN) of the agent in your request. The operation disassociates the agent from your Amazon Web Services account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.

example

Use a bare-bones client and the command you need to make an API call.

import { DataSyncClient, DeleteAgentCommand } from "@aws-sdk/client-datasync"; // ES Modules import
// const { DataSyncClient, DeleteAgentCommand } = require("@aws-sdk/client-datasync"); // CommonJS import
const client = new DataSyncClient(config);
const command = new DeleteAgentCommand(input);
const response = await client.send(command);
see

DeleteAgentCommandInput for command's input shape.

see

DeleteAgentCommandOutput for command's response shape.

see

config for DataSyncClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: DeleteAgentCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<DeleteAgentCommandInput, DeleteAgentCommandOutput>

Methods

Static getEndpointParameterInstructions