api: Change listen bucket notification to be TopicConfiguration. (#2447)

This commit is contained in:
Harshavardhana authored and Anand Babu (AB) Periasamy committed 2016-08-15 20:56:43 -07:00
1 parent 3b9dbd748b
commit e86dfcf41e
7 files changed
+128 -128

No files matched your search

+4 -4
View File
@@ -155,15 +155,15 @@ type NotificationEvent struct {
S3 eventMeta `json:"s3"`
}
// Represents the minio lambda type and account id's.
type arnLambda struct {
// Represents the minio topic type and account id's.
type arnTopic struct {
Type string
AccountID string
}
// Stringer for constructing AWS ARN compatible string.
func (m arnLambda) String() string {
return minioLambda + serverConfig.GetRegion() + ":" + m.AccountID + ":" + m.Type
func (m arnTopic) String() string {
return minioTopic + serverConfig.GetRegion() + ":" + m.AccountID + ":" + m.Type
}
// Represents the minio sqs type and account id's.