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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#averageFloat

The average.

Returns:

  • (Float)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11391

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

#maximumFloat

The maximum.

Returns:

  • (Float)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11391

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

#minimumFloat

The minimum.

Returns:

  • (Float)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11391

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

#sample_countFloat

The sample count.

Returns:

  • (Float)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11391

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

#sumFloat

The sum.

Returns:

  • (Float)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11391

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

#timestampTime

The timestamp (e.g., 1479816991.349).

Returns:

  • (Time)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11391

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

#unitString

The unit.

Returns:

  • (String)


11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
# File 'gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/types.rb', line 11391

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