import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AppStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AppStreamClient"; import type { CreateUserRequest, CreateUserResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateUserCommand}. */ export interface CreateUserCommandInput extends CreateUserRequest { } /** * @public * * The output of {@link CreateUserCommand}. */ export interface CreateUserCommandOutput extends CreateUserResult, __MetadataBearer { } declare const CreateUserCommand_base: { new (input: CreateUserCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateUserCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a new user in the user pool.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AppStreamClient, CreateUserCommand } from "@aws-sdk/client-appstream"; // ES Modules import * // const { AppStreamClient, CreateUserCommand } = require("@aws-sdk/client-appstream"); // CommonJS import * // import type { AppStreamClientConfig } from "@aws-sdk/client-appstream"; * const config = {}; // type is AppStreamClientConfig * const client = new AppStreamClient(config); * const input = { // CreateUserRequest * UserName: "STRING_VALUE", // required * MessageAction: "SUPPRESS" || "RESEND", * FirstName: "STRING_VALUE", * LastName: "STRING_VALUE", * AuthenticationType: "API" || "SAML" || "USERPOOL" || "AWS_AD", // required * }; * const command = new CreateUserCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param CreateUserCommandInput - {@link CreateUserCommandInput} * @returns {@link CreateUserCommandOutput} * @see {@link CreateUserCommandInput} for command's `input` shape. * @see {@link CreateUserCommandOutput} for command's `response` shape. * @see {@link AppStreamClientResolvedConfig | config} for AppStreamClient's `config` shape. * * @throws {@link InvalidAccountStatusException} (client fault) *

The resource cannot be created because your AWS account is suspended. For assistance, contact AWS Support.

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

Indicates an incorrect combination of parameters, or a missing parameter.

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

The requested limit exceeds the permitted limit for an account.

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

The attempted operation is not permitted.

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

The specified resource already exists.

* * @throws {@link AppStreamServiceException} *

Base exception class for all service exceptions from AppStream service.

* * * @public */ export declare class CreateUserCommand extends CreateUserCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateUserRequest; output: {}; }; sdk: { input: CreateUserCommandInput; output: CreateUserCommandOutput; }; }; }