This operation is not supported by directory buckets.
See https://www.paws-r-sdk.com/docs/s3_put_bucket_inventory_configuration/ for full documentation.
s3_put_bucket_inventory_configuration(
Bucket,
Id,
InventoryConfiguration,
ExpectedBucketOwner = NULL
)
[required] The name of the bucket where the inventory configuration will be stored.
[required] The ID used to identify the inventory configuration.
[required] Specifies the inventory configuration.
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).