import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { DescribeImportImageTasksRequest, DescribeImportImageTasksResult } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeImportImageTasksCommand}. */ export interface DescribeImportImageTasksCommandInput extends DescribeImportImageTasksRequest { } /** * @public * * The output of {@link DescribeImportImageTasksCommand}. */ export interface DescribeImportImageTasksCommandOutput extends DescribeImportImageTasksResult, __MetadataBearer { } declare const DescribeImportImageTasksCommand_base: { new (input: DescribeImportImageTasksCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeImportImageTasksCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Displays details about an import virtual machine or import snapshot tasks that are already created.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DescribeImportImageTasksCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DescribeImportImageTasksCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // DescribeImportImageTasksRequest * DryRun: true || false, * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", * Values: [ // ValueStringList * "STRING_VALUE", * ], * }, * ], * ImportTaskIds: [ // ImportTaskIdList * "STRING_VALUE", * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeImportImageTasksCommand(input); * const response = await client.send(command); * // { // DescribeImportImageTasksResult * // ImportImageTasks: [ // ImportImageTaskList * // { // ImportImageTask * // Architecture: "STRING_VALUE", * // Description: "STRING_VALUE", * // Encrypted: true || false, * // Hypervisor: "STRING_VALUE", * // ImageId: "STRING_VALUE", * // ImportTaskId: "STRING_VALUE", * // KmsKeyId: "STRING_VALUE", * // LicenseType: "STRING_VALUE", * // Platform: "STRING_VALUE", * // Progress: "STRING_VALUE", * // SnapshotDetails: [ // SnapshotDetailList * // { // SnapshotDetail * // Description: "STRING_VALUE", * // DeviceName: "STRING_VALUE", * // DiskImageSize: Number("double"), * // Format: "STRING_VALUE", * // Progress: "STRING_VALUE", * // SnapshotId: "STRING_VALUE", * // Status: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // Url: "STRING_VALUE", * // UserBucket: { // UserBucketDetails * // S3Bucket: "STRING_VALUE", * // S3Key: "STRING_VALUE", * // }, * // }, * // ], * // Status: "STRING_VALUE", * // StatusMessage: "STRING_VALUE", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // LicenseSpecifications: [ // ImportImageLicenseSpecificationListResponse * // { // ImportImageLicenseConfigurationResponse * // LicenseConfigurationArn: "STRING_VALUE", * // }, * // ], * // UsageOperation: "STRING_VALUE", * // BootMode: "legacy-bios" || "uefi" || "uefi-preferred", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeImportImageTasksCommandInput - {@link DescribeImportImageTasksCommandInput} * @returns {@link DescribeImportImageTasksCommandOutput} * @see {@link DescribeImportImageTasksCommandInput} for command's `input` shape. * @see {@link DescribeImportImageTasksCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class DescribeImportImageTasksCommand extends DescribeImportImageTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeImportImageTasksRequest; output: DescribeImportImageTasksResult; }; sdk: { input: DescribeImportImageTasksCommandInput; output: DescribeImportImageTasksCommandOutput; }; }; }