Values.UpdateScraperRequestSourceUpdates an existing scraper. You can't use this function to update the source from which the scraper is collecting metrics. To change the source, delete the scraper and create a new one.
type nonrec t = {scraperId : ScraperId.t;The ID of the scraper to update.
*)alias : ScraperAlias.t option;The new alias of the scraper.
*)scrapeConfiguration : ScrapeConfiguration.t option;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 : Destination.t option;The new Amazon Managed Service for Prometheus workspace to send metrics to.
*)roleConfiguration : RoleConfiguration.t option;Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.
*)clientToken : IdempotencyToken.t option;A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
*)}val make :
?alias:??? ->
?scrapeConfiguration:??? ->
?destination:??? ->
?roleConfiguration:??? ->
?clientToken:??? ->
scraperId:ScraperId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `String of ScraperId.t
| `Structure of
(string
* [> `Blob of Blob.t
| `String of IamRoleArn.t
| `Structure of (string * [> `String of WorkspaceArn.t ]) list ])
list ])
list ]