'Get a list of internet gateways. You can filter results to return information
about only those gateways that you\'re interested in.
:type internet_gateway_ids: list
:param internet_gateway_ids: A list of strings with the desired gateway IDs.
:type filters: list of tuples or dict
:param filters: A list of tuples or dict containing filters.  Each tuple
or dict item consists of a filter key and a filter value.
:type dry_run: bool
:param dry_run: Set to True if the operation should not actually run.'

def get_all_internet_gateways(self, internet_gateway_ids=None, filters=None, dry_run=False):

    params = {}
    if internet_gateway_ids:
        self.build_list_params(params, internet_gateway_ids, 'InternetGatewayId')
    if filters:
        self.build_filter_params(params, filters)
    if dry_run:
        params['DryRun'] = 'true'
    return self.get_list('DescribeInternetGateways', params, [('item', InternetGateway)])
