Class: Aws::PrometheusService::Types::UpdateScraperRequest
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::PrometheusService::Types::UpdateScraperRequest
 
 
- Includes:
 - Structure
 
- Defined in:
 - 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 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The scraper role configuration for the workspace.
 - 
  
    
      #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.
      1822 1823 1824 1825 1826 1827 1828 1829 1830 1831  | 
    
      # File 'lib/aws-sdk-prometheusservice/types.rb', line 1822 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.
      1822 1823 1824 1825 1826 1827 1828 1829 1830 1831  | 
    
      # File 'lib/aws-sdk-prometheusservice/types.rb', line 1822 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.
      1822 1823 1824 1825 1826 1827 1828 1829 1830 1831  | 
    
      # File 'lib/aws-sdk-prometheusservice/types.rb', line 1822 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end  | 
  
#role_configuration ⇒ Types::RoleConfiguration
The scraper role configuration for the workspace.
      1822 1823 1824 1825 1826 1827 1828 1829 1830 1831  | 
    
      # File 'lib/aws-sdk-prometheusservice/types.rb', line 1822 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.
<note markdown=“1”> For more information about configuring a scraper, see [Using an Amazon Web Services managed collector] in the *Amazon Managed Service for Prometheus User Guide*.
</note>
[1]: docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html
      1822 1823 1824 1825 1826 1827 1828 1829 1830 1831  | 
    
      # File 'lib/aws-sdk-prometheusservice/types.rb', line 1822 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.
      1822 1823 1824 1825 1826 1827 1828 1829 1830 1831  | 
    
      # File 'lib/aws-sdk-prometheusservice/types.rb', line 1822 class UpdateScraperRequest < Struct.new( :alias, :client_token, :destination, :role_configuration, :scrape_configuration, :scraper_id) SENSITIVE = [] include Aws::Structure end  |