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

Retrieves one or more analysis results of the detector model.

* *

After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsClient, GetDetectorModelAnalysisResultsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import * // const { IoTEventsClient, GetDetectorModelAnalysisResultsCommand } = 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 = { // GetDetectorModelAnalysisResultsRequest * analysisId: "STRING_VALUE", // required * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new GetDetectorModelAnalysisResultsCommand(input); * const response = await client.send(command); * // { // GetDetectorModelAnalysisResultsResponse * // analysisResults: [ // AnalysisResults * // { // AnalysisResult * // type: "STRING_VALUE", * // level: "INFO" || "WARNING" || "ERROR", * // message: "STRING_VALUE", * // locations: [ // AnalysisResultLocations * // { // AnalysisResultLocation * // path: "STRING_VALUE", * // }, * // ], * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param GetDetectorModelAnalysisResultsCommandInput - {@link GetDetectorModelAnalysisResultsCommandInput} * @returns {@link GetDetectorModelAnalysisResultsCommandOutput} * @see {@link GetDetectorModelAnalysisResultsCommandInput} for command's `input` shape. * @see {@link GetDetectorModelAnalysisResultsCommandOutput} 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 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 GetDetectorModelAnalysisResultsCommand extends GetDetectorModelAnalysisResultsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDetectorModelAnalysisResultsRequest; output: GetDetectorModelAnalysisResultsResponse; }; sdk: { input: GetDetectorModelAnalysisResultsCommandInput; output: GetDetectorModelAnalysisResultsCommandOutput; }; }; }