Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for outputToken (0.21 sec)

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

    // 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
    // structure bases itself on this structure but there is no binding.
    //
    //	{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. cmd/object-lambda-handlers.go

    	if err != nil {
    		return levent.Event{}, err
    	}
    
    	eventData := levent.Event{
    		GetObjectContext: &levent.GetObjectContext{
    			InputS3URL:  u.String(),
    			OutputRoute: shortuuid.New(),
    			OutputToken: token,
    		},
    		UserRequest: levent.UserRequest{
    			URL:     r.URL.String(),
    			Headers: r.Header.Clone(),
    		},
    		UserIdentity: levent.Identity{
    			Type:        "IAMUser",
    			PrincipalID: cred.AccessKey,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Sep 15 04:58:17 GMT 2023
    - 10.2K bytes
    - Viewed (1)
  3. docs/lambda/README.md

    		# 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')
    
    		# Transform all text in the original object to uppercase
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top