Has anyone used the createHITType function in the Perl Amazon Mechanical Turk SDK to add notification properties to their HIT?
I managed to get all this to work. I can capture the balance from both my sandbox and the live system. I have successfully created new images using various methods in the samples directory, but I need to enable SetHITTypeNotification, passing properties that tell Amazon to notify me by email when someone receives / sends hits.
I checked the AWS documentation and the rough scheme would be like this:
<Notification>
<Destination>me@email.com</Destination>
<Transport>Email</Transport>
<Version>2006-10-31</Version>
<EventType>AssignmentAccepted</EventType>
<EventType>AssignmentSubmitted</EventType>
</Notification>
I did a few grep'ing through various modules that look for notifications, and stumbled upon the BulkSupport.pm module, which seems to refer to notifications contained as a hash in the properties object passed to the createHITType function.
I also think that it takes them from the properties file, but I specifically studied Perl to use mturk with another project, so now I'm at a dead end to figure out what to do. I'm also tired of all the modules, but there is a complete lack of documentation on the implementation of notifications from what I can find.
source
share