#[non_exhaustive]pub struct PutConfigurationAggregatorInput { /* private fields */ }Implementations§
source§impl PutConfigurationAggregatorInput
impl PutConfigurationAggregatorInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConfigurationAggregator, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutConfigurationAggregator, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutConfigurationAggregator>
Examples found in repository?
src/client.rs (line 8559)
8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutConfigurationAggregator,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutConfigurationAggregatorError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::PutConfigurationAggregatorOutput,
aws_smithy_http::result::SdkError<crate::error::PutConfigurationAggregatorError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PutConfigurationAggregatorInput.
source§impl PutConfigurationAggregatorInput
impl PutConfigurationAggregatorInput
sourcepub fn configuration_aggregator_name(&self) -> Option<&str>
pub fn configuration_aggregator_name(&self) -> Option<&str>
The name of the configuration aggregator.
sourcepub fn account_aggregation_sources(&self) -> Option<&[AccountAggregationSource]>
pub fn account_aggregation_sources(&self) -> Option<&[AccountAggregationSource]>
A list of AccountAggregationSource object.
sourcepub fn organization_aggregation_source(
&self
) -> Option<&OrganizationAggregationSource>
pub fn organization_aggregation_source(
&self
) -> Option<&OrganizationAggregationSource>
An OrganizationAggregationSource object.
An array of tag object.
Trait Implementations§
source§impl Clone for PutConfigurationAggregatorInput
impl Clone for PutConfigurationAggregatorInput
source§fn clone(&self) -> PutConfigurationAggregatorInput
fn clone(&self) -> PutConfigurationAggregatorInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more