Struct aws_sdk_ec2::input::DescribeAggregateIdFormatInput
source · #[non_exhaustive]pub struct DescribeAggregateIdFormatInput { /* private fields */ }
Implementations§
source§impl DescribeAggregateIdFormatInput
impl DescribeAggregateIdFormatInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAggregateIdFormat, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeAggregateIdFormat, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeAggregateIdFormat
>
Examples found in repository?
src/client.rs (line 33075)
33061 33062 33063 33064 33065 33066 33067 33068 33069 33070 33071 33072 33073 33074 33075 33076 33077 33078 33079 33080 33081 33082 33083 33084 33085 33086 33087 33088 33089 33090 33091 33092 33093 33094 33095 33096 33097 33098 33099 33100 33101 33102 33103
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeAggregateIdFormat,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeAggregateIdFormatError>,
> {
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::DescribeAggregateIdFormatOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeAggregateIdFormatError>,
> {
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 DescribeAggregateIdFormatInput
.
Trait Implementations§
source§impl Clone for DescribeAggregateIdFormatInput
impl Clone for DescribeAggregateIdFormatInput
source§fn clone(&self) -> DescribeAggregateIdFormatInput
fn clone(&self) -> DescribeAggregateIdFormatInput
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