import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateHypervisorInput, UpdateHypervisorOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateHypervisorCommand}. */ export interface UpdateHypervisorCommandInput extends UpdateHypervisorInput { } /** * @public * * The output of {@link UpdateHypervisorCommand}. */ export interface UpdateHypervisorCommandOutput extends UpdateHypervisorOutput, __MetadataBearer { } declare const UpdateHypervisorCommand_base: { new (input: UpdateHypervisorCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateHypervisorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { BackupGatewayClient, UpdateHypervisorCommand } from "@aws-sdk/client-backup-gateway"; // ES Modules import * // const { BackupGatewayClient, UpdateHypervisorCommand } = require("@aws-sdk/client-backup-gateway"); // CommonJS import * // import type { BackupGatewayClientConfig } from "@aws-sdk/client-backup-gateway"; * const config = {}; // type is BackupGatewayClientConfig * const client = new BackupGatewayClient(config); * const input = { // UpdateHypervisorInput * HypervisorArn: "STRING_VALUE", // required * Host: "STRING_VALUE", * Username: "STRING_VALUE", * Password: "STRING_VALUE", * Name: "STRING_VALUE", * LogGroupArn: "STRING_VALUE", * }; * const command = new UpdateHypervisorCommand(input); * const response = await client.send(command); * // { // UpdateHypervisorOutput * // HypervisorArn: "STRING_VALUE", * // }; * * ``` * * @param UpdateHypervisorCommandInput - {@link UpdateHypervisorCommandInput} * @returns {@link UpdateHypervisorCommandOutput} * @see {@link UpdateHypervisorCommandInput} for command's `input` shape. * @see {@link UpdateHypervisorCommandOutput} for command's `response` shape. * @see {@link BackupGatewayClientResolvedConfig | config} for BackupGatewayClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The operation cannot proceed because you have insufficient permissions.

* * @throws {@link ConflictException} (client fault) *

The operation cannot proceed because it is not supported.

* * @throws {@link ResourceNotFoundException} (client fault) *

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

* * @throws {@link InternalServerException} (server fault) *

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

* * @throws {@link ThrottlingException} (client fault) *

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

* * @throws {@link ValidationException} (client fault) *

The operation did not succeed because a validation error occurred.

* * @throws {@link BackupGatewayServiceException} *

Base exception class for all service exceptions from BackupGateway service.

* * * @public */ export declare class UpdateHypervisorCommand extends UpdateHypervisorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateHypervisorInput; output: UpdateHypervisorOutput; }; sdk: { input: UpdateHypervisorCommandInput; output: UpdateHypervisorCommandOutput; }; }; }