Smaws_Client_MTurk.GetAccountBalanceThe 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_account_balance_request ->
(Types.get_account_balance_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_account_balance_request ->
(Types.get_account_balance_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result