aws_sdk_fms/client/
put_notification_channel.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 [`PutNotificationChannel`](crate::operation::put_notification_channel::builders::PutNotificationChannelFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`sns_topic_arn(impl Into<String>)`](crate::operation::put_notification_channel::builders::PutNotificationChannelFluentBuilder::sns_topic_arn) / [`set_sns_topic_arn(Option<String>)`](crate::operation::put_notification_channel::builders::PutNotificationChannelFluentBuilder::set_sns_topic_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the SNS topic that collects notifications from Firewall Manager.</p><br>
7    ///   - [`sns_role_name(impl Into<String>)`](crate::operation::put_notification_channel::builders::PutNotificationChannelFluentBuilder::sns_role_name) / [`set_sns_role_name(Option<String>)`](crate::operation::put_notification_channel::builders::PutNotificationChannelFluentBuilder::set_sns_role_name):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the IAM role that allows Amazon SNS to record Firewall Manager activity.</p><br>
8    /// - On success, responds with [`PutNotificationChannelOutput`](crate::operation::put_notification_channel::PutNotificationChannelOutput)
9    /// - On failure, responds with [`SdkError<PutNotificationChannelError>`](crate::operation::put_notification_channel::PutNotificationChannelError)
10    pub fn put_notification_channel(&self) -> crate::operation::put_notification_channel::builders::PutNotificationChannelFluentBuilder {
11        crate::operation::put_notification_channel::builders::PutNotificationChannelFluentBuilder::new(self.handle.clone())
12    }
13}