This operation is not supported by directory buckets.
See https://www.paws-r-sdk.com/docs/s3_put_bucket_analytics_configuration/ for full documentation.
s3_put_bucket_analytics_configuration(
Bucket,
Id,
AnalyticsConfiguration,
ExpectedBucketOwner = NULL
)
[required] The name of the bucket to which an analytics configuration is stored.
[required] The ID that identifies the analytics configuration.
[required] The configuration and any analyses for the analytics filter.
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).