localstack-core 4.13.2.dev2__py3-none-any.whl → 4.13.2.dev4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -593,9 +593,13 @@ class SnsProvider(SnsApi, ServiceLifecycleHook):
593
593
  self, context: RequestContext, next_token: nextToken = None, **kwargs
594
594
  ) -> ListSubscriptionsResponse:
595
595
  store = self.get_store(context.account_id, context.region)
596
- subscriptions = [
597
- select_from_typed_dict(Subscription, sub) for sub in list(store.subscriptions.values())
598
- ]
596
+ subscriptions = []
597
+ for s in list(store.subscriptions.values()):
598
+ sub = select_from_typed_dict(Subscription, s)
599
+ if s["PendingConfirmation"] == "true":
600
+ sub["SubscriptionArn"] = "PendingConfirmation"
601
+ subscriptions.append(sub)
602
+
599
603
  paginated_subscriptions = PaginatedList(subscriptions)
600
604
  page, next_token = paginated_subscriptions.get_page(
601
605
  token_generator=lambda x: get_next_page_token_from_arn(x["SubscriptionArn"]),
localstack/version.py CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '4.13.2.dev2'
32
- __version_tuple__ = version_tuple = (4, 13, 2, 'dev2')
31
+ __version__ = version = '4.13.2.dev4'
32
+ __version_tuple__ = version_tuple = (4, 13, 2, 'dev4')
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: localstack-core
3
- Version: 4.13.2.dev2
3
+ Version: 4.13.2.dev4
4
4
  Summary: The core library and runtime of LocalStack
5
5
  Author-email: LocalStack Contributors <info@localstack.cloud>
6
6
  License-Expression: Apache-2.0
@@ -4,7 +4,7 @@ localstack/deprecations.py,sha256=-3IYgCd6LEC3PjO7hbr3Dg-p0PIS6phjmv1qZnj1uo0,15
4
4
  localstack/openapi.yaml,sha256=jFUzv-NKkJttxb8HRrmKiNYOmJD-zVfPxG3DDMrRwfg,30865
5
5
  localstack/plugins.py,sha256=BIJC9dlo0WbP7lLKkCiGtd_2q5oeqiHZohvoRTcejXM,2457
6
6
  localstack/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- localstack/version.py,sha256=2PBxbe85VyzwQ6Uc41OPTsO272dbchlGBdfKGK2jEkc,719
7
+ localstack/version.py,sha256=dDncMgcfVwF5QWYIcne_imCMVA0BMdwNoUnX29DTP34,719
8
8
  localstack/aws/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  localstack/aws/accounts.py,sha256=102zpGowOxo0S6UGMpfjw14QW7WCLVAGsnFK5xFMLoo,3043
10
10
  localstack/aws/app.py,sha256=n9bJCfJRuMz_gLGAH430c3bIQXgUXeWO5NPfcdL2MV8,5145
@@ -763,7 +763,7 @@ localstack/services/sns/resource_providers/aws_sns_topicpolicy.py,sha256=su9pOM3
763
763
  localstack/services/sns/resource_providers/aws_sns_topicpolicy.schema.json,sha256=Q5XQbEaVKxIfvm_6GlYzl3BtezcE6hET8MuJmlGwohY,1677
764
764
  localstack/services/sns/resource_providers/aws_sns_topicpolicy_plugin.py,sha256=7VfQhlKCLiYpI9_6qo2pKm4Al-ihxtoOGlpC7sWcTmc,527
765
765
  localstack/services/sns/v2/models.py,sha256=M7coA5LK-ffFBbLzJc5ZNV0xUTbm4WPwRzuz0VomA38,6978
766
- localstack/services/sns/v2/provider.py,sha256=C5oY_Jb9VO0t9kYhtYk_mbYmxutY5P7eUM19ebq2Lr8,77380
766
+ localstack/services/sns/v2/provider.py,sha256=GPJFCJ4w6QvGrN-W8SAyNCSDsqjQt0ttDzlR9N00iro,77535
767
767
  localstack/services/sns/v2/utils.py,sha256=3kciUqzOCyg_BW2tKO-NWoMIpGOB8bpprF8nan7o18g,6222
768
768
  localstack/services/sqs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
769
769
  localstack/services/sqs/constants.py,sha256=gD3DdhEa1gVv4vmc12pCd44BLcH4BZ8h6W0tecmZBDg,3479
@@ -1316,12 +1316,12 @@ localstack/utils/server/tcp_proxy.py,sha256=y2NJAmvftTiAYsLU_8qe4W5LGqwUw21i90Pu
1316
1316
  localstack/utils/xray/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1317
1317
  localstack/utils/xray/trace_header.py,sha256=ahXk9eonq7LpeENwlqUEPj3jDOCiVRixhntQuxNor-Q,6209
1318
1318
  localstack/utils/xray/traceid.py,sha256=GKO-R2sMMjlrH2UaLPXlQlZ6flbE7ZKb6IZMtMu_M5U,1110
1319
- localstack_core-4.13.2.dev2.data/scripts/localstack,sha256=WyL11vp5CkuP79iIR-L8XT7Cj8nvmxX7XRAgxhbmXNE,529
1320
- localstack_core-4.13.2.dev2.data/scripts/localstack-supervisor,sha256=nm1Il2d6ASyOB6Vo4CRHd90w7TK9FdRl9VPp0NN6hUk,6378
1321
- localstack_core-4.13.2.dev2.data/scripts/localstack.bat,sha256=tlzZTXtveHkMX_s_fa7VDfvdNdS8iVpEz2ER3uk9B_c,29
1322
- localstack_core-4.13.2.dev2.dist-info/licenses/LICENSE.txt,sha256=3PC-9Z69UsNARuQ980gNR_JsLx8uvMjdG6C7cc4LBYs,606
1323
- localstack_core-4.13.2.dev2.dist-info/METADATA,sha256=sZHLG1zszOhpJs7niMOo1beyS9Oi5H5htdUFRWtNQCg,5942
1324
- localstack_core-4.13.2.dev2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
1325
- localstack_core-4.13.2.dev2.dist-info/entry_points.txt,sha256=IwqPCgWhpEtb5G2lIjjSt_YC6eTdaxYT6TwnRItCUwI,21021
1326
- localstack_core-4.13.2.dev2.dist-info/top_level.txt,sha256=3sqmK2lGac8nCy8nwsbS5SpIY_izmtWtgaTFKHYVHbI,11
1327
- localstack_core-4.13.2.dev2.dist-info/RECORD,,
1319
+ localstack_core-4.13.2.dev4.data/scripts/localstack,sha256=WyL11vp5CkuP79iIR-L8XT7Cj8nvmxX7XRAgxhbmXNE,529
1320
+ localstack_core-4.13.2.dev4.data/scripts/localstack-supervisor,sha256=nm1Il2d6ASyOB6Vo4CRHd90w7TK9FdRl9VPp0NN6hUk,6378
1321
+ localstack_core-4.13.2.dev4.data/scripts/localstack.bat,sha256=tlzZTXtveHkMX_s_fa7VDfvdNdS8iVpEz2ER3uk9B_c,29
1322
+ localstack_core-4.13.2.dev4.dist-info/licenses/LICENSE.txt,sha256=3PC-9Z69UsNARuQ980gNR_JsLx8uvMjdG6C7cc4LBYs,606
1323
+ localstack_core-4.13.2.dev4.dist-info/METADATA,sha256=w7ex6KRUERwfxL3K7suEWzQ9C0JrBDSqlsx2_xVxFOQ,5942
1324
+ localstack_core-4.13.2.dev4.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
1325
+ localstack_core-4.13.2.dev4.dist-info/entry_points.txt,sha256=IwqPCgWhpEtb5G2lIjjSt_YC6eTdaxYT6TwnRItCUwI,21021
1326
+ localstack_core-4.13.2.dev4.dist-info/top_level.txt,sha256=3sqmK2lGac8nCy8nwsbS5SpIY_izmtWtgaTFKHYVHbI,11
1327
+ localstack_core-4.13.2.dev4.dist-info/RECORD,,