// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteEvent`](crate::operation::delete_event::builders::DeleteEventFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`space_id(impl Into<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::set_space_id):<br>required: **true**<br><p>The ID of the space.</p><br>
/// - [`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>
/// - [`actor_id(impl Into<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::actor_id) / [`set_actor_id(Option<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::set_actor_id):<br>required: **false**<br><p>The actor that the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with <code>ResourceNotFoundException</code>, as if the event did not exist.</p><br>
/// - [`session_id(impl Into<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::set_session_id):<br>required: **false**<br><p>The session that the event must belong to. Omit it to skip this check. If it doesn't match the stored event, the call fails with <code>ResourceNotFoundException</code>, as if the event did not exist.</p><br>
/// - On success, responds with [`DeleteEventOutput`](crate::operation::delete_event::DeleteEventOutput) with field(s):
/// - [`event_id(String)`](crate::operation::delete_event::DeleteEventOutput::event_id): <p>The ID of the deleted event.</p>
/// - On failure, responds with [`SdkError<DeleteEventError>`](crate::operation::delete_event::DeleteEventError)
pub fn delete_event(&self) -> crate::operation::delete_event::builders::DeleteEventFluentBuilder {
crate::operation::delete_event::builders::DeleteEventFluentBuilder::new(self.handle.clone())
}
}