'Describes available Internet gateways and whether or not they are
attached to a VPC. These are required for VPC nodes to communicate
over the Internet.
:param      gateway_ids: Returns only Internet gateways matching the
provided Internet gateway IDs. If not
specified, a list of all the Internet
gateways in the corresponding region is
returned.
:type       gateway_ids: ``list``
:param      filters: The filters so the list returned inclues
information for certain gateways only.
:type       filters: ``dict``
:rtype: ``list`` of :class:`.VPCInternetGateway`'

def ex_list_internet_gateways(self, gateway_ids=None, filters=None):

    params = {'Action': 'DescribeInternetGateways'}
    if gateway_ids:
        params.update(self._pathlist('InternetGatewayId', gateway_ids))
    if filters:
        params.update(self._build_filters(filters))
    response = self.connection.request(self.path, params=params).object
    return self._to_internet_gateways(response, 'internetGatewaySet/item')
