Struct rusoto_mturk::NotificationSpecification [] [src]

pub struct NotificationSpecification {
    pub destination: String,
    pub event_types: Option<Vec<String>>,
    pub transport: String,
    pub version: Option<String>,
}

The NotificationSpecification data structure describes a HIT event notification for a HIT type.

Fields

The destination for notification messages. or email notifications (if Transport is Email), this is an email address. For Amazon Simple Queue Service (Amazon SQS) notifications (if Transport is SQS), this is the URL for your Amazon SQS queue.

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.

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

Trait Implementations

impl Default for NotificationSpecification
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for NotificationSpecification
[src]

[src]

Formats the value using the given formatter.

impl Clone for NotificationSpecification
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more