Class: Aws::Budgets::Types::SpendGroup

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

Overview

One row of a budget's spend for the current period. The row is the spend of one limit, or of one principal's share when you group by the budget's SpendAttributions key.

Constant Summary collapse

SENSITIVE =
[:keys]

Instance Attribute Summary collapse

Instance Attribute Details

#keys ⇒ Array<String>

The values that identify the row, one for each entry in GroupDefinitions, in the same order. When you group by the budget's SpendAttributions key, the value is the ID of the principal. The list is empty for the total spend of a budget without BudgetLimitDimensions.

Returns:

  • (Array<String>)


2411
2412
2413
2414
2415
2416
2417
2418
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411

class SpendGroup < Struct.new(
  :keys,
  :spend,
  :limit_status,
  :last_usage_time)
  SENSITIVE = [:keys]
  include Aws::Structure
end

#last_usage_time ⇒ Time

The time of the most recent usage that counts toward the row. Amazon Web Services Budgets doesn't return this field when the budget has no BudgetLimitDimensions or when the budget has no usage in the current period yet.

Returns:

  • (Time)


2411
2412
2413
2414
2415
2416
2417
2418
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411

class SpendGroup < Struct.new(
  :keys,
  :spend,
  :limit_status,
  :last_usage_time)
  SENSITIVE = [:keys]
  include Aws::Structure
end

#limit_status ⇒ String

Specifies whether the spend has reached the budget limit that the row counts toward. That limit is the principal's own limit, or the limit of the whole budget.

Returns:

  • (String)


2411
2412
2413
2414
2415
2416
2417
2418
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411

class SpendGroup < Struct.new(
  :keys,
  :spend,
  :limit_status,
  :last_usage_time)
  SENSITIVE = [:keys]
  include Aws::Structure
end

#spend ⇒ Types::Spend

The spend of the row in the current period.

Returns:



2411
2412
2413
2414
2415
2416
2417
2418
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2411

class SpendGroup < Struct.new(
  :keys,
  :spend,
  :limit_status,
  :last_usage_time)
  SENSITIVE = [:keys]
  include Aws::Structure
end