Skip to content

describe_import_snapshot_tasks

Operation

describe_import_snapshot_tasks

describe_import_snapshot_tasks(request: DescribeImportSnapshotTasksInput | DescribeImportSnapshotTasksInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeImportSnapshotTasksInputDict]) -> DescribeImportSnapshotTasksOutput

Describes your import snapshot tasks.

Parameters:

Name Type Description Default
request DescribeImportSnapshotTasksInput | DescribeImportSnapshotTasksInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DescribeImportSnapshotTasksInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DescribeImportSnapshotTasksOutput

An instance of DescribeImportSnapshotTasksOutput.

describe_import_snapshot_tasks async

describe_import_snapshot_tasks(request: DescribeImportSnapshotTasksInput | DescribeImportSnapshotTasksInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[DescribeImportSnapshotTasksInputDict]) -> DescribeImportSnapshotTasksOutput

Describes your import snapshot tasks.

Parameters:

Name Type Description Default
request DescribeImportSnapshotTasksInput | DescribeImportSnapshotTasksInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[DescribeImportSnapshotTasksInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
DescribeImportSnapshotTasksOutput

An instance of DescribeImportSnapshotTasksOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

DescribeImportSnapshotTasksInputDict

Bases: TypedDict

Dictionary form of DescribeImportSnapshotTasksInput.

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

The filters.

import_task_ids instance-attribute
import_task_ids: Sequence[str] | None

A list of import snapshot task IDs.

max_results instance-attribute
max_results: int | None

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

next_token instance-attribute
next_token: str | None

A token that indicates the next page of results.

DescribeImportSnapshotTasksInput dataclass

Bases: _SerdeShape

Dataclass for DescribeImportSnapshotTasksInput 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
filters: list[Filter] | None = ...

The filters.

import_task_ids class-attribute instance-attribute
import_task_ids: list[str] | None = ...

A list of import snapshot task IDs.

max_results class-attribute instance-attribute
max_results: int | None = ...

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

next_token class-attribute instance-attribute
next_token: str | None = ...

A token that indicates the next page of results.

Output

DescribeImportSnapshotTasksOutput dataclass

Bases: _SerdeShape

Dataclass for DescribeImportSnapshotTasksOutput structure.

Attributes

import_snapshot_tasks class-attribute instance-attribute
import_snapshot_tasks: list[ImportSnapshotTask] | None = ...

A list of zero or more import snapshot 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
response_metadata: ResponseMetadata = ...

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.