UpdateScraperRequest
¶
Source code in docs_src/capo_amp/types/update_scraper_request.py
client_token
instance-attribute
¶
client_token: NotRequired[IdempotencyToken]
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
destination
instance-attribute
¶
destination: NotRequired[Destination]
The new destination where the scraper sends metrics. Valid destinations are Amazon Managed Service for Prometheus workspaces and CloudWatch datasets.
exporters
instance-attribute
¶
exporters: NotRequired[ExporterList]
The exporter configurations for the scraper. You can configure at most one Amazon OpenSearch Service domain. If you don't specify a value, the existing exporter configuration remains unchanged.
role_configuration
instance-attribute
¶
role_configuration: NotRequired[RoleConfiguration]
Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.
scrape_configuration
instance-attribute
¶
scrape_configuration: NotRequired[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.