Closed The1hauntedX closed 5 years ago
@The1hauntedX - Thank you for your post. I am not getting any error. Can you please provide us the exact code you are using to make the api call ?
I used this sample code to reproduce the issue :
response = client.get_rightsizing_recommendation(Service='AmazonEC2')
Please note that AmazonEC2 is the only supported value for Service
.
I had been attempting to use values as listed on the boto3 documentation:
Valid values for the SERVICE dimension are Amazon Elastic Compute Cloud - Compute, Amazon Elasticsearch Service, Amazon ElastiCache, Amazon Redshift, and Amazon Relational Database Service.
'AmazonEC2' appears to do the trick. Thank you for your assistance, @swetashre!
Calling GetRightsizingRecommendation from AWS CLI and Python Boto3 returns with an HTTP 500 error.
Request info: