Skip to content

Commit 24d992b

Browse files
authored
Update README.md
1 parent 6dbee76 commit 24d992b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ composer require descom/aws-sns-notifications
1818

1919
### Capture Events
2020

21-
#### AwsSnsSubscriptionConfirmationReceived
21+
#### TopicSubscriptionRequest
2222

2323
```php
2424
use Descom\AwsSnsNotification\Events\TopicSubscriptionRequest;
@@ -28,14 +28,18 @@ class SnsSubscriptionConfirmation
2828
{
2929
public function handle(TopicSubscriptionRequest $event): void
3030
{
31+
logger()->info('SNS subscription request', [
32+
'topic' => $event->topicArn(),
33+
]);
34+
3135
// Confirm the subscription by sending a GET request to the SubscribeURL
3236

3337
Http::get($event->subscribeUrl());
3438
}
3539
}
3640
```
3741

38-
#### AwsSnsNotificationReceived
42+
#### TopicNotification
3943

4044
```php
4145
use Descom\AwsSnsNotification\Events\TopicNotification;

0 commit comments

Comments
 (0)