Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for outputRoute (0.05 sec)

  1. internal/config/lambda/event/event.go

    }
    
    // GetObjectContext provides the necessary details to perform
    // download of the object, and return back the processed response
    // to the server.
    type GetObjectContext struct {
    	OutputRoute string `json:"outputRoute"`
    	OutputToken string `json:"outputToken"`
    	InputS3URL  string `json:"inputS3Url"`
    }
    
    // Event represents lambda function event, this is undocumented in AWS S3. This
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    		return levent.Event{}, err
    	}
    
    	ckSum := sha256.Sum256([]byte(cred.AccessKey + u.RawQuery))
    
    	eventData := levent.Event{
    		GetObjectContext: &levent.GetObjectContext{
    			InputS3URL:  u.String(),
    			OutputRoute: shortuuid.New(),
    			OutputToken: hex.EncodeToString(ckSum[:]),
    		},
    		UserRequest: levent.UserRequest{
    			URL:     r.URL.String(),
    			Headers: r.Header.Clone(),
    		},
    		UserIdentity: levent.Identity{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. docs/lambda/README.md

    		# Get the presigned URL to fetch the requested
    		# original object from MinIO
    		s3_url = object_context["inputS3Url"]
    
    		# Extract the route and request token from the input context
    		request_route = object_context["outputRoute"]
    		request_token = object_context["outputToken"]
    
    		# Get the original S3 object using the presigned URL
    		r = requests.get(s3_url)
    		original_object = r.content.decode('utf-8')
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 04 19:15:28 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top