Class: Aws::MTurk::Types::SendTestEventNotificationRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mturk/types.rb

Overview

Note:

When making an API call, you may pass SendTestEventNotificationRequest data as a 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.



2887
2888
2889
2890
2891
# File 'lib/aws-sdk-mturk/types.rb', line 2887

class SendTestEventNotificationRequest < Struct.new(
  :notification,
  :test_event_type)
  include Aws::Structure
end

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

Returns:

  • (String)


2887
2888
2889
2890
2891
# File 'lib/aws-sdk-mturk/types.rb', line 2887

class SendTestEventNotificationRequest < Struct.new(
  :notification,
  :test_event_type)
  include Aws::Structure
end