import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SetLocalConsolePasswordInput, SetLocalConsolePasswordOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SetLocalConsolePasswordCommand}. */ export interface SetLocalConsolePasswordCommandInput extends SetLocalConsolePasswordInput { } /** * @public * * The output of {@link SetLocalConsolePasswordCommand}. */ export interface SetLocalConsolePasswordCommandOutput extends SetLocalConsolePasswordOutput, __MetadataBearer { } declare const SetLocalConsolePasswordCommand_base: { new (input: SetLocalConsolePasswordCommandInput): import("@smithy/core/client").CommandImpl; new (input: SetLocalConsolePasswordCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Sets the password for your VM local console. When you log in to the local console for * the first time, you log in to the VM with the default credentials. We recommend that you * set a new password. You don't need to know the default password to set a new * password.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, SetLocalConsolePasswordCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, SetLocalConsolePasswordCommand } = require("@aws-sdk/client-storage-gateway"); // CommonJS import * // import type { StorageGatewayClientConfig } from "@aws-sdk/client-storage-gateway"; * const config = {}; // type is StorageGatewayClientConfig * const client = new StorageGatewayClient(config); * const input = { // SetLocalConsolePasswordInput * GatewayARN: "STRING_VALUE", // required * LocalConsolePassword: "STRING_VALUE", // required * }; * const command = new SetLocalConsolePasswordCommand(input); * const response = await client.send(command); * // { // SetLocalConsolePasswordOutput * // GatewayARN: "STRING_VALUE", * // }; * * ``` * * @param SetLocalConsolePasswordCommandInput - {@link SetLocalConsolePasswordCommandInput} * @returns {@link SetLocalConsolePasswordCommandOutput} * @see {@link SetLocalConsolePasswordCommandInput} for command's `input` shape. * @see {@link SetLocalConsolePasswordCommandOutput} for command's `response` shape. * @see {@link StorageGatewayClientResolvedConfig | config} for StorageGatewayClient's `config` shape. * * @throws {@link InternalServerError} (server fault) *

An internal server error has occurred during the request. For more information, see the * error and message fields.

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

An exception occurred because an invalid gateway request was issued to the service. For * more information, see the error and message fields.

* * @throws {@link StorageGatewayServiceException} *

Base exception class for all service exceptions from StorageGateway service.

* * * @example To set a password for your VM * ```javascript * // Sets the password for your VM local console. * const input = { * GatewayARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B", * LocalConsolePassword: "PassWordMustBeAtLeast6Chars." * }; * const command = new SetLocalConsolePasswordCommand(input); * const response = await client.send(command); * /* response is * { * GatewayARN: "arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B" * } * *\/ * ``` * * @public */ export declare class SetLocalConsolePasswordCommand extends SetLocalConsolePasswordCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetLocalConsolePasswordInput; output: SetLocalConsolePasswordOutput; }; sdk: { input: SetLocalConsolePasswordCommandInput; output: SetLocalConsolePasswordCommandOutput; }; }; }