import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeletePolicyType } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeletePolicyCommand}. */ export interface DeletePolicyCommandInput extends DeletePolicyType { } /** * @public * * The output of {@link DeletePolicyCommand}. */ export interface DeletePolicyCommandOutput extends __MetadataBearer { } declare const DeletePolicyCommand_base: { new (input: DeletePolicyCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeletePolicyCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the specified scaling policy.

*

Deleting either a step scaling policy or a simple scaling policy deletes the * underlying alarm action, but does not delete the alarm, even if it no longer has an * associated action.

*

For more information, see Delete a scaling * policy in the Amazon EC2 Auto Scaling User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { AutoScalingClient, DeletePolicyCommand } from "@aws-sdk/client-auto-scaling"; // ES Modules import * // const { AutoScalingClient, DeletePolicyCommand } = 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 = { // DeletePolicyType * AutoScalingGroupName: "STRING_VALUE", * PolicyName: "STRING_VALUE", // required * }; * const command = new DeletePolicyCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeletePolicyCommandInput - {@link DeletePolicyCommandInput} * @returns {@link DeletePolicyCommandOutput} * @see {@link DeletePolicyCommandInput} for command's `input` shape. * @see {@link DeletePolicyCommandOutput} 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 ServiceLinkedRoleFailure} (server fault) *

The service-linked role is not yet ready for use.

* * @throws {@link AutoScalingServiceException} *

Base exception class for all service exceptions from AutoScaling service.

* * * @example To delete an Auto Scaling policy * ```javascript * // This example deletes the specified Auto Scaling policy. * const input = { * AutoScalingGroupName: "my-auto-scaling-group", * PolicyName: "my-step-scale-out-policy" * }; * const command = new DeletePolicyCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class DeletePolicyCommand extends DeletePolicyCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeletePolicyType; output: {}; }; sdk: { input: DeletePolicyCommandInput; output: DeletePolicyCommandOutput; }; }; }