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

Retrieves the patch baseline that should be used for the specified patch group.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetPatchBaselineForPatchGroupCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetPatchBaselineForPatchGroupCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetPatchBaselineForPatchGroupRequest * PatchGroup: "STRING_VALUE", // required * OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", * }; * const command = new GetPatchBaselineForPatchGroupCommand(input); * const response = await client.send(command); * // { // GetPatchBaselineForPatchGroupResult * // BaselineId: "STRING_VALUE", * // PatchGroup: "STRING_VALUE", * // OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", * // }; * * ``` * * @param GetPatchBaselineForPatchGroupCommandInput - {@link GetPatchBaselineForPatchGroupCommandInput} * @returns {@link GetPatchBaselineForPatchGroupCommandOutput} * @see {@link GetPatchBaselineForPatchGroupCommandInput} for command's `input` shape. * @see {@link GetPatchBaselineForPatchGroupCommandOutput} 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 GetPatchBaselineForPatchGroupCommand extends GetPatchBaselineForPatchGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetPatchBaselineForPatchGroupRequest; output: GetPatchBaselineForPatchGroupResult; }; sdk: { input: GetPatchBaselineForPatchGroupCommandInput; output: GetPatchBaselineForPatchGroupCommandOutput; }; }; }