You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CostExplorer::Types::MetricValue

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb

Overview

The aggregated value for a metric.

Instance Attribute Summary collapse

Instance Attribute Details

#amountString

The actual number that represents the metric.

Returns:

  • (String)


808
809
810
811
812
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 808

class MetricValue < Struct.new(
  :amount,
  :unit)
  include Aws::Structure
end

#unitString

The unit that the metric is given in.

Returns:

  • (String)


808
809
810
811
812
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 808

class MetricValue < Struct.new(
  :amount,
  :unit)
  include Aws::Structure
end