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 { ListCustomMetricsRequest, ListCustomMetricsResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListCustomMetricsCommand}. */ export interface ListCustomMetricsCommandInput extends ListCustomMetricsRequest { } /** * @public * * The output of {@link ListCustomMetricsCommand}. */ export interface ListCustomMetricsCommandOutput extends ListCustomMetricsResponse, __MetadataBearer { } declare const ListCustomMetricsCommand_base: { new (input: ListCustomMetricsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListCustomMetricsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

* Lists your Device Defender detect custom metrics. *

*

Requires permission to access the ListCustomMetrics action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, ListCustomMetricsCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, ListCustomMetricsCommand } = 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 = { // ListCustomMetricsRequest * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListCustomMetricsCommand(input); * const response = await client.send(command); * // { // ListCustomMetricsResponse * // metricNames: [ // MetricNames * // "STRING_VALUE", * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListCustomMetricsCommandInput - {@link ListCustomMetricsCommandInput} * @returns {@link ListCustomMetricsCommandOutput} * @see {@link ListCustomMetricsCommandInput} for command's `input` shape. * @see {@link ListCustomMetricsCommandOutput} 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 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 ListCustomMetricsCommand extends ListCustomMetricsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListCustomMetricsRequest; output: ListCustomMetricsResponse; }; sdk: { input: ListCustomMetricsCommandInput; output: ListCustomMetricsCommandOutput; }; }; }