import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { SetSMBGuestPasswordInput, SetSMBGuestPasswordOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link SetSMBGuestPasswordCommand}. */ export interface SetSMBGuestPasswordCommandInput extends SetSMBGuestPasswordInput { } /** * @public * * The output of {@link SetSMBGuestPasswordCommand}. */ export interface SetSMBGuestPasswordCommandOutput extends SetSMBGuestPasswordOutput, __MetadataBearer { } declare const SetSMBGuestPasswordCommand_base: { new (input: SetSMBGuestPasswordCommandInput): import("@smithy/core/client").CommandImpl; new (input: SetSMBGuestPasswordCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Sets the password for the guest user smbguest. The smbguest * user is the user when the authentication method for the file share is set to * GuestAccess. This operation only supported for S3 File Gateways

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, SetSMBGuestPasswordCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, SetSMBGuestPasswordCommand } = 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 = { // SetSMBGuestPasswordInput * GatewayARN: "STRING_VALUE", // required * Password: "STRING_VALUE", // required * }; * const command = new SetSMBGuestPasswordCommand(input); * const response = await client.send(command); * // { // SetSMBGuestPasswordOutput * // GatewayARN: "STRING_VALUE", * // }; * * ``` * * @param SetSMBGuestPasswordCommandInput - {@link SetSMBGuestPasswordCommandInput} * @returns {@link SetSMBGuestPasswordCommandOutput} * @see {@link SetSMBGuestPasswordCommandInput} for command's `input` shape. * @see {@link SetSMBGuestPasswordCommandOutput} 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.

* * * @public */ export declare class SetSMBGuestPasswordCommand extends SetSMBGuestPasswordCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetSMBGuestPasswordInput; output: SetSMBGuestPasswordOutput; }; sdk: { input: SetSMBGuestPasswordCommandInput; output: SetSMBGuestPasswordCommandOutput; }; }; }