diff --git a/events/README_SecretsManager_SecretRotationEvent.md b/events/README_SecretsManager_SecretRotationEvent.md index 1b572cf6..da085891 100644 --- a/events/README_SecretsManager_SecretRotationEvent.md +++ b/events/README_SecretsManager_SecretRotationEvent.md @@ -13,7 +13,7 @@ import ( "github.com/aws/aws-lambda-go/events" ) -func handler(ctx context.Context, event SecretsManagerSecretRotationEvent) error { +func handler(ctx context.Context, event events.SecretsManagerSecretRotationEvent) error { fmt.Printf("rotating secret %s with token %s\n", event.SecretID, event.ClientRequestToken) @@ -35,4 +35,4 @@ func handler(ctx context.Context, event SecretsManagerSecretRotationEvent) error func main() { lambda.Start(handler) } -``` \ No newline at end of file +```