Module Values_1.CreateUserResponseSource

Creates a user account for the specified Amazon Connect instance. Certain UserIdentityInfo parameters are required in some situations. For example, Email, FirstName and LastName are required if you are using Amazon Connect or SAML for identity management. Fields in 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 We recommend using channel-specific parameters such as 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.

Sourcetype nonrec t = {
  1. userId : Values_0.UserId.t option;
    (*

    The identifier of the user account.

    *)
  2. userArn : Values_0.ARN.t option;
    (*

    The Amazon Resource Name (ARN) of the user account.

    *)
}
Sourcetype nonrec error = [
  1. | `DuplicateResourceException of Values_0.DuplicateResourceException.t
  2. | `InternalServiceException of Values_0.InternalServiceException.t
  3. | `InvalidParameterException of Values_0.InvalidParameterException.t
  4. | `InvalidRequestException of Values_0.InvalidRequestException.t
  5. | `LimitExceededException of Values_0.LimitExceededException.t
  6. | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t
  7. | `ThrottlingException of Values_0.ThrottlingException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?userId:??? -> ?userArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DuplicateResourceException of Values_0.DuplicateResourceException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DuplicateResourceException of Values_0.DuplicateResourceException.t | `InternalServiceException of Values_0.InternalServiceException.t | `InvalidParameterException of Values_0.InvalidParameterException.t | `InvalidRequestException of Values_0.InvalidRequestException.t | `LimitExceededException of Values_0.LimitExceededException.t | `ResourceNotFoundException of Values_0.ResourceNotFoundException.t | `ThrottlingException of Values_0.ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Values_0.UserId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t