You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::MTurk::Types::SendTestEventNotificationRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::MTurk::Types::SendTestEventNotificationRequest
- Defined in:
- (unknown)
Overview
When passing SendTestEventNotificationRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
notification: { # required
destination: "String", # required
transport: "Email", # required, accepts Email, SQS, SNS
version: "String", # required
event_types: ["AssignmentAccepted"], # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
},
test_event_type: "AssignmentAccepted", # required, accepts AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
}
Instance Attribute Summary collapse
-
#notification ⇒ Types::NotificationSpecification
The notification specification to test.
-
#test_event_type ⇒ String
The event to simulate to test the notification specification.
Instance Attribute Details
#notification ⇒ Types::NotificationSpecification
The notification specification to test. This value is identical to the value you would provide to the UpdateNotificationSettings operation when you establish the notification specification for a HIT type.
#test_event_type ⇒ String
The event to simulate to test the notification specification. This event is included in the test message even if the notification specification does not include the event type. The notification specification does not filter out the test event.
Possible values:
- AssignmentAccepted
- AssignmentAbandoned
- AssignmentReturned
- AssignmentSubmitted
- AssignmentRejected
- AssignmentApproved
- HITCreated
- HITExpired
- HITReviewable
- HITExtended
- HITDisposed
- Ping