CostEfficiencyQuery
Contains the time period, granularity, grouping dimensions, and filtering conditions for an AWS cost efficiency data query.
Contents
- granularity
-
The time granularity of the retrieved data. Set to
DAILYto aggregate data by day. Set toMONTHLYto aggregate data by month.Type: String
Valid Values:
HOURLY | DAILY | MONTHLYRequired: Yes
- timeRange
-
The time period for which to retrieve data. Can be specified as absolute dates or relative time periods.
Type: DateTimeRange object
Required: Yes
- filter
-
The filter expression to apply to cost efficiency data. You can filter by cost efficiency dimensions such as
AccountIdandRegion.Type: Expression object
Required: No
- groupBy
-
Specifies how to group the retrieved data, such as by
RegionorAccountId.Type: Array of GroupDefinition objects
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: