from typing import List
from typing import Dict
from typing import Any


def build_request_body(
        address_lines: List[str],
        region: str) -> Dict[str, Any]:
    """Build a request body for the UPS API.

    :param address_lines: List of address lines
    :param region: Everything else as 'city,state,zip'
    :returns: The UPS request body format.
    """
    return {
        "XAVRequest": {
            "AddressKeyFormat": {
                "AddressLine": address_lines,
                "Region": region,
                "CountryCode": "US"
                }
            }
        }