Module Values.ConfirmSignUpResponseSource

Represents the response from the server for the registration confirmation.

Sourcetype nonrec t = {
  1. session : SessionType.t option;
    (*

    A session identifier that you can use to immediately sign in the confirmed user. You can automatically sign users in with the one-time password that they provided in a successful ConfirmSignUp request.

    *)
}
Sourcetype nonrec error = [
  1. | `AliasExistsException of AliasExistsException.t
  2. | `CodeMismatchException of CodeMismatchException.t
  3. | `ExpiredCodeException of ExpiredCodeException.t
  4. | `ForbiddenException of ForbiddenException.t
  5. | `InternalErrorException of InternalErrorException.t
  6. | `InvalidLambdaResponseException of InvalidLambdaResponseException.t
  7. | `InvalidParameterException of InvalidParameterException.t
  8. | `LimitExceededException of LimitExceededException.t
  9. | `NotAuthorizedException of NotAuthorizedException.t
  10. | `ResourceNotFoundException of ResourceNotFoundException.t
  11. | `TooManyFailedAttemptsException of TooManyFailedAttemptsException.t
  12. | `TooManyRequestsException of TooManyRequestsException.t
  13. | `UnexpectedLambdaException of UnexpectedLambdaException.t
  14. | `UserLambdaValidationException of UserLambdaValidationException.t
  15. | `UserNotFoundException of UserNotFoundException.t
  16. | `Unknown_operation_error of string * string option
]
Sourceval make : ?session:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AliasExistsException of AliasExistsException.t | `CodeMismatchException of CodeMismatchException.t | `ExpiredCodeException of ExpiredCodeException.t | `ForbiddenException of ForbiddenException.t | `InternalErrorException of InternalErrorException.t | `InvalidLambdaResponseException of InvalidLambdaResponseException.t | `InvalidParameterException of InvalidParameterException.t | `LimitExceededException of LimitExceededException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyFailedAttemptsException of TooManyFailedAttemptsException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnexpectedLambdaException of UnexpectedLambdaException.t | `Unknown_operation_error of string * string option | `UserLambdaValidationException of UserLambdaValidationException.t | `UserNotFoundException of UserNotFoundException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AliasExistsException of AliasExistsException.t | `CodeMismatchException of CodeMismatchException.t | `ExpiredCodeException of ExpiredCodeException.t | `ForbiddenException of ForbiddenException.t | `InternalErrorException of InternalErrorException.t | `InvalidLambdaResponseException of InvalidLambdaResponseException.t | `InvalidParameterException of InvalidParameterException.t | `LimitExceededException of LimitExceededException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyFailedAttemptsException of TooManyFailedAttemptsException.t | `TooManyRequestsException of TooManyRequestsException.t | `UnexpectedLambdaException of UnexpectedLambdaException.t | `Unknown_operation_error of string * string option | `UserLambdaValidationException of UserLambdaValidationException.t | `UserNotFoundException of UserNotFoundException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SessionType.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