aws_sdk_securityhub/client/
update_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 [`UpdateAggregatorV2`](crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aggregator_v2_arn(impl Into<String>)`](crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder::aggregator_v2_arn) / [`set_aggregator_v2_arn(Option<String>)`](crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder::set_aggregator_v2_arn):<br>required: **true**<br><p>The ARN of the Aggregator V2.</p><br>
7    ///   - [`region_linking_mode(impl Into<String>)`](crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder::region_linking_mode) / [`set_region_linking_mode(Option<String>)`](crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder::set_region_linking_mode):<br>required: **true**<br><p>Determines how Amazon Web Services Regions should be linked to the Aggregator V2.</p><br>
8    ///   - [`linked_regions(impl Into<String>)`](crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder::linked_regions) / [`set_linked_regions(Option<Vec::<String>>)`](crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder::set_linked_regions):<br>required: **false**<br><p>A list of Amazon Web Services Regions linked to the aggegation Region.</p><br>
9    /// - On success, responds with [`UpdateAggregatorV2Output`](crate::operation::update_aggregator_v2::UpdateAggregatorV2Output) with field(s):
10    ///   - [`aggregator_v2_arn(Option<String>)`](crate::operation::update_aggregator_v2::UpdateAggregatorV2Output::aggregator_v2_arn): <p>The ARN of the Aggregator V2.</p>
11    ///   - [`aggregation_region(Option<String>)`](crate::operation::update_aggregator_v2::UpdateAggregatorV2Output::aggregation_region): <p>The Amazon Web Services Region where data is aggregated.</p>
12    ///   - [`region_linking_mode(Option<String>)`](crate::operation::update_aggregator_v2::UpdateAggregatorV2Output::region_linking_mode): <p>Determines how Amazon Web Services Regions should be linked to the Aggregator V2.</p>
13    ///   - [`linked_regions(Option<Vec::<String>>)`](crate::operation::update_aggregator_v2::UpdateAggregatorV2Output::linked_regions): <p>A list of Amazon Web Services Regions linked to the aggegation Region.</p>
14    /// - On failure, responds with [`SdkError<UpdateAggregatorV2Error>`](crate::operation::update_aggregator_v2::UpdateAggregatorV2Error)
15    pub fn update_aggregator_v2(&self) -> crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder {
16        crate::operation::update_aggregator_v2::builders::UpdateAggregatorV2FluentBuilder::new(self.handle.clone())
17    }
18}