SignUpResultState type  
The possible states for the SignUpResult. This includes:
- SignUpCodeRequiredState: The sign-up process requires a code.
 - SignUpPasswordRequiredState: The sign-up process requires a password.
 - SignUpAttributesRequiredState: The sign-up process requires additional attributes.
 - SignUpFailedState: The sign-up process has failed.
 
type SignUpResultState =
  | SignUpCodeRequiredState
  | SignUpPasswordRequiredState
  | SignUpAttributesRequiredState
  | SignUpFailedState