Fixes older aiobotocore campability
@@ -351,7 +351,7 @@ class AWSSNSSQSTransport(Invoker):
if cls.clients_creation_time.get(name) and cls.clients_creation_time[name] + 30 > time.time():
return
create_client_func = (
- session._create_client if hasattr(session, "_create_client") else session._create_client
+ session._create_client if hasattr(session, "_create_client") else session.create_client
)
client = create_client_func(
name,
