aws_sdk_notifications/client/deregister_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 [`DeregisterNotificationHub`](crate::operation::deregister_notification_hub::builders::DeregisterNotificationHubFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`notification_hub_region(impl Into<String>)`](crate::operation::deregister_notification_hub::builders::DeregisterNotificationHubFluentBuilder::notification_hub_region) / [`set_notification_hub_region(Option<String>)`](crate::operation::deregister_notification_hub::builders::DeregisterNotificationHubFluentBuilder::set_notification_hub_region):<br>required: **true**<br><p>The <code>NotificationConfiguration</code> Region.</p><br>
7 /// - On success, responds with [`DeregisterNotificationHubOutput`](crate::operation::deregister_notification_hub::DeregisterNotificationHubOutput) with field(s):
8 /// - [`notification_hub_region(String)`](crate::operation::deregister_notification_hub::DeregisterNotificationHubOutput::notification_hub_region): <p>The <code>NotificationConfiguration</code> Region.</p>
9 /// - [`status_summary(Option<NotificationHubStatusSummary>)`](crate::operation::deregister_notification_hub::DeregisterNotificationHubOutput::status_summary): <p><code>NotificationConfiguration</code> status information.</p>
10 /// - On failure, responds with [`SdkError<DeregisterNotificationHubError>`](crate::operation::deregister_notification_hub::DeregisterNotificationHubError)
11 pub fn deregister_notification_hub(&self) -> crate::operation::deregister_notification_hub::builders::DeregisterNotificationHubFluentBuilder {
12 crate::operation::deregister_notification_hub::builders::DeregisterNotificationHubFluentBuilder::new(self.handle.clone())
13 }
14}