Module Values.ConfirmDeviceResponseSource

The confirm-device response.

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

    When true, your user must confirm that they want to remember the device. Prompt the user for an answer. When false, immediately sets the device as remembered and eligible for device authentication. You can configure your user pool to always remember devices, in which case this response is false, or to allow users to opt in, in which case this response is true. Configure this option under Device tracking in the Sign-in menu of your user pool.

    *)
}
Sourcetype nonrec error = [
  1. | `DeviceKeyExistsException of DeviceKeyExistsException.t
  2. | `ForbiddenException of ForbiddenException.t
  3. | `InternalErrorException of InternalErrorException.t
  4. | `InvalidLambdaResponseException of InvalidLambdaResponseException.t
  5. | `InvalidParameterException of InvalidParameterException.t
  6. | `InvalidPasswordException of InvalidPasswordException.t
  7. | `InvalidUserPoolConfigurationException of InvalidUserPoolConfigurationException.t
  8. | `NotAuthorizedException of NotAuthorizedException.t
  9. | `PasswordResetRequiredException of PasswordResetRequiredException.t
  10. | `ResourceNotFoundException of ResourceNotFoundException.t
  11. | `TooManyRequestsException of TooManyRequestsException.t
  12. | `UserNotConfirmedException of UserNotConfirmedException.t
  13. | `UserNotFoundException of UserNotFoundException.t
  14. | `UsernameExistsException of UsernameExistsException.t
  15. | `Unknown_operation_error of string * string option
]
Sourceval make : ?userConfirmationNecessary:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `DeviceKeyExistsException of DeviceKeyExistsException.t | `ForbiddenException of ForbiddenException.t | `InternalErrorException of InternalErrorException.t | `InvalidLambdaResponseException of InvalidLambdaResponseException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidPasswordException of InvalidPasswordException.t | `InvalidUserPoolConfigurationException of InvalidUserPoolConfigurationException.t | `NotAuthorizedException of NotAuthorizedException.t | `PasswordResetRequiredException of PasswordResetRequiredException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option | `UserNotConfirmedException of UserNotConfirmedException.t | `UserNotFoundException of UserNotFoundException.t | `UsernameExistsException of UsernameExistsException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `DeviceKeyExistsException of DeviceKeyExistsException.t | `ForbiddenException of ForbiddenException.t | `InternalErrorException of InternalErrorException.t | `InvalidLambdaResponseException of InvalidLambdaResponseException.t | `InvalidParameterException of InvalidParameterException.t | `InvalidPasswordException of InvalidPasswordException.t | `InvalidUserPoolConfigurationException of InvalidUserPoolConfigurationException.t | `NotAuthorizedException of NotAuthorizedException.t | `PasswordResetRequiredException of PasswordResetRequiredException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyRequestsException of TooManyRequestsException.t | `Unknown_operation_error of string * string option | `UserNotConfirmedException of UserNotConfirmedException.t | `UserNotFoundException of UserNotFoundException.t | `UsernameExistsException of UsernameExistsException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanType.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