import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsClient"; import type { DeleteAlarmModelRequest, DeleteAlarmModelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteAlarmModelCommand}. */ export interface DeleteAlarmModelCommandInput extends DeleteAlarmModelRequest { } /** * @public * * The output of {@link DeleteAlarmModelCommand}. */ export interface DeleteAlarmModelCommandOutput extends DeleteAlarmModelResponse, __MetadataBearer { } declare const DeleteAlarmModelCommand_base: { new (input: DeleteAlarmModelCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteAlarmModelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes an alarm model. Any alarm instances that were created based on this alarm model * are also deleted. This action can't be undone.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsClient, DeleteAlarmModelCommand } from "@aws-sdk/client-iot-events"; // ES Modules import * // const { IoTEventsClient, DeleteAlarmModelCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import * // import type { IoTEventsClientConfig } from "@aws-sdk/client-iot-events"; * const config = {}; // type is IoTEventsClientConfig * const client = new IoTEventsClient(config); * const input = { // DeleteAlarmModelRequest * alarmModelName: "STRING_VALUE", // required * }; * const command = new DeleteAlarmModelCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteAlarmModelCommandInput - {@link DeleteAlarmModelCommandInput} * @returns {@link DeleteAlarmModelCommandOutput} * @see {@link DeleteAlarmModelCommandInput} for command's `input` shape. * @see {@link DeleteAlarmModelCommandOutput} for command's `response` shape. * @see {@link IoTEventsClientResolvedConfig | config} for IoTEventsClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An internal failure occurred.

* * @throws {@link InvalidRequestException} (client fault) *

The request was invalid.

* * @throws {@link ResourceInUseException} (client fault) *

The resource is in use.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource was not found.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is currently unavailable.

* * @throws {@link ThrottlingException} (client fault) *

The request could not be completed due to throttling.

* * @throws {@link IoTEventsServiceException} *

Base exception class for all service exceptions from IoTEvents service.

* * * @public */ export declare class DeleteAlarmModelCommand extends DeleteAlarmModelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteAlarmModelRequest; output: {}; }; sdk: { input: DeleteAlarmModelCommandInput; output: DeleteAlarmModelCommandOutput; }; }; }