<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_vpc_id(account, region):
 """Get VPC ID configured for ``account`` in ``region``. Args: account (str):
 AWS account name. region (str):
 Region name, e.g. us-east-1. Returns: str: VPC ID for the requested ``account`` in ``region``. Raises: :obj:`foremast.exceptions.SpinnakerVPCIDNotFound`: VPC ID not found for ``account`` in ``region``. :obj:`foremast.exceptions.SpinnakerVPCNotFound`: Spinnaker has no VPCs configured. """

    url = '{0}/networks/aws'.format(API_URL)
    response = requests.get(url, verify=GATE_CA_BUNDLE, cert=GATE_CLIENT_CERT)

    if not response.ok:
        raise SpinnakerVPCNotFound(response.text)

    vpcs = response.json()

    for vpc in vpcs:
        LOG.debug('VPC: %(name)s, %(account)s, %(region)s => %(id)s', vpc)
        if 'name' in vpc and all([vpc['name'] == 'vpc', vpc['account'] == account, vpc['region'] == region]):
            LOG.info('Found VPC ID for %s in %s: %s', account, region, vpc['id'])
            vpc_id = vpc['id']
            break
    else:
        LOG.fatal('VPC list: %s', vpcs)
        raise SpinnakerVPCIDNotFound('No VPC available for {0} [{1}].'.format(account, region))

    return vpc_id