You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CostExplorer::Types::DateInterval
- Inherits:
-
Struct
- Object
- Struct
- Aws::CostExplorer::Types::DateInterval
- Defined in:
- (unknown)
Overview
When passing DateInterval as input to an Aws::Client method, you can use a vanilla Hash:
{
start: "YearMonthDay", # required
end: "YearMonthDay", # required
}
The time period that you want the usage and costs for.
Returned by:
- CoverageByTime#time_period
- ForecastResult#time_period
- GetCostAndUsageRequest#time_period
- GetCostAndUsageWithResourcesRequest#time_period
- GetCostForecastRequest#time_period
- GetDimensionValuesRequest#time_period
- GetReservationCoverageRequest#time_period
- GetReservationUtilizationRequest#time_period
- GetSavingsPlansCoverageRequest#time_period
- GetSavingsPlansUtilizationDetailsRequest#time_period
- GetSavingsPlansUtilizationDetailsResponse#time_period
- GetSavingsPlansUtilizationRequest#time_period
- GetTagsRequest#time_period
- GetUsageForecastRequest#time_period
- ResultByTime#time_period
- SavingsPlansCoverage#time_period
- SavingsPlansUtilizationByTime#time_period
- UtilizationByTime#time_period
Instance Attribute Summary collapse
-
#end ⇒ String
The end of the time period that you want the usage and costs for.
-
#start ⇒ String
The beginning of the time period that you want the usage and costs for.
Instance Attribute Details
#end ⇒ String
The end of the time period that you want the usage and costs for. The
end date is exclusive. For example, if end
is 2017-05-01
, AWS
retrieves cost and usage data from the start date up to, but not
including, 2017-05-01
.
#start ⇒ String
The beginning of the time period that you want the usage and costs for.
The start date is inclusive. For example, if start
is 2017-01-01
,
AWS retrieves cost and usage data starting at 2017-01-01
up to the end
date.