- SEE ALSO
- BUGS and CONTRIBUTIONS
Paws::MTurk::SendBonus - Arguments for method SendBonus on Paws::MTurk
This class represents the parameters used for calling the method SendBonus on the Amazon Mechanical Turk service. Use the attributes of this class as arguments to method SendBonus.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendBonus.
my $mturk-requester = Paws->service('MTurk'); my $SendBonusResponse = $mturk -requester->SendBonus( AssignmentId => 'MyEntityId', BonusAmount => 'MyCurrencyAmount', Reason => 'MyString', WorkerId => 'MyCustomerId', UniqueRequestToken => 'MyIdempotencyToken', # OPTIONAL );
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester/SendBonus
The ID of the assignment for which this bonus is paid.
The Bonus amount is a US Dollar amount specified using a string (for example, "5" represents $5.00 USD and "101.42" represents $101.42 USD). Do not include currency symbols or currency codes.
A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.
A unique identifier for this request, which allows you to retry the call on error without granting multiple bonuses. This is useful in cases such as network timeouts where it is unclear whether or not the call succeeded on the server. If the bonus already exists in the system from a previous call using the same UniqueRequestToken, subsequent calls will return an error with a message containing the request ID.
The ID of the Worker being paid the bonus.
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues