AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::IoTWireless::Types::WirelessDeviceLogOption

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/types.rb

Overview

Note:

When making an API call, you may pass WirelessDeviceLogOption data as a hash:

{
  type: "Sidewalk", # required, accepts Sidewalk, LoRaWAN
  log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
  events: [
    {
      event: "Join", # required, accepts Join, Rejoin, Uplink_Data, Downlink_Data, Registration
      log_level: "INFO", # required, accepts INFO, ERROR, DISABLED
    },
  ],
}

The log options for wireless devices and can be used to set log levels for a specific type of wireless device.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#eventsArray<Types::WirelessDeviceEventLogOption>

The list of wireless device event log options.



3630
3631
3632
3633
3634
3635
3636
# File 'gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/types.rb', line 3630

class WirelessDeviceLogOption < Struct.new(
  :type,
  :log_level,
  :events)
  SENSITIVE = []
  include Aws::Structure
end

#log_levelString

The log level for a log message.

Returns:

  • (String)


3630
3631
3632
3633
3634
3635
3636
# File 'gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/types.rb', line 3630

class WirelessDeviceLogOption < Struct.new(
  :type,
  :log_level,
  :events)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The wireless device type.

Returns:

  • (String)


3630
3631
3632
3633
3634
3635
3636
# File 'gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/types.rb', line 3630

class WirelessDeviceLogOption < Struct.new(
  :type,
  :log_level,
  :events)
  SENSITIVE = []
  include Aws::Structure
end