aws_sdk_internetmonitor/client/get_internet_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 [`GetInternetEvent`](crate::operation::get_internet_event::builders::GetInternetEventFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`event_id(impl Into<String>)`](crate::operation::get_internet_event::builders::GetInternetEventFluentBuilder::event_id) / [`set_event_id(Option<String>)`](crate::operation::get_internet_event::builders::GetInternetEventFluentBuilder::set_event_id):<br>required: **true**<br><p>The <code>EventId</code> of the internet event to return information for.</p><br>
7 /// - On success, responds with [`GetInternetEventOutput`](crate::operation::get_internet_event::GetInternetEventOutput) with field(s):
8 /// - [`event_id(String)`](crate::operation::get_internet_event::GetInternetEventOutput::event_id): <p>The internally-generated identifier of an internet event.</p>
9 /// - [`event_arn(String)`](crate::operation::get_internet_event::GetInternetEventOutput::event_arn): <p>The Amazon Resource Name (ARN) of the internet event.</p>
10 /// - [`started_at(DateTime)`](crate::operation::get_internet_event::GetInternetEventOutput::started_at): <p>The time when the internet event started.</p>
11 /// - [`ended_at(Option<DateTime>)`](crate::operation::get_internet_event::GetInternetEventOutput::ended_at): <p>The time when the internet event ended. If the event hasn't ended yet, this value is empty.</p>
12 /// - [`client_location(Option<ClientLocation>)`](crate::operation::get_internet_event::GetInternetEventOutput::client_location): <p>The impacted location, such as a city, where clients access Amazon Web Services application resources.</p>
13 /// - [`event_type(InternetEventType)`](crate::operation::get_internet_event::GetInternetEventOutput::event_type): <p>The type of network impairment.</p>
14 /// - [`event_status(InternetEventStatus)`](crate::operation::get_internet_event::GetInternetEventOutput::event_status): <p>The status of the internet event.</p>
15 /// - On failure, responds with [`SdkError<GetInternetEventError>`](crate::operation::get_internet_event::GetInternetEventError)
16 pub fn get_internet_event(&self) -> crate::operation::get_internet_event::builders::GetInternetEventFluentBuilder {
17 crate::operation::get_internet_event::builders::GetInternetEventFluentBuilder::new(self.handle.clone())
18 }
19}