Class: Aws::IoTWireless::Types::WirelessDeviceEventLogOption
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTWireless::Types::WirelessDeviceEventLogOption
- Defined in:
- gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/types.rb
Overview
When making an API call, you may pass WirelessDeviceEventLogOption data as a hash:
{
event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
}
The log options for a wireless device event and can be used to set log levels for a specific wireless device event.
For a LoRaWAN device, possible events for a log messsage are: Join
,
Rejoin
, Downlink_Data
, and Uplink_Data
. For a Sidewalk device,
possible events for a log message are Registration
, Downlink_Data
,
and Uplink_Data
.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event ⇒ String
The event for a log message, if the log message is tied to a wireless device.
-
#log_level ⇒ String
The log level for a log message.
Instance Attribute Details
#event ⇒ String
The event for a log message, if the log message is tied to a wireless device.
6001 6002 6003 6004 6005 6006 |
# File 'gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/types.rb', line 6001 class WirelessDeviceEventLogOption < Struct.new( :event, :log_level) SENSITIVE = [] include Aws::Structure end |
#log_level ⇒ String
The log level for a log message. The log levels can be disabled, or
set to ERROR
to display less verbose logs containing only error
information, or to INFO
for more detailed logs.
6001 6002 6003 6004 6005 6006 |
# File 'gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/types.rb', line 6001 class WirelessDeviceEventLogOption < Struct.new( :event, :log_level) SENSITIVE = [] include Aws::Structure end |