Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
The 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.
Synopsis
- data GetAccountBalance = GetAccountBalance' {
- newGetAccountBalance :: GetAccountBalance
- data GetAccountBalanceResponse = GetAccountBalanceResponse' {}
- newGetAccountBalanceResponse :: Int -> GetAccountBalanceResponse
- getAccountBalanceResponse_availableBalance :: Lens' GetAccountBalanceResponse (Maybe Text)
- getAccountBalanceResponse_onHoldBalance :: Lens' GetAccountBalanceResponse (Maybe Text)
- getAccountBalanceResponse_httpStatus :: Lens' GetAccountBalanceResponse Int
Creating a Request
data GetAccountBalance Source #
See: newGetAccountBalance
smart constructor.
Instances
newGetAccountBalance :: GetAccountBalance Source #
Create a value of GetAccountBalance
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetAccountBalanceResponse Source #
See: newGetAccountBalanceResponse
smart constructor.
GetAccountBalanceResponse' | |
|
Instances
newGetAccountBalanceResponse Source #
Create a value of GetAccountBalanceResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availableBalance:GetAccountBalanceResponse'
, getAccountBalanceResponse_availableBalance
- Undocumented member.
$sel:onHoldBalance:GetAccountBalanceResponse'
, getAccountBalanceResponse_onHoldBalance
- Undocumented member.
$sel:httpStatus:GetAccountBalanceResponse'
, getAccountBalanceResponse_httpStatus
- The response's http status code.
Response Lenses
getAccountBalanceResponse_availableBalance :: Lens' GetAccountBalanceResponse (Maybe Text) Source #
Undocumented member.
getAccountBalanceResponse_onHoldBalance :: Lens' GetAccountBalanceResponse (Maybe Text) Source #
Undocumented member.
getAccountBalanceResponse_httpStatus :: Lens' GetAccountBalanceResponse Int Source #
The response's http status code.