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