You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mturk/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.



2846
2847
2848
2849
2850
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2846

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)


2846
2847
2848
2849
2850
# File 'gems/aws-sdk-mturk/lib/aws-sdk-mturk/types.rb', line 2846

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