#[non_exhaustive]pub struct PutAggregationAuthorizationInput { /* private fields */ }Implementations§
source§impl PutAggregationAuthorizationInput
impl PutAggregationAuthorizationInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAggregationAuthorization, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutAggregationAuthorization, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<PutAggregationAuthorization>
Examples found in repository?
src/client.rs (line 8349)
8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::PutAggregationAuthorization,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::PutAggregationAuthorizationError>,
> {
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::PutAggregationAuthorizationOutput,
aws_smithy_http::result::SdkError<crate::error::PutAggregationAuthorizationError>,
> {
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 PutAggregationAuthorizationInput.
source§impl PutAggregationAuthorizationInput
impl PutAggregationAuthorizationInput
The 12-digit account ID of the account authorized to aggregate data.
The region authorized to collect aggregated data.
An array of tag object.
Trait Implementations§
source§impl Clone for PutAggregationAuthorizationInput
impl Clone for PutAggregationAuthorizationInput
source§fn clone(&self) -> PutAggregationAuthorizationInput
fn clone(&self) -> PutAggregationAuthorizationInput
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