Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ListServersCommand

Returns a list of all the servers.

example

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

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

ListServersCommandInput for command's input shape.

see

ListServersCommandOutput for command's response shape.

see

config for MigrationHubStrategyClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: ListServersCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<ListServersCommandInput, ListServersCommandOutput>