Class: Aws::CostOptimizationHub::Types::MetricsByTime

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

Overview

Contains efficiency metrics for a specific point in time, including an efficiency score, potential savings, optimizable spend, and timestamp.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#savingsFloat

The estimated savings amount for this time period, representing the potential cost reduction achieved through optimization recommendations.

Returns:

  • (Float)


1475
1476
1477
1478
1479
1480
1481
1482
# File 'lib/aws-sdk-costoptimizationhub/types.rb', line 1475

class MetricsByTime < Struct.new(
  :score,
  :savings,
  :spend,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#scoreFloat

The efficiency score for this time period. The score represents a measure of how effectively the cloud resources are being optimized, with higher scores indicating better optimization performance.

Returns:

  • (Float)


1475
1476
1477
1478
1479
1480
1481
1482
# File 'lib/aws-sdk-costoptimizationhub/types.rb', line 1475

class MetricsByTime < Struct.new(
  :score,
  :savings,
  :spend,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#spendFloat

The total spending amount for this time period.

Returns:

  • (Float)


1475
1476
1477
1478
1479
1480
1481
1482
# File 'lib/aws-sdk-costoptimizationhub/types.rb', line 1475

class MetricsByTime < Struct.new(
  :score,
  :savings,
  :spend,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end

#timestampString

The timestamp for this data point. The format depends on the granularity: YYYY-MM-DD for daily metrics, or YYYY-MM for monthly metrics.

Returns:

  • (String)


1475
1476
1477
1478
1479
1480
1481
1482
# File 'lib/aws-sdk-costoptimizationhub/types.rb', line 1475

class MetricsByTime < Struct.new(
  :score,
  :savings,
  :spend,
  :timestamp)
  SENSITIVE = []
  include Aws::Structure
end