:doc:`Greengrass <../../greengrass>` / Client / get_thing_runtime_configuration

*******************************
get_thing_runtime_configuration
*******************************



.. py:method:: Greengrass.Client.get_thing_runtime_configuration(**kwargs)

  Get the runtime configuration of a thing.

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/greengrass-2017-06-07/GetThingRuntimeConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_thing_runtime_configuration(
        ThingName='string'
    )
    
  :type ThingName: string
  :param ThingName: **[REQUIRED]** The thing name.

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

    
    ::

      {
          'RuntimeConfiguration': {
              'TelemetryConfiguration': {
                  'ConfigurationSyncStatus': 'InSync'|'OutOfSync',
                  'Telemetry': 'On'|'Off'
              }
          }
      }
      
    **Response Structure**

    

    - *(dict) --* Success. The response contains the runtime configuration for the given thing.
      

      - **RuntimeConfiguration** *(dict) --* Runtime configuration for a thing.
        

        - **TelemetryConfiguration** *(dict) --* Configuration for telemetry service.
          

          - **ConfigurationSyncStatus** *(string) --* Synchronization status of the device reported configuration with the desired configuration.
          

          - **Telemetry** *(string) --* Configure telemetry to be on or off.
      
    
  
  **Exceptions**
  
  *   :py:class:`Greengrass.Client.exceptions.BadRequestException`

  
  *   :py:class:`Greengrass.Client.exceptions.InternalServerErrorException`

  