morp 5.2.1__tar.gz → 5.2.2__tar.gz
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.
- {morp-5.2.1 → morp-5.2.2}/PKG-INFO +1 -1
- {morp-5.2.1 → morp-5.2.2}/morp/__init__.py +1 -1
- {morp-5.2.1 → morp-5.2.2}/morp/interface/base.py +0 -1
- {morp-5.2.1 → morp-5.2.2}/morp/interface/sqs.py +2 -1
- {morp-5.2.1 → morp-5.2.2}/morp.egg-info/PKG-INFO +1 -1
- {morp-5.2.1 → morp-5.2.2}/LICENSE.txt +0 -0
- {morp-5.2.1 → morp-5.2.2}/README.md +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp/__main__.py +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp/compat.py +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp/config.py +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp/exception.py +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp/interface/__init__.py +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp/interface/dropfile.py +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp/message.py +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp.egg-info/SOURCES.txt +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp.egg-info/dependency_links.txt +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp.egg-info/entry_points.txt +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp.egg-info/requires.txt +0 -0
- {morp-5.2.1 → morp-5.2.2}/morp.egg-info/top_level.txt +0 -0
- {morp-5.2.1 → morp-5.2.2}/setup.cfg +0 -0
- {morp-5.2.1 → morp-5.2.2}/setup.py +0 -0
|
@@ -83,6 +83,8 @@ class RefreshableSession(boto3.Session):
|
|
|
83
83
|
profile_name=self.connection_config.options.get("profile_name", None),
|
|
84
84
|
)
|
|
85
85
|
|
|
86
|
+
session_ttl = self.connection_config.options.get("session_ttl", 3600)
|
|
87
|
+
|
|
86
88
|
# if an sts arn is given, get credential by assuming given role
|
|
87
89
|
if arn := self.connection_config.options.get("arn", ""):
|
|
88
90
|
sts_client = session.client(
|
|
@@ -90,7 +92,6 @@ class RefreshableSession(boto3.Session):
|
|
|
90
92
|
region_name=region,
|
|
91
93
|
)
|
|
92
94
|
|
|
93
|
-
session_ttl = self.connection_config.options.get("session_ttl", 3600)
|
|
94
95
|
response = sts_client.assume_role(
|
|
95
96
|
RoleArn=arn,
|
|
96
97
|
RoleSessionName=self.connection_config.options.get(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|