import { Command as $Command } from "@smithy/core/client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTEventsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTEventsClient"; import type { PutLoggingOptionsRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link PutLoggingOptionsCommand}. */ export interface PutLoggingOptionsCommandInput extends PutLoggingOptionsRequest { } /** * @public * * The output of {@link PutLoggingOptionsCommand}. */ export interface PutLoggingOptionsCommandOutput extends __MetadataBearer { } declare const PutLoggingOptionsCommand_base: { new (input: PutLoggingOptionsCommandInput): import("@smithy/core/client").CommandImpl; new (input: PutLoggingOptionsCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): { [x: string]: unknown; }; }; /** *

Sets or updates the AWS IoT Events logging options.

*

If you update the value of any loggingOptions field, it takes up to one * minute for the change to take effect. If you change the policy attached to the role you * specified in the roleArn field (for example, to correct an invalid policy), it * takes up to five minutes for that change to take effect.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTEventsClient, PutLoggingOptionsCommand } from "@aws-sdk/client-iot-events"; // ES Modules import * // const { IoTEventsClient, PutLoggingOptionsCommand } = require("@aws-sdk/client-iot-events"); // CommonJS import * // import type { IoTEventsClientConfig } from "@aws-sdk/client-iot-events"; * const config = {}; // type is IoTEventsClientConfig * const client = new IoTEventsClient(config); * const input = { // PutLoggingOptionsRequest * loggingOptions: { // LoggingOptions * roleArn: "STRING_VALUE", // required * level: "ERROR" || "INFO" || "DEBUG", // required * enabled: true || false, // required * detectorDebugOptions: [ // DetectorDebugOptions * { // DetectorDebugOption * detectorModelName: "STRING_VALUE", // required * keyValue: "STRING_VALUE", * }, * ], * }, * }; * const command = new PutLoggingOptionsCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param PutLoggingOptionsCommandInput - {@link PutLoggingOptionsCommandInput} * @returns {@link PutLoggingOptionsCommandOutput} * @see {@link PutLoggingOptionsCommandInput} for command's `input` shape. * @see {@link PutLoggingOptionsCommandOutput} for command's `response` shape. * @see {@link IoTEventsClientResolvedConfig | config} for IoTEventsClient's `config` shape. * * @throws {@link InternalFailureException} (server fault) *

An internal failure occurred.

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

The request was invalid.

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

The resource is in use.

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

The service is currently unavailable.

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

The request could not be completed due to throttling.

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

The requested operation is not supported.

* * @throws {@link IoTEventsServiceException} *

Base exception class for all service exceptions from IoTEvents service.

* * * @public */ export declare class PutLoggingOptionsCommand extends PutLoggingOptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PutLoggingOptionsRequest; output: {}; }; sdk: { input: PutLoggingOptionsCommandInput; output: PutLoggingOptionsCommandOutput; }; }; }