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