mturk

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activities

type Activities struct {
	// contains filtered or unexported fields
}

func NewActivities

func NewActivities(sess *session.Session, config ...*aws.Config) *Activities

func NewActivitiesWithSessionFactory

func NewActivitiesWithSessionFactory(sessionFactory SessionFactory) *Activities

func (*Activities) ApproveAssignment

func (*Activities) CreateHIT

func (a *Activities) CreateHIT(ctx context.Context, input *mturk.CreateHITInput) (*mturk.CreateHITOutput, error)

func (*Activities) CreateHITType

func (*Activities) CreateHITWithHITType

func (*Activities) CreateQualificationType

func (*Activities) CreateWorkerBlock

func (*Activities) DeleteHIT

func (a *Activities) DeleteHIT(ctx context.Context, input *mturk.DeleteHITInput) (*mturk.DeleteHITOutput, error)

func (*Activities) DeleteQualificationType

func (*Activities) DeleteWorkerBlock

func (*Activities) GetAccountBalance

func (*Activities) GetAssignment

func (*Activities) GetFileUploadURL

func (*Activities) GetHIT

func (a *Activities) GetHIT(ctx context.Context, input *mturk.GetHITInput) (*mturk.GetHITOutput, error)

func (*Activities) GetQualificationScore

func (*Activities) GetQualificationType

func (*Activities) ListAssignmentsForHIT

func (*Activities) ListBonusPayments

func (*Activities) ListHITs

func (a *Activities) ListHITs(ctx context.Context, input *mturk.ListHITsInput) (*mturk.ListHITsOutput, error)

func (*Activities) ListQualificationTypes

func (*Activities) ListReviewableHITs

func (*Activities) ListWorkerBlocks

func (*Activities) NotifyWorkers

func (*Activities) RejectAssignment

func (*Activities) SendBonus

func (a *Activities) SendBonus(ctx context.Context, input *mturk.SendBonusInput) (*mturk.SendBonusOutput, error)

func (*Activities) UpdateExpirationForHIT

func (*Activities) UpdateHITReviewStatus

func (*Activities) UpdateHITTypeOfHIT

func (*Activities) UpdateQualificationType

type SessionFactory

type SessionFactory interface {
	Session(ctx context.Context) (*session.Session, error)
}

SessionFactory returns an aws.Session based on the activity context.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL