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

Returns information about the specified detector (instance).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsDataClient, DescribeDetectorCommand } from "@aws-sdk/client-iot-events-data"; // ES Modules import * // const { IoTEventsDataClient, DescribeDetectorCommand } = 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 = { // DescribeDetectorRequest * detectorModelName: "STRING_VALUE", // required * keyValue: "STRING_VALUE", * }; * const command = new DescribeDetectorCommand(input); * const response = await client.send(command); * // { // DescribeDetectorResponse * // detector: { // Detector * // detectorModelName: "STRING_VALUE", * // keyValue: "STRING_VALUE", * // detectorModelVersion: "STRING_VALUE", * // state: { // DetectorState * // stateName: "STRING_VALUE", // required * // variables: [ // Variables // required * // { // Variable * // name: "STRING_VALUE", // required * // value: "STRING_VALUE", // required * // }, * // ], * // timers: [ // Timers // required * // { // Timer * // name: "STRING_VALUE", // required * // timestamp: new Date("TIMESTAMP"), // required * // }, * // ], * // }, * // creationTime: new Date("TIMESTAMP"), * // lastUpdateTime: new Date("TIMESTAMP"), * // }, * // }; * * ``` * * @param DescribeDetectorCommandInput - {@link DescribeDetectorCommandInput} * @returns {@link DescribeDetectorCommandOutput} * @see {@link DescribeDetectorCommandInput} for command's `input` shape. * @see {@link DescribeDetectorCommandOutput} 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 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 IoTEventsDataServiceException} *

Base exception class for all service exceptions from IoTEventsData service.

* * * @public */ export declare class DescribeDetectorCommand extends DescribeDetectorCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeDetectorRequest; output: DescribeDetectorResponse; }; sdk: { input: DescribeDetectorCommandInput; output: DescribeDetectorCommandOutput; }; }; }