Command option Sample:aws s3api put-bucket-metrics-configuration

Search command sample in the internet.It is the result.

Sets a metrics configuration (specified by the metrics configurationID) for the bucket.Show details from next link. https://docs.aws.amazon.com/ja_jp/cli/latest/reference/s3api/put-bucket-metrics-configuration.html

aws s3api put-bucket-metrics-configuration --bucket bucketname --id 123 --metrics-configuration file://metrics.json
    AWS Certification Study Guide: Get to Know Amazon S3 Features : http://cloud.netapp.com/blog/amazon-s3-cheat-sheet
aws s3api put-bucket-metrics-configuration --endpoint http://s3-us-west-2.amazonaws.com --bucket bucket-name --id metrics-config-id --metrics-configuration '
    Metrics Configurations for Buckets - Amazon Simple Storage Service : http://docs.aws.amazon.com/AmazonS3/latest/dev/metrics-configurations.html
aws s3api put-bucket-metrics-configuration \
    amazon web services - AWS Cloudwatch monitoring for S3 - Stack Overflow : http://stackoverflow.com/questions/19950266/aws-cloudwatch-monitoring-for-s3

aws のオプション一覧