Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SendBonusRequest

import type { SendBonusRequest } from "https://aws-api.deno.dev/v0.4/services/mturk.ts?docs=full";
interface SendBonusRequest {
AssignmentId: string;
BonusAmount: string;
Reason: string;
UniqueRequestToken?: string | null;
WorkerId: string;
}

§Properties

§
AssignmentId: string
[src]

The ID of the assignment for which this bonus is paid.

§
BonusAmount: string
[src]

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.

§
Reason: string
[src]

A message that explains the reason for the bonus payment. The Worker receiving the bonus can see this message.

§
UniqueRequestToken?: string | null
[src]

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.

§
WorkerId: string
[src]

The ID of the Worker being paid the bonus.