code: def reboot(name, call=None):
      '''
      Reboot a node.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -a reboot mymachine
      '''
      instance_id = _get_node(name)['instanceId']
      params = {'Action': 'RebootInstances',
                'InstanceId.1': instance_id}
  
      result = aws.query(params,
                         setname='tagSet',
                         location=get_location(),
                         provider=get_provider(),
                         opts=__opts__,
                         sigver='4')
  
      if result == []:
          log.info('Complete')
  
      return {'Reboot': 'Complete'f reboot(name, call=None):
      '''
      Reboot a node.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -a reboot mymachine
      '''
      instance_id = _get_node(name)['instanceId']
      params = {'Action': 'RebootInstances',
                'InstanceId.1': instance_id}
  
      result = aws.query(params,
                         setname='tagSet',
                         location=get_location(),
                         provider=get_provider(),
                         opts=__opts__,
                         sigver='4')
  
      if result == []:
          log.info('Complete')
  
      return {'Reboot': 'Complete'}
docs: Reboot a node.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-cloud -a reboot mymachine