<s> """<STR_LIT>""" <EOL> from boto . ec2 . ec2object import EC2Object <EOL> class VpnConnection ( EC2Object ) : <EOL> def __init__ ( self , connection = None ) : <EOL> EC2Object . __init__ ( self , connection ) <EOL> self . id = None <EOL> self . state = None <EOL> self . customer_gateway_configuration = None <EOL> self . type = None <EOL> self . customer_gateway_id = None <EOL> self . vpn_gateway_id = None <EOL> def __repr__ ( self ) : <EOL> return '<STR_LIT>' % self . id <EOL> def endElement ( self , name , value , connection ) : <EOL> if name == '<STR_LIT>' : <EOL> self . id = value <EOL> elif name == '<STR_LIT:state>' : <EOL> self . state = value <EOL> elif name == '<STR_LIT>' : <EOL> self . customer_gateway_configuration = value <EOL> elif name == '<STR_LIT:type>' : <EOL> self . type = value <EOL> elif name == '<STR_LIT>' : <EOL> self . customer_gateway_id = value <EOL> elif name == '<STR_LIT>' : <EOL> self . vpn_gateway_id = value <EOL> else : <EOL> setattr ( self , name , value ) <EOL> def delete ( self ) : <EOL> return self . connection . delete_vpn_connection ( self . id ) </s>
