The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::MTurk::Assignment

USAGE

This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::MTurk::Assignment object:

  $service_obj->Method(Att1 => { AcceptTime => $value, ..., WorkerId => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::MTurk::Assignment object:

  $result = $service_obj->Method(...);
  $result->Att1->AcceptTime

DESCRIPTION

The Assignment data structure represents a single assignment of a HIT to a Worker. The assignment tracks the Worker's efforts to complete the HIT, and contains the results for later retrieval.

ATTRIBUTES

AcceptTime => Str

The date and time the Worker accepted the assignment.

Answer => Str

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

ApprovalTime => Str

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

AssignmentId => Str

A unique identifier for the assignment.

AssignmentStatus => Str

The status of the assignment.

AutoApprovalTime => Str

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Deadline => Str

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

HITId => Str

The ID of the HIT.

RejectionTime => Str

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

RequesterFeedback => Str

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

SubmitTime => Str

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

WorkerId => Str

The ID of the Worker who accepted the HIT.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::MTurk

BUGS and CONTRIBUTIONS

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