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
- Struct
- Aws::MTurk::Types::UpdateNotificationSettingsRequest
- Defined in:
- (unknown)
Overview
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
-
#active ⇒ Boolean
Specifies whether notifications are sent for HITs of this HIT type, according to the notification specification.
-
#hit_type_id ⇒ String
The ID of the HIT type whose notification specification is being updated.
-
#notification ⇒ Types::NotificationSpecification
The notification specification for the HIT type.
Instance Attribute Details
#active ⇒ Boolean
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.
#hit_type_id ⇒ String
The ID of the HIT type whose notification specification is being updated.
#notification ⇒ Types::NotificationSpecification
The notification specification for the HIT type.