:doc:`PrometheusService <../../amp>` / Client / get_default_scraper_configuration

*********************************
get_default_scraper_configuration
*********************************



.. py:method:: PrometheusService.Client.get_default_scraper_configuration()

  

  The ``GetDefaultScraperConfiguration`` operation returns the default scraper configuration used when Amazon EKS creates a scraper for you.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/GetDefaultScraperConfiguration>`_  


  **Request Syntax**
  ::

    response = client.get_default_scraper_configuration()
    
    
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'configuration': b'bytes'
      }
      
    **Response Structure**

    

    - *(dict) --* 

      Represents the output of a ``GetDefaultScraperConfiguration`` operation.

      
      

      - **configuration** *(bytes) --* 

        The configuration file. Base 64 encoded. For more information, see `Scraper configuration <https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration>`__in the *Amazon Managed Service for Prometheus User Guide*.

        
  
  **Exceptions**
  
  *   :py:class:`PrometheusService.Client.exceptions.ThrottlingException`

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

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

  