def get_igw(client, tag_name, **kwargs):
    'Method to fetch Internet Gateway based on tag_name.\n    Args:\n        client (boto client): Region specific boto client\n        tag_name (str): Internet Gateway tag name.\n    Returns:\n        internet_gateway: internet gateway object.\n    '
    filters = get_tag_filter(tag_name)
    return next(iter(client.internet_gateways.filter(Filters=filters)), None)
Method to fetch Internet Gateway based on tag_name.
Args:
    client (boto client): Region specific boto client
    tag_name (str): Internet Gateway tag name.
Returns:
    internet_gateway: internet gateway object.
def get_igw(client, tag_name, **kwargs):
    'Method to fetch Internet Gateway based on tag_name.\n    Args:\n        client (boto client): Region specific boto client\n        tag_name (str): Internet Gateway tag name.\n    Returns:\n        internet_gateway: internet gateway object.\n    '
    filters = get_tag_filter(tag_name)
    return next(iter(client.internet_gateways.filter(Filters=filters)), None)