Class: Aws::Lightsail::Types::TimePeriod
- Inherits:
-
Struct
- Object
- Struct
- Aws::Lightsail::Types::TimePeriod
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-lightsail/types.rb
Overview
Sets the start date and end date for retrieving a cost estimate. The start date is inclusive, but the end date is exclusive. For example, if ‘start` is `2017-01-01` and `end` is `2017-05-01`, then the cost and usage data is retrieved from `2017-01-01` up to and including `2017-04-30` but not including `2017-05-01`.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#end ⇒ Time
The end of the time period.
-
#start ⇒ Time
The beginning of the time period.
Instance Attribute Details
#end ⇒ Time
The end of the time period. The end date is exclusive. For example, if ‘end` is `2017-05-01`, Lightsail for Research retrieves cost and usage data from the start date up to, but not including, `2017-05-01`.
14306 14307 14308 14309 14310 14311 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14306 class TimePeriod < Struct.new( :start, :end) SENSITIVE = [] include Aws::Structure end |
#start ⇒ Time
The beginning of the time period. The start date is inclusive. For example, if ‘start` is `2017-01-01`, Lightsail for Research 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.
14306 14307 14308 14309 14310 14311 |
# File 'lib/aws-sdk-lightsail/types.rb', line 14306 class TimePeriod < Struct.new( :start, :end) SENSITIVE = [] include Aws::Structure end |