import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTEventsDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsDataClient"; import type { BatchDeleteDetectorRequest, BatchDeleteDetectorResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link BatchDeleteDetectorCommand}. */ export interface BatchDeleteDetectorCommandInput extends BatchDeleteDetectorRequest { } /** * @public * * The output of {@link BatchDeleteDetectorCommand}. */ export interface BatchDeleteDetectorCommandOutput extends BatchDeleteDetectorResponse, __MetadataBearer { } declare const BatchDeleteDetectorCommand_base: { new (input: BatchDeleteDetectorCommandInput): import("@smithy/core/client").CommandImpl; new (input: BatchDeleteDetectorCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Deletes one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the ListDetectors API call.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsDataClient, BatchDeleteDetectorCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import * // const { IoTEventsDataClient, BatchDeleteDetectorCommand } = require("@aws-sdk/client-iot-events-data"); // CommonJS import * // import type { IoTEventsDataClientConfig } from "@aws-sdk/client-iot-events-data"; * const config = {}; // type is IoTEventsDataClientConfig * const client = new IoTEventsDataClient(config); * const input = { // BatchDeleteDetectorRequest * detectors: [ // DeleteDetectorRequests // required * { // DeleteDetectorRequest * messageId: "STRING_VALUE", // required * detectorModelName: "STRING_VALUE", // required * keyValue: "STRING_VALUE", * }, * ], * }; * const command = new BatchDeleteDetectorCommand(input); * const response = await client.send(command); * // { // BatchDeleteDetectorResponse * // batchDeleteDetectorErrorEntries: [ // BatchDeleteDetectorErrorEntries * // { // BatchDeleteDetectorErrorEntry * // messageId: "STRING_VALUE", * // errorCode: "ResourceNotFoundException" || "InvalidRequestException" || "InternalFailureException" || "ServiceUnavailableException" || "ThrottlingException", * // errorMessage: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param BatchDeleteDetectorCommandInput - {@link BatchDeleteDetectorCommandInput} * @returns {@link BatchDeleteDetectorCommandOutput} * @see {@link BatchDeleteDetectorCommandInput} for command's `input` shape. * @see {@link BatchDeleteDetectorCommandOutput} for command's `response` shape. * @see {@link IoTEventsDataClientResolvedConfig | config} for IoTEventsDataClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An internal failure occurred.

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

The request was invalid.

* * @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 IoTEventsDataServiceException} *

Base exception class for all service exceptions from IoTEventsData service.

* * * @public */ export declare class BatchDeleteDetectorCommand extends BatchDeleteDetectorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: BatchDeleteDetectorRequest; output: BatchDeleteDetectorResponse; }; sdk: { input: BatchDeleteDetectorCommandInput; output: BatchDeleteDetectorCommandOutput; }; }; }