import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient"; import type { DescribeUserRequest, DescribeUserResponse } from "../models/models_1"; /** * @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 specified user. You can find the instance ID in the Amazon Connect * console (it’s the final part of the ARN). The console does not display the user IDs. Instead, list the users * and note the IDs provided in the output.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ConnectClient, DescribeUserCommand } from "@aws-sdk/client-connect"; // ES Modules import * // const { ConnectClient, DescribeUserCommand } = require("@aws-sdk/client-connect"); // CommonJS import * // import type { ConnectClientConfig } from "@aws-sdk/client-connect"; * const config = {}; // type is ConnectClientConfig * const client = new ConnectClient(config); * const input = { // DescribeUserRequest * UserId: "STRING_VALUE", // required * InstanceId: "STRING_VALUE", // required * }; * const command = new DescribeUserCommand(input); * const response = await client.send(command); * // { // DescribeUserResponse * // User: { // User * // Id: "STRING_VALUE", * // Arn: "STRING_VALUE", * // Username: "STRING_VALUE", * // IdentityInfo: { // UserIdentityInfo * // FirstName: "STRING_VALUE", * // LastName: "STRING_VALUE", * // Email: "STRING_VALUE", * // SecondaryEmail: "STRING_VALUE", * // Mobile: "STRING_VALUE", * // }, * // PhoneConfig: { // UserPhoneConfig * // PhoneType: "SOFT_PHONE" || "DESK_PHONE", * // AutoAccept: true || false, * // AfterContactWorkTimeLimit: Number("int"), * // DeskPhoneNumber: "STRING_VALUE", * // PersistentConnection: true || false, * // }, * // DirectoryUserId: "STRING_VALUE", * // SecurityProfileIds: [ // SecurityProfileIds * // "STRING_VALUE", * // ], * // RoutingProfileId: "STRING_VALUE", * // HierarchyGroupId: "STRING_VALUE", * // Tags: { // TagMap * // "": "STRING_VALUE", * // }, * // AutoAcceptConfigs: [ // AutoAcceptConfigs * // { // AutoAcceptConfig * // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required * // AutoAccept: true || false, // required * // AgentFirstCallbackAutoAccept: true || false, * // }, * // ], * // AfterContactWorkConfigs: [ // AfterContactWorkConfigs * // { // AfterContactWorkConfigPerChannel * // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required * // AfterContactWorkConfig: { // AfterContactWorkConfig * // AfterContactWorkTimeLimit: Number("int"), * // }, * // AgentFirstCallbackAfterContactWorkConfig: { * // AfterContactWorkTimeLimit: Number("int"), * // }, * // }, * // ], * // PhoneNumberConfigs: [ // PhoneNumberConfigs * // { // PhoneNumberConfig * // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required * // PhoneType: "SOFT_PHONE" || "DESK_PHONE", // required * // PhoneNumber: "STRING_VALUE", * // }, * // ], * // PersistentConnectionConfigs: [ // PersistentConnectionConfigs * // { // PersistentConnectionConfig * // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required * // PersistentConnection: true || false, // required * // }, * // ], * // VoiceEnhancementConfigs: [ // VoiceEnhancementConfigs * // { // VoiceEnhancementConfig * // Channel: "VOICE" || "CHAT" || "TASK" || "EMAIL", // required * // VoiceEnhancementMode: "VOICE_ISOLATION" || "NOISE_SUPPRESSION" || "NONE", // required * // }, * // ], * // LastModifiedTime: new Date("TIMESTAMP"), * // LastModifiedRegion: "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 ConnectClientResolvedConfig | config} for ConnectClient's `config` shape. * * @throws {@link InternalServiceException} (server fault) *

Request processing failed because of an error or failure with the service.

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

One or more of the specified parameters are not valid.

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

The request is not valid.

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

The specified resource was not found.

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

The throttling limit has been exceeded.

* * @throws {@link ConnectServiceException} *

Base exception class for all service exceptions from Connect 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; }; }; }