Skip to content

get_products of pricing client silently changed its response format (regionCode field is missing) since Mar 24th #3214

Answered by aaoswal
YuzeLiao asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @YuzeLiao,
Thank you submitting the issue.
On going through the response without using regionCode filter, there does not seem to be a regionCode parameter being returned as a part of the response for ServiceCode=AmazonRDS.

The response from the pricing client might vary for various services:
For example, ServiceCode=AmazonS3 returns the attribute regionCode as a part of the response among others whereas on a contrary services like AmazonEC2 or AmazonRDS do not.

get_products() filters support values which include ServiceCode, and all attribute names.
A good way to list supported attributes for specific services is by using describe_services() to get information specific to that service …

Replies: 4 comments 2 replies

Comment options

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

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@YuzeLiao
Comment options

Comment options

You must be logged in to vote
1 reply
@tim-finnigan
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
guidance Question that needs advice or information.
4 participants
Converted from issue

This discussion was converted from issue #3200 on April 05, 2022 01:35.