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

Retrieves information about the patches on the specified managed node and their state * relative to the patch baseline being used for the node.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, DescribeInstancePatchesCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, DescribeInstancePatchesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // DescribeInstancePatchesRequest * InstanceId: "STRING_VALUE", // required * Filters: [ // PatchOrchestratorFilterList * { // PatchOrchestratorFilter * Key: "STRING_VALUE", * Values: [ // PatchOrchestratorFilterValues * "STRING_VALUE", * ], * }, * ], * NextToken: "STRING_VALUE", * MaxResults: Number("int"), * }; * const command = new DescribeInstancePatchesCommand(input); * const response = await client.send(command); * // { // DescribeInstancePatchesResult * // Patches: [ // PatchComplianceDataList * // { // PatchComplianceData * // Title: "STRING_VALUE", // required * // KBId: "STRING_VALUE", // required * // Classification: "STRING_VALUE", // required * // Severity: "STRING_VALUE", // required * // State: "INSTALLED" || "INSTALLED_OTHER" || "INSTALLED_PENDING_REBOOT" || "INSTALLED_REJECTED" || "MISSING" || "NOT_APPLICABLE" || "FAILED" || "AVAILABLE_SECURITY_UPDATE", // required * // InstalledTime: new Date("TIMESTAMP"), // required * // CVEIds: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeInstancePatchesCommandInput - {@link DescribeInstancePatchesCommandInput} * @returns {@link DescribeInstancePatchesCommandOutput} * @see {@link DescribeInstancePatchesCommandInput} for command's `input` shape. * @see {@link DescribeInstancePatchesCommandOutput} 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 InvalidFilter} (client fault) *

The filter name isn't valid. Verify that you entered the correct name and try again.

* * @throws {@link InvalidInstanceId} (client fault) *

The following problems can cause this exception:

* * * @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 DescribeInstancePatchesCommand extends DescribeInstancePatchesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeInstancePatchesRequest; output: DescribeInstancePatchesResult; }; sdk: { input: DescribeInstancePatchesCommandInput; output: DescribeInstancePatchesCommandOutput; }; }; }