Versions in this module Expand all Collapse all v7 v7.0.6 Sep 25, 2020 Changes in this version + const ObjectAccessedAll + const ObjectAccessedGet + const ObjectAccessedHead + const ObjectCreatedAll + const ObjectCreatedCompleteMultipartUpload + const ObjectCreatedCopy + const ObjectCreatedPost + const ObjectCreatedPut + const ObjectReducedRedundancyLostObject + const ObjectRemovedAll + const ObjectRemovedDelete + const ObjectRemovedDeleteMarkerCreated + var ErrNoConfigMatch = errors.New("no notification configuration matched") + func EqualEventTypeList(a, b []EventType) bool + func EqualFilterRuleList(a, b []FilterRule) bool + type Arn struct + AccountID string + Partition string + Region string + Resource string + Service string + func NewArn(partition, service, region, accountID, resource string) Arn + func (arn Arn) String() string + type Config struct + Arn Arn + Events []EventType + Filter *Filter + ID string + func NewConfig(arn Arn) Config + func (t *Config) AddEvents(events ...EventType) + func (t *Config) AddFilterPrefix(prefix string) + func (t *Config) AddFilterSuffix(suffix string) + func (t *Config) Equal(events []EventType, prefix, suffix string) bool + type Configuration struct + LambdaConfigs []LambdaConfig + QueueConfigs []QueueConfig + TopicConfigs []TopicConfig + XMLName xml.Name + func (b *Configuration) AddLambda(lambdaConfig Config) bool + func (b *Configuration) AddQueue(queueConfig Config) bool + func (b *Configuration) AddTopic(topicConfig Config) bool + func (b *Configuration) RemoveLambdaByArn(arn Arn) + func (b *Configuration) RemoveLambdaByArnEventsPrefixSuffix(arn Arn, events []EventType, prefix, suffix string) error + func (b *Configuration) RemoveQueueByArn(arn Arn) + func (b *Configuration) RemoveQueueByArnEventsPrefixSuffix(arn Arn, events []EventType, prefix, suffix string) error + func (b *Configuration) RemoveTopicByArn(arn Arn) + func (b *Configuration) RemoveTopicByArnEventsPrefixSuffix(arn Arn, events []EventType, prefix, suffix string) error + type Event struct + AwsRegion string + EventName string + EventSource string + EventTime string + EventVersion string + RequestParameters map[string]string + ResponseElements map[string]string + S3 eventMeta + Source sourceInfo + UserIdentity identity + type EventType string + type Filter struct + S3Key S3Key + type FilterRule struct + Name string + Value string + type Info struct + Err error + Records []Event + type LambdaConfig struct + Lambda string + type QueueConfig struct + Queue string + type S3Key struct + FilterRules []FilterRule + type TopicConfig struct + Topic string