aws_sdk_frauddetector/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 /// - [`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 ID of the event to retrieve.</p><br>
7 /// - [`event_type_name(impl Into<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::event_type_name) / [`set_event_type_name(Option<String>)`](crate::operation::get_event::builders::GetEventFluentBuilder::set_event_type_name):<br>required: **true**<br><p>The event type of the event to retrieve.</p><br>
8 /// - On success, responds with [`GetEventOutput`](crate::operation::get_event::GetEventOutput) with field(s):
9 /// - [`event(Option<Event>)`](crate::operation::get_event::GetEventOutput::event): <p>The details of the event.</p>
10 /// - On failure, responds with [`SdkError<GetEventError>`](crate::operation::get_event::GetEventError)
11 pub fn get_event(&self) -> crate::operation::get_event::builders::GetEventFluentBuilder {
12 crate::operation::get_event::builders::GetEventFluentBuilder::new(self.handle.clone())
13 }
14}