def METHOD_NAME(self) -> str:
    filter_dict = self._filters_from_querystring()
    if "InternetGatewayId.1" in self.querystring:
        igw_ids = self._get_multi_param("InternetGatewayId")
        igws = self.ec2_backend.METHOD_NAME(
            igw_ids, filters=filter_dict
        )
    else:
        igws = self.ec2_backend.METHOD_NAME(filters=filter_dict)
    template = self.response_template(DESCRIBE_INTERNET_GATEWAYS_RESPONSE)
    return template.render(internet_gateways=igws)