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 { DeleteDetectorModelRequest, DeleteDetectorModelResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteDetectorModelCommand}. */ export interface DeleteDetectorModelCommandInput extends DeleteDetectorModelRequest { } /** * @public * * The output of {@link DeleteDetectorModelCommand}. */ export interface DeleteDetectorModelCommandOutput extends DeleteDetectorModelResponse, __MetadataBearer { } declare const DeleteDetectorModelCommand_base: { new (input: DeleteDetectorModelCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteDetectorModelCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes a detector model. Any active instances of the detector model are also * deleted.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsClient, DeleteDetectorModelCommand } from "@aws-sdk/client-iot-events"; // ES Modules import * // const { IoTEventsClient, DeleteDetectorModelCommand } = 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 = { // DeleteDetectorModelRequest * detectorModelName: "STRING_VALUE", // required * }; * const command = new DeleteDetectorModelCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteDetectorModelCommandInput - {@link DeleteDetectorModelCommandInput} * @returns {@link DeleteDetectorModelCommandOutput} * @see {@link DeleteDetectorModelCommandInput} for command's `input` shape. * @see {@link DeleteDetectorModelCommandOutput} 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 DeleteDetectorModelCommand extends DeleteDetectorModelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteDetectorModelRequest; output: {}; }; sdk: { input: DeleteDetectorModelCommandInput; output: DeleteDetectorModelCommandOutput; }; }; }