Stores an AMI as a single object in an Amazon S3 bucket.
To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide.
For more information, see Store and restore an AMI using Amazon S3 in the Amazon EC2 User Guide.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, CreateStoreImageTaskCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, CreateStoreImageTaskCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new CreateStoreImageTaskCommand(input); const response = await client.send(command);
CreateStoreImageTaskCommandInput for command's input shape.
input
CreateStoreImageTaskCommandOutput for command's response shape.
response
config for EC2Client's config shape.
config
Stores an AMI as a single object in an Amazon S3 bucket.
To use this API, you must have the required permissions. For more information, see Permissions for storing and restoring AMIs using Amazon S3 in the Amazon EC2 User Guide.
For more information, see Store and restore an AMI using Amazon S3 in the Amazon EC2 User Guide.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, CreateStoreImageTaskCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, CreateStoreImageTaskCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new CreateStoreImageTaskCommand(input); const response = await client.send(command);
CreateStoreImageTaskCommandInput for command's
input
shape.CreateStoreImageTaskCommandOutput for command's
response
shape.config for EC2Client's
config
shape.