Class: Aws::Billing::Types::CreditAllocationHistoryEntry

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

Overview

A single entry in the credit allocation history, representing how a credit was applied to a specific service during a billing month.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_id ⇒ String

The Amazon Web Services account the credit was applied to.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 645

class CreditAllocationHistoryEntry < Struct.new(
  :credit_id,
  :credit_amount,
  :description,
  :account_id,
  :applied_service_name,
  :billing_month,
  :is_estimated_bill)
  SENSITIVE = []
  include Aws::Structure
end

#applied_service_name ⇒ String

The Amazon Web Services service the credit was applied to.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 645

class CreditAllocationHistoryEntry < Struct.new(
  :credit_id,
  :credit_amount,
  :description,
  :account_id,
  :applied_service_name,
  :billing_month,
  :is_estimated_bill)
  SENSITIVE = []
  include Aws::Structure
end

#billing_month ⇒ String

The billing month of the application in YYYY-MM format.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 645

class CreditAllocationHistoryEntry < Struct.new(
  :credit_id,
  :credit_amount,
  :description,
  :account_id,
  :applied_service_name,
  :billing_month,
  :is_estimated_bill)
  SENSITIVE = []
  include Aws::Structure
end

#credit_amount ⇒ Types::Amount

The amount of credit applied. Negative values represent credits that reduced the bill.

Returns:



645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 645

class CreditAllocationHistoryEntry < Struct.new(
  :credit_id,
  :credit_amount,
  :description,
  :account_id,
  :applied_service_name,
  :billing_month,
  :is_estimated_bill)
  SENSITIVE = []
  include Aws::Structure
end

#credit_id ⇒ String

The identifier of the credit that was applied.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 645

class CreditAllocationHistoryEntry < Struct.new(
  :credit_id,
  :credit_amount,
  :description,
  :account_id,
  :applied_service_name,
  :billing_month,
  :is_estimated_bill)
  SENSITIVE = []
  include Aws::Structure
end

#description ⇒ String

A human-readable description of the credit allocation.

Returns:

  • (String)


645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 645

class CreditAllocationHistoryEntry < Struct.new(
  :credit_id,
  :credit_amount,
  :description,
  :account_id,
  :applied_service_name,
  :billing_month,
  :is_estimated_bill)
  SENSITIVE = []
  include Aws::Structure
end

#is_estimated_bill ⇒ Boolean

true when the entry was applied to an in-flight bill that has not yet been finalized.

Returns:

  • (Boolean)


645
646
647
648
649
650
651
652
653
654
655
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 645

class CreditAllocationHistoryEntry < Struct.new(
  :credit_id,
  :credit_amount,
  :description,
  :account_id,
  :applied_service_name,
  :billing_month,
  :is_estimated_bill)
  SENSITIVE = []
  include Aws::Structure
end