def METHOD_NAME():
    cloudfront = boto3.client('cloudfront')
    if stage == "prod":
        print("Invalidating the latest prices and exchange rates")
        response = cloudfront.create_invalidation(
            DistributionId=cloudfront_dist_id,
            InvalidationBatch={
                'Paths': {
                    'Quantity': 1,
                    'Items': [
                        '/latest/*',
                    ]
                },
                'CallerReference': str(time.time())
            }
        )
    else:
        print("Invalidating the test prices and exchange rates")
        response = cloudfront.create_invalidation(
            DistributionId=cloudfront_dist_id,
            InvalidationBatch={
                'Paths': {
                    'Quantity': 1,
                    'Items': [
                        '/test/*',
                    ]
                },
                'CallerReference': str(time.time())
            }
        )
    print(response