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

Gets the fine grained logging options.

*

Requires permission to access the GetV2LoggingOptions action.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTClient, GetV2LoggingOptionsCommand } from "@aws-sdk/client-iot"; // ES Modules import * // const { IoTClient, GetV2LoggingOptionsCommand } = 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 = { // GetV2LoggingOptionsRequest * verbose: true || false, * }; * const command = new GetV2LoggingOptionsCommand(input); * const response = await client.send(command); * // { // GetV2LoggingOptionsResponse * // 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", * // }, * // ], * // }; * * ``` * * @param GetV2LoggingOptionsCommandInput - {@link GetV2LoggingOptionsCommandInput} * @returns {@link GetV2LoggingOptionsCommandOutput} * @see {@link GetV2LoggingOptionsCommandInput} for command's `input` shape. * @see {@link GetV2LoggingOptionsCommandOutput} 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 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 GetV2LoggingOptionsCommand extends GetV2LoggingOptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetV2LoggingOptionsRequest; output: GetV2LoggingOptionsResponse; }; sdk: { input: GetV2LoggingOptionsCommandInput; output: GetV2LoggingOptionsCommandOutput; }; }; }