|
|
@ -94,6 +94,10 @@ const ( |
|
|
|
ObjectCreatedCompleteMultipartUpload |
|
|
|
ObjectCreatedCompleteMultipartUpload |
|
|
|
// ObjectRemovedDelete is s3:ObjectRemoved:Delete
|
|
|
|
// ObjectRemovedDelete is s3:ObjectRemoved:Delete
|
|
|
|
ObjectRemovedDelete |
|
|
|
ObjectRemovedDelete |
|
|
|
|
|
|
|
// ObjectAccessedGet is s3:ObjectAccessed:Get
|
|
|
|
|
|
|
|
ObjectAccessedGet |
|
|
|
|
|
|
|
// ObjectAccessedHead is s3:ObjectAccessed:Head
|
|
|
|
|
|
|
|
ObjectAccessedHead |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
// Stringer interface for event name.
|
|
|
|
// Stringer interface for event name.
|
|
|
@ -109,6 +113,10 @@ func (eventName EventName) String() string { |
|
|
|
return "s3:ObjectCreated:CompleteMultipartUpload" |
|
|
|
return "s3:ObjectCreated:CompleteMultipartUpload" |
|
|
|
case ObjectRemovedDelete: |
|
|
|
case ObjectRemovedDelete: |
|
|
|
return "s3:ObjectRemoved:Delete" |
|
|
|
return "s3:ObjectRemoved:Delete" |
|
|
|
|
|
|
|
case ObjectAccessedGet: |
|
|
|
|
|
|
|
return "s3:ObjectAccessed:Get" |
|
|
|
|
|
|
|
case ObjectAccessedHead: |
|
|
|
|
|
|
|
return "s3:ObjectAccessed:Head" |
|
|
|
default: |
|
|
|
default: |
|
|
|
return "s3:Unknown" |
|
|
|
return "s3:Unknown" |
|
|
|
} |
|
|
|
} |
|
|
|