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

Class: Aws::MTurk::Types::UpdateNotificationSettingsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateNotificationSettingsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  hit_type_id: "EntityId", # required
  notification: {
    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
  },
  active: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#activeBoolean

Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification. You must specify either the Notification parameter or the Active parameter for the call to UpdateNotificationSettings to succeed.

Returns:

  • (Boolean)

    Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.

#hit_type_idString

The ID of the HIT type whose notification specification is being updated.

Returns:

  • (String)

    The ID of the HIT type whose notification specification is being updated.

#notificationTypes::NotificationSpecification

The notification specification for the HIT type.

Returns: