Struct aws_sdk_ec2::input::DescribeBundleTasksInput
source · #[non_exhaustive]pub struct DescribeBundleTasksInput { /* private fields */ }
Implementations§
source§impl DescribeBundleTasksInput
impl DescribeBundleTasksInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeBundleTasks, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeBundleTasks, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DescribeBundleTasks
>
Examples found in repository?
33299 33300 33301 33302 33303 33304 33305 33306 33307 33308 33309 33310 33311 33312 33313 33314 33315 33316 33317 33318 33319 33320 33321 33322 33323 33324 33325 33326 33327 33328 33329 33330 33331 33332 33333 33334 33335 33336 33337 33338 33339 33340 33341
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DescribeBundleTasks,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DescribeBundleTasksError>,
> {
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::DescribeBundleTasksOutput,
aws_smithy_http::result::SdkError<crate::error::DescribeBundleTasksError>,
> {
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 DescribeBundleTasksInput
.
source§impl DescribeBundleTasksInput
impl DescribeBundleTasksInput
sourcepub fn bundle_ids(&self) -> Option<&[String]>
pub fn bundle_ids(&self) -> Option<&[String]>
The bundle task IDs.
Default: Describes all your bundle tasks.
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
The filters.
-
bundle-id
- The ID of the bundle task. -
error-code
- If the task failed, the error code returned. -
error-message
- If the task failed, the error message returned. -
instance-id
- The ID of the instance. -
progress
- The level of task completion, as a percentage (for example, 20%). -
s3-bucket
- The Amazon S3 bucket to store the AMI. -
s3-prefix
- The beginning of the AMI name. -
start-time
- The time the task started (for example, 2013-09-15T17:15:20.000Z). -
state
- The state of the task (pending
|waiting-for-shutdown
|bundling
|storing
|cancelling
|complete
|failed
). -
update-time
- The time of the most recent update for the task.
Trait Implementations§
source§impl Clone for DescribeBundleTasksInput
impl Clone for DescribeBundleTasksInput
source§fn clone(&self) -> DescribeBundleTasksInput
fn clone(&self) -> DescribeBundleTasksInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more