StartVirtualMachinesMetadataSyncCommand

This action sends a request to sync metadata across the specified virtual machines.

Example Syntax

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

import { BackupGatewayClient, StartVirtualMachinesMetadataSyncCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import
// const { BackupGatewayClient, StartVirtualMachinesMetadataSyncCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import
const client = new BackupGatewayClient(config);
const input = { // StartVirtualMachinesMetadataSyncInput
  HypervisorArn: "STRING_VALUE", // required
};
const command = new StartVirtualMachinesMetadataSyncCommand(input);
const response = await client.send(command);
// { // StartVirtualMachinesMetadataSyncOutput
//   HypervisorArn: "STRING_VALUE",
// };

StartVirtualMachinesMetadataSyncCommand Input

Parameter
Type
Description
HypervisorArn
Required
string | undefined

The Amazon Resource Name (ARN) of the hypervisor.

StartVirtualMachinesMetadataSyncCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
HypervisorArn
string | undefined

The Amazon Resource Name (ARN) of the hypervisor.

Throws

Name
Fault
Details
AccessDeniedException
client

The operation cannot proceed because you have insufficient permissions.

ResourceNotFoundException
client

A resource that is required for the action wasn't found.

InternalServerException
server

The operation did not succeed because an internal error occurred. Try again later.

ThrottlingException
client

TPS has been limited to protect against intentional or unintentional high request volumes.

ValidationException
client

The operation did not succeed because a validation error occurred.

BackupGatewayServiceException
Base exception class for all service exceptions from BackupGateway service.