Class: Aws::Billing::Types::GetCreditsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Billing::Types::GetCreditsRequest
- Defined in:
- gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#account_id ⇒ String
The Amazon Web Services account ID.
-
#end_date ⇒ Time
The end date for the credit period as Unix epoch seconds.
-
#payer_account_flag ⇒ Boolean
When
trueand the caller is the management account, the response aggregates credits across the entire consolidated billing family. -
#start_date ⇒ Time
The start date for the credit period as Unix epoch seconds.
Instance Attribute Details
#account_id ⇒ String
The Amazon Web Services account ID. Must be a 12-digit numeric string.
1292 1293 1294 1295 1296 1297 1298 1299 |
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1292 class GetCreditsRequest < Struct.new( :account_id, :start_date, :end_date, :payer_account_flag) SENSITIVE = [] include Aws::Structure end |
#end_date ⇒ Time
The end date for the credit period as Unix epoch seconds. Must not
be a future date and must be on or after startDate. Defaults to
the current date when omitted.
1292 1293 1294 1295 1296 1297 1298 1299 |
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1292 class GetCreditsRequest < Struct.new( :account_id, :start_date, :end_date, :payer_account_flag) SENSITIVE = [] include Aws::Structure end |
#payer_account_flag ⇒ Boolean
When true and the caller is the management account, the response
aggregates credits across the entire consolidated billing family.
When false or omitted, returns only credits for the specified
accountId.
1292 1293 1294 1295 1296 1297 1298 1299 |
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1292 class GetCreditsRequest < Struct.new( :account_id, :start_date, :end_date, :payer_account_flag) SENSITIVE = [] include Aws::Structure end |
#start_date ⇒ Time
The start date for the credit period as Unix epoch seconds. Must be a past date that is not more than one year before the current date.
1292 1293 1294 1295 1296 1297 1298 1299 |
# File 'gems/aws-sdk-billing/lib/aws-sdk-billing/types.rb', line 1292 class GetCreditsRequest < Struct.new( :account_id, :start_date, :end_date, :payer_account_flag) SENSITIVE = [] include Aws::Structure end |