Updates the logging configuration for a Amazon Managed Service for Prometheus scraper¶
Description¶
Updates the logging configuration for a Amazon Managed Service for Prometheus scraper.
Usage¶
prometheusservice_update_scraper_logging_configuration(scraperId,
loggingDestination, scraperComponents)
Arguments¶
-
scraperId[required] The ID of the scraper whose logging configuration will be updated.
-
loggingDestination[required] The destination where scraper logs will be sent.
-
scraperComponentsThe list of scraper components to configure for logging.
Value¶
A list with the following syntax:
list(
status = list(
statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
statusReason = "string"
)
)