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 / list-bucket-metrics-configurations.rst
Size: Mime:
**To retrieve a list of metrics configurations for a bucket**

The following ``list-bucket-metrics-configurations`` example retrieves a list of metrics configurations for the specified bucket. ::

    aws s3api list-bucket-metrics-configurations \
        --bucket my-bucket

Output::

    {
        "IsTruncated": false,
        "MetricsConfigurationList": [
            {
                "Filter": {
                    "Prefix": "logs"
                },
                "Id": "123"
            },
            {
                "Filter": {
                    "Prefix": "tmp"
                },
                "Id": "234"
            }
        ]
    }