aws amp update-scraper
Updates an existing scraper. AWS CLI reference
7 options Its page in the AWS CLI reference
Options
--aliasThe new alias of the scraper.--client-tokenA unique identifier that you can provide to ensure the idempotency of the request.--destinationThe new destination where the scraper sends metrics.--exportersThe exporter configurations for the scraper.--role-configurationUse this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.--scrape-configurationContains the base-64 encoded YAML configuration for the scraper.--scraper-idThe ID of the scraper to update.