PrometheusService / Client / get_default_scraper_configuration
get_default_scraper_configuration#
- PrometheusService.Client.get_default_scraper_configuration()#
- The - GetDefaultScraperConfigurationoperation returns the default scraper configuration used when Amazon EKS creates a scraper for you.- See also: AWS API Documentation - Request Syntax- response = client.get_default_scraper_configuration() - Return type:
- dict 
- Returns:
- Response Syntax- { 'configuration': b'bytes' } - Response Structure- (dict) – - Represents the output of a - GetDefaultScraperConfigurationoperation.- 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- PrometheusService.Client.exceptions.ThrottlingException
- PrometheusService.Client.exceptions.AccessDeniedException
- PrometheusService.Client.exceptions.InternalServerException