The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::MTurk::SendTestEventNotification - Arguments for method SendTestEventNotification on Paws::MTurk

DESCRIPTION

This class represents the parameters used for calling the method SendTestEventNotification on the Amazon Mechanical Turk service. Use the attributes of this class as arguments to method SendTestEventNotification.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SendTestEventNotification.

SYNOPSIS

    my $mturk-requester = Paws->service('MTurk');
    my $SendTestEventNotificationResponse =
      $mturk -requester->SendTestEventNotification(
      Notification => {
        Destination => 'MyString',
        EventTypes  => [
          'AssignmentAccepted',
          ... # values: AssignmentAccepted, AssignmentAbandoned, AssignmentReturned, AssignmentSubmitted, AssignmentRejected, AssignmentApproved, HITCreated, HITExpired, HITReviewable, HITExtended, HITDisposed, Ping
        ],
        Transport => 'Email',      # values: Email, SQS, SNS
        Version   => 'MyString',

      },
      TestEventType => 'AssignmentAccepted',

      );

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mturk-requester/SendTestEventNotification

ATTRIBUTES

REQUIRED Notification => Paws::MTurk::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.

REQUIRED TestEventType => Str

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.

Valid values are: "AssignmentAccepted", "AssignmentAbandoned", "AssignmentReturned", "AssignmentSubmitted", "AssignmentRejected", "AssignmentApproved", "HITCreated", "HITExpired", "HITReviewable", "HITExtended", "HITDisposed", "Ping"

SEE ALSO

This class forms part of Paws, documenting arguments for method SendTestEventNotification in Paws::MTurk

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues