aws_sdk_networkfirewall/client/
start_analysis_report.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 [`StartAnalysisReport`](crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`firewall_name(impl Into<String>)`](crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder::firewall_name) / [`set_firewall_name(Option<String>)`](crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder::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>
7    ///   - [`firewall_arn(impl Into<String>)`](crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder::firewall_arn) / [`set_firewall_arn(Option<String>)`](crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder::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>
8    ///   - [`analysis_type(EnabledAnalysisType)`](crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder::analysis_type) / [`set_analysis_type(Option<EnabledAnalysisType>)`](crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder::set_analysis_type):<br>required: **true**<br><p>The type of traffic that will be used to generate a report.</p><br>
9    /// - On success, responds with [`StartAnalysisReportOutput`](crate::operation::start_analysis_report::StartAnalysisReportOutput) with field(s):
10    ///   - [`analysis_report_id(String)`](crate::operation::start_analysis_report::StartAnalysisReportOutput::analysis_report_id): <p>The unique ID of the query that ran when you requested an analysis report.</p>
11    /// - On failure, responds with [`SdkError<StartAnalysisReportError>`](crate::operation::start_analysis_report::StartAnalysisReportError)
12    pub fn start_analysis_report(&self) -> crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder {
13        crate::operation::start_analysis_report::builders::StartAnalysisReportFluentBuilder::new(self.handle.clone())
14    }
15}