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 6dbee76 commit 24d992bCopy full SHA for 24d992b
README.md
@@ -18,7 +18,7 @@ composer require descom/aws-sns-notifications
18
19
### Capture Events
20
21
-#### AwsSnsSubscriptionConfirmationReceived
+#### TopicSubscriptionRequest
22
23
```php
24
use Descom\AwsSnsNotification\Events\TopicSubscriptionRequest;
@@ -28,14 +28,18 @@ class SnsSubscriptionConfirmation
28
{
29
public function handle(TopicSubscriptionRequest $event): void
30
31
+ logger()->info('SNS subscription request', [
32
+ 'topic' => $event->topicArn(),
33
+ ]);
34
+
35
// Confirm the subscription by sending a GET request to the SubscribeURL
36
37
Http::get($event->subscribeUrl());
38
}
39
40
```
41
-#### AwsSnsNotificationReceived
42
+#### TopicNotification
43
44
45
use Descom\AwsSnsNotification\Events\TopicNotification;
0 commit comments