aws_sdk_notifications/client/get_notification_event.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetNotificationEvent`](crate::operation::get_notification_event::builders::GetNotificationEventFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::get_notification_event::builders::GetNotificationEventFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_notification_event::builders::GetNotificationEventFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the NotificationEvent to return.</p><br>
/// - [`locale(LocaleCode)`](crate::operation::get_notification_event::builders::GetNotificationEventFluentBuilder::locale) / [`set_locale(Option<LocaleCode>)`](crate::operation::get_notification_event::builders::GetNotificationEventFluentBuilder::set_locale):<br>required: **false**<br><p>The locale code of the language used for the retrieved NotificationEvent. The default locale is English <code>en_US</code>.</p><br>
/// - On success, responds with [`GetNotificationEventOutput`](crate::operation::get_notification_event::GetNotificationEventOutput) with field(s):
/// - [`arn(String)`](crate::operation::get_notification_event::GetNotificationEventOutput::arn): <p>The ARN of the resource.</p>
/// - [`notification_configuration_arn(String)`](crate::operation::get_notification_event::GetNotificationEventOutput::notification_configuration_arn): <p>The ARN of the NotificationConfiguration.</p>
/// - [`creation_time(DateTime)`](crate::operation::get_notification_event::GetNotificationEventOutput::creation_time): <p>The creation time of the NotificationEvent.</p>
/// - [`content(Option<NotificationEventSchema>)`](crate::operation::get_notification_event::GetNotificationEventOutput::content): <p>The content of the NotificationEvent.</p>
/// - On failure, responds with [`SdkError<GetNotificationEventError>`](crate::operation::get_notification_event::GetNotificationEventError)
pub fn get_notification_event(&self) -> crate::operation::get_notification_event::builders::GetNotificationEventFluentBuilder {
crate::operation::get_notification_event::builders::GetNotificationEventFluentBuilder::new(self.handle.clone())
}
}