aws_sdk_bedrockagentcore/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    ///   - [`memory_id(impl Into<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::memory_id) / [`set_memory_id(Option<String>)`](crate::operation::delete_event::builders::DeleteEventFluentBuilder::set_memory_id):<br>required: **true**<br><p>The identifier of the AgentCore Memory resource from which to delete the event.</p><br>
7    ///   - [`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: **true**<br><p>The identifier of the session containing the event to delete.</p><br>
8    ///   - [`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 identifier of the event to delete.</p><br>
9    ///   - [`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: **true**<br><p>The identifier of the actor associated with the event to delete.</p><br>
10    /// - On success, responds with [`DeleteEventOutput`](crate::operation::delete_event::DeleteEventOutput) with field(s):
11    ///   - [`event_id(String)`](crate::operation::delete_event::DeleteEventOutput::event_id): <p>The identifier of the event that was deleted.</p>
12    /// - On failure, responds with [`SdkError<DeleteEventError>`](crate::operation::delete_event::DeleteEventError)
13    pub fn delete_event(&self) -> crate::operation::delete_event::builders::DeleteEventFluentBuilder {
14        crate::operation::delete_event::builders::DeleteEventFluentBuilder::new(self.handle.clone())
15    }
16}