Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
awscli / awscli / examples / networkmanager / put-bucket-metrics-configuration.rst
Size: Mime:
**To set a metrics configuration for a bucket**

The following ``put-bucket-metrics-configuration`` example sets a metric configuration with ID 123 for the specified bucket. ::

    aws s3api put-bucket-metrics-configuration \
        --bucket my-bucket \
        --id 123 \
        --metrics-configuration '{"Id": "123", "Filter": {"Prefix": "logs"}}'

This command produces no output.