Amazon S3 API · Schema

LifecycleRules

Cloud StorageObject StorageStorage
View JSON Schema on GitHub

JSON Schema

s3-lifecyclerules-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "LifecycleRules",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "Expiration": {},
      "ID": {},
      "Prefix": {},
      "Filter": {},
      "Status": {},
      "Transitions": {},
      "NoncurrentVersionTransitions": {},
      "NoncurrentVersionExpiration": {
        "type": "object",
        "properties": {
          "NoncurrentDays": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Days"
              },
              {
                "description": "Specifies the number of days an object is noncurrent before Amazon S3 can perform the associated action. The value must be a non-zero positive integer. For information about the noncurrent days calculations, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#non-current-days-calculations\">How Amazon S3 Calculates When an Object Became Noncurrent</a> in the <i>Amazon S3 User Guide</i>."
              }
            ]
          },
          "NewerNoncurrentVersions": {
            "allOf": [
              {
                "$ref": "#/components/schemas/VersionCount"
              },
              {
                "description": "Specifies how many noncurrent versions Amazon S3 will retain. If there are this many more recent noncurrent versions, Amazon S3 will take the associated action. For more information about noncurrent versions, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/intro-lifecycle-rules.html\">Lifecycle configuration elements</a> in the <i>Amazon S3 User Guide</i>."
              }
            ]
          }
        },
        "description": "Specifies when noncurrent object versions expire. Upon expiration, Amazon S3 permanently deletes the noncurrent object versions. You set this lifecycle configuration action on a bucket that has versioning enabled (or suspended) to request that Amazon S3 delete noncurrent object versions at a specific period in the object's lifetime."
      },
      "AbortIncompleteMultipartUpload": {
        "type": "object",
        "properties": {
          "DaysAfterInitiation": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DaysAfterInitiation"
              },
              {
                "description": "Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload."
              }
            ]
          }
        },
        "description": "Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html#mpu-abort-incomplete-mpu-lifecycle-config\"> Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy</a> in the <i>Amazon S3 User Guide</i>."
      }
    },
    "required": [
      "Status"
    ],
    "description": "A lifecycle rule for individual objects in an Amazon S3 bucket."
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/s3-lifecyclerules"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.