Class: Aws::CostOptimizationHub::Types::MetricsByTime
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostOptimizationHub::Types::MetricsByTime
- Defined in:
- gems/aws-sdk-costoptimizationhub/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
-
#savings ⇒ Float
The estimated savings amount for this time period, representing the potential cost reduction achieved through optimization recommendations.
-
#score ⇒ Float
The efficiency score for this time period.
-
#spend ⇒ Float
The total spending amount for this time period.
-
#timestamp ⇒ String
The timestamp for this data point.
Instance Attribute Details
#savings ⇒ Float
The estimated savings amount for this time period, representing the potential cost reduction achieved through optimization recommendations.
1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1475 class MetricsByTime < Struct.new( :score, :savings, :spend, :timestamp) SENSITIVE = [] include Aws::Structure end |
#score ⇒ Float
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.
1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1475 class MetricsByTime < Struct.new( :score, :savings, :spend, :timestamp) SENSITIVE = [] include Aws::Structure end |
#spend ⇒ Float
The total spending amount for this time period.
1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1475 class MetricsByTime < Struct.new( :score, :savings, :spend, :timestamp) SENSITIVE = [] include Aws::Structure end |
#timestamp ⇒ String
The timestamp for this data point. The format depends on the granularity: YYYY-MM-DD for daily metrics, or YYYY-MM for monthly metrics.
1475 1476 1477 1478 1479 1480 1481 1482 |
# File 'gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/types.rb', line 1475 class MetricsByTime < Struct.new( :score, :savings, :spend, :timestamp) SENSITIVE = [] include Aws::Structure end |