CmdID

CmdID / aws / aws ce

aws ce get-cost-and-usage-with-resources

Retrieves cost and usage metrics with resources for your account. AWS CLI reference

7 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

7 in the AWS CLI reference
--billing-view-arnThe Amazon Resource Name (ARN) that uniquely identifies a specific billing view.
--filterFilters Amazon Web Services costs by different dimensions.
--granularitySets the Amazon Web Services cost granularity to MONTHLY, DAILY, or HOURLY.
--group-byYou can group Amazon Web Services costs using up to two different groups: DIMENSION, TAG, COST_CATEGORY, and PRODUCT_ATTRIBUTE.
--metricsWhich metrics are returned in the query.
--next-page-tokenThe token to retrieve the next set of results.
--time-periodSets the start and end dates for retrieving Amazon Web Services costs.