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