From 0ca3434ff81ac417234dc03a03274592dd7ccd30 Mon Sep 17 00:00:00 2001 From: grkooij <51052495+grkooij@users.noreply.github.com> Date: Thu, 20 Jun 2024 14:11:16 +0200 Subject: [PATCH] Suggestion no object prefix Co-authored-by: Bala FA --- api/src/main/java/io/minio/messages/EventType.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/api/src/main/java/io/minio/messages/EventType.java b/api/src/main/java/io/minio/messages/EventType.java index 8b532000e..1e7965c28 100644 --- a/api/src/main/java/io/minio/messages/EventType.java +++ b/api/src/main/java/io/minio/messages/EventType.java @@ -38,12 +38,13 @@ public enum EventType { OBJECT_REMOVED_ANY("s3:ObjectRemoved:*"), OBJECT_REMOVED_DELETE("s3:ObjectRemoved:Delete"), OBJECT_REMOVED_DELETED_MARKER_CREATED("s3:ObjectRemoved:DeleteMarkerCreated"), - OBJECT_REPLICATION_ANY("s3:Replication:*"), - OBJECT_REPLICATION_FAILED("s3:Replication:OperationFailedReplication"), - OBJECT_REPLICATION_COMPLETE("s3:Replication:OperationCompletedReplication"), - OBJECT_REPLICATION_NOT_TRACKED("s3:Replication:OperationNotTracked"), - OBJECT_REPLICATION_MISSED_THRESHOLD("s3:Replication:OperationMissedThreshold"), - OBJECT_REPLICATION_REPLICATED_AFTER_THRESHOLD("s3:Replication:OperationReplicatedAfterThreshold"), + REPLICATION_ANY("s3:Replication:*"), + REPLICATION_OPERATION_FAILED_REPLICATION("s3:Replication:OperationFailedReplication"), + REPLICATION_OPERATION_COMPLETED_REPLICATION("s3:Replication:OperationCompletedReplication"), + REPLICATION_OPERATION_NOT_TRACKED("s3:Replication:OperationNotTracked"), + REPLICATION_OPERATION_MISSED_THRESHOLD("s3:Replication:OperationMissedThreshold"), + REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD( + "s3:Replication:OperationReplicatedAfterThreshold"), REDUCED_REDUNDANCY_LOST_OBJECT("s3:ReducedRedundancyLostObject"), BUCKET_CREATED("s3:BucketCreated"), BUCKET_REMOVED("s3:BucketRemoved");