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

Class: Aws::CostExplorer::Types::CoverageByTime

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

Overview

Reservation coverage for a specified period, in hours.

Instance Attribute Summary collapse

Instance Attribute Details

#groupsArray<Types::ReservationCoverageGroup>

The groups of instances that are covered by a reservation.



40
41
42
43
44
45
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 40

class CoverageByTime < Struct.new(
  :time_period,
  :groups,
  :total)
  include Aws::Structure
end

#time_periodTypes::DateInterval

The period over which this coverage was used.

Returns:



40
41
42
43
44
45
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 40

class CoverageByTime < Struct.new(
  :time_period,
  :groups,
  :total)
  include Aws::Structure
end

#totalTypes::Coverage

The total reservation coverage, in hours.

Returns:



40
41
42
43
44
45
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 40

class CoverageByTime < Struct.new(
  :time_period,
  :groups,
  :total)
  include Aws::Structure
end