import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { GetDefaultPatchBaselineRequest, GetDefaultPatchBaselineResult } from "../models/models_1"; import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDefaultPatchBaselineCommand}. */ export interface GetDefaultPatchBaselineCommandInput extends GetDefaultPatchBaselineRequest { } /** * @public * * The output of {@link GetDefaultPatchBaselineCommand}. */ export interface GetDefaultPatchBaselineCommandOutput extends GetDefaultPatchBaselineResult, __MetadataBearer { } declare const GetDefaultPatchBaselineCommand_base: { new (input: GetDefaultPatchBaselineCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetDefaultPatchBaselineCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves the default patch baseline. Amazon Web Services Systems Manager supports creating multiple default patch * baselines. For example, you can create a default patch baseline for each operating system.

*

If you don't specify an operating system value, the default patch baseline for Windows is * returned.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SSMClient, GetDefaultPatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import * // const { SSMClient, GetDefaultPatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import * const client = new SSMClient(config); * const input = { // GetDefaultPatchBaselineRequest * 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 GetDefaultPatchBaselineCommand(input); * const response = await client.send(command); * // { // GetDefaultPatchBaselineResult * // BaselineId: "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 GetDefaultPatchBaselineCommandInput - {@link GetDefaultPatchBaselineCommandInput} * @returns {@link GetDefaultPatchBaselineCommandOutput} * @see {@link GetDefaultPatchBaselineCommandInput} for command's `input` shape. * @see {@link GetDefaultPatchBaselineCommandOutput} 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 GetDefaultPatchBaselineCommand extends GetDefaultPatchBaselineCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDefaultPatchBaselineRequest; output: GetDefaultPatchBaselineResult; }; sdk: { input: GetDefaultPatchBaselineCommandInput; output: GetDefaultPatchBaselineCommandOutput; }; }; }