@registry.register(flag=FLAGS.INTERNET_GATEWAY, depends_on=FLAGS.BASE, key="<STR_LIT>")<EOL>def get_internet_gateway(vpc, **conn):
result = {}<EOL>ig_result = describe_internet_gateways(Filters=[{"<STR_LIT:Name>": "<STR_LIT>", "<STR_LIT>": [vpc["<STR_LIT:id>"]]}], **conn)<EOL>if ig_result:<EOL><INDENT>result.update({<EOL>"<STR_LIT>": ig_result[<NUM_LIT:0>]["<STR_LIT>"][<NUM_LIT:0>]["<STR_LIT>"],<EOL>"<STR_LIT>": ig_result[<NUM_LIT:0>]["<STR_LIT>"],<EOL>"<STR_LIT>": ig_result[<NUM_LIT:0>].get("<STR_LIT>", [])<EOL>})<EOL><DEDENT>return result<EOL>
Gets the Internet Gateway details about a VPC