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 { DescribeBundleTasksRequest, DescribeBundleTasksResult } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeBundleTasksCommand}. */ export interface DescribeBundleTasksCommandInput extends DescribeBundleTasksRequest { } /** * @public * * The output of {@link DescribeBundleTasksCommand}. */ export interface DescribeBundleTasksCommandOutput extends DescribeBundleTasksResult, __MetadataBearer { } declare const DescribeBundleTasksCommand_base: { new (input: DescribeBundleTasksCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeBundleTasksCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes the specified bundle tasks or all of your bundle tasks.

* *

Completed bundle tasks are listed for only a limited time. If your bundle task is no * longer in the list, you can still register an AMI from it. Just use * RegisterImage with the Amazon S3 bucket name and image manifest name you provided * to the bundle task.

*
* *

The order of the elements in the response, including those within nested structures, * might vary. Applications should not assume the elements appear in a particular order.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DescribeBundleTasksCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DescribeBundleTasksCommand } = 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 = { // DescribeBundleTasksRequest * BundleIds: [ // BundleIdStringList * "STRING_VALUE", * ], * DryRun: true || false, * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", * Values: [ // ValueStringList * "STRING_VALUE", * ], * }, * ], * }; * const command = new DescribeBundleTasksCommand(input); * const response = await client.send(command); * // { // DescribeBundleTasksResult * // BundleTasks: [ // BundleTaskList * // { // BundleTask * // InstanceId: "STRING_VALUE", * // BundleId: "STRING_VALUE", * // State: "pending" || "waiting-for-shutdown" || "bundling" || "storing" || "cancelling" || "complete" || "failed", * // StartTime: new Date("TIMESTAMP"), * // UpdateTime: new Date("TIMESTAMP"), * // Storage: { // Storage * // S3: { // S3Storage * // AWSAccessKeyId: "STRING_VALUE", * // Bucket: "STRING_VALUE", * // Prefix: "STRING_VALUE", * // UploadPolicy: new Uint8Array(), * // UploadPolicySignature: "STRING_VALUE", * // }, * // }, * // Progress: "STRING_VALUE", * // BundleTaskError: { // BundleTaskError * // Code: "STRING_VALUE", * // Message: "STRING_VALUE", * // }, * // }, * // ], * // }; * * ``` * * @param DescribeBundleTasksCommandInput - {@link DescribeBundleTasksCommandInput} * @returns {@link DescribeBundleTasksCommandOutput} * @see {@link DescribeBundleTasksCommandInput} for command's `input` shape. * @see {@link DescribeBundleTasksCommandOutput} 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 DescribeBundleTasksCommand extends DescribeBundleTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeBundleTasksRequest; output: DescribeBundleTasksResult; }; sdk: { input: DescribeBundleTasksCommandInput; output: DescribeBundleTasksCommandOutput; }; }; }