aws_sdk_securityhub/client/
create_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 [`CreateAggregatorV2`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`region_linking_mode(impl Into<String>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::region_linking_mode) / [`set_region_linking_mode(Option<String>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::set_region_linking_mode):<br>required: **true**<br><p>Determines how Regions are linked to an Aggregator V2.</p><br>
7    ///   - [`linked_regions(impl Into<String>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::linked_regions) / [`set_linked_regions(Option<Vec::<String>>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::set_linked_regions):<br>required: **false**<br><p>The list of Regions that are linked to the aggregation Region.</p><br>
8    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::set_tags):<br>required: **false**<br><p>A list of key-value pairs to be applied to the AggregatorV2.</p><br>
9    ///   - [`client_token(impl Into<String>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::set_client_token):<br>required: **false**<br><p>A unique identifier used to ensure idempotency.</p><br>
10    /// - On success, responds with [`CreateAggregatorV2Output`](crate::operation::create_aggregator_v2::CreateAggregatorV2Output) with field(s):
11    ///   - [`aggregator_v2_arn(Option<String>)`](crate::operation::create_aggregator_v2::CreateAggregatorV2Output::aggregator_v2_arn): <p>The ARN of the AggregatorV2.</p>
12    ///   - [`aggregation_region(Option<String>)`](crate::operation::create_aggregator_v2::CreateAggregatorV2Output::aggregation_region): <p>The Amazon Web Services Region where data is aggregated.</p>
13    ///   - [`region_linking_mode(Option<String>)`](crate::operation::create_aggregator_v2::CreateAggregatorV2Output::region_linking_mode): <p>Determines how Regions are linked to an Aggregator V2.</p>
14    ///   - [`linked_regions(Option<Vec::<String>>)`](crate::operation::create_aggregator_v2::CreateAggregatorV2Output::linked_regions): <p>The list of Regions that are linked to the aggregation Region.</p>
15    /// - On failure, responds with [`SdkError<CreateAggregatorV2Error>`](crate::operation::create_aggregator_v2::CreateAggregatorV2Error)
16    pub fn create_aggregator_v2(&self) -> crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder {
17        crate::operation::create_aggregator_v2::builders::CreateAggregatorV2FluentBuilder::new(self.handle.clone())
18    }
19}