AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreateUserAsync.

Namespace: Amazon.MQ
Assembly: AWSSDK.MQ.dll
Version: 3.x.y.z

Syntax

C#
public virtual CreateUserResponse CreateUser(
         CreateUserRequest request
)

Parameters

request
Type: Amazon.MQ.Model.CreateUserRequest

Container for the necessary parameters to execute the CreateUser service method.

Return Value


The response from the CreateUser service method, as returned by MQ.

Exceptions

ExceptionCondition
BadRequestException Returns information about an error.
ConflictException Returns information about an error.
ForbiddenException Returns information about an error.
InternalServerErrorException Returns information about an error.
NotFoundException Returns information about an error.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also