import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListVirtualMachinesInput, ListVirtualMachinesOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListVirtualMachinesCommand}. */ export interface ListVirtualMachinesCommandInput extends ListVirtualMachinesInput { } /** * @public * * The output of {@link ListVirtualMachinesCommand}. */ export interface ListVirtualMachinesCommandOutput extends ListVirtualMachinesOutput, __MetadataBearer { } declare const ListVirtualMachinesCommand_base: { new (input: ListVirtualMachinesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListVirtualMachinesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists your virtual machines.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupGatewayClient, ListVirtualMachinesCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import * // const { BackupGatewayClient, ListVirtualMachinesCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import * // import type { BackupGatewayClientConfig } from "@aws-sdk/client-backup-gateway"; * const config = {}; // type is BackupGatewayClientConfig * const client = new BackupGatewayClient(config); * const input = { // ListVirtualMachinesInput * HypervisorArn: "STRING_VALUE", * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListVirtualMachinesCommand(input); * const response = await client.send(command); * // { // ListVirtualMachinesOutput * // VirtualMachines: [ // VirtualMachines * // { // VirtualMachine * // HostName: "STRING_VALUE", * // HypervisorId: "STRING_VALUE", * // Name: "STRING_VALUE", * // Path: "STRING_VALUE", * // ResourceArn: "STRING_VALUE", * // LastBackupDate: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListVirtualMachinesCommandInput - {@link ListVirtualMachinesCommandInput} * @returns {@link ListVirtualMachinesCommandOutput} * @see {@link ListVirtualMachinesCommandInput} for command's `input` shape. * @see {@link ListVirtualMachinesCommandOutput} for command's `response` shape. * @see {@link BackupGatewayClientResolvedConfig | config} for BackupGatewayClient's `config` shape. * * @throws {@link InternalServerException} (server fault) *

The operation did not succeed because an internal error occurred. Try again later.

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

TPS has been limited to protect against intentional or unintentional high request volumes.

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

The operation did not succeed because a validation error occurred.

* * @throws {@link BackupGatewayServiceException} *

Base exception class for all service exceptions from BackupGateway service.

* * * @public */ export declare class ListVirtualMachinesCommand extends ListVirtualMachinesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListVirtualMachinesInput; output: ListVirtualMachinesOutput; }; sdk: { input: ListVirtualMachinesCommandInput; output: ListVirtualMachinesCommandOutput; }; }; }