aws_sdk_bedrockagentcore/client/get_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 [`GetEvent`](crate::operation::get_event::builders::GetEventFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`memory_id(impl Into<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::memory_id) / [`set_memory_id(Option<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::set_memory_id):<br>required: **true**<br><p>The identifier of the AgentCore Memory resource containing the event.</p><br>
7 /// - [`session_id(impl Into<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::set_session_id):<br>required: **true**<br><p>The identifier of the session containing the event.</p><br>
8 /// - [`actor_id(impl Into<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::actor_id) / [`set_actor_id(Option<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::set_actor_id):<br>required: **true**<br><p>The identifier of the actor associated with the event.</p><br>
9 /// - [`event_id(impl Into<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::event_id) / [`set_event_id(Option<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::set_event_id):<br>required: **true**<br><p>The identifier of the event to retrieve.</p><br>
10 /// - On success, responds with [`GetEventOutput`](crate::operation::get_event::GetEventOutput) with field(s):
11 /// - [`event(Option<Event>)`](crate::operation::get_event::GetEventOutput::event): <p>The requested event information.</p>
12 /// - On failure, responds with [`SdkError<GetEventError>`](crate::operation::get_event::GetEventError)
13 pub fn get_event(&self) -> crate::operation::get_event::builders::GetEventFluentBuilder {
14 crate::operation::get_event::builders::GetEventFluentBuilder::new(self.handle.clone())
15 }
16}