describe_export_image_tasks
¶
describe_export_image_tasks(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
filters: Optional[FilterList] = None,
export_image_task_ids: Optional[ExportImageTaskIdList] = None,
max_results: Optional[DescribeExportImageTasksMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeExportImageTasksResult
Describes the specified export image tasks or all of your export image tasks.
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. -
export_image_task_ids(Optional[ExportImageTaskIdList], default:None) –The IDs of the export image tasks.
-
max_results(Optional[DescribeExportImageTasksMaxResults], default:None) –The maximum number of results to return in a single call.
-
next_token(Optional[NextToken], 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/ec2.py
24335 24336 24337 24338 24339 24340 24341 24342 24343 24344 24345 24346 24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 24362 24363 24364 24365 24366 24367 24368 24369 24370 24371 24372 24373 24374 24375 24376 24377 24378 24379 24380 24381 24382 24383 24384 24385 24386 24387 24388 24389 24390 24391 24392 24393 24394 24395 24396 24397 | |