def get_console_output(name=None, location=None, instance_id=None, call=None, kwargs=None):
 if (call != 'action'):
  raise SaltCloudSystemExit('The get_console_output action must be called with -a or --action.')
 if (location is None):
  location = get_location()
 if (not instance_id):
  instance_id = _get_node(name)['instanceId']
 if (kwargs is None):
  kwargs = {}
 if (instance_id is None):
  if ('instance_id' in kwargs):
   instance_id = kwargs['instance_id']
   del kwargs['instance_id']
 params = {'Action': 'GetConsoleOutput', 'InstanceId': instance_id}
 ret = {}
 data = aws.query(params, return_root=True, location=location, provider=get_provider(), opts=__opts__, sigver='4')
 for item in data:
  if (next(six.iterkeys(item)) == 'output'):
   ret['output_decoded'] = binascii.a2b_base64(next(six.itervalues(item)))
  else:
   ret[next(six.iterkeys(item))] = next(six.itervalues(item))
 return ret

def get_console_output ( name = None , location = None , instance_id = None , call = None , kwargs = None ) : if ( call != 'action' ) : raise SaltCloudSystemExit ( 'The get_console_output action must be called with -a or --action.' ) if ( location is None ) : location = get_location ( ) if ( not instance_id ) : instance_id = _get_node ( name ) [ 'instanceId' ] if ( kwargs is None ) : kwargs = { } if ( instance_id is None ) : if ( 'instance_id' in kwargs ) : instance_id = kwargs [ 'instance_id' ] del kwargs [ 'instance_id' ] params = { 'Action' : 'GetConsoleOutput' , 'InstanceId' : instance_id } ret = { } data = aws . query ( params , return_root = True , location = location , provider = get_provider ( ) , opts = __opts__ , sigver = '4' ) for item in data : if ( next ( six . iterkeys ( item ) ) == 'output' ) : ret [ 'output_decoded' ] = binascii . a2b_base64 ( next ( six . itervalues ( item ) ) ) else : ret [ next ( six . iterkeys ( item ) ) ] = next ( six . itervalues ( item ) ) return ret
show the console output from the instance .