AWS IoT Wireless

2021/11/23 - AWS IoT Wireless - 2 new api methods

Changes  Two new APIs, GetNetworkAnalyzerConfiguration and UpdateNetworkAnalyzerConfiguration, are added for the newly released Network Analyzer feature which enables customers to view real-time frame information and logs from LoRaWAN devices and gateways.

UpdateNetworkAnalyzerConfiguration (new) Link ¶

Update NetworkAnalyzer configuration.

See also: AWS API Documentation

Request Syntax

client.update_network_analyzer_configuration(
    ConfigurationName='string',
    TraceContent={
        'WirelessDeviceFrameInfo': 'ENABLED'|'DISABLED',
        'LogLevel': 'INFO'|'ERROR'|'DISABLED'
    },
    WirelessDevicesToAdd=[
        'string',
    ],
    WirelessDevicesToRemove=[
        'string',
    ],
    WirelessGatewaysToAdd=[
        'string',
    ],
    WirelessGatewaysToRemove=[
        'string',
    ]
)
type ConfigurationName:

string

param ConfigurationName:

[REQUIRED]

NetworkAnalyzer configuration name.

type TraceContent:

dict

param TraceContent:

Trace Content for resources.

  • WirelessDeviceFrameInfo (string) --

    WirelessDevice FrameInfo for trace content.

  • LogLevel (string) --

    The log level for a log message.

type WirelessDevicesToAdd:

list

param WirelessDevicesToAdd:

WirelessDevices to add into NetworkAnalyzerConfiguration.

  • (string) --

    The ID of the wireless device.

type WirelessDevicesToRemove:

list

param WirelessDevicesToRemove:

WirelessDevices to remove from NetworkAnalyzerConfiguration.

  • (string) --

    The ID of the wireless device.

type WirelessGatewaysToAdd:

list

param WirelessGatewaysToAdd:

WirelessGateways to add into NetworkAnalyzerConfiguration.

  • (string) --

type WirelessGatewaysToRemove:

list

param WirelessGatewaysToRemove:

WirelessGateways to remove from NetworkAnalyzerConfiguration.

  • (string) --

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

GetNetworkAnalyzerConfiguration (new) Link ¶

Get NetworkAnalyzer configuration.

See also: AWS API Documentation

Request Syntax

client.get_network_analyzer_configuration(
    ConfigurationName='string'
)
type ConfigurationName:

string

param ConfigurationName:

[REQUIRED]

NetworkAnalyzer configuration name.

rtype:

dict

returns:

Response Syntax

{
    'TraceContent': {
        'WirelessDeviceFrameInfo': 'ENABLED'|'DISABLED',
        'LogLevel': 'INFO'|'ERROR'|'DISABLED'
    },
    'WirelessDevices': [
        'string',
    ],
    'WirelessGateways': [
        'string',
    ]
}

Response Structure

  • (dict) --

    • TraceContent (dict) --

      Trace Content for resources.

      • WirelessDeviceFrameInfo (string) --

        WirelessDevice FrameInfo for trace content.

      • LogLevel (string) --

        The log level for a log message.

    • WirelessDevices (list) --

      List of WirelessDevices in the NetworkAnalyzerConfiguration.

      • (string) --

        The ID of the wireless device.

    • WirelessGateways (list) --

      List of WirelessGateways in the NetworkAnalyzerConfiguration.

      • (string) --