Class: Aws::AutoScaling::Types::LoadForecast

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

Overview

A GetPredictiveScalingForecast call returns the load forecast for a predictive scaling policy. This structure includes the data points for that load forecast, along with the timestamps of those data points and the metric specification.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#metric_specificationTypes::PredictiveScalingMetricSpecification

The metric specification for the load forecast.



5344
5345
5346
5347
5348
5349
5350
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 5344

class LoadForecast < Struct.new(
  :timestamps,
  :values,
  :metric_specification)
  SENSITIVE = []
  include Aws::Structure
end

#timestampsArray<Time>

The timestamps for the data points, in UTC format.

Returns:

  • (Array<Time>)


5344
5345
5346
5347
5348
5349
5350
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 5344

class LoadForecast < Struct.new(
  :timestamps,
  :values,
  :metric_specification)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<Float>

The values of the data points.

Returns:

  • (Array<Float>)


5344
5345
5346
5347
5348
5349
5350
# File 'gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/types.rb', line 5344

class LoadForecast < Struct.new(
  :timestamps,
  :values,
  :metric_specification)
  SENSITIVE = []
  include Aws::Structure
end