Class: Aws::CostExplorer::Types::DateInterval

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

Overview

The time period of the request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endString

The end of the time period. The end date is exclusive. For example, if ‘end` is `2017-05-01`, Amazon Web Services retrieves cost and usage data from the start date up to, but not including, `2017-05-01`.

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-costexplorer/types.rb', line 1286

class DateInterval < Struct.new(
  :start,
  :end)
  SENSITIVE = []
  include Aws::Structure
end

#startString

The beginning of the time period. The start date is inclusive. For example, if ‘start` is `2017-01-01`, Amazon Web Services retrieves cost and usage data starting at `2017-01-01` up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.

Returns:

  • (String)


1286
1287
1288
1289
1290
1291
# File 'lib/aws-sdk-costexplorer/types.rb', line 1286

class DateInterval < Struct.new(
  :start,
  :end)
  SENSITIVE = []
  include Aws::Structure
end