#NEWLINE# @ classmethod #NEWLINE# def _vpn_connection_get_tunnel_up_state( cls , vpn_connection_id ) : #NEWLINE# #INDENT# data = cls . client . describe_vpn_connections ( VpnConnectionIds = [ item ] ) #NEWLINE# for item in data [ 'VpnConnections' ] [ 0 ] . get ( 'VgwTelemetry' , [ ] ) : #NEWLINE# #INDENT# if ( 'UP' == item [ 'Status' ] ) : #NEWLINE# #INDENT# return 'UP' #NEWLINE# #UNINDENT# #UNINDENT# raise exceptions . NotFound ( )