Skip to content

How do I use more than one USAGE_TYPE_GROUP value in GetUsageForecastRequest API? #2973

Answered by bhoradc
kakjzi asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @kakjzi,

Thank you for submitting your question.

Can you try removing the spaces adjacent to the hyphen for the filter value "S3: Storage - Standard"?
.withValues("EC2: Running Hours", "S3: Storage-Standard")

The hyphenated spaces seems to be an issue when having multiple USAGE_TYPE_GROUP values.

I am checking with the Cost Explorer service team for their further investigation on this issue. Also, I have asked the team regarding the documentation that states Filter isn't a required parameter but then we encounter a similar exception when it isn't passed.

Regards,
Chaitanya

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by kakjzi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants