import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeMaintenanceStartTimeInput, DescribeMaintenanceStartTimeOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeMaintenanceStartTimeCommand}. */ export interface DescribeMaintenanceStartTimeCommandInput extends DescribeMaintenanceStartTimeInput { } /** * @public * * The output of {@link DescribeMaintenanceStartTimeCommand}. */ export interface DescribeMaintenanceStartTimeCommandOutput extends DescribeMaintenanceStartTimeOutput, __MetadataBearer { } declare const DescribeMaintenanceStartTimeCommand_base: { new (input: DescribeMaintenanceStartTimeCommandInput): import("@smithy/core/client").CommandImpl; new (input: DescribeMaintenanceStartTimeCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns your gateway's maintenance window schedule information, with values for * monthly or weekly cadence, specific day and time to begin maintenance, and which types of * updates to apply. Time values returned are for the gateway's time zone.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { StorageGatewayClient, DescribeMaintenanceStartTimeCommand } from "@aws-sdk/client-storage-gateway"; // ES Modules import * // const { StorageGatewayClient, DescribeMaintenanceStartTimeCommand } = 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 = { // DescribeMaintenanceStartTimeInput * GatewayARN: "STRING_VALUE", // required * }; * const command = new DescribeMaintenanceStartTimeCommand(input); * const response = await client.send(command); * // { // DescribeMaintenanceStartTimeOutput * // GatewayARN: "STRING_VALUE", * // HourOfDay: Number("int"), * // MinuteOfHour: Number("int"), * // DayOfWeek: Number("int"), * // DayOfMonth: Number("int"), * // Timezone: "STRING_VALUE", * // SoftwareUpdatePreferences: { // SoftwareUpdatePreferences * // AutomaticUpdatePolicy: "ALL_VERSIONS" || "EMERGENCY_VERSIONS_ONLY", * // }, * // }; * * ``` * * @param DescribeMaintenanceStartTimeCommandInput - {@link DescribeMaintenanceStartTimeCommandInput} * @returns {@link DescribeMaintenanceStartTimeCommandOutput} * @see {@link DescribeMaintenanceStartTimeCommandInput} for command's `input` shape. * @see {@link DescribeMaintenanceStartTimeCommandOutput} 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 describe gateway's maintenance start time * ```javascript * // Returns your gateway's weekly maintenance start time including the day and time of the week. * const input = { * GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B" * }; * const command = new DescribeMaintenanceStartTimeCommand(input); * const response = await client.send(command); * /* response is * { * DayOfWeek: 2, * GatewayARN: "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B", * HourOfDay: 15, * MinuteOfHour: 35, * Timezone: "GMT+7:00" * } * *\/ * ``` * * @public */ export declare class DescribeMaintenanceStartTimeCommand extends DescribeMaintenanceStartTimeCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeMaintenanceStartTimeInput; output: DescribeMaintenanceStartTimeOutput; }; sdk: { input: DescribeMaintenanceStartTimeCommandInput; output: DescribeMaintenanceStartTimeCommandOutput; }; }; }