Cost Explorer returns incorrect value for EDP #4115
Labels
bug
This issue is a confirmed bug.
costexplorer
A low-level client representing AWS Cost Explorer Service
response-requested
Waiting on additional information or feedback.
service-api
This issue is caused by the service API, not the SDK implementation.
Describe the bug
I'm endeavoring to retrieve the sum I received from EDP through boto3, yet consistently getting 0 USD across all my associated accounts. Despite attempting to filter out with the RECORD_TYPE parameter, the problem persists. However, I can discern the variance from the Cost Explorer page.
Below, I've included the code snippet I used along with the corresponding output, in an attempt to visualize the EDP amount.
Expected Behavior
Use case 1: I want to see the amount I got under Enterprise Discount Program.
Use case 2: Exclude EDP record type from linked accounts.
Current Behavior
Current Behavior in Use Case 1: Despite expecting a non-zero value, I consistently receive zero as the amount.
Current Behavior I Encounter in Use Case 2: Even after attempting to exclude or include EDP, there's no discernible difference.
Reproduction Steps
List Record Types for all Linked Account
Exlcude EDP
Possible Solution
It appears that negative values are being assigned to 0.
Additional Information/Context
No response
SDK version used
boto3-1.34.98
Environment details (OS name and version, etc.)
Google Colab
The text was updated successfully, but these errors were encountered: