Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CompleteSnapshotCommand

Seals and completes the snapshot after all of the required blocks of data have been written to it. Completing the snapshot changes the status to completed. You cannot write new blocks to a snapshot after it has been completed.

example

Use a bare-bones client and the command you need to make an API call.

import { EBSClient, CompleteSnapshotCommand } from "@aws-sdk/client-ebs"; // ES Modules import
// const { EBSClient, CompleteSnapshotCommand } = require("@aws-sdk/client-ebs"); // CommonJS import
const client = new EBSClient(config);
const command = new CompleteSnapshotCommand(input);
const response = await client.send(command);
see

CompleteSnapshotCommandInput for command's input shape.

see

CompleteSnapshotCommandOutput for command's response shape.

see

config for EBSClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: CompleteSnapshotCommandInput

Readonly middlewareStack