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 490cd21 commit efa0c35Copy full SHA for efa0c35
lambdas/shared/src/common/clients.py
@@ -1,6 +1,7 @@
1
import os
2
import logging
3
from boto3 import client as boto3_client
4
+import boto3
5
6
logging.basicConfig(level="INFO")
7
logger = logging.getLogger()
@@ -17,4 +18,4 @@
17
18
# boto_config = Config(region_name=REGION_NAME)
19
# secretsmanager_client = boto3_client("secretsmanager", config=boto_config)
20
secrets_manager_client = boto3_client("secretsmanager", region_name=REGION_NAME)
-dynamodb_client = boto3_client("dynamodb", region_name=REGION_NAME)
21
+dynamodb_client = boto3.resource("dynamodb", region_name=REGION_NAME)
0 commit comments