code: def action(func=None,
             cloudmap=None,
             instances=None,
             provider=None,
             instance=None,
             opts=None,
             **kwargs):
      '''
      Execute a single action on the given map/provider/instance
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cloud.action start my-salt-vm
      '''
      info = {}
      client = _get_client()
      if isinstance(opts, dict):
          client.opts.update(opts)
      try:
          info = client.action(
              func,
              cloudmap,
              instances,
              provider,
              instance,
              salt.utils.args.clean_kwargs(**kwargs)
          )
      except SaltCloudConfigError as err:
          log.error(err)
      return inff action(func=None,
             cloudmap=None,
             instances=None,
             provider=None,
             instance=None,
             opts=None,
             **kwargs):
      '''
      Execute a single action on the given map/provider/instance
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cloud.action start my-salt-vm
      '''
      info = {}
      client = _get_client()
      if isinstance(opts, dict):
          client.opts.update(opts)
      try:
          info = client.action(
              func,
              cloudmap,
              instances,
              provider,
              instance,
              salt.utils.args.clean_kwargs(**kwargs)
          )
      except SaltCloudConfigError as err:
          log.error(err)
      return info
docs: Execute a single action on the given map/provider/instance
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cloud.action start my-salt-vm