File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11import requests
22import os
33import uuid
4+ import logging
45import json
56from authentication import AppRestrictedAuth
67from models .errors import UnhandledResponseError
@@ -13,6 +14,8 @@ class MnsService:
1314 def __init__ (self , authenticator : AppRestrictedAuth ):
1415 self .authenticator = authenticator
1516
17+ logging .info (f"Using SQS ARN for subscription: { SQS_ARN } " )
18+
1619 def subscribe_notification (self ) -> dict | None :
1720 access_token = self .authenticator .get_access_token ()
1821 request_headers = {
@@ -24,7 +27,7 @@ def subscribe_notification(self) -> dict | None:
2427 "resourceType" : "Subscription" ,
2528 "status" : "requested" ,
2629 "reason" : "Subscribe SQS to MNS test-signal" ,
27- "criteria" : "eventType=mns-test-signal-1 " ,
30+ "criteria" : "eventType=mns-test-signal-2 " ,
2831 "channel" : {
2932 "type" : "message" ,
3033 "endpoint" : SQS_ARN ,
You can’t perform that action at this time.
0 commit comments