Copy an AWS CloudHSM cluster backup to a different region.
Use a bare-bones client and the command you need to make an API call.
import { CloudHSMV2Client, CopyBackupToRegionCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import // const { CloudHSMV2Client, CopyBackupToRegionCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import const client = new CloudHSMV2Client(config); const command = new CopyBackupToRegionCommand(input); const response = await client.send(command);
CopyBackupToRegionCommandInput for command's input shape.
input
CopyBackupToRegionCommandOutput for command's response shape.
response
config for CloudHSMV2Client's config shape.
config
Copy an AWS CloudHSM cluster backup to a different region.
Use a bare-bones client and the command you need to make an API call.
import { CloudHSMV2Client, CopyBackupToRegionCommand } from "@aws-sdk/client-cloudhsm-v2"; // ES Modules import // const { CloudHSMV2Client, CopyBackupToRegionCommand } = require("@aws-sdk/client-cloudhsm-v2"); // CommonJS import const client = new CloudHSMV2Client(config); const command = new CopyBackupToRegionCommand(input); const response = await client.send(command);
CopyBackupToRegionCommandInput for command's
input
shape.CopyBackupToRegionCommandOutput for command's
response
shape.config for CloudHSMV2Client's
config
shape.