def get_reserved_price(client, availability_zone, instance_type):
    """Gets price of a given reserved Linux instance type in a given availability zone."""
    resp = client.describe_reserved_instances_offerings(
        InstanceType=instance_type,
        AvailabilityZone=availability_zone,
        OfferingType="No Upfront",
        ProductDescription="Linux/UNIX",
    )
    return float(resp["ReservedInstancesOfferings"][
        0]["RecurringCharges"][0]["Amount"])