code: func (bee *S3Bee) Action(action bees.Action) []bees.Placeholder {
  	outs := []bees.Placeholder{}
  
  	switch action.Name {
  	case "upload":
  		bucket := ""
  		action.Options.Bind("bucket", &bucket)
  
  		path := ""
  		action.Options.Bind("path", &path)
  
  		objectPath := ""
  		action.Options.Bind("object_path", &objectPath)
  
  		if objectPath == "" {
  			objectPath = filepath.Base(path)
  		}
  
  		_, err := bee.client.FPutObject(bucket, objectPath, path, minio.PutObjectOptions{ContentType: mime.TypeByExtension(filepath.Ext(path))})
  		if err != nil {
  			bee.LogFatal(err)
  		}
  	default:
  		panic("Unknown action triggered in " + bee.Name() + ": " + action.Name)
  	}
  
  	return outs
  }
docs: // Action triggers the action passed to it.