UNPKG

@aws-sdk/client-ssm

Version:

AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native

97 lines (96 loc) 4.58 kB
import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeMaintenanceWindowExecutionsRequest, DescribeMaintenanceWindowExecutionsResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeMaintenanceWindowExecutionsCommand}. */ export interface DescribeMaintenanceWindowExecutionsCommandInput extends DescribeMaintenanceWindowExecutionsRequest { } /** * @public * * The output of {@link DescribeMaintenanceWindowExecutionsCommand}. */ export interface DescribeMaintenanceWindowExecutionsCommandOutput extends DescribeMaintenanceWindowExecutionsResult, __MetadataBearer { } declare const DescribeMaintenanceWindowExecutionsCommand_base: { new (input: DescribeMaintenanceWindowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<DescribeMaintenanceWindowExecutionsCommandInput, DescribeMaintenanceWindowExecutionsCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>; new (input: DescribeMaintenanceWindowExecutionsCommandInput): import("@smithy/core/client").CommandImpl<DescribeMaintenanceWindowExecutionsCommandInput, DescribeMaintenanceWindowExecutionsCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** * <p>Lists the executions of a maintenance window. This includes information about when the * maintenance window was scheduled to be active, and information about tasks registered and run * with the maintenance window.</p> * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, DescribeMaintenanceWindowExecutionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, DescribeMaintenanceWindowExecutionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * // import type { SSMClientConfig } from "@aws-sdk/client-ssm"; * const config = {}; // type is SSMClientConfig * const client = new SSMClient(config); * const input = { // DescribeMaintenanceWindowExecutionsRequest * WindowId: "STRING_VALUE", // required * Filters: [ // MaintenanceWindowFilterList * { // MaintenanceWindowFilter * Key: "STRING_VALUE", * Values: [ // MaintenanceWindowFilterValues * "STRING_VALUE", * ], * }, * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeMaintenanceWindowExecutionsCommand(input); * const response = await client.send(command); * // { // DescribeMaintenanceWindowExecutionsResult * // WindowExecutions: [ // MaintenanceWindowExecutionList * // { // MaintenanceWindowExecution * // WindowId: "STRING_VALUE", * // WindowExecutionId: "STRING_VALUE", * // Status: "PENDING" || "IN_PROGRESS" || "SUCCESS" || "FAILED" || "TIMED_OUT" || "CANCELLING" || "CANCELLED" || "SKIPPED_OVERLAPPING", * // StatusDetails: "STRING_VALUE", * // StartTime: new Date("TIMESTAMP"), * // EndTime: new Date("TIMESTAMP"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeMaintenanceWindowExecutionsCommandInput - {@link DescribeMaintenanceWindowExecutionsCommandInput} * @returns {@link DescribeMaintenanceWindowExecutionsCommandOutput} * @see {@link DescribeMaintenanceWindowExecutionsCommandInput} for command's `input` shape. * @see {@link DescribeMaintenanceWindowExecutionsCommandOutput} for command's `response` shape. * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. * * @throws {@link InternalServerError} (server fault) * <p>An error occurred on the server side.</p> * * @throws {@link SSMServiceException} * <p>Base exception class for all service exceptions from SSM service.</p> * * * @public */ export declare class DescribeMaintenanceWindowExecutionsCommand extends DescribeMaintenanceWindowExecutionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeMaintenanceWindowExecutionsRequest; output: DescribeMaintenanceWindowExecutionsResult; }; sdk: { input: DescribeMaintenanceWindowExecutionsCommandInput; output: DescribeMaintenanceWindowExecutionsCommandOutput; }; }; }