import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteUserRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteUserCommand}. */ export interface DeleteUserCommandInput extends DeleteUserRequest { } /** * @public * * The output of {@link DeleteUserCommand}. */ export interface DeleteUserCommandOutput extends __MetadataBearer { } declare const DeleteUserCommand_base: { new (input: DeleteUserCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteUserCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified user from a Simple AD or Microsoft AD directory.

* *

Deleting a user immediately and permanently deletes all content in that user's folder structure. Site retention policies do NOT apply to this type of deletion.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { WorkDocsClient, DeleteUserCommand } from "@aws-sdk/client-workdocs"; // ES Modules import * // const { WorkDocsClient, DeleteUserCommand } = require("@aws-sdk/client-workdocs"); // CommonJS import * // import type { WorkDocsClientConfig } from "@aws-sdk/client-workdocs"; * const config = {}; // type is WorkDocsClientConfig * const client = new WorkDocsClient(config); * const input = { // DeleteUserRequest * AuthenticationToken: "STRING_VALUE", * UserId: "STRING_VALUE", // required * }; * const command = new DeleteUserCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteUserCommandInput - {@link DeleteUserCommandInput} * @returns {@link DeleteUserCommandOutput} * @see {@link DeleteUserCommandInput} for command's `input` shape. * @see {@link DeleteUserCommandOutput} for command's `response` shape. * @see {@link WorkDocsClientResolvedConfig | config} for WorkDocsClient's `config` shape. * * @throws {@link EntityNotExistsException} (client fault) *

The resource does not exist.

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

The Directory Service cannot reach an on-premises instance. Or a dependency * under the control of the organization is failing, such as a connected Active * Directory.

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

One or more of the dependencies is unavailable.

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

The operation is not permitted.

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

The caller does not have access to perform the action on the resource.

* * @throws {@link WorkDocsServiceException} *

Base exception class for all service exceptions from WorkDocs service.

* * * @public */ export declare class DeleteUserCommand extends DeleteUserCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteUserRequest; output: {}; }; sdk: { input: DeleteUserCommandInput; output: DeleteUserCommandOutput; }; }; }