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

**********************
put_resource_log_level
**********************



.. py:method:: IoTWireless.Client.put_resource_log_level(**kwargs)

  

  Sets the log-level override for a resource ID and resource type. A limit of 200 log level override can be set per account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotwireless-2020-11-22/PutResourceLogLevel>`_  


  **Request Syntax**
  ::

    response = client.put_resource_log_level(
        ResourceIdentifier='string',
        ResourceType='string',
        LogLevel='INFO'|'ERROR'|'DISABLED'
    )
    
  :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``.

    

  
  :type LogLevel: string
  :param LogLevel: **[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.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **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`

  