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 a user account for the specified Amazon Connect instance.
Certain UserIdentityInfo
parameters are required in some situations. For example,
Fields in
We recommend using channel-specific parameters such as Email, FirstName
and LastName are required if you are using Amazon Connect or SAML for identity
management.
PhoneConfig cannot be set simultaneously with their corresponding
channel-specific configuration parameters. Specifically:
PhoneConfig.AutoAccept conflicts with AutoAcceptConfigs
PhoneConfig.AfterContactWorkTimeLimit conflicts with AfterContactWorkConfigs
PhoneConfig.PhoneType and PhoneConfig.PhoneNumber conflict with PhoneNumberConfigs
PhoneConfig.PersistentConnection conflicts with PersistentConnectionConfigs
AutoAcceptConfigs, AfterContactWorkConfigs,
PhoneNumberConfigs, PersistentConnectionConfigs, and VoiceEnhancementConfigs
for per-channel configuration.
For information about how to create users using the Amazon Connect admin website, see Add Users in the Amazon Connect Administrator Guide.
For .NET Core this operation is only available in asynchronous form. Please refer to CreateUserAsync.
Namespace: Amazon.Connect
Assembly: AWSSDK.Connect.dll
Version: 3.x.y.z
public virtual CreateUserResponse CreateUser( CreateUserRequest request )
Container for the necessary parameters to execute the CreateUser service method.
| Exception | Condition |
|---|---|
| DuplicateResourceException | A resource with the specified name already exists. |
| InternalServiceException | Request processing failed because of an error or failure with the service. |
| InvalidParameterException | One or more of the specified parameters are not valid. |
| InvalidRequestException | The request is not valid. |
| LimitExceededException | The allowed limit for the resource has been exceeded. |
| ResourceNotFoundException | The specified resource was not found. |
| ThrottlingException | The throttling limit has been exceeded. |
.NET Framework:
Supported in: 4.5 and newer, 3.5