NewConfig creates one notification config and sets the given ARN
(arn Arn)
| 147 | |
| 148 | // NewConfig creates one notification config and sets the given ARN |
| 149 | func NewConfig(arn Arn) Config { |
| 150 | return Config{Arn: arn, Filter: &Filter{}} |
| 151 | } |
| 152 | |
| 153 | // AddEvents adds one event to the current notification config |
| 154 | func (t *Config) AddEvents(events ...EventType) { |
no outgoing calls
no test coverage detected