Skip to content

Commit 043923f

Browse files
authored
Update README_SecretsManager_SecretRotationEvent.md (#569)
1 parent ba8a3a3 commit 043923f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

events/README_SecretsManager_SecretRotationEvent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
"github.com/aws/aws-lambda-go/events"
1414
)
1515

16-
func handler(ctx context.Context, event SecretsManagerSecretRotationEvent) error {
16+
func handler(ctx context.Context, event events.SecretsManagerSecretRotationEvent) error {
1717
fmt.Printf("rotating secret %s with token %s\n",
1818
event.SecretID, event.ClientRequestToken)
1919

@@ -35,4 +35,4 @@ func handler(ctx context.Context, event SecretsManagerSecretRotationEvent) error
3535
func main() {
3636
lambda.Start(handler)
3737
}
38-
```
38+
```

0 commit comments

Comments
 (0)