GenerateNotification: Generate Notification

Description Usage Arguments Details Value Author(s) References See Also

View source: R/GenerateNotification.R

Description

Generate a HITType Notification data structure for use in SetHITTypeNotification.

Usage

1
2
GenerateNotification(destination, transport = "Email", event.type, 
                     version = "2006-05-05", event.number = "1")

Arguments

destination

Currently, a character string containing a complete email address (if transport="Email") or the SQS URL (if transport="SQS").

transport

Currently only “Email” and “SQS” are supported. AWS recommends the use of the SQS transport.

event.type

A character string containing one of: AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, HITReviewable, HITExpired, or Ping.

version

Version of the HITType Notification API to use. Intended only for advanced users.

event.number

Intended only for advanced users to construct custom Notifications.

Details

Generate a Notification data structure for use in the notification option of SetHITTypeNotification.

Value

A character string containing a URL query parameter-formatted Notification data structure.

Author(s)

Thomas J. Leeper

References

API Reference

API Reference: Concept

See Also

SetHITTypeNotification

SendTestEventNotification


MTurkR documentation built on May 29, 2017, 11:09 p.m.