import { AccessLevelList } from '../shared/access-level' ; import { PolicyStatement } from '../shared' ; param sid export class Mechanicalturk extends PolicyStatement { public servicePrefix = 'mechanicalturk' ; param sid constructor ( sid ? ) { super ( sid ) ; } /**
     * The AcceptQualificationRequest operation grants a Worker's request for a Qualification
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_AcceptQualificationRequestOperation.html
     */ public toAcceptQualificationRequest ( ) { return this . to ( 'AcceptQualificationRequest' ) ; } /**
     * The ApproveAssignment operation approves the results of a completed assignment
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ApproveAssignmentOperation.html
     */ public toApproveAssignment ( ) { return this . to ( 'ApproveAssignment' ) ; } /**
     * The AssociateQualificationWithWorker operation gives a Worker a Qualification
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_AssociateQualificationWithWorkerOperation.html
     */ public toAssociateQualificationWithWorker ( ) { return this . to ( 'AssociateQualificationWithWorker' ) ; } /**
     * The CreateAdditionalAssignmentsForHIT operation increases the maximum number of assignments of an existing HIT
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateAdditionalAssignmentsForHITOperation.html
     */ public toCreateAdditionalAssignmentsForHIT ( ) { return this . to ( 'CreateAdditionalAssignmentsForHIT' ) ; } /**
     * The CreateHIT operation creates a new HIT (Human Intelligence Task)
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateHITOperation.html
     */ public toCreateHIT ( ) { return this . to ( 'CreateHIT' ) ; } /**
     * The CreateHITType operation creates a new HIT type
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateHITTypeOperation.html
     */ public toCreateHITType ( ) { return this . to ( 'CreateHITType' ) ; } /**
     * The CreateHITWithHITType operation creates a new Human Intelligence Task (HIT) using an existing HITTypeID generated by the CreateHITType operation
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateHITWithHITTypeOperation.html
     */ public toCreateHITWithHITType ( ) { return this . to ( 'CreateHITWithHITType' ) ; } /**
     * The CreateQualificationType operation creates a new Qualification type, which is represented by a QualificationType data structure
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateQualificationTypeOperation.html
     */ public toCreateQualificationType ( ) { return this . to ( 'CreateQualificationType' ) ; } /**
     * The CreateWorkerBlock operation allows you to prevent a Worker from working on your HITs
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateWorkerBlockOperation.html
     */ public toCreateWorkerBlock ( ) { return this . to ( 'CreateWorkerBlock' ) ; } /**
     * The DeleteHIT operation disposes of a HIT that is no longer needed
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_DeleteHITOperation.html
     */ public toDeleteHIT ( ) { return this . to ( 'DeleteHIT' ) ; } /**
     * The DeleteQualificationType disposes a Qualification type and disposes any HIT types that are associated with the Qualification type
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_DeleteQualificationTypeOperation.html
     */ public toDeleteQualificationType ( ) { return this . to ( 'DeleteQualificationType' ) ; } /**
     * The DeleteWorkerBlock operation allows you to reinstate a blocked Worker to work on your HITs
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_DeleteWorkerBlockOperation.html
     */ public toDeleteWorkerBlock ( ) { return this . to ( 'DeleteWorkerBlock' ) ; } /**
     * The DisassociateQualificationFromWorker revokes a previously granted Qualification from a user
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_DisassociateQualificationFromWorkerOperation.html
     */ public toDisassociateQualificationFromWorker ( ) { return this . to ( 'DisassociateQualificationFromWorker' ) ; } /**
     * The GetAccountBalance operation retrieves the amount of money in your Amazon Mechanical Turk account
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetAccountBalanceOperation.html
     */ public toGetAccountBalance ( ) { return this . to ( 'GetAccountBalance' ) ; } /**
     * The GetAssignment retrieves an assignment with an AssignmentStatus value of Submitted, Approved, or Rejected, using the assignment's ID
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetAssignmentOperation.html
     */ public toGetAssignment ( ) { return this . to ( 'GetAssignment' ) ; } /**
     * The GetFileUploadURL operation generates and returns a temporary URL
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetFileUploadURLOperation.html
     */ public toGetFileUploadURL ( ) { return this . to ( 'GetFileUploadURL' ) ; } /**
     * The GetHIT operation retrieves the details of the specified HIT
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetHITOperation.html
     */ public toGetHIT ( ) { return this . to ( 'GetHIT' ) ; } /**
     * The GetQualificationScore operation returns the value of a Worker's Qualification for a given Qualification type
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetQualificationScoreOperation.html
     */ public toGetQualificationScore ( ) { return this . to ( 'GetQualificationScore' ) ; } /**
     * The GetQualificationType operation retrieves information about a Qualification type using its ID
     *
     * Access Level: Read
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_GetQualificationTypeOperation.html
     */ public toGetQualificationType ( ) { return this . to ( 'GetQualificationType' ) ; } /**
     * The ListAssignmentsForHIT operation retrieves completed assignments for a HIT
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListAssignmentsForHITOperation.html
     */ public toListAssignmentsForHIT ( ) { return this . to ( 'ListAssignmentsForHIT' ) ; } /**
     * The ListBonusPayments operation retrieves the amounts of bonuses you have paid to Workers for a given HIT or assignment
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListBonusPaymentsOperation.html
     */ public toListBonusPayments ( ) { return this . to ( 'ListBonusPayments' ) ; } /**
     * The ListHITs operation returns all of a Requester's HITs
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListHITsOperation.html
     */ public toListHITs ( ) { return this . to ( 'ListHITs' ) ; } /**
     * The ListHITsForQualificationType operation returns the HITs that use the given QualififcationType for a QualificationRequirement
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListHITsForQualificationTypeOperation.html
     */ public toListHITsForQualificationType ( ) { return this . to ( 'ListHITsForQualificationType' ) ; } /**
     * The ListQualificationRequests operation retrieves requests for Qualifications of a particular Qualification type
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListQualificationRequestsOperation.html
     */ public toListQualificationRequests ( ) { return this . to ( 'ListQualificationRequests' ) ; } /**
     * The ListQualificationTypes operation searches for Qualification types using the specified search query, and returns a list of Qualification types
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListQualificationTypesOperation.html
     */ public toListQualificationTypes ( ) { return this . to ( 'ListQualificationTypes' ) ; } /**
     * The ListReviewPolicyResultsForHIT operation retrieves the computed results and the actions taken in the course of executing your Review Policies during a CreateHIT operation
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListReviewPolicyResultsForHITOperation.html
     */ public toListReviewPolicyResultsForHIT ( ) { return this . to ( 'ListReviewPolicyResultsForHIT' ) ; } /**
     * The ListReviewableHITs operation returns all of a Requester's HITs that have not been approved or rejected
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListReviewableHITsOperation.html
     */ public toListReviewableHITs ( ) { return this . to ( 'ListReviewableHITs' ) ; } /**
     * The ListWorkersBlocks operation retrieves a list of Workers who are blocked from working on your HITs
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListWorkerBlocksOperation.html
     */ public toListWorkerBlocks ( ) { return this . to ( 'ListWorkerBlocks' ) ; } /**
     * The ListWorkersWithQualificationType operation returns all of the Workers with a given Qualification type
     *
     * Access Level: List
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_ListWorkersWithQualificationTypeOperation.html
     */ public toListWorkersWithQualificationType ( ) { return this . to ( 'ListWorkersWithQualificationType' ) ; } /**
     * The NotifyWorkers operation sends an email to one or more Workers that you specify with the Worker ID
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_NotifyWorkersOperation.html
     */ public toNotifyWorkers ( ) { return this . to ( 'NotifyWorkers' ) ; } /**
     * The RejectAssignment operation rejects the results of a completed assignment
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_RejectAssignmentOperation.html
     */ public toRejectAssignment ( ) { return this . to ( 'RejectAssignment' ) ; } /**
     * The RejectQualificationRequest operation rejects a user's request for a Qualification
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_RejectQualificationRequestOperation.html
     */ public toRejectQualificationRequest ( ) { return this . to ( 'RejectQualificationRequest' ) ; } /**
     * The SendBonus operation issues a payment of money from your account to a Worker
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_SendBonusOperation.html
     */ public toSendBonus ( ) { return this . to ( 'SendBonus' ) ; } /**
     * The SendTestEventNotification operation causes Amazon Mechanical Turk to send a notification message as if a HIT event occurred, according to the provided notification specification
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_SendTestEventNotificationOperation.html
     */ public toSendTestEventNotification ( ) { return this . to ( 'SendTestEventNotification' ) ; } /**
     * The UpdateExpirationForHIT operation allows you extend the expiration time of a HIT beyond is current expiration or expire a HIT immediately
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_UpdateExpirationForHITOperation.html
     */ public toUpdateExpirationForHIT ( ) { return this . to ( 'UpdateExpirationForHIT' ) ; } /**
     * The UpdateHITReviewStatus operation toggles the status of a HIT
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_UpdateHITReviewStatusOperation.html
     */ public toUpdateHITReviewStatus ( ) { return this . to ( 'UpdateHITReviewStatus' ) ; } /**
     * The UpdateHITTypeOfHIT operation allows you to change the HITType properties of a HIT
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_UpdateHITTypeOfHITOperation.html
     */ public toUpdateHITTypeOfHIT ( ) { return this . to ( 'UpdateHITTypeOfHIT' ) ; } /**
     * The UpdateNotificationSettings operation creates, updates, disables or re-enables notifications for a HIT type
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_UpdateNotificationSettingsOperation.html
     */ public toUpdateNotificationSettings ( ) { return this . to ( 'UpdateNotificationSettings' ) ; } /**
     * The UpdateQualificationType operation modifies the attributes of an existing Qualification type, which is represented by a QualificationType data structure
     *
     * Access Level: Write
     *
     * https://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_UpdateQualificationTypeOperation.html
     */ public toUpdateQualificationType ( ) { return this . to ( 'UpdateQualificationType' ) ; } protected accessLevelList : AccessLevelList = { Write : [ 'AcceptQualificationRequest' , 'ApproveAssignment' , 'AssociateQualificationWithWorker' , 'CreateAdditionalAssignmentsForHIT' , 'CreateHIT' , 'CreateHITType' , 'CreateHITWithHITType' , 'CreateQualificationType' , 'CreateWorkerBlock' , 'DeleteHIT' , 'DeleteQualificationType' , 'DeleteWorkerBlock' , 'DisassociateQualificationFromWorker' , 'NotifyWorkers' , 'RejectAssignment' , 'RejectQualificationRequest' , 'SendBonus' , 'SendTestEventNotification' , 'UpdateExpirationForHIT' , 'UpdateHITReviewStatus' , 'UpdateHITTypeOfHIT' , 'UpdateNotificationSettings' , 'UpdateQualificationType' ] , Read : [ 'GetAccountBalance' , 'GetAssignment' , 'GetFileUploadURL' , 'GetHIT' , 'GetQualificationScore' , 'GetQualificationType' ] , List : [ 'ListAssignmentsForHIT' , 'ListBonusPayments' , 'ListHITs' , 'ListHITsForQualificationType' , 'ListQualificationRequests' , 'ListQualificationTypes' , 'ListReviewPolicyResultsForHIT' , 'ListReviewableHITs' , 'ListWorkerBlocks' , 'ListWorkersWithQualificationType' ] } ; }