import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { IoTWirelessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../IoTWirelessClient"; import type { GetLogLevelsByResourceTypesRequest, GetLogLevelsByResourceTypesResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetLogLevelsByResourceTypesCommand}. */ export interface GetLogLevelsByResourceTypesCommandInput extends GetLogLevelsByResourceTypesRequest { } /** * @public * * The output of {@link GetLogLevelsByResourceTypesCommand}. */ export interface GetLogLevelsByResourceTypesCommandOutput extends GetLogLevelsByResourceTypesResponse, __MetadataBearer { } declare const GetLogLevelsByResourceTypesCommand_base: { new (input: GetLogLevelsByResourceTypesCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [GetLogLevelsByResourceTypesCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Returns current default log levels or log levels by resource types. Based on the * resource type, log levels can be returned for wireless device, wireless gateway, or * FUOTA task log options.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { IoTWirelessClient, GetLogLevelsByResourceTypesCommand } from "@aws-sdk/client-iot-wireless"; // ES Modules import * // const { IoTWirelessClient, GetLogLevelsByResourceTypesCommand } = require("@aws-sdk/client-iot-wireless"); // CommonJS import * // import type { IoTWirelessClientConfig } from "@aws-sdk/client-iot-wireless"; * const config = {}; // type is IoTWirelessClientConfig * const client = new IoTWirelessClient(config); * const input = {}; * const command = new GetLogLevelsByResourceTypesCommand(input); * const response = await client.send(command); * // { // GetLogLevelsByResourceTypesResponse * // DefaultLogLevel: "INFO" || "ERROR" || "DISABLED", * // WirelessGatewayLogOptions: [ // WirelessGatewayLogOptionList * // { // WirelessGatewayLogOption * // Type: "LoRaWAN", // required * // LogLevel: "INFO" || "ERROR" || "DISABLED", // required * // Events: [ // WirelessGatewayEventLogOptionList * // { // WirelessGatewayEventLogOption * // Event: "CUPS_Request" || "Certificate", // required * // LogLevel: "INFO" || "ERROR" || "DISABLED", // required * // }, * // ], * // }, * // ], * // WirelessDeviceLogOptions: [ // WirelessDeviceLogOptionList * // { // WirelessDeviceLogOption * // Type: "Sidewalk" || "LoRaWAN", // required * // LogLevel: "INFO" || "ERROR" || "DISABLED", // required * // Events: [ // WirelessDeviceEventLogOptionList * // { // WirelessDeviceEventLogOption * // Event: "Join" || "Rejoin" || "Uplink_Data" || "Downlink_Data" || "Registration", // required * // LogLevel: "INFO" || "ERROR" || "DISABLED", // required * // }, * // ], * // }, * // ], * // FuotaTaskLogOptions: [ // FuotaTaskLogOptionList * // { // FuotaTaskLogOption * // Type: "LoRaWAN", // required * // LogLevel: "INFO" || "ERROR" || "DISABLED", // required * // Events: [ // FuotaTaskEventLogOptionList * // { // FuotaTaskEventLogOption * // Event: "Fuota", // required * // LogLevel: "INFO" || "ERROR" || "DISABLED", // required * // }, * // ], * // }, * // ], * // }; * * ``` * * @param GetLogLevelsByResourceTypesCommandInput - {@link GetLogLevelsByResourceTypesCommandInput} * @returns {@link GetLogLevelsByResourceTypesCommandOutput} * @see {@link GetLogLevelsByResourceTypesCommandInput} for command's `input` shape. * @see {@link GetLogLevelsByResourceTypesCommandOutput} for command's `response` shape. * @see {@link IoTWirelessClientResolvedConfig | config} for IoTWirelessClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

User does not have permission to perform this action.

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

An unexpected error occurred while processing a request.

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

Resource does not exist.

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

The request was denied because it exceeded the allowed API request rate.

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

The input did not meet the specified constraints.

* * @throws {@link IoTWirelessServiceException} *

Base exception class for all service exceptions from IoTWireless service.

* * * @public */ export declare class GetLogLevelsByResourceTypesCommand extends GetLogLevelsByResourceTypesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: {}; output: GetLogLevelsByResourceTypesResponse; }; sdk: { input: GetLogLevelsByResourceTypesCommandInput; output: GetLogLevelsByResourceTypesCommandOutput; }; }; }