Module Values.SignUpResponseSource

The response from the server for a registration request.

Sourcetype nonrec t = {
  1. userConfirmed : BooleanType.t option;
    (*

    Indicates whether the user was automatically confirmed. You can auto-confirm users with a pre sign-up Lambda trigger.

    *)
  2. codeDeliveryDetails : CodeDeliveryDetailsType.t option;
    (*

    In user pools that automatically verify and confirm new users, Amazon Cognito sends users a message with a code or link that confirms ownership of the phone number or email address that they entered. The CodeDeliveryDetails object is information about the delivery destination for that link or code.

    *)
  3. userSub : StringType.t option;
    (*

    The unique identifier of the new user, for example a1b2c3d4-5678-90ab-cdef-EXAMPLE11111.

    *)
  4. session : SessionType.t option;
    (*

    A session Id that you can pass to ConfirmSignUp when you want to immediately sign in your user with the USER_AUTH flow after they complete sign-up.

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