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 b88493b commit 61b69c6Copy full SHA for 61b69c6
src/sagemaker/session.py
@@ -691,8 +691,7 @@ def general_bucket_check_if_user_has_permission(
691
if self.default_bucket_prefix:
692
s3.meta.client.list_objects_v2(
693
Bucket=bucket_name,
694
- Prefix=self.default_bucket_prefix,
695
- ExpectedBucketOwner=expected_bucket_owner_id
+ Prefix=self.default_bucket_prefix
696
)
697
else:
698
s3.meta.client.head_bucket(Bucket=bucket_name)
0 commit comments