Struct aws_sdk_ec2::client::fluent_builders::DescribeStoreImageTasks [−][src]
pub struct DescribeStoreImageTasks<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DescribeStoreImageTasks
.
Describes the progress of the AMI store tasks. You can describe the store tasks for specified AMIs. If you don't specify the AMIs, you get a paginated list of store tasks from the last 31 days.
For each AMI task, the response indicates if the task is InProgress
,
Completed
, or Failed
. For tasks InProgress
, the
response shows the estimated progress as a percentage.
Tasks are listed in reverse chronological order. Currently, only tasks from the past 31 days can be viewed.
To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon Elastic Compute Cloud User Guide.
For more information, see Store and restore an AMI using Amazon S3 in the Amazon Elastic Compute Cloud User Guide.
Implementations
impl<C, M, R> DescribeStoreImageTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeStoreImageTasks<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeStoreImageTasksOutput, SdkError<DescribeStoreImageTasksError>> where
R::Policy: SmithyRetryPolicy<DescribeStoreImageTasksInputOperationOutputAlias, DescribeStoreImageTasksOutput, DescribeStoreImageTasksError, DescribeStoreImageTasksInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeStoreImageTasksOutput, SdkError<DescribeStoreImageTasksError>> where
R::Policy: SmithyRetryPolicy<DescribeStoreImageTasksInputOperationOutputAlias, DescribeStoreImageTasksOutput, DescribeStoreImageTasksError, DescribeStoreImageTasksInputOperationRetryAlias>,
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, which can be set when configuring the client.
Appends an item to ImageIds
.
To override the contents of this collection use set_image_ids
.
The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.
The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
Appends an item to Filters
.
To override the contents of this collection use set_filters
.
The filters.
-
task-state
- Returns tasks in a certain state (InProgress
|Completed
|Failed
) -
bucket
- Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.
The filters.
-
task-state
- Returns tasks in a certain state (InProgress
|Completed
|Failed
) -
bucket
- Returns task information for tasks that targeted a specific bucket. For the filter value, specify the bucket name.
The token for the next page of results.
The token for the next page of results.
The maximum number of results to return in a single call. To retrieve the remaining
results, make another call with the returned NextToken
value. This value can be
between 1 and 200. You cannot specify this parameter and the ImageIDs
parameter
in the same call.
The maximum number of results to return in a single call. To retrieve the remaining
results, make another call with the returned NextToken
value. This value can be
between 1 and 200. You cannot specify this parameter and the ImageIDs
parameter
in the same call.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DescribeStoreImageTasks<C, M, R>
impl<C, M, R> Send for DescribeStoreImageTasks<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeStoreImageTasks<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeStoreImageTasks<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DescribeStoreImageTasks<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more