This operation is not supported by directory buckets.
See https://www.paws-r-sdk.com/docs/s3control_get_public_access_block/ for full documentation.
s3control_get_public_access_block(AccountId)
[required] The account ID for the Amazon Web Services account whose
PublicAccessBlock
configuration you want to retrieve.