Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ModifySnapshotTierCommand

Archives an Amazon EBS snapshot. When you archive a snapshot, it is converted to a full snapshot that includes all of the blocks of data that were written to the volume at the time the snapshot was created, and moved from the standard tier to the archive tier. For more information, see Archive Amazon EBS snapshots in the Amazon Elastic Compute Cloud User Guide.

example

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

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

ModifySnapshotTierCommandInput for command's input shape.

see

ModifySnapshotTierCommandOutput for command's response shape.

see

config for EC2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: ModifySnapshotTierCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions