AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.MTurk.Model.NotificationSpecification

Namespace: Amazon.MTurk.Model
Assembly: AWSSDK.MTurk.dll
Version: 3.x.y.z

Syntax

C#
public class NotificationSpecification

The NotificationSpecification type exposes the following members

Constructors

NameDescription
Public Method NotificationSpecification()

Properties

NameTypeDescription
Public Property Destination System.String

Gets and sets the property Destination.

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.

Public Property EventTypes System.Collections.Generic.List<System.String>

Gets and sets the property EventTypes.

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.

Public Property Transport Amazon.MTurk.NotificationTransport

Gets and sets the property Transport.

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

Public Property Version System.String

Gets and sets the property Version.

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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5