describe_import_image_tasks
async
¶
describe_import_image_tasks(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
filters: Optional[FilterList] = None,
import_task_ids: Optional[ImportTaskIdList] = None,
max_results: Optional[Integer] = None,
next_token: Optional[String] = None,
) -> DescribeImportImageTasksResult
Displays details about an import virtual machine or import snapshot tasks that are already created.
Parameters:
-
dry_run(Optional[Boolean], default:None) –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 isUnauthorizedOperation. -
filters(Optional[FilterList], default:None) –Filter tasks using the
task-statefilter and one of the following values:active,completed,deleting, ordeleted. -
import_task_ids(Optional[ImportTaskIdList], default:None) –The IDs of the import image tasks.
-
max_results(Optional[Integer], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[String], default:None) –A token that indicates the next page of results.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/async_ec2.py
26427 26428 26429 26430 26431 26432 26433 26434 26435 26436 26437 26438 26439 26440 26441 26442 26443 26444 26445 26446 26447 26448 26449 26450 26451 26452 26453 26454 26455 26456 26457 26458 26459 26460 26461 26462 26463 26464 26465 26466 26467 26468 26469 26470 26471 26472 26473 26474 26475 26476 26477 26478 26479 26480 26481 26482 26483 26484 26485 26486 26487 26488 26489 26490 26491 26492 26493 26494 26495 26496 26497 26498 | |