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

Class: Aws::Lightsail::Types::MetricDatapoint

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

Overview

Describes the metric data point.

Instance Attribute Summary collapse

Instance Attribute Details

#averageFloat

The average.

Returns:

  • (Float)


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2383

class MetricDatapoint < Struct.new(
  :average,
  :maximum,
  :minimum,
  :sample_count,
  :sum,
  :timestamp,
  :unit)
  include Aws::Structure
end

#maximumFloat

The maximum.

Returns:

  • (Float)


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2383

class MetricDatapoint < Struct.new(
  :average,
  :maximum,
  :minimum,
  :sample_count,
  :sum,
  :timestamp,
  :unit)
  include Aws::Structure
end

#minimumFloat

The minimum.

Returns:

  • (Float)


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2383

class MetricDatapoint < Struct.new(
  :average,
  :maximum,
  :minimum,
  :sample_count,
  :sum,
  :timestamp,
  :unit)
  include Aws::Structure
end

#sample_countFloat

The sample count.

Returns:

  • (Float)


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2383

class MetricDatapoint < Struct.new(
  :average,
  :maximum,
  :minimum,
  :sample_count,
  :sum,
  :timestamp,
  :unit)
  include Aws::Structure
end

#sumFloat

The sum.

Returns:

  • (Float)


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2383

class MetricDatapoint < Struct.new(
  :average,
  :maximum,
  :minimum,
  :sample_count,
  :sum,
  :timestamp,
  :unit)
  include Aws::Structure
end

#timestampTime

The timestamp (e.g., 1479816991.349).

Returns:

  • (Time)


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2383

class MetricDatapoint < Struct.new(
  :average,
  :maximum,
  :minimum,
  :sample_count,
  :sum,
  :timestamp,
  :unit)
  include Aws::Structure
end

#unitString

The unit.

Returns:

  • (String)


2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 2383

class MetricDatapoint < Struct.new(
  :average,
  :maximum,
  :minimum,
  :sample_count,
  :sum,
  :timestamp,
  :unit)
  include Aws::Structure
end