Skip to content

Commit

Permalink
user agent
Browse files Browse the repository at this point in the history
  • Loading branch information
cnfait committed May 4, 2023
1 parent 6c3cdb0 commit e9a2a30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class S3Interface:
def __init__(self, log_level=None, s3_client=None, s3_resource=None):
self.log_level = log_level or os.getenv("LOG_LEVEL", "INFO")
self._logger = init_logger(__name__, self.log_level)
self._session_config = Config(user_agent="awssdlf/1.3.0")
self._session_config = Config(user_agent="awssdlf/1.5.0")
self._s3_client = s3_client or boto3.client("s3", config=self._session_config)
self._s3_resource = s3_resource or boto3.resource("s3", config=self._session_config)

Expand Down
2 changes: 1 addition & 1 deletion sdlf-foundations/lambda/routing/src/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from botocore.config import Config
from botocore.exceptions import ClientError

session_config = Config(user_agent_extra="awssdlf/1.3.0")
session_config = Config(user_agent_extra="awssdlf/1.5.0")

logger = logging.getLogger()
logger.setLevel(logging.INFO)
Expand Down

0 comments on commit e9a2a30

Please sign in to comment.