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

Sets the logging level.

*

Requires permission to access the SetV2LoggingLevel action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, SetV2LoggingLevelCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, SetV2LoggingLevelCommand } = 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 = { // SetV2LoggingLevelRequest * logTarget: { // LogTarget * targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required * targetName: "STRING_VALUE", * }, * logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", // required * }; * const command = new SetV2LoggingLevelCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SetV2LoggingLevelCommandInput - {@link SetV2LoggingLevelCommandInput} * @returns {@link SetV2LoggingLevelCommandOutput} * @see {@link SetV2LoggingLevelCommandInput} for command's `input` shape. * @see {@link SetV2LoggingLevelCommandOutput} 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 LimitExceededException} (client fault) *

A limit has been exceeded.

* * @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 SetV2LoggingLevelCommand extends SetV2LoggingLevelCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetV2LoggingLevelRequest; output: {}; }; sdk: { input: SetV2LoggingLevelCommandInput; output: SetV2LoggingLevelCommandOutput; }; }; }