in ddbtools/pricing.py [0:0]
def __init__(self, region_name):
closest_api_region = 'us-east-1'
# the pricing API is only available in us-east-1 and ap-south-1
# pick the closest endpoint to the supplied region
if region_name not in constants.AMERICAN_REGIONS:
closest_api_region = 'ap-south-1'
self.pricing_client = boto3.client('pricing', region_name=closest_api_region)