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 { ListV2LoggingLevelsRequest, ListV2LoggingLevelsResponse } from "../models/models_2"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link ListV2LoggingLevelsCommand}. */ export interface ListV2LoggingLevelsCommandInput extends ListV2LoggingLevelsRequest { } /** * @public * * The output of {@link ListV2LoggingLevelsCommand}. */ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsResponse, __MetadataBearer { } declare const ListV2LoggingLevelsCommand_base: { new (input: ListV2LoggingLevelsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListV2LoggingLevelsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Lists logging levels.

*

Requires permission to access the ListV2LoggingLevels action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, ListV2LoggingLevelsCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, ListV2LoggingLevelsCommand } = 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 = { // ListV2LoggingLevelsRequest * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", * nextToken: "STRING_VALUE", * maxResults: Number("int"), * }; * const command = new ListV2LoggingLevelsCommand(input); * const response = await client.send(command); * // { // ListV2LoggingLevelsResponse * // logTargetConfigurations: [ // LogTargetConfigurations * // { // LogTargetConfiguration * // logTarget: { // LogTarget * // targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required * // targetName: "STRING_VALUE", * // }, * // logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListV2LoggingLevelsCommandInput - {@link ListV2LoggingLevelsCommandInput} * @returns {@link ListV2LoggingLevelsCommandOutput} * @see {@link ListV2LoggingLevelsCommandInput} for command's `input` shape. * @see {@link ListV2LoggingLevelsCommandOutput} for command's `response` shape. * @see {@link IoTClientResolvedConfig | config} for IoTClient's `config` shape. * * @throws {@link InternalException} (server fault) *

An unexpected error has occurred.

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

The request is not valid.

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

The resource is not configured.

* * @throws {@link ServiceUnavailableException} (server fault) *

The service is temporarily unavailable.

* * @throws {@link IoTServiceException} *

Base exception class for all service exceptions from IoT service.

* * * @public */ export declare class ListV2LoggingLevelsCommand extends ListV2LoggingLevelsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListV2LoggingLevelsRequest; output: ListV2LoggingLevelsResponse; }; sdk: { input: ListV2LoggingLevelsCommandInput; output: ListV2LoggingLevelsCommandOutput; }; }; }