CostAndUsageQuery
class CostAndUsageQuery
Defines the parameters for retrieving Amazon Web Services cost and usage data. Includes specifications for metrics, time periods, granularity, grouping dimensions, and filtering conditions.
Types
Properties
Link copied to clipboard
The filter expression to be applied to the cost and usage data.
Link copied to clipboard
The granularity of the retrieved data: HOURLY
, DAILY
, or MONTHLY
.
Link copied to clipboard
Specifies how to group the retrieved data, such as by SERVICE
, ACCOUNT
, or TAG
.
Link copied to clipboard
The specific cost and usage metrics to retrieve.
Link copied to clipboard
The time period for which to retrieve data. Can be specified as absolute dates or relative time periods.