import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTClient"; import type { ListMetricValuesRequest, ListMetricValuesResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListMetricValuesCommand}. */ export interface ListMetricValuesCommandInput extends ListMetricValuesRequest { } /** * @public * * The output of {@link ListMetricValuesCommand}. */ export interface ListMetricValuesCommandOutput extends ListMetricValuesResponse, __MetadataBearer { } declare const ListMetricValuesCommand_base: { new (input: ListMetricValuesCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListMetricValuesCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists the values reported for an IoT Device Defender metric (device-side metric, cloud-side metric, or custom metric) * by the given thing during the specified time period.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, ListMetricValuesCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, ListMetricValuesCommand } = require("@aws-sdk/client-iot"); // CommonJS import * // import type { IoTClientConfig } from "@aws-sdk/client-iot"; * const config = {}; // type is IoTClientConfig * const client = new IoTClient(config); * const input = { // ListMetricValuesRequest * thingName: "STRING_VALUE", // required * metricName: "STRING_VALUE", // required * dimensionName: "STRING_VALUE", * dimensionValueOperator: "IN" || "NOT_IN", * startTime: new Date("TIMESTAMP"), // required * endTime: new Date("TIMESTAMP"), // required * maxResults: Number("int"), * nextToken: "STRING_VALUE", * }; * const command = new ListMetricValuesCommand(input); * const response = await client.send(command); * // { // ListMetricValuesResponse * // metricDatumList: [ // MetricDatumList * // { // MetricDatum * // timestamp: new Date("TIMESTAMP"), * // value: { // MetricValue * // count: Number("long"), * // cidrs: [ // Cidrs * // "STRING_VALUE", * // ], * // ports: [ // Ports * // Number("int"), * // ], * // number: Number("double"), * // numbers: [ // NumberList * // Number("double"), * // ], * // strings: [ // StringList * // "STRING_VALUE", * // ], * // }, * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListMetricValuesCommandInput - {@link ListMetricValuesCommandInput} * @returns {@link ListMetricValuesCommandOutput} * @see {@link ListMetricValuesCommandInput} for command's `input` shape. * @see {@link ListMetricValuesCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An unexpected error has occurred.

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

The request is not valid.

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

The specified resource does not exist.

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

The rate exceeds the limit.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class ListMetricValuesCommand extends ListMetricValuesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListMetricValuesRequest; output: ListMetricValuesResponse; }; sdk: { input: ListMetricValuesCommandInput; output: ListMetricValuesCommandOutput; }; }; }