@aws-sdk/client-ssm
Version:
AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native
80 lines (79 loc) • 3.89 kB
TypeScript
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { DeregisterPatchBaselineForPatchGroupRequest, DeregisterPatchBaselineForPatchGroupResult } from "../models/models_0";
/**
* @public
*/
export type { __MetadataBearer };
/**
* @public
*
* The input for {@link DeregisterPatchBaselineForPatchGroupCommand}.
*/
export interface DeregisterPatchBaselineForPatchGroupCommandInput extends DeregisterPatchBaselineForPatchGroupRequest {
}
/**
* @public
*
* The output of {@link DeregisterPatchBaselineForPatchGroupCommand}.
*/
export interface DeregisterPatchBaselineForPatchGroupCommandOutput extends DeregisterPatchBaselineForPatchGroupResult, __MetadataBearer {
}
declare const DeregisterPatchBaselineForPatchGroupCommand_base: {
new (input: DeregisterPatchBaselineForPatchGroupCommandInput): import("@smithy/core/client").CommandImpl<DeregisterPatchBaselineForPatchGroupCommandInput, DeregisterPatchBaselineForPatchGroupCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
new (input: DeregisterPatchBaselineForPatchGroupCommandInput): import("@smithy/core/client").CommandImpl<DeregisterPatchBaselineForPatchGroupCommandInput, DeregisterPatchBaselineForPatchGroupCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
};
/**
* <p>Removes a patch group from a patch baseline.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { SSMClient, DeregisterPatchBaselineForPatchGroupCommand } from "@aws-sdk/client-ssm"; // ES Modules import
* // const { SSMClient, DeregisterPatchBaselineForPatchGroupCommand } = 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 = { // DeregisterPatchBaselineForPatchGroupRequest
* BaselineId: "STRING_VALUE", // required
* PatchGroup: "STRING_VALUE", // required
* };
* const command = new DeregisterPatchBaselineForPatchGroupCommand(input);
* const response = await client.send(command);
* // { // DeregisterPatchBaselineForPatchGroupResult
* // BaselineId: "STRING_VALUE",
* // PatchGroup: "STRING_VALUE",
* // };
*
* ```
*
* @param DeregisterPatchBaselineForPatchGroupCommandInput - {@link DeregisterPatchBaselineForPatchGroupCommandInput}
* @returns {@link DeregisterPatchBaselineForPatchGroupCommandOutput}
* @see {@link DeregisterPatchBaselineForPatchGroupCommandInput} for command's `input` shape.
* @see {@link DeregisterPatchBaselineForPatchGroupCommandOutput} 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 InvalidResourceId} (client fault)
* <p>The resource ID isn't valid. Verify that you entered the correct ID and try again.</p>
*
* @throws {@link SSMServiceException}
* <p>Base exception class for all service exceptions from SSM service.</p>
*
*
* @public
*/
export declare class DeregisterPatchBaselineForPatchGroupCommand extends DeregisterPatchBaselineForPatchGroupCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: DeregisterPatchBaselineForPatchGroupRequest;
output: DeregisterPatchBaselineForPatchGroupResult;
};
sdk: {
input: DeregisterPatchBaselineForPatchGroupCommandInput;
output: DeregisterPatchBaselineForPatchGroupCommandOutput;
};
};
}