import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteLifecycleHookAnswer, DeleteLifecycleHookType } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteLifecycleHookCommand}. */ export interface DeleteLifecycleHookCommandInput extends DeleteLifecycleHookType { } /** * @public * * The output of {@link DeleteLifecycleHookCommand}. */ export interface DeleteLifecycleHookCommandOutput extends DeleteLifecycleHookAnswer, __MetadataBearer { } declare const DeleteLifecycleHookCommand_base: { new (input: DeleteLifecycleHookCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteLifecycleHookCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified lifecycle hook.

*

If there are any outstanding lifecycle actions, they are completed first * (ABANDON for launching instances, CONTINUE for terminating * instances).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AutoScalingClient, DeleteLifecycleHookCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import * // const { AutoScalingClient, DeleteLifecycleHookCommand } = require("@aws-sdk/client-auto-scaling"); // CommonJS import * // import type { AutoScalingClientConfig } from "@aws-sdk/client-auto-scaling"; * const config = {}; // type is AutoScalingClientConfig * const client = new AutoScalingClient(config); * const input = { // DeleteLifecycleHookType * LifecycleHookName: "STRING_VALUE", // required * AutoScalingGroupName: "STRING_VALUE", // required * }; * const command = new DeleteLifecycleHookCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteLifecycleHookCommandInput - {@link DeleteLifecycleHookCommandInput} * @returns {@link DeleteLifecycleHookCommandOutput} * @see {@link DeleteLifecycleHookCommandInput} for command's `input` shape. * @see {@link DeleteLifecycleHookCommandOutput} for command's `response` shape. * @see {@link AutoScalingClientResolvedConfig | config} for AutoScalingClient's `config` shape. * * @throws {@link ResourceContentionFault} (server fault) *

You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, * instance, or load balancer).

* * @throws {@link AutoScalingServiceException} *

Base exception class for all service exceptions from AutoScaling service.

* * * @example To delete a lifecycle hook * ```javascript * // This example deletes the specified lifecycle hook. * const input = { * AutoScalingGroupName: "my-auto-scaling-group", * LifecycleHookName: "my-lifecycle-hook" * }; * const command = new DeleteLifecycleHookCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeleteLifecycleHookCommand extends DeleteLifecycleHookCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteLifecycleHookType; output: {}; }; sdk: { input: DeleteLifecycleHookCommandInput; output: DeleteLifecycleHookCommandOutput; }; }; }