:doc:`IoTFleetWise <../../iotfleetwise>` / Client / put_logging_options

*******************
put_logging_options
*******************



.. py:method:: IoTFleetWise.Client.put_logging_options(**kwargs)

  

  Creates or updates the logging option.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotfleetwise-2021-06-17/PutLoggingOptions>`_  


  **Request Syntax**
  ::

    response = client.put_logging_options(
        cloudWatchLogDelivery={
            'logType': 'OFF'|'ERROR',
            'logGroupName': 'string'
        }
    )
    
  :type cloudWatchLogDelivery: dict
  :param cloudWatchLogDelivery: **[REQUIRED]** 

    Creates or updates the log delivery option to Amazon CloudWatch Logs.

    

  
    - **logType** *(string) --* **[REQUIRED]** 

      The type of log to send data to Amazon CloudWatch Logs.

      

    
    - **logGroupName** *(string) --* 

      The Amazon CloudWatch Logs group the operation sends data to.

      

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`IoTFleetWise.Client.exceptions.ResourceNotFoundException`

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

  
  *   :py:class:`IoTFleetWise.Client.exceptions.ConflictException`

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

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

  
  *   :py:class:`IoTFleetWise.Client.exceptions.AccessDeniedException`

  