// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetEvent`](crate::operation::get_event::builders::GetEventFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`space_id(impl Into<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::space_id) / [`set_space_id(Option<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::set_space_id):<br>required: **true**<br><p>The ID of the space.</p><br>
/// - [`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 event's ID, as returned by <code>CreateEvent</code>, <code>ListEvents</code>, or <code>SearchEvents</code>.</p><br>
/// - [`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: **false**<br><p>The actor 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::get_event::builders::GetEventFluentBuilder::session_id) / [`set_session_id(Option<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::set_session_id):<br>required: **false**<br><p>The session 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 [`GetEventOutput`](crate::operation::get_event::GetEventOutput) with field(s):
/// - [`event(Option<Event>)`](crate::operation::get_event::GetEventOutput::event): <p>The event, including its payload.</p>
/// - On failure, responds with [`SdkError<GetEventError>`](crate::operation::get_event::GetEventError)
pub fn get_event(&self) -> crate::operation::get_event::builders::GetEventFluentBuilder {
crate::operation::get_event::builders::GetEventFluentBuilder::new(self.handle.clone())
}
}