@aws-sdk/client-ssm
Version:
AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native
75 lines (74 loc) • 3.24 kB
TypeScript
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
import type { DeleteMaintenanceWindowRequest, DeleteMaintenanceWindowResult } from "../models/models_0";
/**
* @public
*/
export type { __MetadataBearer };
/**
* @public
*
* The input for {@link DeleteMaintenanceWindowCommand}.
*/
export interface DeleteMaintenanceWindowCommandInput extends DeleteMaintenanceWindowRequest {
}
/**
* @public
*
* The output of {@link DeleteMaintenanceWindowCommand}.
*/
export interface DeleteMaintenanceWindowCommandOutput extends DeleteMaintenanceWindowResult, __MetadataBearer {
}
declare const DeleteMaintenanceWindowCommand_base: {
new (input: DeleteMaintenanceWindowCommandInput): import("@smithy/core/client").CommandImpl<DeleteMaintenanceWindowCommandInput, DeleteMaintenanceWindowCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
new (input: DeleteMaintenanceWindowCommandInput): import("@smithy/core/client").CommandImpl<DeleteMaintenanceWindowCommandInput, DeleteMaintenanceWindowCommandOutput, import("..").SSMClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
};
/**
* <p>Deletes a maintenance window.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
* import { SSMClient, DeleteMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import
* // const { SSMClient, DeleteMaintenanceWindowCommand } = 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 = { // DeleteMaintenanceWindowRequest
* WindowId: "STRING_VALUE", // required
* };
* const command = new DeleteMaintenanceWindowCommand(input);
* const response = await client.send(command);
* // { // DeleteMaintenanceWindowResult
* // WindowId: "STRING_VALUE",
* // };
*
* ```
*
* @param DeleteMaintenanceWindowCommandInput - {@link DeleteMaintenanceWindowCommandInput}
* @returns {@link DeleteMaintenanceWindowCommandOutput}
* @see {@link DeleteMaintenanceWindowCommandInput} for command's `input` shape.
* @see {@link DeleteMaintenanceWindowCommandOutput} 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 SSMServiceException}
* <p>Base exception class for all service exceptions from SSM service.</p>
*
*
* @public
*/
export declare class DeleteMaintenanceWindowCommand extends DeleteMaintenanceWindowCommand_base {
/** @internal type navigation helper, not in runtime. */
protected static __types: {
api: {
input: DeleteMaintenanceWindowRequest;
output: DeleteMaintenanceWindowResult;
};
sdk: {
input: DeleteMaintenanceWindowCommandInput;
output: DeleteMaintenanceWindowCommandOutput;
};
};
}