1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AddNotificationChannel`](crate::operation::add_notification_channel::builders::AddNotificationChannelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`config(NotificationChannelConfig)`](crate::operation::add_notification_channel::builders::AddNotificationChannelFluentBuilder::config) / [`set_config(Option<NotificationChannelConfig>)`](crate::operation::add_notification_channel::builders::AddNotificationChannelFluentBuilder::set_config):<br>required: **true**<br><p> A <code>NotificationChannelConfig</code> object that specifies what type of notification channel to add. The one supported notification channel is Amazon Simple Notification Service (Amazon SNS). </p><br>
    /// - On success, responds with [`AddNotificationChannelOutput`](crate::operation::add_notification_channel::AddNotificationChannelOutput) with field(s):
    ///   - [`id(String)`](crate::operation::add_notification_channel::AddNotificationChannelOutput::id): <p> The ID of the added notification channel. </p>
    /// - On failure, responds with [`SdkError<AddNotificationChannelError>`](crate::operation::add_notification_channel::AddNotificationChannelError)
    pub fn add_notification_channel(&self) -> crate::operation::add_notification_channel::builders::AddNotificationChannelFluentBuilder {
        crate::operation::add_notification_channel::builders::AddNotificationChannelFluentBuilder::new(self.handle.clone())
    }
}