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.. - See also: AWS API Documentation - Request Syntax- response = client.get_resource_log_level( ResourceIdentifier='string', ResourceType='string' ) - Parameters:
- ResourceIdentifier (string) – - [REQUIRED] - The unique identifier of the resource, which can be the wireless gateway ID, the wireless device ID, or the FUOTA task ID. 
- ResourceType (string) – - [REQUIRED] - The type of resource, which can be - WirelessDevice,- WirelessGateway, or- FuotaTask.
 
- 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 - ERRORto display less verbose logs containing only error information, or to- INFOfor more detailed logs.
 
 
 - Exceptions- IoTWireless.Client.exceptions.AccessDeniedException
- IoTWireless.Client.exceptions.InternalServerException
- IoTWireless.Client.exceptions.ResourceNotFoundException
- IoTWireless.Client.exceptions.ThrottlingException
- IoTWireless.Client.exceptions.ValidationException