This operation is not supported by directory buckets.
See https://www.paws-r-sdk.com/docs/s3_get_bucket_versioning/ for full documentation.
s3_get_bucket_versioning(Bucket, ExpectedBucketOwner = NULL)
[required] The name of the bucket for which to get the versioning information.
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).