aws_sdk_fms/client/get_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 [`GetNotificationChannel`](crate::operation::get_notification_channel::builders::GetNotificationChannelFluentBuilder) operation.
4 ///
5 /// - The fluent builder takes no input, just [`send`](crate::operation::get_notification_channel::builders::GetNotificationChannelFluentBuilder::send) it.
6 /// - On success, responds with [`GetNotificationChannelOutput`](crate::operation::get_notification_channel::GetNotificationChannelOutput) with field(s):
7 /// - [`sns_topic_arn(Option<String>)`](crate::operation::get_notification_channel::GetNotificationChannelOutput::sns_topic_arn): <p>The SNS topic that records Firewall Manager activity.</p>
8 /// - [`sns_role_name(Option<String>)`](crate::operation::get_notification_channel::GetNotificationChannelOutput::sns_role_name): <p>The IAM role that is used by Firewall Manager to record activity to SNS.</p>
9 /// - On failure, responds with [`SdkError<GetNotificationChannelError>`](crate::operation::get_notification_channel::GetNotificationChannelError)
10 pub fn get_notification_channel(&self) -> crate::operation::get_notification_channel::builders::GetNotificationChannelFluentBuilder {
11 crate::operation::get_notification_channel::builders::GetNotificationChannelFluentBuilder::new(self.handle.clone())
12 }
13}