import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateUserRequest, CreateUserResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateUserCommand}. */ export interface CreateUserCommandInput extends CreateUserRequest { } /** * @public * * The output of {@link CreateUserCommand}. */ export interface CreateUserCommandOutput extends CreateUserResponse, __MetadataBearer { } declare const CreateUserCommand_base: { new (input: CreateUserCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateUserCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates an ActiveMQ user.

Do not add personally identifiable information (PII) or other confidential or sensitive information in broker usernames. Broker usernames are accessible to other Amazon Web Services services, including CloudWatch Logs. Broker usernames are not intended to be used for private or sensitive data.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MqClient, CreateUserCommand } from "@aws-sdk/client-mq"; // ES Modules import * // const { MqClient, CreateUserCommand } = require("@aws-sdk/client-mq"); // CommonJS import * // import type { MqClientConfig } from "@aws-sdk/client-mq"; * const config = {}; // type is MqClientConfig * const client = new MqClient(config); * const input = { // CreateUserRequest * BrokerId: "STRING_VALUE", // required * ConsoleAccess: true || false, * Groups: [ // __listOf__string * "STRING_VALUE", * ], * Password: "STRING_VALUE", // required * Username: "STRING_VALUE", // required * ReplicationUser: true || false, * }; * 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 MqClientResolvedConfig | config} for MqClient's `config` shape. * * @throws {@link BadRequestException} (client fault) *

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

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

Returns information about an error.

* * @throws {@link MqServiceException} *

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