:doc:`IoTWireless <../../iotwireless>` / Client / get_resource_log_level

**********************
get_resource_log_level
**********************



.. py:method:: 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 <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/GetResourceLogLevel>`_  


  **Request Syntax**
  ::

    response = client.get_resource_log_level(
        ResourceIdentifier='string',
        ResourceType='string'
    )
    
  :type ResourceIdentifier: string
  :param ResourceIdentifier: **[REQUIRED]** 

    The unique identifier of the resource, which can be the wireless gateway ID, the wireless device ID, or the FUOTA task ID.

    

  
  :type ResourceType: string
  :param ResourceType: **[REQUIRED]** 

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

    

  
  
  :rtype: 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**
  
  *   :py:class:`IoTWireless.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`IoTWireless.Client.exceptions.InternalServerException`

  
  *   :py:class:`IoTWireless.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`IoTWireless.Client.exceptions.ThrottlingException`

  
  *   :py:class:`IoTWireless.Client.exceptions.ValidationException`

  