This operation is not supported for directory buckets
Source:R/s3_operations.R
s3_get_bucket_ownership_controls.RdThis operation is not supported for directory buckets.
See https://www.paws-r-sdk.com/docs/s3_get_bucket_ownership_controls/ for full documentation.
Arguments
- Bucket
[required] The name of the Amazon S3 bucket whose
OwnershipControlsyou want to retrieve.- ExpectedBucketOwner
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code
403 Forbidden(access denied).