NAME

Paws::MTurk::ListAssignmentsForHIT - Arguments for method ListAssignmentsForHIT on Paws::MTurk

DESCRIPTION

This class represents the parameters used for calling the method ListAssignmentsForHIT on the Amazon Mechanical Turk service. Use the attributes of this class as arguments to method ListAssignmentsForHIT.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAssignmentsForHIT.

SYNOPSIS

    my $mturk-requester = Paws->service('MTurk');
    my $ListAssignmentsForHITResponse =
      $mturk -requester->ListAssignmentsForHIT(
      HITId              => 'MyEntityId',
      AssignmentStatuses => [
        'Submitted', ...    # values: Submitted, Approved, Rejected
      ],                    # OPTIONAL
      MaxResults => 1,                      # OPTIONAL
      NextToken  => 'MyPaginationToken',    # OPTIONAL
      );

    # Results:
    my $Assignments = $ListAssignmentsForHITResponse->Assignments;
    my $NextToken   = $ListAssignmentsForHITResponse->NextToken;
    my $NumResults  = $ListAssignmentsForHITResponse->NumResults;

    # Returns a L<Paws::MTurk::ListAssignmentsForHITResponse> object.

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/ListAssignmentsForHIT

ATTRIBUTES

AssignmentStatuses => ArrayRef[Str|Undef]

The status of the assignments to return: Submitted | Approved | Rejected

REQUIRED HITId => Str

The ID of the HIT.

MaxResults => Int

NextToken => Str

Pagination token

SEE ALSO

This class forms part of Paws, documenting arguments for method ListAssignmentsForHIT 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