Module Values.AdminCreateUserResponseSource

Represents the response from the server to the request to create the user.

Sourcetype nonrec t = {
  1. user : UserType.t option;
    (*

    The new user's profile details.

    *)
}
Sourcetype nonrec error = [
  1. | `CodeDeliveryFailureException of CodeDeliveryFailureException.t
  2. | `InternalErrorException of InternalErrorException.t
  3. | `InvalidLambdaResponseException of InvalidLambdaResponseException.t
  4. | `InvalidParameterException of InvalidParameterException.t
  5. | `InvalidPasswordException of InvalidPasswordException.t
  6. | `InvalidSmsRoleAccessPolicyException of InvalidSmsRoleAccessPolicyException.t
  7. | `InvalidSmsRoleTrustRelationshipException of InvalidSmsRoleTrustRelationshipException.t
  8. | `NotAuthorizedException of NotAuthorizedException.t
  9. | `PreconditionNotMetException of PreconditionNotMetException.t
  10. | `ResourceNotFoundException of ResourceNotFoundException.t
  11. | `TooManyRequestsException of TooManyRequestsException.t
  12. | `UnexpectedLambdaException of UnexpectedLambdaException.t
  13. | `UnsupportedUserStateException of UnsupportedUserStateException.t
  14. | `UserLambdaValidationException of UserLambdaValidationException.t
  15. | `UserNotFoundException of UserNotFoundException.t
  16. | `UsernameExistsException of UsernameExistsException.t
  17. | `Unknown_operation_error of string * string option
]
Sourceval make : ?user:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CodeDeliveryFailureException of CodeDeliveryFailureException.t | `InternalErrorException of InternalErrorException.t | `InvalidLambdaResponseException of InvalidLambdaResponseException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidPasswordException of InvalidPasswordException.t | `InvalidSmsRoleAccessPolicyException of InvalidSmsRoleAccessPolicyException.t | `InvalidSmsRoleTrustRelationshipException of InvalidSmsRoleTrustRelationshipException.t | `NotAuthorizedException of NotAuthorizedException.t | `PreconditionNotMetException of PreconditionNotMetException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnexpectedLambdaException of UnexpectedLambdaException.t | `Unknown_operation_error of string * string option | `UnsupportedUserStateException of UnsupportedUserStateException.t | `UserLambdaValidationException of UserLambdaValidationException.t | `UserNotFoundException of UserNotFoundException.t | `UsernameExistsException of UsernameExistsException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CodeDeliveryFailureException of CodeDeliveryFailureException.t | `InternalErrorException of InternalErrorException.t | `InvalidLambdaResponseException of InvalidLambdaResponseException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidPasswordException of InvalidPasswordException.t | `InvalidSmsRoleAccessPolicyException of InvalidSmsRoleAccessPolicyException.t | `InvalidSmsRoleTrustRelationshipException of InvalidSmsRoleTrustRelationshipException.t | `NotAuthorizedException of NotAuthorizedException.t | `PreconditionNotMetException of PreconditionNotMetException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnexpectedLambdaException of UnexpectedLambdaException.t | `Unknown_operation_error of string * string option | `UnsupportedUserStateException of UnsupportedUserStateException.t | `UserLambdaValidationException of UserLambdaValidationException.t | `UserNotFoundException of UserNotFoundException.t | `UsernameExistsException of UsernameExistsException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of BooleanType.t | `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of AttributeNameType.t ]) list ] list | `String of UsernameType.t | `Timestamp of DateType.t ]) list ]) 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