Values.GetAccountBalanceResponseSourceThe GetAccountBalance operation retrieves the Prepaid HITs balance in your Amazon Mechanical Turk account if you are a Prepaid Requester. Alternatively, this operation will retrieve the remaining available AWS Billing usage if you have enabled AWS Billing. Note: If you have enabled AWS Billing and still have a remaining Prepaid HITs balance, this balance can be viewed on the My Account page in the Requester console.
type nonrec t = {availableBalance : CurrencyAmount.t option;onHoldBalance : CurrencyAmount.t option;}type nonrec error = [ | `RequestError of RequestError.t| `ServiceFault of ServiceFault.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `RequestError of RequestError.t
| `ServiceFault of ServiceFault.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `RequestError of RequestError.t
| `ServiceFault of ServiceFault.t
| `Unknown_operation_error of string * string option ]