libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MechanicalTurk.GetAccountBalance

Description

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

Creating a Request

data GetAccountBalance Source #

See: newGetAccountBalance smart constructor.

Constructors

GetAccountBalance' 

Instances

Instances details
Eq GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Read GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Show GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Generic GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Associated Types

type Rep GetAccountBalance :: Type -> Type #

NFData GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Methods

rnf :: GetAccountBalance -> () #

Hashable GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

ToJSON GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

AWSRequest GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Associated Types

type AWSResponse GetAccountBalance #

ToHeaders GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

ToPath GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

ToQuery GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

type Rep GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

type Rep GetAccountBalance = D1 ('MetaData "GetAccountBalance" "Amazonka.MechanicalTurk.GetAccountBalance" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "GetAccountBalance'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse GetAccountBalance Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

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.

Constructors

GetAccountBalanceResponse' 

Fields

Instances

Instances details
Eq GetAccountBalanceResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Read GetAccountBalanceResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Show GetAccountBalanceResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Generic GetAccountBalanceResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

Associated Types

type Rep GetAccountBalanceResponse :: Type -> Type #

NFData GetAccountBalanceResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

type Rep GetAccountBalanceResponse Source # 
Instance details

Defined in Amazonka.MechanicalTurk.GetAccountBalance

type Rep GetAccountBalanceResponse = D1 ('MetaData "GetAccountBalanceResponse" "Amazonka.MechanicalTurk.GetAccountBalance" "libZSservicesZSamazonka-mechanicalturkZSamazonka-mechanicalturk" 'False) (C1 ('MetaCons "GetAccountBalanceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "availableBalance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "onHoldBalance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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