

# Notification
<a name="ApiReference_NotificationDataStructureArticle"></a>

## Description
<a name="ApiReference_NotificationDataStructureArticle-description"></a>

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

## Elements
<a name="ApiReference_NotificationDataStructureArticle-elements"></a>

 The Notification structure can contain the elements described in the following table. When the structure is used in a request, elements described as **Required** must be included for the request to succeed. 


| Name | Description | Required | 
| --- | --- | --- | 
|   `Destination`   |  The destination for notification messages.  Type: String [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_NotificationDataStructureArticle.html) Default: None  |  Yes  | 
|   `Transport`   |  The method Amazon Mechanical Turk uses to send the notification. Type: String Valid Values: SQS \$1 SNS Default: None  |  Yes  | 
|   `Version`   |  The version of the Notification data structure schema to use. Type: String Valid Values: 2014-08-15 Default: None  |  Yes  | 
|   `EventTypes`   |  The array of one or more events that should cause notifications to be sent. The Ping event is only valid for the [SendTestEventNotification](ApiReference_SendTestEventNotificationOperation.md) operation. Type: Array of Strings Valid Values: AssignmentAccepted \$1 AssignmentAbandoned \$1 AssignmentReturned \$1 AssignmentSubmitted \$1 AssignmentRejected \$1 AssignmentApproved \$1 HITCreated \$1 HITExtended \$1 HITDisposed \$1 HITReviewable \$1 HITExpired \$1 Ping Default: None  |  Yes  | 

## Example
<a name="ApiReference_NotificationDataStructureArticle-example"></a>

In the following example, the notification specification specifies that an event notification message will be published to an SNS topic when a Worker accepts a HIT. 

```
{
  Destination:"arn:aws:sns:us-east-1:7429088EXAMPLE:my_mturk_topic",
  Transport: "SNS",
  Version:"2014-08-15",
  EventTypes:["AssignmentAccepted"]
}
```