import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListUsersRequest, ListUsersResponse } from "../models/models_0"; import type { ServiceInputTypes, ServiceOutputTypes, TransferClientResolvedConfig } from "../TransferClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListUsersCommand}. */ export interface ListUsersCommandInput extends ListUsersRequest { } /** * @public * * The output of {@link ListUsersCommand}. */ export interface ListUsersCommandOutput extends ListUsersResponse, __MetadataBearer { } declare const ListUsersCommand_base: { new (input: ListUsersCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: ListUsersCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Lists the users for a file transfer protocol-enabled server that you specify by passing the ServerId parameter.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, ListUsersCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, ListUsersCommand } = 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 = { // ListUsersRequest * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * ServerId: "STRING_VALUE", // required * }; * const command = new ListUsersCommand(input); * const response = await client.send(command); * // { // ListUsersResponse * // NextToken: "STRING_VALUE", * // ServerId: "STRING_VALUE", // required * // Users: [ // ListedUsers // required * // { // ListedUser * // Arn: "STRING_VALUE", // required * // HomeDirectory: "STRING_VALUE", * // HomeDirectoryType: "PATH" || "LOGICAL", * // Role: "STRING_VALUE", * // SshPublicKeyCount: Number("int"), * // UserName: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param ListUsersCommandInput - {@link ListUsersCommandInput} * @returns {@link ListUsersCommandOutput} * @see {@link ListUsersCommandInput} for command's `input` shape. * @see {@link ListUsersCommandOutput} 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 ResourceNotFoundException} (client fault) *

This exception is thrown when a resource is not found by the Amazon Web ServicesTransfer Family service.

* * @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 ListUsersCommand extends ListUsersCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListUsersRequest; output: ListUsersResponse; }; sdk: { input: ListUsersCommandInput; output: ListUsersCommandOutput; }; }; }