aws_sdk_notifications/client/get_managed_notification_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 [`GetManagedNotificationEvent`](crate::operation::get_managed_notification_event::builders::GetManagedNotificationEventFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`arn(impl Into<String>)`](crate::operation::get_managed_notification_event::builders::GetManagedNotificationEventFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::get_managed_notification_event::builders::GetManagedNotificationEventFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the <code>ManagedNotificationEvent</code> to return.</p><br>
7 /// - [`locale(LocaleCode)`](crate::operation::get_managed_notification_event::builders::GetManagedNotificationEventFluentBuilder::locale) / [`set_locale(Option<LocaleCode>)`](crate::operation::get_managed_notification_event::builders::GetManagedNotificationEventFluentBuilder::set_locale):<br>required: **false**<br><p>The locale code of the language used for the retrieved <code>ManagedNotificationEvent</code>. The default locale is English <code>(en_US)</code>.</p><br>
8 /// - On success, responds with [`GetManagedNotificationEventOutput`](crate::operation::get_managed_notification_event::GetManagedNotificationEventOutput) with field(s):
9 /// - [`arn(String)`](crate::operation::get_managed_notification_event::GetManagedNotificationEventOutput::arn): <p>The ARN of the resource.</p>
10 /// - [`managed_notification_configuration_arn(String)`](crate::operation::get_managed_notification_event::GetManagedNotificationEventOutput::managed_notification_configuration_arn): <p>The ARN of the <code>ManagedNotificationConfiguration</code>.</p>
11 /// - [`creation_time(DateTime)`](crate::operation::get_managed_notification_event::GetManagedNotificationEventOutput::creation_time): <p>The creation time of the <code>ManagedNotificationEvent</code>.</p>
12 /// - [`content(Option<ManagedNotificationEvent>)`](crate::operation::get_managed_notification_event::GetManagedNotificationEventOutput::content): <p>The content of the <code>ManagedNotificationEvent</code>.</p>
13 /// - On failure, responds with [`SdkError<GetManagedNotificationEventError>`](crate::operation::get_managed_notification_event::GetManagedNotificationEventError)
14 pub fn get_managed_notification_event(
15 &self,
16 ) -> crate::operation::get_managed_notification_event::builders::GetManagedNotificationEventFluentBuilder {
17 crate::operation::get_managed_notification_event::builders::GetManagedNotificationEventFluentBuilder::new(self.handle.clone())
18 }
19}