aws_sdk_notifications/client/
register_notification_hub.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 [`RegisterNotificationHub`](crate::operation::register_notification_hub::builders::RegisterNotificationHubFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`notification_hub_region(impl Into<String>)`](crate::operation::register_notification_hub::builders::RegisterNotificationHubFluentBuilder::notification_hub_region) / [`set_notification_hub_region(Option<String>)`](crate::operation::register_notification_hub::builders::RegisterNotificationHubFluentBuilder::set_notification_hub_region):<br>required: **true**<br><p>The Region of the <code>NotificationHub</code>.</p><br>
7    /// - On success, responds with [`RegisterNotificationHubOutput`](crate::operation::register_notification_hub::RegisterNotificationHubOutput) with field(s):
8    ///   - [`notification_hub_region(String)`](crate::operation::register_notification_hub::RegisterNotificationHubOutput::notification_hub_region): <p>The Region of the <code>NotificationHub</code>.</p>
9    ///   - [`status_summary(Option<NotificationHubStatusSummary>)`](crate::operation::register_notification_hub::RegisterNotificationHubOutput::status_summary): <p>Provides additional information about the current <code>NotificationConfiguration</code> status information.</p>
10    ///   - [`creation_time(DateTime)`](crate::operation::register_notification_hub::RegisterNotificationHubOutput::creation_time): <p>The date the resource was created.</p>
11    ///   - [`last_activation_time(Option<DateTime>)`](crate::operation::register_notification_hub::RegisterNotificationHubOutput::last_activation_time): <p>The date the resource was last activated.</p>
12    /// - On failure, responds with [`SdkError<RegisterNotificationHubError>`](crate::operation::register_notification_hub::RegisterNotificationHubError)
13    pub fn register_notification_hub(&self) -> crate::operation::register_notification_hub::builders::RegisterNotificationHubFluentBuilder {
14        crate::operation::register_notification_hub::builders::RegisterNotificationHubFluentBuilder::new(self.handle.clone())
15    }
16}