aws_sdk_mturk/client/
send_test_event_notification.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`SendTestEventNotification`](crate::operation::send_test_event_notification::builders::SendTestEventNotificationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`notification(NotificationSpecification)`](crate::operation::send_test_event_notification::builders::SendTestEventNotificationFluentBuilder::notification) / [`set_notification(Option<NotificationSpecification>)`](crate::operation::send_test_event_notification::builders::SendTestEventNotificationFluentBuilder::set_notification):<br>required: **true**<br><p>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.</p><br>
7    ///   - [`test_event_type(EventType)`](crate::operation::send_test_event_notification::builders::SendTestEventNotificationFluentBuilder::test_event_type) / [`set_test_event_type(Option<EventType>)`](crate::operation::send_test_event_notification::builders::SendTestEventNotificationFluentBuilder::set_test_event_type):<br>required: **true**<br><p>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.</p><br>
8    /// - On success, responds with [`SendTestEventNotificationOutput`](crate::operation::send_test_event_notification::SendTestEventNotificationOutput)
9    /// - On failure, responds with [`SdkError<SendTestEventNotificationError>`](crate::operation::send_test_event_notification::SendTestEventNotificationError)
10    pub fn send_test_event_notification(&self) -> crate::operation::send_test_event_notification::builders::SendTestEventNotificationFluentBuilder {
11        crate::operation::send_test_event_notification::builders::SendTestEventNotificationFluentBuilder::new(self.handle.clone())
12    }
13}