Class: Aws::Budgets::Types::SpendSummary

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

Overview

A read-only summary of a budget's spend for the current budget period.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#last_updated_time ⇒ Time

The time when Amazon Web Services Budgets last updated the spend for the current period.

Returns:

  • (Time)


2467
2468
2469
2470
2471
2472
2473
2474
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2467

class SpendSummary < Struct.new(
  :principals_with_spend,
  :limits_reached,
  :total_spend,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#limits_reached ⇒ Integer

The number of budget limits that have been reached in the current period. Amazon Web Services Budgets doesn't return this field for a budget that has no BudgetLimitDimensions.

Returns:

  • (Integer)


2467
2468
2469
2470
2471
2472
2473
2474
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2467

class SpendSummary < Struct.new(
  :principals_with_spend,
  :limits_reached,
  :total_spend,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#principals_with_spend ⇒ Integer

The number of principals that have spend in the current period. Amazon Web Services Budgets doesn't return this field for a budget without BudgetLimitDimensions.

Returns:

  • (Integer)


2467
2468
2469
2470
2471
2472
2473
2474
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2467

class SpendSummary < Struct.new(
  :principals_with_spend,
  :limits_reached,
  :total_spend,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end

#total_spend ⇒ Types::Spend

The total spend of the budget in the current period.

Returns:



2467
2468
2469
2470
2471
2472
2473
2474
# File 'gems/aws-sdk-budgets/lib/aws-sdk-budgets/types.rb', line 2467

class SpendSummary < Struct.new(
  :principals_with_spend,
  :limits_reached,
  :total_spend,
  :last_updated_time)
  SENSITIVE = []
  include Aws::Structure
end