Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GetSnapshotBlockCommand

Returns the data in a block in an Amazon Elastic Block Store snapshot.

example

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

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

GetSnapshotBlockCommandInput for command's input shape.

see

GetSnapshotBlockCommandOutput for command's response shape.

see

config for EBSClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: GetSnapshotBlockCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions