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 c72121b commit fb91511Copy full SHA for fb91511
src/sagemaker/session.py
@@ -679,7 +679,7 @@ def expand_role(self, role):
679
if '/' in role:
680
return role
681
else:
682
- return boto3.resource("iam").Role(role).arn
+ return self.boto_session.resource('iam').Role(role).arn
683
684
def get_caller_identity_arn(self):
685
"""Returns the ARN user or role whose credentials are used to call the API.
0 commit comments