aws_sdk_securityhub/client/get_finding_aggregator.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 [`GetFindingAggregator`](crate::operation::get_finding_aggregator::builders::GetFindingAggregatorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`finding_aggregator_arn(impl Into<String>)`](crate::operation::get_finding_aggregator::builders::GetFindingAggregatorFluentBuilder::finding_aggregator_arn) / [`set_finding_aggregator_arn(Option<String>)`](crate::operation::get_finding_aggregator::builders::GetFindingAggregatorFluentBuilder::set_finding_aggregator_arn):<br>required: **true**<br><p>The ARN of the finding aggregator to return details for. To obtain the ARN, use <code>ListFindingAggregators</code>.</p><br>
7 /// - On success, responds with [`GetFindingAggregatorOutput`](crate::operation::get_finding_aggregator::GetFindingAggregatorOutput) with field(s):
8 /// - [`finding_aggregator_arn(Option<String>)`](crate::operation::get_finding_aggregator::GetFindingAggregatorOutput::finding_aggregator_arn): <p>The ARN of the finding aggregator.</p>
9 /// - [`finding_aggregation_region(Option<String>)`](crate::operation::get_finding_aggregator::GetFindingAggregatorOutput::finding_aggregation_region): <p>The home Region. Findings generated in linked Regions are replicated and sent to the home Region.</p>
10 /// - [`region_linking_mode(Option<String>)`](crate::operation::get_finding_aggregator::GetFindingAggregatorOutput::region_linking_mode): <p>Indicates whether to link all Regions, all Regions except for a list of excluded Regions, or a list of included Regions.</p>
11 /// - [`regions(Option<Vec::<String>>)`](crate::operation::get_finding_aggregator::GetFindingAggregatorOutput::regions): <p>The list of excluded Regions or included Regions.</p>
12 /// - On failure, responds with [`SdkError<GetFindingAggregatorError>`](crate::operation::get_finding_aggregator::GetFindingAggregatorError)
13 pub fn get_finding_aggregator(&self) -> crate::operation::get_finding_aggregator::builders::GetFindingAggregatorFluentBuilder {
14 crate::operation::get_finding_aggregator::builders::GetFindingAggregatorFluentBuilder::new(self.handle.clone())
15 }
16}