NotificationSpecification

public struct NotificationSpecification : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let destination: String
  • 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.

    Declaration

    Swift

    public let eventTypes: [EventType]
  • The method Amazon Mechanical Turk uses to send the notification. Valid Values: Email | SQS | SNS.

    Declaration

    Swift

    public let transport: NotificationTransport
  • The version of the Notification API to use. Valid value is 2006-05-05.

    Declaration

    Swift

    public let version: String
  • Undocumented

    Declaration

    Swift

    public init(destination: String, eventTypes: [EventType], transport: NotificationTransport, version: String)