Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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[];
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.
§
EventTypes: EventType[]
[src]

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.

§

The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.

§
Version: string
[src]

The version of the Notification API to use. Valid value is 2006-05-05.