IoTWireless / Client / get_resource_log_level

get_resource_log_level#

IoTWireless.Client.get_resource_log_level(**kwargs)#

Fetches the log-level override, if any, for a given resource-ID and resource-type. It can be used for a wireless device or a wireless gateway.

See also: AWS API Documentation

Request Syntax

response = client.get_resource_log_level(
    ResourceIdentifier='string',
    ResourceType='string'
)
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.

Return type:

dict

Returns:

Response Syntax

{
    'LogLevel': 'INFO'|'ERROR'|'DISABLED'
}

Response Structure

  • (dict) –

    • LogLevel (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.

Exceptions

  • IoTWireless.Client.exceptions.AccessDeniedException

  • IoTWireless.Client.exceptions.InternalServerException

  • IoTWireless.Client.exceptions.ResourceNotFoundException

  • IoTWireless.Client.exceptions.ThrottlingException

  • IoTWireless.Client.exceptions.ValidationException