aws_sdk_ec2/client/start_network_insights_analysis.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 [`StartNetworkInsightsAnalysis`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`network_insights_path_id(impl Into<String>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::network_insights_path_id) / [`set_network_insights_path_id(Option<String>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::set_network_insights_path_id):<br>required: **true**<br><p>The ID of the path.</p><br>
7 /// - [`additional_accounts(impl Into<String>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::additional_accounts) / [`set_additional_accounts(Option<Vec::<String>>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::set_additional_accounts):<br>required: **false**<br><p>The member accounts that contain resources that the path can traverse.</p><br>
8 /// - [`filter_in_arns(impl Into<String>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::filter_in_arns) / [`set_filter_in_arns(Option<Vec::<String>>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::set_filter_in_arns):<br>required: **false**<br><p>The Amazon Resource Names (ARN) of the resources that the path must traverse.</p><br>
9 /// - [`filter_out_arns(impl Into<String>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::filter_out_arns) / [`set_filter_out_arns(Option<Vec::<String>>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::set_filter_out_arns):<br>required: **false**<br><p>The Amazon Resource Names (ARN) of the resources that the path will ignore.</p><br>
10 /// - [`dry_run(bool)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::set_dry_run):<br>required: **false**<br><p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
11 /// - [`tag_specifications(TagSpecification)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::tag_specifications) / [`set_tag_specifications(Option<Vec::<TagSpecification>>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::set_tag_specifications):<br>required: **false**<br><p>The tags to apply.</p><br>
12 /// - [`client_token(impl Into<String>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::set_client_token):<br>required: **true**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure idempotency</a>.</p><br>
13 /// - On success, responds with [`StartNetworkInsightsAnalysisOutput`](crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisOutput) with field(s):
14 /// - [`network_insights_analysis(Option<NetworkInsightsAnalysis>)`](crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisOutput::network_insights_analysis): <p>Information about the network insights analysis.</p>
15 /// - On failure, responds with [`SdkError<StartNetworkInsightsAnalysisError>`](crate::operation::start_network_insights_analysis::StartNetworkInsightsAnalysisError)
16 pub fn start_network_insights_analysis(
17 &self,
18 ) -> crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder {
19 crate::operation::start_network_insights_analysis::builders::StartNetworkInsightsAnalysisFluentBuilder::new(self.handle.clone())
20 }
21}