aws-sdk-bedrockagentcore 1.23.0

AWS SDK for Amazon Bedrock AgentCore
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - 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 identifier of the event that was deleted.</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())
    }
}