aws s3api put-bucket-metrics-configuration
Sets a metrics configuration (specified by the metrics configuration ID) for the bucket. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--bucketThe name of the bucket for which the metrics configuration is set.--expected-bucket-ownerThe account ID of the expected bucket owner.--idThe ID used to identify the metrics configuration.--metrics-configurationSpecifies the metrics configuration.