pub struct PutConfigurationAggregator<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to PutConfigurationAggregator.
Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.
accountIds that are passed will be replaced with existing accounts. If you want to add additional accounts into the aggregator, call DescribeAggregator to get the previous accounts and then append new ones.
Config should be enabled in source accounts and regions you want to aggregate.
If your source type is an organization, you must be signed in to the management account or a registered delegated administrator and all the features must be enabled in your organization. If the caller is a management account, Config calls EnableAwsServiceAccess API to enable integration between Config and Organizations. If the caller is a registered delegated administrator, Config calls ListDelegatedAdministrators API to verify whether the caller is a valid delegated administrator.
To register a delegated administrator, see Register a Delegated Administrator in the Config developer guide.
Implementations
impl<C, M, R> PutConfigurationAggregator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutConfigurationAggregator<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutConfigurationAggregatorOutput, SdkError<PutConfigurationAggregatorError>> where
R::Policy: SmithyRetryPolicy<PutConfigurationAggregatorInputOperationOutputAlias, PutConfigurationAggregatorOutput, PutConfigurationAggregatorError, PutConfigurationAggregatorInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutConfigurationAggregatorOutput, SdkError<PutConfigurationAggregatorError>> where
R::Policy: SmithyRetryPolicy<PutConfigurationAggregatorInputOperationOutputAlias, PutConfigurationAggregatorOutput, PutConfigurationAggregatorError, PutConfigurationAggregatorInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the configuration aggregator.
The name of the configuration aggregator.
Appends an item to AccountAggregationSources.
To override the contents of this collection use set_account_aggregation_sources.
A list of AccountAggregationSource object.
pub fn set_account_aggregation_sources(
self,
input: Option<Vec<AccountAggregationSource>>
) -> Self
pub fn set_account_aggregation_sources(
self,
input: Option<Vec<AccountAggregationSource>>
) -> Self
A list of AccountAggregationSource object.
An OrganizationAggregationSource object.
pub fn set_organization_aggregation_source(
self,
input: Option<OrganizationAggregationSource>
) -> Self
pub fn set_organization_aggregation_source(
self,
input: Option<OrganizationAggregationSource>
) -> Self
An OrganizationAggregationSource object.
Appends an item to Tags.
To override the contents of this collection use set_tags.
An array of tag object.
An array of tag object.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutConfigurationAggregator<C, M, R>
impl<C, M, R> Send for PutConfigurationAggregator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutConfigurationAggregator<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutConfigurationAggregator<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutConfigurationAggregator<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more