Class: Aws::PrometheusService::Types::UpdateScraperRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::UpdateScraperRequest
- Defined in:
- gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#alias ⇒ String
The new alias of the scraper.
-
#client_token ⇒ String
A unique identifier that you can provide to ensure the idempotency of the request.
-
#destination ⇒ Types::Destination
The new Amazon Managed Service for Prometheus workspace to send metrics to.
-
#role_configuration ⇒ Types::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 ⇒ Types::ScrapeConfiguration
Contains the base-64 encoded YAML configuration for the scraper.
-
#scraper_id ⇒ String
The ID of the scraper to update.
Instance Attribute Details
#alias ⇒ String
The new alias of the scraper.
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2166 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
A suitable default value is auto-generated. You should normally not need to pass this option.
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2166 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end |
#destination ⇒ Types::Destination
The new Amazon Managed Service for Prometheus workspace to send metrics to.
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2166 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end |
#role_configuration ⇒ Types::RoleConfiguration
Use this structure to enable cross-account access, so that you can use a target account to access Prometheus metrics from source accounts.
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2166 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end |
#scrape_configuration ⇒ Types::ScrapeConfiguration
Contains the base-64 encoded YAML configuration for the scraper.
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2166 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end |
#scraper_id ⇒ String
The ID of the scraper to update.
2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 2166 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end |