Class: Aws::PrometheusService::Types::Destination
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::Destination
- Defined in:
- gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb
Overview
Note:
Destination is a union - when making an API calls you must set exactly one of the members.
Note:
Destination is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Destination corresponding to the set member.
Where to send the metrics from a scraper.
Direct Known Subclasses
Defined Under Namespace
Classes: AmpConfiguration, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#amp_configuration ⇒ Types::AmpConfiguration
The Amazon Managed Service for Prometheus workspace to send metrics to.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#amp_configuration ⇒ Types::AmpConfiguration
The Amazon Managed Service for Prometheus workspace to send metrics to.
1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1368 class Destination < Struct.new( :amp_configuration, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class AmpConfiguration < Destination; end class Unknown < Destination; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1368 1369 1370 |
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 1368 def unknown @unknown end |