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

Retrieves information about the maintenance window targets or tasks that a managed node is * associated with.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, DescribeMaintenanceWindowsForTargetCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, DescribeMaintenanceWindowsForTargetCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // DescribeMaintenanceWindowsForTargetRequest * Targets: [ // Targets // required * { // Target * Key: "STRING_VALUE", * Values: [ // TargetValues * "STRING_VALUE", * ], * }, * ], * ResourceType: "INSTANCE" || "RESOURCE_GROUP", // required * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeMaintenanceWindowsForTargetCommand(input); * const response = await client.send(command); * // { // DescribeMaintenanceWindowsForTargetResult * // WindowIdentities: [ // MaintenanceWindowsForTargetList * // { // MaintenanceWindowIdentityForTarget * // WindowId: "STRING_VALUE", * // Name: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeMaintenanceWindowsForTargetCommandInput - {@link DescribeMaintenanceWindowsForTargetCommandInput} * @returns {@link DescribeMaintenanceWindowsForTargetCommandOutput} * @see {@link DescribeMaintenanceWindowsForTargetCommandInput} for command's `input` shape. * @see {@link DescribeMaintenanceWindowsForTargetCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @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 DescribeMaintenanceWindowsForTargetCommand extends DescribeMaintenanceWindowsForTargetCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeMaintenanceWindowsForTargetRequest; output: DescribeMaintenanceWindowsForTargetResult; }; sdk: { input: DescribeMaintenanceWindowsForTargetCommandInput; output: DescribeMaintenanceWindowsForTargetCommandOutput; }; }; }