You can use the Cost Explorer API to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data. This might include the number of daily write operations for Amazon DynamoDB database tabl
curl \ -H "Authorization: $API_KEY" \ http://ce.us-east-1.amazonaws.com/#X-Amz-Target=AWSInsightsIndexService.GetTags
curl \ -H "Authorization: $API_KEY" \ http://ce.us-east-1.amazonaws.com/#X-Amz-Target=AWSInsightsIndexService.TagResource