Class: Aws::PrometheusService::Types::Destination

Inherits:
Struct
  • Object
show all
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

AmpConfiguration, Unknown

Defined Under Namespace

Classes: AmpConfiguration, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amp_configurationTypes::AmpConfiguration

The Amazon Managed Service for Prometheusworkspace to send metrics to.



759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 759

class Destination < Struct.new(
  :amp_configuration,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AmpConfiguration < Destination; end
  class Unknown < Destination; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



759
760
761
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 759

def unknown
  @unknown
end