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

Describes the user assigned to the specific file transfer protocol-enabled server, as identified by its ServerId property.

The response from this call returns the properties of the user associated with the ServerId value that was specified.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TransferClient, DescribeUserCommand } from "@aws-sdk/client-transfer"; // ES Modules import * // const { TransferClient, DescribeUserCommand } = 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 = { // DescribeUserRequest * ServerId: "STRING_VALUE", // required * UserName: "STRING_VALUE", // required * }; * const command = new DescribeUserCommand(input); * const response = await client.send(command); * // { // DescribeUserResponse * // ServerId: "STRING_VALUE", // required * // User: { // DescribedUser * // Arn: "STRING_VALUE", // required * // HomeDirectory: "STRING_VALUE", * // HomeDirectoryMappings: [ // HomeDirectoryMappings * // { // HomeDirectoryMapEntry * // Entry: "STRING_VALUE", // required * // Target: "STRING_VALUE", // required * // Type: "FILE" || "DIRECTORY", * // }, * // ], * // HomeDirectoryType: "PATH" || "LOGICAL", * // Policy: "STRING_VALUE", * // PosixProfile: { // PosixProfile * // Uid: Number("long"), // required * // Gid: Number("long"), // required * // SecondaryGids: [ // SecondaryGids * // Number("long"), * // ], * // }, * // Role: "STRING_VALUE", * // SshPublicKeys: [ // SshPublicKeys * // { // SshPublicKey * // DateImported: new Date("TIMESTAMP"), // required * // SshPublicKeyBody: "STRING_VALUE", // required * // SshPublicKeyId: "STRING_VALUE", // required * // }, * // ], * // Tags: [ // Tags * // { // Tag * // Key: "STRING_VALUE", // required * // Value: "STRING_VALUE", // required * // }, * // ], * // UserName: "STRING_VALUE", * // }, * // }; * * ``` * * @param DescribeUserCommandInput - {@link DescribeUserCommandInput} * @returns {@link DescribeUserCommandOutput} * @see {@link DescribeUserCommandInput} for command's `input` shape. * @see {@link DescribeUserCommandOutput} 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 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 DescribeUserCommand extends DescribeUserCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeUserRequest; output: DescribeUserResponse; }; sdk: { input: DescribeUserCommandInput; output: DescribeUserCommandOutput; }; }; }