IoTWireless / Client / put_resource_log_level

put_resource_log_level#

IoTWireless.Client.put_resource_log_level(**kwargs)#

Sets the log-level override for a resource-ID and resource-type. This option can be specified for a wireless gateway or a wireless device. A limit of 200 log level override can be set per account.

See also: AWS API Documentation

Request Syntax

response = client.put_resource_log_level(
    ResourceIdentifier='string',
    ResourceType='string',
    LogLevel='INFO'|'ERROR'|'DISABLED'
)
Parameters:
  • ResourceIdentifier (string) –

    [REQUIRED]

    The identifier of the resource. For a Wireless Device, it is the wireless device ID. For a wireless gateway, it is the wireless gateway ID.

  • ResourceType (string) –

    [REQUIRED]

    The type of the resource, which can be WirelessDevice or WirelessGateway.

  • LogLevel (string) –

    [REQUIRED]

    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.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions