aws_sdk_frauddetector/client/delete_event.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 [`DeleteEvent`](crate::operation::delete_event::builders::DeleteEventFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`event_id(impl Into<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::event_id) / [`set_event_id(Option<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::set_event_id):<br>required: **true**<br><p>The ID of the event to delete.</p><br>
7 /// - [`event_type_name(impl Into<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::event_type_name) / [`set_event_type_name(Option<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::set_event_type_name):<br>required: **true**<br><p>The name of the event type.</p><br>
8 /// - [`delete_audit_history(bool)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::delete_audit_history) / [`set_delete_audit_history(Option<bool>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::set_delete_audit_history):<br>required: **false**<br><p>Specifies whether or not to delete any predictions associated with the event. If set to <code>True</code>,</p><br>
9 /// - On success, responds with [`DeleteEventOutput`](crate::operation::delete_event::DeleteEventOutput)
10 /// - On failure, responds with [`SdkError<DeleteEventError>`](crate::operation::delete_event::DeleteEventError)
11 pub fn delete_event(&self) -> crate::operation::delete_event::builders::DeleteEventFluentBuilder {
12 crate::operation::delete_event::builders::DeleteEventFluentBuilder::new(self.handle.clone())
13 }
14}