aws_sdk_securityhub/client/get_aggregator_v2.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 [`GetAggregatorV2`](crate::operation::get_aggregator_v2::builders::GetAggregatorV2FluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`aggregator_v2_arn(impl Into<String>)`](crate::operation::get_aggregator_v2::builders::GetAggregatorV2FluentBuilder::aggregator_v2_arn) / [`set_aggregator_v2_arn(Option<String>)`](crate::operation::get_aggregator_v2::builders::GetAggregatorV2FluentBuilder::set_aggregator_v2_arn):<br>required: **true**<br><p>The ARN of the Aggregator V2.</p><br>
7 /// - On success, responds with [`GetAggregatorV2Output`](crate::operation::get_aggregator_v2::GetAggregatorV2Output) with field(s):
8 /// - [`aggregator_v2_arn(Option<String>)`](crate::operation::get_aggregator_v2::GetAggregatorV2Output::aggregator_v2_arn): <p>The ARN of the Aggregator V2.</p>
9 /// - [`aggregation_region(Option<String>)`](crate::operation::get_aggregator_v2::GetAggregatorV2Output::aggregation_region): <p>The Amazon Web Services Region where data is aggregated.</p>
10 /// - [`region_linking_mode(Option<String>)`](crate::operation::get_aggregator_v2::GetAggregatorV2Output::region_linking_mode): <p>Determines how Regions are linked to an Aggregator V2.</p>
11 /// - [`linked_regions(Option<Vec::<String>>)`](crate::operation::get_aggregator_v2::GetAggregatorV2Output::linked_regions): <p>The list of Regions that are linked to the aggregation Region.</p>
12 /// - On failure, responds with [`SdkError<GetAggregatorV2Error>`](crate::operation::get_aggregator_v2::GetAggregatorV2Error)
13 pub fn get_aggregator_v2(&self) -> crate::operation::get_aggregator_v2::builders::GetAggregatorV2FluentBuilder {
14 crate::operation::get_aggregator_v2::builders::GetAggregatorV2FluentBuilder::new(self.handle.clone())
15 }
16}