Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateStoreImageTaskCommand

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.

example

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);
see

CreateStoreImageTaskCommandInput for command's input shape.

see

CreateStoreImageTaskCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateStoreImageTaskCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions