Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getObjectContext (0.18 sec)

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

    //	    "accessKeyId": "AKIA3WNQJCXE2DYPAU7R"
    //	  },
    //	  "protocolVersion": "1.00"
    //	}
    type Event struct {
    	ProtocolVersion  string            `json:"protocolVersion"`
    	GetObjectContext *GetObjectContext `json:"getObjectContext"`
    	UserIdentity     Identity          `json:"userIdentity"`
    	UserRequest      UserRequest       `json:"userRequest"`
    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

    	if err != nil {
    		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(),
    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

    app = Flask(__name__)
    @app.route('/', methods=['POST'])
    def get_webhook():
    	if request.method == 'POST':
    		# obtain the request event from the 'POST' call
    		event = request.json
    
    		object_context = event["getObjectContext"]
    
    		# 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
    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