import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListServersRequest, ListServersResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListServersCommand}. */ export interface ListServersCommandInput extends ListServersRequest { } /** * @public * * The output of {@link ListServersCommand}. */ export interface ListServersCommandOutput extends ListServersResponse, __MetadataBearer { } declare const ListServersCommand_base: { new (input: ListServersCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [ListServersCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists the file transfer protocol-enabled servers that are associated with your Amazon Web Services account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, ListServersCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, ListServersCommand } = require("@aws-sdk/client-transfer"); // CommonJS import * // import type { TransferClientConfig } from "@aws-sdk/client-transfer"; * const config = {}; // type is TransferClientConfig * const client = new TransferClient(config); * const input = { // ListServersRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new ListServersCommand(input); * const response = await client.send(command); * // { // ListServersResponse * // NextToken: "STRING_VALUE", * // Servers: [ // ListedServers // required * // { // ListedServer * // Arn: "STRING_VALUE", // required * // Domain: "S3" || "EFS", * // IdentityProviderType: "SERVICE_MANAGED" || "API_GATEWAY" || "AWS_DIRECTORY_SERVICE" || "AWS_LAMBDA", * // EndpointType: "PUBLIC" || "VPC" || "VPC_ENDPOINT", * // LoggingRole: "STRING_VALUE", * // ServerId: "STRING_VALUE", * // State: "OFFLINE" || "ONLINE" || "STARTING" || "STOPPING" || "START_FAILED" || "STOP_FAILED", * // UserCount: Number("int"), * // }, * // ], * // }; * * ``` * * @param ListServersCommandInput - {@link ListServersCommandInput} * @returns {@link ListServersCommandOutput} * @see {@link ListServersCommandInput} for command's `input` shape. * @see {@link ListServersCommandOutput} for command's `response` shape. * @see {@link TransferClientResolvedConfig | config} for TransferClient's `config` shape. * * @throws {@link InternalServiceError} (server fault) *

This exception is thrown when an error occurs in the Transfer Family service.

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

The NextToken parameter that was passed is invalid.

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

This exception is thrown when the client submits a malformed request.

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

The request has failed because the Amazon Web ServicesTransfer Family service is not available.

* * @throws {@link TransferServiceException} *

Base exception class for all service exceptions from Transfer service.

* * * @public */ export declare class ListServersCommand extends ListServersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListServersRequest; output: ListServersResponse; }; sdk: { input: ListServersCommandInput; output: ListServersCommandOutput; }; }; }