aws_sdk_config/client/
put_configuration_aggregator.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutConfigurationAggregator`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`configuration_aggregator_name(impl Into<String>)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::configuration_aggregator_name) / [`set_configuration_aggregator_name(Option<String>)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::set_configuration_aggregator_name):<br>required: **true**<br><p>The name of the configuration aggregator.</p><br>
    ///   - [`account_aggregation_sources(AccountAggregationSource)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::account_aggregation_sources) / [`set_account_aggregation_sources(Option<Vec::<AccountAggregationSource>>)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::set_account_aggregation_sources):<br>required: **false**<br><p>A list of AccountAggregationSource object.</p><br>
    ///   - [`organization_aggregation_source(OrganizationAggregationSource)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::organization_aggregation_source) / [`set_organization_aggregation_source(Option<OrganizationAggregationSource>)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::set_organization_aggregation_source):<br>required: **false**<br><p>An OrganizationAggregationSource object.</p><br>
    ///   - [`tags(Tag)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::set_tags):<br>required: **false**<br><p>An array of tag object.</p><br>
    ///   - [`aggregator_filters(AggregatorFilters)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::aggregator_filters) / [`set_aggregator_filters(Option<AggregatorFilters>)`](crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::set_aggregator_filters):<br>required: **false**<br><p>An object to filter configuration recorders in an aggregator. Either <code>ResourceType</code> or <code>ServicePrincipal</code> is required.</p><br>
    /// - On success, responds with [`PutConfigurationAggregatorOutput`](crate::operation::put_configuration_aggregator::PutConfigurationAggregatorOutput) with field(s):
    ///   - [`configuration_aggregator(Option<ConfigurationAggregator>)`](crate::operation::put_configuration_aggregator::PutConfigurationAggregatorOutput::configuration_aggregator): <p>Returns a ConfigurationAggregator object.</p>
    /// - On failure, responds with [`SdkError<PutConfigurationAggregatorError>`](crate::operation::put_configuration_aggregator::PutConfigurationAggregatorError)
    pub fn put_configuration_aggregator(&self) -> crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder {
        crate::operation::put_configuration_aggregator::builders::PutConfigurationAggregatorFluentBuilder::new(self.handle.clone())
    }
}