#[non_exhaustive]pub struct GetAggregateResourceConfigInput { /* private fields */ }Implementations§
source§impl GetAggregateResourceConfigInput
impl GetAggregateResourceConfigInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAggregateResourceConfig, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetAggregateResourceConfig, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetAggregateResourceConfig>
Examples found in repository?
src/client.rs (line 6240)
6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::GetAggregateResourceConfig,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::GetAggregateResourceConfigError>,
> {
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::GetAggregateResourceConfigOutput,
aws_smithy_http::result::SdkError<crate::error::GetAggregateResourceConfigError>,
> {
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 GetAggregateResourceConfigInput.
source§impl GetAggregateResourceConfigInput
impl GetAggregateResourceConfigInput
sourcepub fn configuration_aggregator_name(&self) -> Option<&str>
pub fn configuration_aggregator_name(&self) -> Option<&str>
The name of the configuration aggregator.
sourcepub fn resource_identifier(&self) -> Option<&AggregateResourceIdentifier>
pub fn resource_identifier(&self) -> Option<&AggregateResourceIdentifier>
An object that identifies aggregate resource.
Trait Implementations§
source§impl Clone for GetAggregateResourceConfigInput
impl Clone for GetAggregateResourceConfigInput
source§fn clone(&self) -> GetAggregateResourceConfigInput
fn clone(&self) -> GetAggregateResourceConfigInput
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