Generate a HITType Notification data structure for use in
SetHITTypeNotification
.
GenerateNotification(destination, transport = "Email", event.type,
version = "2006-05-05")
Currently, a character string containing a complete email
address (if transport="Email"
), the SQS URL (if
transport="SQS"
) or the SNS topic (if transport="SNS"
)
Only “Email
”, “SQS
”
and “SNS
” are supported. AWS recommends the use of the SQS
transport.
A character string containing one of:
AssignmentAccepted
, AssignmentAbandoned
, AssignmentReturned
,
AssignmentSubmitted
, AssignmentRejected
, AssignmentApproved
,
HITCreated
, HITExtended
, HITDisposed
, HITReviewable
,
HITCreated
, HITExtended
, HITDisposed
, HITReviewable
,
HITExpired
(the default), or Ping
.
Version of the HITType Notification API to use. Intended only for advanced users.
A dictionary object containing the Notification data structure.
Generate a Notification data structure for use in the notification
option of SetHITTypeNotification
.