Skip to main content

bonus_payments

Creates, updates, deletes, gets or lists a bonus_payments resource.

Overview

Namebonus_payments
TypeResource
Idaws.mturk.bonus_payments

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
assignment_idstringThe ID of the assignment associated with this bonus payment. (pattern: <code>^[A-Z0-9]+$</code>)
bonus_amountstringA string representing a currency amount. (pattern: <code>^[0-9]+(.)?[0-9]{0,2}$</code>)
grant_timestring (date-time)The date and time of when the bonus was granted.
reasonstringThe Reason text given when the bonus was granted, if any.
worker_idstringThe ID of the Worker to whom the bonus was paid. (pattern: <code>^A[A-Z0-9]+$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_bonus_paymentsselectregionThe ListBonusPayments operation retrieves the amounts of bonuses you have paid to Workers for a given HIT or assignment.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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

SELECT
assignment_id,
bonus_amount,
grant_time,
reason,
worker_id
FROM aws.mturk.bonus_payments
WHERE region = '{{ region }}' -- required
;