amazonka-mechanicalturk-1.6.1: 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.ListBonusPayments

Contents

Description

The ListBonusPayments operation retrieves the amounts of bonuses you have paid to Workers for a given HIT or assignment.

This operation returns paginated results.

Synopsis

Creating a Request

listBonusPayments :: ListBonusPayments Source #

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

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

  • lbpNextToken - Pagination token
  • lbpHITId - The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified
  • lbpAssignmentId - The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified
  • lbpMaxResults - Undocumented member.

data ListBonusPayments Source #

See: listBonusPayments smart constructor.

Instances
Eq ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Data ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Methods

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

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

toConstr :: ListBonusPayments -> Constr #

dataTypeOf :: ListBonusPayments -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Show ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Generic ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Associated Types

type Rep ListBonusPayments :: Type -> Type #

Hashable ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

ToJSON ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

AWSPager ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

AWSRequest ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Associated Types

type Rs ListBonusPayments :: Type #

ToHeaders ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

ToPath ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

ToQuery ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

NFData ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Methods

rnf :: ListBonusPayments -> () #

type Rep ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

type Rep ListBonusPayments = D1 (MetaData "ListBonusPayments" "Network.AWS.MechanicalTurk.ListBonusPayments" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "ListBonusPayments'" PrefixI True) ((S1 (MetaSel (Just "_lbpNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbpHITId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lbpAssignmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lbpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListBonusPayments Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Request Lenses

lbpHITId :: Lens' ListBonusPayments (Maybe Text) Source #

The ID of the HIT associated with the bonus payments to retrieve. If not specified, all bonus payments for all assignments for the given HIT are returned. Either the HITId parameter or the AssignmentId parameter must be specified

lbpAssignmentId :: Lens' ListBonusPayments (Maybe Text) Source #

The ID of the assignment associated with the bonus payments to retrieve. If specified, only bonus payments for the given assignment are returned. Either the HITId parameter or the AssignmentId parameter must be specified

Destructuring the Response

listBonusPaymentsResponse Source #

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

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

  • lbprsBonusPayments - A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.
  • lbprsNextToken - Undocumented member.
  • lbprsNumResults - The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.
  • lbprsResponseStatus - -- | The response status code.

data ListBonusPaymentsResponse Source #

See: listBonusPaymentsResponse smart constructor.

Instances
Eq ListBonusPaymentsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Data ListBonusPaymentsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Methods

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

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

toConstr :: ListBonusPaymentsResponse -> Constr #

dataTypeOf :: ListBonusPaymentsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListBonusPaymentsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Show ListBonusPaymentsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Generic ListBonusPaymentsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

Associated Types

type Rep ListBonusPaymentsResponse :: Type -> Type #

NFData ListBonusPaymentsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

type Rep ListBonusPaymentsResponse Source # 
Instance details

Defined in Network.AWS.MechanicalTurk.ListBonusPayments

type Rep ListBonusPaymentsResponse = D1 (MetaData "ListBonusPaymentsResponse" "Network.AWS.MechanicalTurk.ListBonusPayments" "amazonka-mechanicalturk-1.6.1-GV5ehA4FkQY3BZvWX2sEC2" False) (C1 (MetaCons "ListBonusPaymentsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lbprsBonusPayments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BonusPayment])) :*: S1 (MetaSel (Just "_lbprsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lbprsNumResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_lbprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lbprsBonusPayments :: Lens' ListBonusPaymentsResponse [BonusPayment] Source #

A successful request to the ListBonusPayments operation returns a list of BonusPayment objects.

lbprsNumResults :: Lens' ListBonusPaymentsResponse (Maybe Int) Source #

The number of bonus payments on this page in the filtered results list, equivalent to the number of bonus payments being returned by this call.