This operation is not supported by directory buckets.
See https://www.paws-r-sdk.com/docs/s3control_get_storage_lens_configuration/ for full documentation.
s3control_get_storage_lens_configuration(ConfigId, AccountId)
[required] The ID of the Amazon S3 Storage Lens configuration.
[required] The account ID of the requester.