HIT

public struct HIT : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The length of time, in seconds, that a Worker has to complete the HIT after accepting it.

    Declaration

    Swift

    public let assignmentDurationInSeconds: Int64?
  • The amount of time, in seconds, after the Worker submits an assignment for the HIT that the results are automatically approved by Amazon Mechanical Turk. This is the amount of time the Requester has to reject an assignment submitted by a Worker before the assignment is auto-approved and the Worker is paid.

    Declaration

    Swift

    public let autoApprovalDelayInSeconds: Int64?
  • The date and time the HIT was created.

    Declaration

    Swift

    public let creationTime: TimeStamp?
  • A general description of the HIT.

    Declaration

    Swift

    public let description: String?
  • The date and time the HIT expires.

    Declaration

    Swift

    public let expiration: TimeStamp?
  • The ID of the HIT Group of this HIT.

    Declaration

    Swift

    public let hITGroupId: String?
  • A unique identifier for the HIT.

    Declaration

    Swift

    public let hITId: String?
  • The ID of the HIT Layout of this HIT.

    Declaration

    Swift

    public let hITLayoutId: String?
  • Indicates the review status of the HIT. Valid Values are NotReviewed | MarkedForReview | ReviewedAppropriate | ReviewedInappropriate.

    Declaration

    Swift

    public let hITReviewStatus: HITReviewStatus?
  • The status of the HIT and its assignments. Valid Values are Assignable | Unassignable | Reviewable | Reviewing | Disposed.

    Declaration

    Swift

    public let hITStatus: HITStatus?
  • The ID of the HIT type of this HIT

    Declaration

    Swift

    public let hITTypeId: String?
  • One or more words or phrases that describe the HIT, separated by commas. Search terms similar to the keywords of a HIT are more likely to have the HIT in the search results.

    Declaration

    Swift

    public let keywords: String?
  • The number of times the HIT can be accepted and completed before the HIT becomes unavailable.

    Declaration

    Swift

    public let maxAssignments: Int?
  • The number of assignments for this HIT that are available for Workers to accept.

    Declaration

    Swift

    public let numberOfAssignmentsAvailable: Int?
  • The number of assignments for this HIT that have been approved or rejected.

    Declaration

    Swift

    public let numberOfAssignmentsCompleted: Int?
  • The number of assignments for this HIT that are being previewed or have been accepted by Workers, but have not yet been submitted, returned, or abandoned.

    Declaration

    Swift

    public let numberOfAssignmentsPending: Int?
  • Conditions that a Worker’s Qualifications must meet in order to accept the HIT. A HIT can have between zero and ten Qualification requirements. All requirements must be met in order for a Worker to accept the HIT. Additionally, other actions can be restricted using the ActionsGuarded field on each QualificationRequirement structure.

    Declaration

    Swift

    public let qualificationRequirements: [QualificationRequirement]?
  • The data the Worker completing the HIT uses produce the results. This is either either a QuestionForm, HTMLQuestion or an ExternalQuestion data structure.

    Declaration

    Swift

    public let question: String?
  • An arbitrary data field the Requester who created the HIT can use. This field is visible only to the creator of the HIT.

    Declaration

    Swift

    public let requesterAnnotation: String?
  • Undocumented

    Declaration

    Swift

    public let reward: String?
  • The title of the HIT.

    Declaration

    Swift

    public let title: String?
  • Undocumented

    Declaration

    Swift

    public init(assignmentDurationInSeconds: Int64? = nil, autoApprovalDelayInSeconds: Int64? = nil, creationTime: TimeStamp? = nil, description: String? = nil, expiration: TimeStamp? = nil, hITGroupId: String? = nil, hITId: String? = nil, hITLayoutId: String? = nil, hITReviewStatus: HITReviewStatus? = nil, hITStatus: HITStatus? = nil, hITTypeId: String? = nil, keywords: String? = nil, maxAssignments: Int? = nil, numberOfAssignmentsAvailable: Int? = nil, numberOfAssignmentsCompleted: Int? = nil, numberOfAssignmentsPending: Int? = nil, qualificationRequirements: [QualificationRequirement]? = nil, question: String? = nil, requesterAnnotation: String? = nil, reward: String? = nil, title: String? = nil)