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

Class: Aws::CostExplorer::Types::ResultByTime

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

Overview

The result that is associated with a time period.

Instance Attribute Summary collapse

Instance Attribute Details

#estimatedBoolean

Whether or not this result is estimated.

Returns:

  • (Boolean)


890
891
892
893
894
895
896
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 890

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

#groupsArray<Types::Group>

The groups that are included in this time period.

Returns:



890
891
892
893
894
895
896
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 890

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

#time_periodTypes::DateInterval

The time period covered by a result.

Returns:



890
891
892
893
894
895
896
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 890

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

#totalHash<String,Types::MetricValue>

The total amount of cost or usage accrued during the time period.

Returns:



890
891
892
893
894
895
896
# File 'gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb', line 890

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