aws.ec2.describe_store_image_tasks
Example SQL Queries
SELECT * FROMaws.ec2.describe_store_image_tasks;Description
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 EC2 User Guide.
For more information, see Store and restore an AMI using Amazon S3 in the Amazon EC2 User Guide.
Table Definition
| Column Name | Column Data Type |
|---|---|
| dry_run Input Column 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. | BOOLEAN |
| filters Input Column The filters.
When you specify the ImageIds parameter, any filters that you specify are ignored. To use the filters, you must remove the ImageIds parameter. | STRUCT( |
Show child fields
| |
| image_ids Input Column The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request. | VARCHAR[] |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| ami_id The ID of the AMI that is being stored. | VARCHAR |
| bucket The name of the Amazon S3 bucket that contains the stored AMI object. | VARCHAR |
| progress_percentage The progress of the task as a percentage. | BIGINT |
| s3object_key The name of the stored AMI object in the bucket. | VARCHAR |
| store_task_failure_reason If the tasks fails, the reason for the failure is returned. If the task succeeds, null is returned. | VARCHAR |
| store_task_state The state of the store task (InProgress, Completed, or Failed). | VARCHAR |
| task_start_time The time the task started. | TIMESTAMP_S |