aws ce get-cost-categories
Retrieves an array of cost category names and values incurred cost. AWS CLI reference
8 options Its page in the AWS CLI reference
Options
--billing-view-arnThe Amazon Resource Name (ARN) that uniquely identifies a specific billing view.--cost-category-nameThe unique name of the cost category.--filterUse Expression to filter in various Cost Explorer APIs.--max-resultsThis field is only used when the SortBy value is provided in the request.--next-page-tokenIf the number of objects that are still available for retrieval exceeds the quota, Amazon Web Services returns a NextPageToken value in the response.--search-stringThe value that you want to search the filter values for.--sort-byThe value that you sort the data by.--time-periodThe time period of the request.