CmdID

CmdID / aws / aws s3api

aws s3api list-bucket-inventory-configurations

Returns a list of S3 Inventory configurations for the bucket. AWS CLI reference

1 example 3 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To retrieve a list of inventory configurations for a bucket

The following list-bucket-inventory-configurations example lists the inventory configurations for the specified bucket.

aws s3api list-bucket-inventory-configurations --bucket amzn-s3-demo-bucketIdentify
--bucketThe name of the bucket containing the inventory configurations to retrieve.
Its output, shortened
{
    "InventoryConfigurationList": [
        {
            "IsEnabled": true,
            "Destination": {
                "S3BucketDestination": {
                    "Format": "ORC",
                    "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket",
                    "AccountId": "123456789012"
                }
            },
            "IncludedObjectVersions": "Current",
            "Id": "1",
            "Schedule": {
                "Frequency": "Weekly"
            }
        },
        {
            "IsEnabled": true,
            "Destination": {
                "S3BucketDestination": {
                    "Format": "CSV",
                    "Bucket": "arn:aws:s3:::amzn-s3-demo-bucket",
                    "AccountId": "123456789012"
                }
            },
            "IncludedObjectVersions": "Current",
            "Id": "2",
            "Schedule": {
                "Frequency": "Daily"
… 5 more lines

For more information, see Cataloging and analyzing your data with S3 Inventory in the Amazon S3 User Guide.

Options

3 in the AWS CLI reference
--bucketThe name of the bucket containing the inventory configurations to retrieve.
--continuation-tokenThe marker used to continue an inventory configuration listing that has been truncated.
--expected-bucket-ownerThe account ID of the expected bucket owner.