describe_import_image_tasks¶
Operation¶
describe_import_image_tasks
async
¶
describe_import_image_tasks(request: DescribeImportImageTasksInput | DescribeImportImageTasksInputDict, /, *, plugins: list[Plugin] | None = None) -> DescribeImportImageTasksOutput
describe_import_image_tasks(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeImportImageTasksInputDict]) -> DescribeImportImageTasksOutput
Displays details about an import virtual machine or import snapshot tasks that are already created.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DescribeImportImageTasksOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DescribeImportImageTasksInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeImportImageTasksInput structure.
Attributes¶
dry_run
class-attribute
instance-attribute
¶
dry_run: bool | 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 is UnauthorizedOperation.
filters
class-attribute
instance-attribute
¶
Filter tasks using the task-state filter and one of the following
values: active, completed, deleting, or deleted.
import_task_ids
class-attribute
instance-attribute
¶
The IDs of the import image tasks.
Dictionaries¶
DescribeImportImageTasksInputDict
¶
Bases: TypedDict
Dictionary form of DescribeImportImageTasksInput.
Attributes¶
dry_run
instance-attribute
¶
dry_run: bool | 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 is UnauthorizedOperation.
filters
instance-attribute
¶
filters: Sequence[Filter | FilterDict] | None
Filter tasks using the task-state filter and one of the following
values: active, completed, deleting, or deleted.
import_task_ids
instance-attribute
¶
The IDs of the import image tasks.
Output¶
DescribeImportImageTasksOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DescribeImportImageTasksOutput structure.
Attributes¶
import_image_tasks
class-attribute
instance-attribute
¶
import_image_tasks: list[ImportImageTask] | None = ...
A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
The token to use to get the next page of results. This value is null
when there are no more results to return.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.