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'
)
[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.
[REQUIRED]
The type of the resource, which can be WirelessDevice
or WirelessGateway
.
dict
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