aws_sdk_networkfirewall/client/update_logging_configuration.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 [`UpdateLoggingConfiguration`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`firewall_arn(impl Into<String>)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::firewall_arn) / [`set_firewall_arn(Option<String>)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::set_firewall_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the firewall.</p> <p>You must specify the ARN or the name, and you can specify both.</p><br>
7 /// - [`firewall_name(impl Into<String>)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::firewall_name) / [`set_firewall_name(Option<String>)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::set_firewall_name):<br>required: **false**<br><p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p> <p>You must specify the ARN or the name, and you can specify both.</p><br>
8 /// - [`logging_configuration(LoggingConfiguration)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::logging_configuration) / [`set_logging_configuration(Option<LoggingConfiguration>)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::set_logging_configuration):<br>required: **false**<br><p>Defines how Network Firewall performs logging for a firewall. If you omit this setting, Network Firewall disables logging for the firewall.</p><br>
9 /// - [`enable_monitoring_dashboard(bool)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::enable_monitoring_dashboard) / [`set_enable_monitoring_dashboard(Option<bool>)`](crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::set_enable_monitoring_dashboard):<br>required: **false**<br><p>A boolean that lets you enable or disable the detailed firewall monitoring dashboard on the firewall.</p> <p>The monitoring dashboard provides comprehensive visibility into your firewall's flow logs and alert logs. After you enable detailed monitoring, you can access these dashboards directly from the <b>Monitoring</b> page of the Network Firewall console.</p> <p>Specify <code>TRUE</code> to enable the the detailed monitoring dashboard on the firewall. Specify <code>FALSE</code> to disable the the detailed monitoring dashboard on the firewall.</p><br>
10 /// - On success, responds with [`UpdateLoggingConfigurationOutput`](crate::operation::update_logging_configuration::UpdateLoggingConfigurationOutput) with field(s):
11 /// - [`firewall_arn(Option<String>)`](crate::operation::update_logging_configuration::UpdateLoggingConfigurationOutput::firewall_arn): <p>The Amazon Resource Name (ARN) of the firewall.</p>
12 /// - [`firewall_name(Option<String>)`](crate::operation::update_logging_configuration::UpdateLoggingConfigurationOutput::firewall_name): <p>The descriptive name of the firewall. You can't change the name of a firewall after you create it.</p>
13 /// - [`logging_configuration(Option<LoggingConfiguration>)`](crate::operation::update_logging_configuration::UpdateLoggingConfigurationOutput::logging_configuration): <p>Defines how Network Firewall performs logging for a <code>Firewall</code>.</p>
14 /// - [`enable_monitoring_dashboard(Option<bool>)`](crate::operation::update_logging_configuration::UpdateLoggingConfigurationOutput::enable_monitoring_dashboard): <p>A boolean that reflects whether or not the firewall monitoring dashboard is enabled on a firewall.</p> <p>Returns <code>TRUE</code> when the firewall monitoring dashboard is enabled on the firewall. Returns <code>FALSE</code> when the firewall monitoring dashboard is not enabled on the firewall.</p>
15 /// - On failure, responds with [`SdkError<UpdateLoggingConfigurationError>`](crate::operation::update_logging_configuration::UpdateLoggingConfigurationError)
16 pub fn update_logging_configuration(&self) -> crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder {
17 crate::operation::update_logging_configuration::builders::UpdateLoggingConfigurationFluentBuilder::new(self.handle.clone())
18 }
19}