Class: Aws::CostOptimizationHub::Types::EfficiencyMetricsByGroup

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

Overview

Contains cost efficiency metrics for a specific group over time. The group is defined by the grouping dimension specified in the request, such as account ID, Amazon Web Services Region.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#groupString

The value of the grouping dimension for this set of metrics. For example, if grouped by account ID, this field contains the account ID. If no grouping is specified, this field is empty.

Returns:

  • (String)


655
656
657
658
659
660
661
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 655

class EfficiencyMetricsByGroup < Struct.new(
  :metrics_by_time,
  :group,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#messageString

An explanation of why efficiency metrics could not be calculated for this group when the metricsByTime field is null. Common reasons include insufficient or inconclusive cost and usage data during the specified time period. This field is null or empty when metrics are successfully calculated.

Returns:

  • (String)


655
656
657
658
659
660
661
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 655

class EfficiencyMetricsByGroup < Struct.new(
  :metrics_by_time,
  :group,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#metrics_by_timeArray<Types::MetricsByTime>

A list of time-series data points containing efficiency metrics for this group. Each data point includes an efficiency score, estimated savings, spending, and a timestamp corresponding to the specified granularity. This field is null when efficiency metrics cannot be calculated for the group, in which case the message field provides an explanation.

Returns:



655
656
657
658
659
660
661
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 655

class EfficiencyMetricsByGroup < Struct.new(
  :metrics_by_time,
  :group,
  :message)
  SENSITIVE = []
  include Aws::Structure
end