mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
api: Change listen bucket notification to be TopicConfiguration. (#2447)
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
3b9dbd748b
commit
e86dfcf41e
+5
-5
@@ -36,13 +36,13 @@ const (
|
||||
queueTypeRedis = "redis"
|
||||
)
|
||||
|
||||
// Lambda type.
|
||||
// Topic type.
|
||||
const (
|
||||
// Minio lambda ARN prefix.
|
||||
minioLambda = "arn:minio:lambda:"
|
||||
// Minio topic ARN prefix.
|
||||
minioTopic = "arn:minio:sns:"
|
||||
|
||||
// Static string indicating lambda type 'lambda'.
|
||||
lambdaTypeMinio = "lambda"
|
||||
// Static string indicating sns type 'listen'.
|
||||
snsTypeMinio = "listen"
|
||||
)
|
||||
|
||||
var errNotifyNotEnabled = errors.New("requested notifier not enabled")
|
||||
|
||||
Reference in New Issue
Block a user