import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetMaintenanceWindowRequest, GetMaintenanceWindowResult } from "../models/models_1"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetMaintenanceWindowCommand}. */ export interface GetMaintenanceWindowCommandInput extends GetMaintenanceWindowRequest { } /** * @public * * The output of {@link GetMaintenanceWindowCommand}. */ export interface GetMaintenanceWindowCommandOutput extends GetMaintenanceWindowResult, __MetadataBearer { } declare const GetMaintenanceWindowCommand_base: { new (input: GetMaintenanceWindowCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetMaintenanceWindowCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves a maintenance window.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetMaintenanceWindowRequest * WindowId: "STRING_VALUE", // required * }; * const command = new GetMaintenanceWindowCommand(input); * const response = await client.send(command); * // { // GetMaintenanceWindowResult * // WindowId: "STRING_VALUE", * // Name: "STRING_VALUE", * // Description: "STRING_VALUE", * // StartDate: "STRING_VALUE", * // EndDate: "STRING_VALUE", * // Schedule: "STRING_VALUE", * // ScheduleTimezone: "STRING_VALUE", * // ScheduleOffset: Number("int"), * // NextExecutionTime: "STRING_VALUE", * // Duration: Number("int"), * // Cutoff: Number("int"), * // AllowUnassociatedTargets: true || false, * // Enabled: true || false, * // CreatedDate: new Date("TIMESTAMP"), * // ModifiedDate: new Date("TIMESTAMP"), * // }; * * ``` * * @param GetMaintenanceWindowCommandInput - {@link GetMaintenanceWindowCommandInput} * @returns {@link GetMaintenanceWindowCommandOutput} * @see {@link GetMaintenanceWindowCommandInput} for command's `input` shape. * @see {@link GetMaintenanceWindowCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link DoesNotExistException} (client fault) *

Error returned when the ID specified for a resource, such as a maintenance window or patch * baseline, doesn't exist.

*

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the * Amazon Web Services General Reference.

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

An error occurred on the server side.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class GetMaintenanceWindowCommand extends GetMaintenanceWindowCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMaintenanceWindowRequest; output: GetMaintenanceWindowResult; }; sdk: { input: GetMaintenanceWindowCommandInput; output: GetMaintenanceWindowCommandOutput; }; }; }