NotificationSpecification
import type { NotificationSpecification } from "https://aws-api.deno.dev/v0.4/services/mturk.ts?docs=full";
The NotificationSpecification data structure describes a HIT event notification for a HIT type.
interface NotificationSpecification {
Destination: string;
EventTypes: EventType[];
Transport: NotificationTransport;
Version: string;
}§Properties
§
Destination: string
[src]The target for notification messages. The Destination’s format is determined by the specified Transport:
- When Transport is Email, the Destination is your email address.
- When Transport is SQS, the Destination is your queue URL.
- When Transport is SNS, the Destination is the ARN of your topic.
§
The list of events that should cause notifications to be sent. Valid Values: AssignmentAccepted | AssignmentAbandoned | AssignmentReturned | AssignmentSubmitted | AssignmentRejected | AssignmentApproved | HITCreated | HITExtended | HITDisposed | HITReviewable | HITExpired | Ping. The Ping event is only valid for the SendTestEventNotification operation.
§
Transport: NotificationTransport
[src]The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.