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

Sets the logging options for the V2 logging service.

*

Requires permission to access the SetV2LoggingOptions action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, SetV2LoggingOptionsCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, SetV2LoggingOptionsCommand } = 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 = { // SetV2LoggingOptionsRequest * roleArn: "STRING_VALUE", * defaultLogLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", * disableAllLogs: true || false, * eventConfigurations: [ // LogEventConfigurations * { // LogEventConfiguration * eventType: "STRING_VALUE", // required * logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", * logDestination: "STRING_VALUE", * }, * ], * }; * const command = new SetV2LoggingOptionsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param SetV2LoggingOptionsCommandInput - {@link SetV2LoggingOptionsCommandInput} * @returns {@link SetV2LoggingOptionsCommandOutput} * @see {@link SetV2LoggingOptionsCommandInput} for command's `input` shape. * @see {@link SetV2LoggingOptionsCommandOutput} 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 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 SetV2LoggingOptionsCommand extends SetV2LoggingOptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: SetV2LoggingOptionsRequest; output: {}; }; sdk: { input: SetV2LoggingOptionsCommandInput; output: SetV2LoggingOptionsCommandOutput; }; }; }