Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ownerIdentity (0.09 sec)

  1. internal/event/event.go

    type Identity struct {
    	PrincipalID string `json:"principalId"`
    }
    
    // Bucket represents bucket metadata of the event.
    type Bucket struct {
    	Name          string   `json:"name"`
    	OwnerIdentity Identity `json:"ownerIdentity"`
    	ARN           string   `json:"arn"`
    }
    
    // Object represents object metadata of the event.
    type Object struct {
    	Key          string            `json:"key"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. cmd/event-notification.go

    		ResponseElements:  respElements,
    		S3: event.Metadata{
    			SchemaVersion:   "1.0",
    			ConfigurationID: "Config",
    			Bucket: event.Bucket{
    				Name:          args.BucketName,
    				OwnerIdentity: event.Identity{PrincipalID: args.ReqParams["principalId"]},
    				ARN:           policy.ResourceARNPrefix + args.BucketName,
    			},
    			Object: event.Object{
    				Key:       keyName,
    				VersionID: args.Object.VersionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top