Skip to main content

ListBucketsResponse

buckets object[]required
  • Array [
  • namestring

    Name of the bucket

    created_atdate-time

    RFC3339 formatted timestamp of bucket creation

    Example: 2021-09-01T12:00:00Z
    sizeint64

    Estimated size of the bucket in bytes

    object_countint64

    Estimated number of objects in the bucket

    publicboolean

    If set to true, the bucket is publicly accessible

    storage_classStorageClass (string)

    Storage class for the bucket. Default is STANDARD.

    Possible values: [STANDARD, STANDARD_IA, GLACIER, GLACIER_IR]

    object_acl_enabledboolean

    If set to true, per object ACL is enabled

  • ]
  • ListBucketsResponse
    {
    "buckets": [
    {
    "name": "string",
    "created_at": "2021-09-01T12:00:00Z",
    "size": 0,
    "object_count": 0,
    "public": true,
    "storage_class": "STANDARD",
    "object_acl_enabled": true
    }
    ]
    }