import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeLifecycleHookTypesAnswer } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeLifecycleHookTypesCommand}. */ export interface DescribeLifecycleHookTypesCommandInput { } /** * @public * * The output of {@link DescribeLifecycleHookTypesCommand}. */ export interface DescribeLifecycleHookTypesCommandOutput extends DescribeLifecycleHookTypesAnswer, __MetadataBearer { } declare const DescribeLifecycleHookTypesCommand_base: { new (input: DescribeLifecycleHookTypesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeLifecycleHookTypesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Describes the available types of lifecycle hooks.

*

The following hook types are supported:

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AutoScalingClient, DescribeLifecycleHookTypesCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import * // const { AutoScalingClient, DescribeLifecycleHookTypesCommand } = 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 = {}; * const command = new DescribeLifecycleHookTypesCommand(input); * const response = await client.send(command); * // { // DescribeLifecycleHookTypesAnswer * // LifecycleHookTypes: [ // AutoScalingNotificationTypes * // "STRING_VALUE", * // ], * // }; * * ``` * * @param DescribeLifecycleHookTypesCommandInput - {@link DescribeLifecycleHookTypesCommandInput} * @returns {@link DescribeLifecycleHookTypesCommandOutput} * @see {@link DescribeLifecycleHookTypesCommandInput} for command's `input` shape. * @see {@link DescribeLifecycleHookTypesCommandOutput} 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 describe the available types of lifecycle hooks * ```javascript * // This example describes the available lifecycle hook types. * const input = { /* empty *\/ }; * const command = new DescribeLifecycleHookTypesCommand(input); * const response = await client.send(command); * /* response is * { * LifecycleHookTypes: [ * "autoscaling:EC2_INSTANCE_LAUNCHING", * "autoscaling:EC2_INSTANCE_TERMINATING" * ] * } * *\/ * ``` * * @public */ export declare class DescribeLifecycleHookTypesCommand extends DescribeLifecycleHookTypesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: DescribeLifecycleHookTypesAnswer; }; sdk: { input: DescribeLifecycleHookTypesCommandInput; output: DescribeLifecycleHookTypesCommandOutput; }; }; }