<s> from __future__ import unicode_literals <EOL> from __future__ import print_function <EOL> import re <EOL> from . resource import Resource <EOL> class InstanceIds ( Resource ) : <EOL> """<STR_LIT>""" <EOL> OPTION = '<STR_LIT>' <EOL> QUERY = '<STR_LIT>' <EOL> def __init__ ( self ) : <EOL> """<STR_LIT>""" <EOL> super ( InstanceIds , self ) . __init__ ( ) <EOL> def query_resource ( self ) : <EOL> """<STR_LIT>""" <EOL> print ( '<STR_LIT>' ) <EOL> output = self . _query_aws ( self . QUERY ) <EOL> if output is not None : <EOL> output = re . sub ( '<STR_LIT:\n>' , '<STR_LIT:U+0020>' , output ) <EOL> self . resources = output . split ( ) </s>
