Smaws_Client_MTurk.UpdateNotificationSettingsThe UpdateNotificationSettings operation creates, updates, disables or re-enables notifications for a HIT type. If you call the UpdateNotificationSettings operation for a HIT type that already has a notification specification, the operation replaces the old specification with a new one. You can call the UpdateNotificationSettings operation to enable or disable notifications for the HIT type, without having to modify the notification specification itself by providing updates to the Active status without specifying a new notification specification. To change the Active status of a HIT type's notifications, the HIT type must already have a notification specification, or one must be provided in the same call to UpdateNotificationSettings.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.update_notification_settings_request ->
(Types.update_notification_settings_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.update_notification_settings_request ->
(Types.update_notification_settings_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `RequestError of Types.request_error
| `ServiceFault of Types.service_fault ]
* Smaws_Lib.Response.metadata)
Stdlib.result