Class: Aws::Billing::Types::GetCreditAllocationHistoryRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID whose allocation history to retrieve. Must be a 12-digit numeric string.

Returns:

  • (String)


872
873
874
875
876
877
878
879
880
881
# File 'lib/aws-sdk-billing/types.rb', line 872

class GetCreditAllocationHistoryRequest < Struct.new(
  :account_id,
  :credit_id,
  :start_date,
  :end_date,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#credit_idInteger

Filters the result to a single credit. When omitted, returns allocation entries for all credits.

Returns:

  • (Integer)


872
873
874
875
876
877
878
879
880
881
# File 'lib/aws-sdk-billing/types.rb', line 872

class GetCreditAllocationHistoryRequest < Struct.new(
  :account_id,
  :credit_id,
  :start_date,
  :end_date,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#end_dateTime

Inclusive end date as Unix epoch seconds.

Returns:

  • (Time)


872
873
874
875
876
877
878
879
880
881
# File 'lib/aws-sdk-billing/types.rb', line 872

class GetCreditAllocationHistoryRequest < Struct.new(
  :account_id,
  :credit_id,
  :start_date,
  :end_date,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

The maximum number of records to return per page. Range: 1 to 1000. Default: 100.

Returns:

  • (Integer)


872
873
874
875
876
877
878
879
880
881
# File 'lib/aws-sdk-billing/types.rb', line 872

class GetCreditAllocationHistoryRequest < Struct.new(
  :account_id,
  :credit_id,
  :start_date,
  :end_date,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

Pagination token from a previous response. Pass the value returned in nextToken to retrieve the next page of results.

Returns:

  • (String)


872
873
874
875
876
877
878
879
880
881
# File 'lib/aws-sdk-billing/types.rb', line 872

class GetCreditAllocationHistoryRequest < Struct.new(
  :account_id,
  :credit_id,
  :start_date,
  :end_date,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end

#start_dateTime

Inclusive start date as Unix epoch seconds. Must be on or before endDate. The range from startDate to endDate cannot exceed 24 billing months.

Returns:

  • (Time)


872
873
874
875
876
877
878
879
880
881
# File 'lib/aws-sdk-billing/types.rb', line 872

class GetCreditAllocationHistoryRequest < Struct.new(
  :account_id,
  :credit_id,
  :start_date,
  :end_date,
  :next_token,
  :max_results)
  SENSITIVE = []
  include Aws::Structure
end