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.
example
Use a bare-bones client and the command you need to make an API call.
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.Use a bare-bones client and the command you need to make an API call.
import { EC2Client, DescribeBundleTasksCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, DescribeBundleTasksCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new DescribeBundleTasksCommand(input); const response = await client.send(command);
DescribeBundleTasksCommandInput for command's
input
shape.DescribeBundleTasksCommandOutput for command's
response
shape.config for EC2Client's
config
shape.