Struct aws_sdk_ec2::input::DescribeConversionTasksInput
source · #[non_exhaustive]pub struct DescribeConversionTasksInput { /* private fields */ }
Implementations§
source§impl DescribeConversionTasksInput
impl DescribeConversionTasksInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeConversionTasks, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeConversionTasks, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeConversionTasks
>
Examples found in repository?
src/client.rs (line 35085)
35071 35072 35073 35074 35075 35076 35077 35078 35079 35080 35081 35082 35083 35084 35085 35086 35087 35088 35089 35090 35091 35092 35093 35094 35095 35096 35097 35098 35099 35100 35101 35102 35103 35104 35105 35106 35107 35108 35109 35110 35111 35112 35113
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeConversionTasks,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeConversionTasksError>,
> {
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::DescribeConversionTasksOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeConversionTasksError>,
> {
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 DescribeConversionTasksInput
.
source§impl DescribeConversionTasksInput
impl DescribeConversionTasksInput
sourcepub fn conversion_task_ids(&self) -> Option<&[String]>
pub fn conversion_task_ids(&self) -> Option<&[String]>
The conversion task IDs.
Trait Implementations§
source§impl Clone for DescribeConversionTasksInput
impl Clone for DescribeConversionTasksInput
source§fn clone(&self) -> DescribeConversionTasksInput
fn clone(&self) -> DescribeConversionTasksInput
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