We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a86f0cb commit e58ac12Copy full SHA for e58ac12
main.go
@@ -82,6 +82,22 @@ func configure() error {
82
return errors.New("Denied recipient emails: " + err.Error())
83
}
84
85
+ if *sourceArn != "" {
86
+ if *fromArn == "" {
87
+ fromArn = sourceArn
88
+ }
89
+ if *rPathArn == "" {
90
+ rPathArn = sourceArn
91
92
+ } else {
93
+ sourceArn = nil
94
95
96
+ fromArn = nil
97
98
99
+ rPathArn = nil
100
101
switch *relayAPI {
102
case "pinpoint":
103
relayClient = pinpointrelay.New(setName, allowFromRegExp, denyToRegExp)
0 commit comments