Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RestoreBackupCommand

Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see DeleteBackup.

example

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

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

RestoreBackupCommandInput for command's input shape.

see

RestoreBackupCommandOutput for command's response shape.

see

config for CloudHSMV2Client's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: RestoreBackupCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<RestoreBackupCommandInput, RestoreBackupCommandOutput>

Methods

Static getEndpointParameterInstructions