Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PutSnapshotBlockCommand

Writes a block of data to a snapshot. If the specified block contains data, the existing data is overwritten. The target snapshot must be in the pending state.

Data written to a snapshot must be aligned with 512-KiB sectors.

example

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

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

PutSnapshotBlockCommandInput for command's input shape.

see

PutSnapshotBlockCommandOutput for command's response shape.

see

config for EBSClient's config shape.

Hierarchy

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

Readonly input

input: PutSnapshotBlockCommandInput

Readonly middlewareStack