Updates an existing scraper
Source:R/prometheusservice_operations.R
prometheusservice_update_scraper.RdUpdates an existing scraper.
See https://www.paws-r-sdk.com/docs/prometheusservice_update_scraper/ for full documentation.
Usage
prometheusservice_update_scraper(
scraperId,
alias = NULL,
scrapeConfiguration = NULL,
destination = NULL,
roleConfiguration = NULL,
clientToken = NULL
)Arguments
- scraperId
[required] The ID of the scraper to update.
- alias
The new alias of the scraper.
- scrapeConfiguration
Contains the base-64 encoded YAML configuration for the scraper.
For more information about configuring a scraper, see Using an Amazon Web Services managed collector in the Amazon Managed Service for Prometheus User Guide.
- destination
The new Amazon Managed Service for Prometheus workspace to send metrics to.
- roleConfiguration
Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.
- clientToken
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.