code: func (c *MTurk) ListAssignmentsForHIT(input *ListAssignmentsForHITInput) (*ListAssignmentsForHITOutput, error) {
  	req, out := c.ListAssignmentsForHITRequest(input)
  	return out, req.Send()
  }
docs: // ListAssignmentsForHIT API operation for Amazon Mechanical Turk.
  //
  // The ListAssignmentsForHIT operation retrieves completed assignments for a
  // HIT. You can use this operation to retrieve the results for a HIT.
  //
  // You can get assignments for a HIT at any time, even if the HIT is not yet
  // Reviewable. If a HIT requested multiple assignments, and has received some
  // results but has not yet become Reviewable, you can still retrieve the partial
  // results with this operation.
  //
  // Use the AssignmentStatus parameter to control which set of assignments for
  // a HIT are returned. The ListAssignmentsForHIT operation can return submitted
  // assignments awaiting approval, or it can return assignments that have already
  // been approved or rejected. You can set AssignmentStatus=Approved,Rejected
  // to get assignments that have already been approved and rejected together
  // in one result set.
  //
  // Only the Requester who created the HIT can retrieve the assignments for that
  // HIT.
  //
  // Results are sorted and divided into numbered pages and the operation returns
  // a single page of results. You can use the parameters of the operation to
  // control sorting and pagination.
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for Amazon Mechanical Turk's
  // API operation ListAssignmentsForHIT for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeServiceFault "ServiceFault"
  //   Amazon Mechanical Turk is temporarily unable to process your request. Try
  //   your call again.
  //
  //   * ErrCodeRequestError "RequestError"
  //   Your request is invalid.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/mturk-requester-2017-01-17/ListAssignmentsForHIT