import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { DescribeInstancePatchStatesRequest, DescribeInstancePatchStatesResult } from "../models/models_0"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeInstancePatchStatesCommand}. */ export interface DescribeInstancePatchStatesCommandInput extends DescribeInstancePatchStatesRequest { } /** * @public * * The output of {@link DescribeInstancePatchStatesCommand}. */ export interface DescribeInstancePatchStatesCommandOutput extends DescribeInstancePatchStatesResult, __MetadataBearer { } declare const DescribeInstancePatchStatesCommand_base: { new (input: DescribeInstancePatchStatesCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DescribeInstancePatchStatesCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves the high-level patch state of one or more managed nodes.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, DescribeInstancePatchStatesCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, DescribeInstancePatchStatesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // DescribeInstancePatchStatesRequest * InstanceIds: [ // InstanceIdList // required * "STRING_VALUE", * ], * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new DescribeInstancePatchStatesCommand(input); * const response = await client.send(command); * // { // DescribeInstancePatchStatesResult * // InstancePatchStates: [ // InstancePatchStateList * // { // InstancePatchState * // InstanceId: "STRING_VALUE", // required * // PatchGroup: "STRING_VALUE", // required * // BaselineId: "STRING_VALUE", // required * // SnapshotId: "STRING_VALUE", * // InstallOverrideList: "STRING_VALUE", * // OwnerInformation: "STRING_VALUE", * // InstalledCount: Number("int"), * // InstalledOtherCount: Number("int"), * // InstalledPendingRebootCount: Number("int"), * // InstalledRejectedCount: Number("int"), * // MissingCount: Number("int"), * // FailedCount: Number("int"), * // UnreportedNotApplicableCount: Number("int"), * // NotApplicableCount: Number("int"), * // AvailableSecurityUpdateCount: Number("int"), * // OperationStartTime: new Date("TIMESTAMP"), // required * // OperationEndTime: new Date("TIMESTAMP"), // required * // Operation: "Scan" || "Install", // required * // LastNoRebootInstallOperationTime: new Date("TIMESTAMP"), * // RebootOption: "RebootIfNeeded" || "NoReboot", * // CriticalNonCompliantCount: Number("int"), * // SecurityNonCompliantCount: Number("int"), * // OtherNonCompliantCount: Number("int"), * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeInstancePatchStatesCommandInput - {@link DescribeInstancePatchStatesCommandInput} * @returns {@link DescribeInstancePatchStatesCommandOutput} * @see {@link DescribeInstancePatchStatesCommandInput} for command's `input` shape. * @see {@link DescribeInstancePatchStatesCommandOutput} 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 InvalidNextToken} (client fault) *

The specified token isn't valid.

* * @throws {@link SSMServiceException} *

Base exception class for all service exceptions from SSM service.

* * * @public */ export declare class DescribeInstancePatchStatesCommand extends DescribeInstancePatchStatesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeInstancePatchStatesRequest; output: DescribeInstancePatchStatesResult; }; sdk: { input: DescribeInstancePatchStatesCommandInput; output: DescribeInstancePatchStatesCommandOutput; }; }; }