amazonka-mechanicalturk-1.6.0: Amazon Mechanical Turk SDK.

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

Network.AWS.MechanicalTurk.GetAccountBalance

Contents

Description

The GetAccountBalance operation retrieves the amount of money in your Amazon Mechanical Turk account.

Synopsis

Creating a Request

getAccountBalance :: GetAccountBalance Source #

Creates a value of GetAccountBalance with the minimum fields required to make a request.

data GetAccountBalance Source #

See: getAccountBalance smart constructor.

Instances

Eq GetAccountBalance Source # 
Data GetAccountBalance Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAccountBalance -> c GetAccountBalance #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAccountBalance #

toConstr :: GetAccountBalance -> Constr #

dataTypeOf :: GetAccountBalance -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAccountBalance) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAccountBalance) #

gmapT :: (forall b. Data b => b -> b) -> GetAccountBalance -> GetAccountBalance #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountBalance -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountBalance -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAccountBalance -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAccountBalance -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAccountBalance -> m GetAccountBalance #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountBalance -> m GetAccountBalance #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountBalance -> m GetAccountBalance #

Read GetAccountBalance Source # 
Show GetAccountBalance Source # 
Generic GetAccountBalance Source # 
Hashable GetAccountBalance Source # 
ToJSON GetAccountBalance Source # 
NFData GetAccountBalance Source # 

Methods

rnf :: GetAccountBalance -> () #

AWSRequest GetAccountBalance Source # 
ToHeaders GetAccountBalance Source # 
ToPath GetAccountBalance Source # 
ToQuery GetAccountBalance Source # 
type Rep GetAccountBalance Source # 
type Rep GetAccountBalance = D1 * (MetaData "GetAccountBalance" "Network.AWS.MechanicalTurk.GetAccountBalance" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "GetAccountBalance'" PrefixI False) (U1 *))
type Rs GetAccountBalance Source # 

Destructuring the Response

getAccountBalanceResponse Source #

Creates a value of GetAccountBalanceResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetAccountBalanceResponse Source #

See: getAccountBalanceResponse smart constructor.

Instances

Eq GetAccountBalanceResponse Source # 
Data GetAccountBalanceResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetAccountBalanceResponse -> c GetAccountBalanceResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetAccountBalanceResponse #

toConstr :: GetAccountBalanceResponse -> Constr #

dataTypeOf :: GetAccountBalanceResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c GetAccountBalanceResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetAccountBalanceResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetAccountBalanceResponse -> GetAccountBalanceResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountBalanceResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetAccountBalanceResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetAccountBalanceResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetAccountBalanceResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetAccountBalanceResponse -> m GetAccountBalanceResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountBalanceResponse -> m GetAccountBalanceResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetAccountBalanceResponse -> m GetAccountBalanceResponse #

Read GetAccountBalanceResponse Source # 
Show GetAccountBalanceResponse Source # 
Generic GetAccountBalanceResponse Source # 
NFData GetAccountBalanceResponse Source # 
type Rep GetAccountBalanceResponse Source # 
type Rep GetAccountBalanceResponse = D1 * (MetaData "GetAccountBalanceResponse" "Network.AWS.MechanicalTurk.GetAccountBalance" "amazonka-mechanicalturk-1.6.0-LJdO7bIweE9BcCI1YoYmug" False) (C1 * (MetaCons "GetAccountBalanceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gabrsAvailableBalance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gabrsOnHoldBalance") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gabrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses