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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#notificationTypes::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.

Returns:

#test_event_typeString

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

Returns:

  • (String)

    The event to simulate to test the notification specification.