-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
False
-
None
-
False
-
COST-2213 - Cost management as a data source for HCS
-
-
Summary
API Endpoint
We will need a new API that will be reachable at /api/cost-management/v1/reports/hcs/
This API endpoint must support POST to allow a customer to alert us that a new report is available to download
The endpoint will require at a minimum the source UUID (or a unique identifier that we can show the customer in the wizard create flow, but why not the source UUID?) and the path to the file in S3 where the saved Athena query is available to download
{{{}}
"source_uuid": "UUID",
"file_paths": ["s3://aws-athena-query-results-589173575009-us-east-1/Unsaved/2022/11/07/0d34ec6a-1cab-4c89-a03e-cb471c0ba067.csv"
}]
The endpoint will then trigger the Orchestrator to process the CSV in as-close-to the typical flow as possible